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

#to_h

Constructor Details

#initialize(country: nil) ⇒ Sofort

Returns a new instance of Sofort.



513
514
515
# File 'lib/stripe/params/payment_intent_create_params.rb', line 513

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

Instance Attribute Details

#countryObject

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



511
512
513
# File 'lib/stripe/params/payment_intent_create_params.rb', line 511

def country
  @country
end