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.
170 171 172 173 |
# File 'lib/stripe/services/payment_link_service.rb', line 170 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.
166 167 168 |
# File 'lib/stripe/services/payment_link_service.rb', line 166 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
168 169 170 |
# File 'lib/stripe/services/payment_link_service.rb', line 168 def minimum_length @minimum_length end |