Class: Stripe::SetupIntentCreateParams::PaymentMethodOptions::AcssDebit

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

Defined Under Namespace

Classes: MandateOptions

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(currency: nil, mandate_options: nil, verification_method: nil) ⇒ AcssDebit

Returns a new instance of AcssDebit.



753
754
755
756
757
# File 'lib/stripe/params/setup_intent_create_params.rb', line 753

def initialize(currency: nil, mandate_options: nil, verification_method: nil)
  @currency = currency
  @mandate_options = mandate_options
  @verification_method = verification_method
end

Instance Attribute Details

#currencyObject

Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).



747
748
749
# File 'lib/stripe/params/setup_intent_create_params.rb', line 747

def currency
  @currency
end

#mandate_optionsObject

Additional fields for Mandate creation



749
750
751
# File 'lib/stripe/params/setup_intent_create_params.rb', line 749

def mandate_options
  @mandate_options
end

#verification_methodObject

Bank account verification method. The default value is ‘automatic`.



751
752
753
# File 'lib/stripe/params/setup_intent_create_params.rb', line 751

def verification_method
  @verification_method
end