Class: TencentCloud::Billing::V20180709::BusinessSummaryInfo

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

Overview

产品汇总信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(businesscode = nil, businesscodename = nil, totalcost = nil, realtotalcost = nil, cashpayamount = nil, incentivepayamount = nil, voucherpayamount = nil, transferpayamount = nil) ⇒ BusinessSummaryInfo

Returns a new instance of BusinessSummaryInfo.



3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
# File 'lib/v20180709/models.rb', line 3884

def initialize(businesscode=nil, businesscodename=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil)
  @BusinessCode = businesscode
  @BusinessCodeName = businesscodename
  @TotalCost = totalcost
  @RealTotalCost = realtotalcost
  @CashPayAmount = cashpayamount
  @IncentivePayAmount = incentivepayamount
  @VoucherPayAmount = voucherpayamount
  @TransferPayAmount = transferpayamount
end

Instance Attribute Details

#BusinessCodeObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def BusinessCode
  @BusinessCode
end

#BusinessCodeNameObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def BusinessCodeName
  @BusinessCodeName
end

#CashPayAmountObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def CashPayAmount
  @CashPayAmount
end

#IncentivePayAmountObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def IncentivePayAmount
  @IncentivePayAmount
end

#RealTotalCostObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def RealTotalCost
  @RealTotalCost
end

#TotalCostObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def TotalCost
  @TotalCost
end

#TransferPayAmountObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def TransferPayAmount
  @TransferPayAmount
end

#VoucherPayAmountObject

Parameters:

  • BusinessCode:

    产品编码

  • BusinessCodeName:

    产品名称:用户所采购的各类云产品,例如:云服务器 CVM

  • TotalCost:

    原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回“-”。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。

  • RealTotalCost:

    优惠后总价

  • CashPayAmount:

    现金账户支出:通过现金账户支付的金额

  • IncentivePayAmount:

    赠送账户支出:使用赠送金支付的金额

  • VoucherPayAmount:

    优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额

  • TransferPayAmount:

    分成金账户支出:通过分成金账户支付的金额



3882
3883
3884
# File 'lib/v20180709/models.rb', line 3882

def VoucherPayAmount
  @VoucherPayAmount
end

Instance Method Details

#deserialize(params) ⇒ Object



3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
# File 'lib/v20180709/models.rb', line 3895

def deserialize(params)
  @BusinessCode = params['BusinessCode']
  @BusinessCodeName = params['BusinessCodeName']
  @TotalCost = params['TotalCost']
  @RealTotalCost = params['RealTotalCost']
  @CashPayAmount = params['CashPayAmount']
  @IncentivePayAmount = params['IncentivePayAmount']
  @VoucherPayAmount = params['VoucherPayAmount']
  @TransferPayAmount = params['TransferPayAmount']
end