Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::SamsungPay
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::SamsungPay
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#capture_method ⇒ Object
Controls when the funds are captured from the customer's account.
Instance Method Summary collapse
-
#initialize(capture_method: nil) ⇒ SamsungPay
constructor
A new instance of SamsungPay.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(capture_method: nil) ⇒ SamsungPay
Returns a new instance of SamsungPay.
2179 2180 2181 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2179 def initialize(capture_method: nil) @capture_method = capture_method end |
Instance Attribute Details
#capture_method ⇒ Object
Controls when the funds are captured from the customer's account.
If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If capture_method is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2177 2178 2179 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2177 def capture_method @capture_method end |