Class: TencentCloud::Cpdp::V20190820::ApplyTradeData

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190820/models.rb

Overview

提交贸易材料结果

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MerchantIdObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



2340
2341
2342
# File 'lib/v20190820/models.rb', line 2340

def MerchantId
  @MerchantId
end

#PayerIdObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



2340
2341
2342
# File 'lib/v20190820/models.rb', line 2340

def PayerId
  @PayerId
end

#StatusObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



2340
2341
2342
# File 'lib/v20190820/models.rb', line 2340

def Status
  @Status
end

#TradeAmountObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



2340
2341
2342
# File 'lib/v20190820/models.rb', line 2340

def TradeAmount
  @TradeAmount
end

#TradeCurrencyObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



2340
2341
2342
# File 'lib/v20190820/models.rb', line 2340

def TradeCurrency
  @TradeCurrency
end

#TradeFileIdObject

Parameters:

  • MerchantId:

    商户号

  • TradeFileId:

    贸易材料流水号

  • TradeCurrency:

    交易币种

  • TradeAmount:

    交易金额

  • PayerId:

    付款人ID

  • Status:

    状态



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