Class: Stripe::PaymentMethodService::CreateParams::Sofort

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



384
385
386
# File 'lib/stripe/services/payment_method_service.rb', line 384

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

Instance Attribute Details

#countryObject

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



382
383
384
# File 'lib/stripe/services/payment_method_service.rb', line 382

def country
  @country
end