Class: Stripe::PaymentLinkService::CreateParams::CustomField::Text
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::CreateParams::CustomField::Text
- Defined in:
- lib/stripe/services/payment_link_service.rb
Instance Attribute Summary collapse
-
#maximum_length ⇒ Object
The maximum character length constraint for the customer’s input.
-
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
Instance Method Summary collapse
-
#initialize(maximum_length: nil, minimum_length: nil) ⇒ Text
constructor
A new instance of Text.
Methods inherited from RequestParams
Constructor Details
#initialize(maximum_length: nil, minimum_length: nil) ⇒ Text
Returns a new instance of Text.
184 185 186 187 |
# File 'lib/stripe/services/payment_link_service.rb', line 184 def initialize(maximum_length: nil, minimum_length: nil) @maximum_length = maximum_length @minimum_length = minimum_length end |
Instance Attribute Details
#maximum_length ⇒ Object
The maximum character length constraint for the customer’s input.
179 180 181 |
# File 'lib/stripe/services/payment_link_service.rb', line 179 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
182 183 184 |
# File 'lib/stripe/services/payment_link_service.rb', line 182 def minimum_length @minimum_length end |