Class: TencentCloud::Cpdp::V20190820::ApplyApplicationMaterialRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ApplyApplicationMaterialRequest
- Defined in:
- lib/v20190820/models.rb
Overview
ApplyApplicationMaterial请求参数结构体
Instance Attribute Summary collapse
- #DeclareId ⇒ Object
- #OriginalDeclareId ⇒ Object
- #PayerId ⇒ Object
- #Profile ⇒ Object
- #SourceAmount ⇒ Object
- #SourceCurrency ⇒ Object
- #TargetAmount ⇒ Object
- #TargetCurrency ⇒ Object
- #TradeCode ⇒ Object
- #TransactionId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(transactionid = nil, declareid = nil, payerid = nil, sourcecurrency = nil, targetcurrency = nil, tradecode = nil, originaldeclareid = nil, sourceamount = nil, targetamount = nil, profile = nil) ⇒ ApplyApplicationMaterialRequest
constructor
A new instance of ApplyApplicationMaterialRequest.
Constructor Details
#initialize(transactionid = nil, declareid = nil, payerid = nil, sourcecurrency = nil, targetcurrency = nil, tradecode = nil, originaldeclareid = nil, sourceamount = nil, targetamount = nil, profile = nil) ⇒ ApplyApplicationMaterialRequest
Returns a new instance of ApplyApplicationMaterialRequest.
1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/v20190820/models.rb', line 1115 def initialize(transactionid=nil, declareid=nil, payerid=nil, sourcecurrency=nil, targetcurrency=nil, tradecode=nil, originaldeclareid=nil, sourceamount=nil, targetamount=nil, profile=nil) @TransactionId = transactionid @DeclareId = declareid @PayerId = payerid @SourceCurrency = sourcecurrency @TargetCurrency = targetcurrency @TradeCode = tradecode @OriginalDeclareId = originaldeclareid @SourceAmount = sourceamount @TargetAmount = targetamount @Profile = profile end |
Instance Attribute Details
#DeclareId ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def DeclareId @DeclareId end |
#OriginalDeclareId ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def OriginalDeclareId @OriginalDeclareId end |
#PayerId ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def PayerId @PayerId end |
#Profile ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def Profile @Profile end |
#SourceAmount ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def SourceAmount @SourceAmount end |
#SourceCurrency ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def SourceCurrency @SourceCurrency end |
#TargetAmount ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def TargetAmount @TargetAmount end |
#TargetCurrency ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def TargetCurrency @TargetCurrency end |
#TradeCode ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def TradeCode @TradeCode end |
#TransactionId ⇒ Object
1113 1114 1115 |
# File 'lib/v20190820/models.rb', line 1113 def TransactionId @TransactionId end |
Instance Method Details
#deserialize(params) ⇒ Object
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/v20190820/models.rb', line 1128 def deserialize(params) @TransactionId = params['TransactionId'] @DeclareId = params['DeclareId'] @PayerId = params['PayerId'] @SourceCurrency = params['SourceCurrency'] @TargetCurrency = params['TargetCurrency'] @TradeCode = params['TradeCode'] @OriginalDeclareId = params['OriginalDeclareId'] @SourceAmount = params['SourceAmount'] @TargetAmount = params['TargetAmount'] @Profile = params['Profile'] end |