Class: Stripe::Checkout::SessionService::CreateParams::PaymentMethodOptions::Swish

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(reference: nil) ⇒ Swish

Returns a new instance of Swish.



1466
1467
1468
# File 'lib/stripe/services/checkout/session_service.rb', line 1466

def initialize(reference: nil)
  @reference = reference
end

Instance Attribute Details

#referenceObject

The order reference that will be displayed to customers in the Swish application. Defaults to the ‘id` of the Payment Intent.



1464
1465
1466
# File 'lib/stripe/services/checkout/session_service.rb', line 1464

def reference
  @reference
end