Class: Stripe::V2::Payments::OffSessionPaymentCreateParams::Capture
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Payments::OffSessionPaymentCreateParams::Capture
- Defined in:
- lib/stripe/params/v2/payments/off_session_payment_create_params.rb
Instance Attribute Summary collapse
-
#capture_method ⇒ Object
The method to use to capture the payment.
Instance Method Summary collapse
-
#initialize(capture_method: nil) ⇒ Capture
constructor
A new instance of Capture.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(capture_method: nil) ⇒ Capture
Returns a new instance of Capture.
108 109 110 |
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 108 def initialize(capture_method: nil) @capture_method = capture_method end |
Instance Attribute Details
#capture_method ⇒ Object
The method to use to capture the payment.
106 107 108 |
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 106 def capture_method @capture_method end |