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.



763
764
765
766
767
# File 'lib/stripe/params/setup_intent_create_params.rb', line 763

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



757
758
759
# File 'lib/stripe/params/setup_intent_create_params.rb', line 757

def currency
  @currency
end

#mandate_optionsObject

Additional fields for Mandate creation



759
760
761
# File 'lib/stripe/params/setup_intent_create_params.rb', line 759

def mandate_options
  @mandate_options
end

#verification_methodObject

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



761
762
763
# File 'lib/stripe/params/setup_intent_create_params.rb', line 761

def verification_method
  @verification_method
end