Class: Stripe::Checkout::SessionCreateParams::PaymentMethodOptions::Alma

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_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) ⇒ Alma

Returns a new instance of Alma.



1317
1318
1319
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1317

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

Instance Attribute Details

#capture_methodObject

Controls when the funds will be captured from the customer's account.



1315
1316
1317
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1315

def capture_method
  @capture_method
end