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

#to_h

Constructor Details

#initialize(capture_method: nil) ⇒ Alma

Returns a new instance of Alma.



877
878
879
# File 'lib/stripe/params/checkout/session_create_params.rb', line 877

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.



875
876
877
# File 'lib/stripe/params/checkout/session_create_params.rb', line 875

def capture_method
  @capture_method
end