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.



948
949
950
# File 'lib/stripe/params/checkout/session_create_params.rb', line 948

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.



946
947
948
# File 'lib/stripe/params/checkout/session_create_params.rb', line 946

def capture_method
  @capture_method
end