Class: TencentCloud::Cpdp::V20190820::ApplyTradeData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ApplyTradeData
- Defined in:
- lib/v20190820/models.rb
Overview
提交贸易材料结果
Instance Attribute Summary collapse
- #MerchantId ⇒ Object
- #PayerId ⇒ Object
- #Status ⇒ Object
- #TradeAmount ⇒ Object
- #TradeCurrency ⇒ Object
- #TradeFileId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(merchantid = nil, tradefileid = nil, tradecurrency = nil, tradeamount = nil, payerid = nil, status = nil) ⇒ ApplyTradeData
constructor
A new instance of ApplyTradeData.
Constructor Details
#initialize(merchantid = nil, tradefileid = nil, tradecurrency = nil, tradeamount = nil, payerid = nil, status = nil) ⇒ ApplyTradeData
Returns a new instance of ApplyTradeData.
2342 2343 2344 2345 2346 2347 2348 2349 |
# File 'lib/v20190820/models.rb', line 2342 def initialize(merchantid=nil, tradefileid=nil, tradecurrency=nil, tradeamount=nil, payerid=nil, status=nil) @MerchantId = merchantid @TradeFileId = tradefileid @TradeCurrency = tradecurrency @TradeAmount = tradeamount @PayerId = payerid @Status = status end |
Instance Attribute Details
#MerchantId ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def MerchantId @MerchantId end |
#PayerId ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def PayerId @PayerId end |
#Status ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def Status @Status end |
#TradeAmount ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def TradeAmount @TradeAmount end |
#TradeCurrency ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def TradeCurrency @TradeCurrency end |
#TradeFileId ⇒ Object
2340 2341 2342 |
# File 'lib/v20190820/models.rb', line 2340 def TradeFileId @TradeFileId end |
Instance Method Details
#deserialize(params) ⇒ Object
2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/v20190820/models.rb', line 2351 def deserialize(params) @MerchantId = params['MerchantId'] @TradeFileId = params['TradeFileId'] @TradeCurrency = params['TradeCurrency'] @TradeAmount = params['TradeAmount'] @PayerId = params['PayerId'] @Status = params['Status'] end |