Class: Stripe::PaymentMethod::CreateParams::Sofort

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



1087
1088
1089
# File 'lib/stripe/resources/payment_method.rb', line 1087

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

Instance Attribute Details

#countryObject

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



1085
1086
1087
# File 'lib/stripe/resources/payment_method.rb', line 1085

def country
  @country
end