Class: TencentCloud::Dcdb::V20180411::DescribeDCDBUpgradePriceResponse

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

Overview

DescribeDCDBUpgradePrice返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(originalprice = nil, price = nil, formula = nil, requestid = nil) ⇒ DescribeDCDBUpgradePriceResponse

Returns a new instance of DescribeDCDBUpgradePriceResponse.



3423
3424
3425
3426
3427
3428
# File 'lib/v20180411/models.rb', line 3423

def initialize(originalprice=nil, price=nil, formula=nil, requestid=nil)
  @OriginalPrice = originalprice
  @Price = price
  @Formula = formula
  @RequestId = requestid
end

Instance Attribute Details

#FormulaObject

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站为人民币,国际站为美元

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站人民币,国际站美元

Parameters:

  • OriginalPrice:

    原价

  • Price:

    实际价格,受折扣等影响,可能和原价不同

  • Formula:

    变配明细计算公式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3421
3422
3423
# File 'lib/v20180411/models.rb', line 3421

def Formula
  @Formula
end

#OriginalPriceObject

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站为人民币,国际站为美元

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站人民币,国际站美元

Parameters:

  • OriginalPrice:

    原价

  • Price:

    实际价格,受折扣等影响,可能和原价不同

  • Formula:

    变配明细计算公式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3421
3422
3423
# File 'lib/v20180411/models.rb', line 3421

def OriginalPrice
  @OriginalPrice
end

#PriceObject

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站为人民币,国际站为美元

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站人民币,国际站美元

Parameters:

  • OriginalPrice:

    原价

  • Price:

    实际价格,受折扣等影响,可能和原价不同

  • Formula:

    变配明细计算公式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3421
3422
3423
# File 'lib/v20180411/models.rb', line 3421

def Price
  @Price
end

#RequestIdObject

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站为人民币,国际站为美元

  • 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述

  • 币种:国内站人民币,国际站美元

Parameters:

  • OriginalPrice:

    原价

  • Price:

    实际价格,受折扣等影响,可能和原价不同

  • Formula:

    变配明细计算公式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3421
3422
3423
# File 'lib/v20180411/models.rb', line 3421

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3430
3431
3432
3433
3434
3435
# File 'lib/v20180411/models.rb', line 3430

def deserialize(params)
  @OriginalPrice = params['OriginalPrice']
  @Price = params['Price']
  @Formula = params['Formula']
  @RequestId = params['RequestId']
end