Class: Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions
- Defined in:
- lib/stripe/resources/checkout/session.rb
Instance Attribute Summary collapse
-
#reference_prefix ⇒ Object
Prefix used to generate the Mandate reference.
Instance Method Summary collapse
-
#initialize(reference_prefix: nil) ⇒ MandateOptions
constructor
A new instance of MandateOptions.
Methods inherited from RequestParams
Constructor Details
#initialize(reference_prefix: nil) ⇒ MandateOptions
Returns a new instance of MandateOptions.
1910 1911 1912 |
# File 'lib/stripe/resources/checkout/session.rb', line 1910 def initialize(reference_prefix: nil) @reference_prefix = reference_prefix end |
Instance Attribute Details
#reference_prefix ⇒ Object
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’.
1908 1909 1910 |
# File 'lib/stripe/resources/checkout/session.rb', line 1908 def reference_prefix @reference_prefix end |