Class: Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(reference_prefix: nil) ⇒ MandateOptions

Returns a new instance of MandateOptions.



7062
7063
7064
# File 'lib/stripe/resources/payment_intent.rb', line 7062

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



7060
7061
7062
# File 'lib/stripe/resources/payment_intent.rb', line 7060

def reference_prefix
  @reference_prefix
end