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
-
#default_value ⇒ Object
The value that will pre-fill the field on the payment page.
-
#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(default_value: nil, maximum_length: nil, minimum_length: nil) ⇒ Text
constructor
A new instance of Text.
Methods inherited from RequestParams
Constructor Details
#initialize(default_value: nil, maximum_length: nil, minimum_length: nil) ⇒ Text
Returns a new instance of Text.
849 850 851 852 853 |
# File 'lib/stripe/services/payment_link_service.rb', line 849 def initialize(default_value: nil, maximum_length: nil, minimum_length: nil) @default_value = default_value @maximum_length = maximum_length @minimum_length = minimum_length end |
Instance Attribute Details
#default_value ⇒ Object
The value that will pre-fill the field on the payment page.
843 844 845 |
# File 'lib/stripe/services/payment_link_service.rb', line 843 def default_value @default_value end |
#maximum_length ⇒ Object
The maximum character length constraint for the customer’s input.
845 846 847 |
# File 'lib/stripe/services/payment_link_service.rb', line 845 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
847 848 849 |
# File 'lib/stripe/services/payment_link_service.rb', line 847 def minimum_length @minimum_length end |