Class: Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/setup_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.



2243
2244
2245
# File 'lib/stripe/resources/setup_intent.rb', line 2243

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



2241
2242
2243
# File 'lib/stripe/resources/setup_intent.rb', line 2241

def reference_prefix
  @reference_prefix
end