Class: Stripe::PaymentIntentService::CreateParams::AmountDetails::LineItem::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentService::CreateParams::AmountDetails::LineItem::Tax
- Defined in:
- lib/stripe/services/payment_intent_service.rb
Instance Attribute Summary collapse
-
#total_tax_amount ⇒ Object
The total tax on an item.
Instance Method Summary collapse
-
#initialize(total_tax_amount: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
Constructor Details
#initialize(total_tax_amount: nil) ⇒ Tax
Returns a new instance of Tax.
137 138 139 |
# File 'lib/stripe/services/payment_intent_service.rb', line 137 def initialize(total_tax_amount: nil) @total_tax_amount = total_tax_amount end |
Instance Attribute Details
#total_tax_amount ⇒ Object
The total tax on an item. Non-negative integer.
135 136 137 |
# File 'lib/stripe/services/payment_intent_service.rb', line 135 def total_tax_amount @total_tax_amount end |