Class: Stripe::PaymentLinkService::UpdateParams::CustomField::Text
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::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.
881 882 883 884 |
# File 'lib/stripe/services/payment_link_service.rb', line 881 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.
876 877 878 |
# File 'lib/stripe/services/payment_link_service.rb', line 876 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
879 880 881 |
# File 'lib/stripe/services/payment_link_service.rb', line 879 def minimum_length @minimum_length end |