Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions

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

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(reference_prefix: nil) ⇒ MandateOptions

Returns a new instance of MandateOptions.



2767
2768
2769
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2767

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

Instance Attribute Details

#reference_prefixObject

Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: ‘/’, ‘_’, ‘-’, ‘&’, ‘.’. Cannot begin with ‘DDIC’ or ‘STRIPE’.



2765
2766
2767
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 2765

def reference_prefix
  @reference_prefix
end