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.
797 798 799 800 |
# File 'lib/stripe/services/payment_link_service.rb', line 797 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.
793 794 795 |
# File 'lib/stripe/services/payment_link_service.rb', line 793 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
795 796 797 |
# File 'lib/stripe/services/payment_link_service.rb', line 795 def minimum_length @minimum_length end |