Class: TencentCloud::Cpdp::V20190820::ApplyFlexSettlementResult

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(orderid = nil, amountbeforetax = nil, amountaftertax = nil, tax = nil) ⇒ ApplyFlexSettlementResult

Returns a new instance of ApplyFlexSettlementResult.



1445
1446
1447
1448
1449
1450
# File 'lib/v20190820/models.rb', line 1445

def initialize(orderid=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil)
  @OrderId = orderid
  @AmountBeforeTax = amountbeforetax
  @AmountAfterTax = amountaftertax
  @Tax = tax
end

Instance Attribute Details

#AmountAfterTaxObject

Parameters:

  • OrderId:

    订单ID

  • AmountBeforeTax:

    税前金额

  • AmountAfterTax:

    税后金额

  • Tax:

    税金



1443
1444
1445
# File 'lib/v20190820/models.rb', line 1443

def AmountAfterTax
  @AmountAfterTax
end

#AmountBeforeTaxObject

Parameters:

  • OrderId:

    订单ID

  • AmountBeforeTax:

    税前金额

  • AmountAfterTax:

    税后金额

  • Tax:

    税金



1443
1444
1445
# File 'lib/v20190820/models.rb', line 1443

def AmountBeforeTax
  @AmountBeforeTax
end

#OrderIdObject

Parameters:

  • OrderId:

    订单ID

  • AmountBeforeTax:

    税前金额

  • AmountAfterTax:

    税后金额

  • Tax:

    税金



1443
1444
1445
# File 'lib/v20190820/models.rb', line 1443

def OrderId
  @OrderId
end

#TaxObject

Parameters:

  • OrderId:

    订单ID

  • AmountBeforeTax:

    税前金额

  • AmountAfterTax:

    税后金额

  • Tax:

    税金



1443
1444
1445
# File 'lib/v20190820/models.rb', line 1443

def Tax
  @Tax
end

Instance Method Details

#deserialize(params) ⇒ Object



1452
1453
1454
1455
1456
1457
# File 'lib/v20190820/models.rb', line 1452

def deserialize(params)
  @OrderId = params['OrderId']
  @AmountBeforeTax = params['AmountBeforeTax']
  @AmountAfterTax = params['AmountAfterTax']
  @Tax = params['Tax']
end