Class: Stripe::PaymentIntentConfirmParams::PaymentMethodData::Sofort

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



2557
2558
2559
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2557

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

Instance Attribute Details

#countryObject

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



2555
2556
2557
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2555

def country
  @country
end