Class: Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::Sofort

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



6617
6618
6619
# File 'lib/stripe/resources/payment_intent.rb', line 6617

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

Instance Attribute Details

#countryObject

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



6615
6616
6617
# File 'lib/stripe/resources/payment_intent.rb', line 6615

def country
  @country
end