Class: Stripe::Tax::TransactionService::CreateReversalParams::ShippingCost
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Tax::TransactionService::CreateReversalParams::ShippingCost
- Defined in:
- lib/stripe/services/tax/transaction_service.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.
82 83 84 85 |
# File 'lib/stripe/services/tax/transaction_service.rb', line 82 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.
78 79 80 |
# File 'lib/stripe/services/tax/transaction_service.rb', line 78 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.
80 81 82 |
# File 'lib/stripe/services/tax/transaction_service.rb', line 80 def amount_tax @amount_tax end |