Class: Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Sofort

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/confirmation_token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(country: nil) ⇒ Sofort

Returns a new instance of Sofort.



2114
2115
2116
# File 'lib/stripe/resources/confirmation_token.rb', line 2114

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

Instance Attribute Details

#countryObject

Two-letter ISO code representing the country the bank account is located in.



2112
2113
2114
# File 'lib/stripe/resources/confirmation_token.rb', line 2112

def country
  @country
end