Class: TencentCloud::Cpdp::V20190820::QueryMerchantBalanceData

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(currency = nil, balance = nil, merchantid = nil) ⇒ QueryMerchantBalanceData

Returns a new instance of QueryMerchantBalanceData.



18900
18901
18902
18903
18904
# File 'lib/v20190820/models.rb', line 18900

def initialize(currency=nil, balance=nil, merchantid=nil)
  @Currency = currency
  @Balance = balance
  @MerchantId = merchantid
end

Instance Attribute Details

#BalanceObject

Parameters:

  • Currency:

    余额币种

  • Balance:

    账户余额

  • MerchantId:

    商户ID



18898
18899
18900
# File 'lib/v20190820/models.rb', line 18898

def Balance
  @Balance
end

#CurrencyObject

Parameters:

  • Currency:

    余额币种

  • Balance:

    账户余额

  • MerchantId:

    商户ID



18898
18899
18900
# File 'lib/v20190820/models.rb', line 18898

def Currency
  @Currency
end

#MerchantIdObject

Parameters:

  • Currency:

    余额币种

  • Balance:

    账户余额

  • MerchantId:

    商户ID



18898
18899
18900
# File 'lib/v20190820/models.rb', line 18898

def MerchantId
  @MerchantId
end

Instance Method Details

#deserialize(params) ⇒ Object



18906
18907
18908
18909
18910
# File 'lib/v20190820/models.rb', line 18906

def deserialize(params)
  @Currency = params['Currency']
  @Balance = params['Balance']
  @MerchantId = params['MerchantId']
end