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

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_methodObject

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