Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Payco
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Payco
- Defined in:
- lib/stripe/services/payment_intent_service.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) ⇒ Payco
constructor
A new instance of Payco.
Methods inherited from RequestParams
Constructor Details
#initialize(capture_method: nil) ⇒ Payco
Returns a new instance of Payco.
6315 6316 6317 |
# File 'lib/stripe/services/payment_intent_service.rb', line 6315 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](/api/payment_intents/update#update_payment_intent-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.
6313 6314 6315 |
# File 'lib/stripe/services/payment_intent_service.rb', line 6313 def capture_method @capture_method end |