Class: Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort

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



719
720
721
# File 'lib/stripe/resources/setup_intent.rb', line 719

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

Instance Attribute Details

#countryObject

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



717
718
719
# File 'lib/stripe/resources/setup_intent.rb', line 717

def country
  @country
end