Class: Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort

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



2499
2500
2501
# File 'lib/stripe/services/setup_intent_service.rb', line 2499

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

Instance Attribute Details

#countryObject

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



2497
2498
2499
# File 'lib/stripe/services/setup_intent_service.rb', line 2497

def country
  @country
end