Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::Sofort

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(country: nil) ⇒ Sofort

Returns a new instance of Sofort.



2244
2245
2246
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2244

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

Instance Attribute Details

#countryObject

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



2242
2243
2244
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2242

def country
  @country
end