Class: Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Defined Under Namespace
Classes: Card, CardPresent, Klarna, Paypal
Instance Attribute Summary collapse
-
#card ⇒ Object
This sub-hash contains line item details that are specific to ‘card` payment method.“.
-
#card_present ⇒ Object
This sub-hash contains line item details that are specific to ‘card_present` payment method.“.
-
#klarna ⇒ Object
This sub-hash contains line item details that are specific to ‘klarna` payment method.“.
-
#paypal ⇒ Object
This sub-hash contains line item details that are specific to ‘paypal` payment method.“.
Instance Method Summary collapse
-
#initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) ⇒ PaymentMethodOptions
constructor
A new instance of PaymentMethodOptions.
Methods inherited from RequestParams
Constructor Details
#initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) ⇒ PaymentMethodOptions
73 74 75 76 77 78 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 73 def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil) @card = card @card_present = card_present @klarna = klarna @paypal = paypal end |
Instance Attribute Details
#card ⇒ Object
This sub-hash contains line item details that are specific to ‘card` payment method.“
65 66 67 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 65 def card @card end |
#card_present ⇒ Object
This sub-hash contains line item details that are specific to ‘card_present` payment method.“
67 68 69 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 67 def card_present @card_present end |
#klarna ⇒ Object
This sub-hash contains line item details that are specific to ‘klarna` payment method.“
69 70 71 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 69 def klarna @klarna end |
#paypal ⇒ Object
This sub-hash contains line item details that are specific to ‘paypal` payment method.“
71 72 73 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 71 def paypal @paypal end |