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.



685
686
687
688
689
# File 'lib/stripe/params/setup_intent_create_params.rb', line 685

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).



679
680
681
# File 'lib/stripe/params/setup_intent_create_params.rb', line 679

def currency
  @currency
end

#mandate_optionsObject

Additional fields for Mandate creation



681
682
683
# File 'lib/stripe/params/setup_intent_create_params.rb', line 681

def mandate_options
  @mandate_options
end

#verification_methodObject

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



683
684
685
# File 'lib/stripe/params/setup_intent_create_params.rb', line 683

def verification_method
  @verification_method
end