Class: Stripe::Tax::TransactionCreateReversalParams::ShippingCost
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Tax::TransactionCreateReversalParams::ShippingCost
- Defined in:
- lib/stripe/params/tax/transaction_create_reversal_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
The amount to reverse, in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) in negative.
-
#amount_tax ⇒ Object
The amount of tax to reverse, in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) in negative.
Instance Method Summary collapse
-
#initialize(amount: nil, amount_tax: nil) ⇒ ShippingCost
constructor
A new instance of ShippingCost.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, amount_tax: nil) ⇒ ShippingCost
Returns a new instance of ShippingCost.
44 45 46 47 |
# File 'lib/stripe/params/tax/transaction_create_reversal_params.rb', line 44 def initialize(amount: nil, amount_tax: nil) @amount = amount @amount_tax = amount_tax end |
Instance Attribute Details
#amount ⇒ Object
The amount to reverse, in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) in negative.
40 41 42 |
# File 'lib/stripe/params/tax/transaction_create_reversal_params.rb', line 40 def amount @amount end |
#amount_tax ⇒ Object
The amount of tax to reverse, in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) in negative.
42 43 44 |
# File 'lib/stripe/params/tax/transaction_create_reversal_params.rb', line 42 def amount_tax @amount_tax end |