Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Sofort

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



5238
5239
5240
# File 'lib/stripe/services/payment_intent_service.rb', line 5238

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

Instance Attribute Details

#countryObject

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



5236
5237
5238
# File 'lib/stripe/services/payment_intent_service.rb', line 5236

def country
  @country
end