Class: Stripe::Checkout::SessionCreateParams::PaymentMethodOptions::Payco

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, new, #to_h

Constructor Details

#initialize(capture_method: nil) ⇒ Payco

Returns a new instance of Payco.



1580
1581
1582
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1580

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.



1578
1579
1580
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1578

def capture_method
  @capture_method
end