Class: Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::Swish

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/checkout/session.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.



2473
2474
2475
# File 'lib/stripe/resources/checkout/session.rb', line 2473

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.



2471
2472
2473
# File 'lib/stripe/resources/checkout/session.rb', line 2471

def reference
  @reference
end