Class: TencentCloud::Billing::V20180709::BusinessSummaryTotal

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

Overview

按产品汇总总费用

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(realtotalcost = nil, voucherpayamount = nil, incentivepayamount = nil, cashpayamount = nil, transferpayamount = nil, totalcost = nil) ⇒ BusinessSummaryTotal

Returns a new instance of BusinessSummaryTotal.



3976
3977
3978
3979
3980
3981
3982
3983
# File 'lib/v20180709/models.rb', line 3976

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

Instance Attribute Details

#CashPayAmountObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def CashPayAmount
  @CashPayAmount
end

#IncentivePayAmountObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def IncentivePayAmount
  @IncentivePayAmount
end

#RealTotalCostObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def RealTotalCost
  @RealTotalCost
end

#TotalCostObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def TotalCost
  @TotalCost
end

#TransferPayAmountObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def TransferPayAmount
  @TransferPayAmount
end

#VoucherPayAmountObject

Parameters:

  • RealTotalCost:

    优惠后总价

  • VoucherPayAmount:

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

  • IncentivePayAmount:

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

  • CashPayAmount:

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

  • TransferPayAmount:

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

  • TotalCost:

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



3974
3975
3976
# File 'lib/v20180709/models.rb', line 3974

def VoucherPayAmount
  @VoucherPayAmount
end

Instance Method Details

#deserialize(params) ⇒ Object



3985
3986
3987
3988
3989
3990
3991
3992
# File 'lib/v20180709/models.rb', line 3985

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