Class: TencentCloud::Cpdp::V20190820::QueryExchangeRateRequest

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

Overview

QueryExchangeRate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourcecurrency = nil, targetcurrency = nil, profile = nil) ⇒ QueryExchangeRateRequest

Returns a new instance of QueryExchangeRateRequest.



16930
16931
16932
16933
16934
# File 'lib/v20190820/models.rb', line 16930

def initialize(sourcecurrency=nil, targetcurrency=nil, profile=nil)
  @SourceCurrency = sourcecurrency
  @TargetCurrency = targetcurrency
  @Profile = profile
end

Instance Attribute Details

#ProfileObject

Parameters:

  • SourceCurrency:

    源币种 (默认CNY)

  • TargetCurrency:

    目的币种 (见常见问题-汇出币种)

  • Profile:

    接入环境。沙箱环境填sandbox



16928
16929
16930
# File 'lib/v20190820/models.rb', line 16928

def Profile
  @Profile
end

#SourceCurrencyObject

Parameters:

  • SourceCurrency:

    源币种 (默认CNY)

  • TargetCurrency:

    目的币种 (见常见问题-汇出币种)

  • Profile:

    接入环境。沙箱环境填sandbox



16928
16929
16930
# File 'lib/v20190820/models.rb', line 16928

def SourceCurrency
  @SourceCurrency
end

#TargetCurrencyObject

Parameters:

  • SourceCurrency:

    源币种 (默认CNY)

  • TargetCurrency:

    目的币种 (见常见问题-汇出币种)

  • Profile:

    接入环境。沙箱环境填sandbox



16928
16929
16930
# File 'lib/v20190820/models.rb', line 16928

def TargetCurrency
  @TargetCurrency
end

Instance Method Details

#deserialize(params) ⇒ Object



16936
16937
16938
16939
16940
# File 'lib/v20190820/models.rb', line 16936

def deserialize(params)
  @SourceCurrency = params['SourceCurrency']
  @TargetCurrency = params['TargetCurrency']
  @Profile = params['Profile']
end