Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Total
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Total
- Defined in:
- lib/stripe/params/payment_intent_capture_params.rb
Defined Under Namespace
Classes: Discounts, ExtraCharge, Tax
Instance Attribute Summary collapse
-
#amount ⇒ Object
Total flight amount.
-
#credit_reason ⇒ Object
Reason for credit.
-
#currency ⇒ Object
Total currency.
-
#discounts ⇒ Object
Discount details.
-
#extra_charges ⇒ Object
Additional charges.
-
#tax ⇒ Object
Tax breakdown.
Instance Method Summary collapse
-
#initialize(amount: nil, credit_reason: nil, currency: nil, discounts: nil, extra_charges: nil, tax: nil) ⇒ Total
constructor
A new instance of Total.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, credit_reason: nil, currency: nil, discounts: nil, extra_charges: nil, tax: nil) ⇒ Total
Returns a new instance of Total.
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1236 def initialize( amount: nil, credit_reason: nil, currency: nil, discounts: nil, extra_charges: nil, tax: nil ) @amount = amount @credit_reason = credit_reason @currency = currency @discounts = discounts @extra_charges = extra_charges @tax = tax end |
Instance Attribute Details
#amount ⇒ Object
Total flight amount.
1224 1225 1226 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1224 def amount @amount end |
#credit_reason ⇒ Object
Reason for credit.
1226 1227 1228 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1226 def credit_reason @credit_reason end |
#currency ⇒ Object
Total currency.
1228 1229 1230 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1228 def currency @currency end |
#discounts ⇒ Object
Discount details.
1230 1231 1232 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1230 def discounts @discounts end |
#extra_charges ⇒ Object
Additional charges.
1232 1233 1234 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1232 def extra_charges @extra_charges end |
#tax ⇒ Object
Tax breakdown.
1234 1235 1236 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1234 def tax @tax end |