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.



1440
1441
1442
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1440

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.



1438
1439
1440
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1438

def capture_method
  @capture_method
end