Class: Stripe::V2::Payments::OffSessionPaymentCreateParams::Capture

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/off_session_payment_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(capture_method: nil) ⇒ Capture

Returns a new instance of Capture.



92
93
94
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 92

def initialize(capture_method: nil)
  @capture_method = capture_method
end

Instance Attribute Details

#capture_methodObject

The method to use to capture the payment.



90
91
92
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 90

def capture_method
  @capture_method
end