Class: Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::SamsungPay

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/checkout/session_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(capture_method: nil) ⇒ SamsungPay

Returns a new instance of SamsungPay.



1403
1404
1405
# File 'lib/stripe/services/checkout/session_service.rb', line 1403

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.



1401
1402
1403
# File 'lib/stripe/services/checkout/session_service.rb', line 1401

def capture_method
  @capture_method
end