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

#to_h

Constructor Details

#initialize(capture_method: nil) ⇒ Payco

Returns a new instance of Payco.



1444
1445
1446
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1444

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.



1442
1443
1444
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1442

def capture_method
  @capture_method
end