Class: TencentCloud::Cpdp::V20190820::ApplyFlexSettlementResult
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ApplyFlexSettlementResult
- Defined in:
- lib/v20190820/models.rb
Overview
结算结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderid = nil, amountbeforetax = nil, amountaftertax = nil, tax = nil) ⇒ ApplyFlexSettlementResult
constructor
A new instance of ApplyFlexSettlementResult.
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
#AmountAfterTax ⇒ Object
1443 1444 1445 |
# File 'lib/v20190820/models.rb', line 1443 def AmountAfterTax @AmountAfterTax end |
#AmountBeforeTax ⇒ Object
1443 1444 1445 |
# File 'lib/v20190820/models.rb', line 1443 def AmountBeforeTax @AmountBeforeTax end |
#OrderId ⇒ Object
1443 1444 1445 |
# File 'lib/v20190820/models.rb', line 1443 def OrderId @OrderId end |
#Tax ⇒ Object
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 |