Class: Stripe::Checkout::SessionCreateParams::PaymentMethodOptions::Swish

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

attr_accessor, new, #to_h

Constructor Details

#initialize(reference: nil) ⇒ Swish

Returns a new instance of Swish.



1837
1838
1839
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1837

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.



1835
1836
1837
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1835

def reference
  @reference
end