Class: Stripe::PaymentLinkService::UpdateParams::CustomField::Numeric
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::CustomField::Numeric
- 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) ⇒ Numeric
constructor
A new instance of Numeric.
Methods inherited from RequestParams
Constructor Details
#initialize(maximum_length: nil, minimum_length: nil) ⇒ Numeric
Returns a new instance of Numeric.
868 869 870 871 |
# File 'lib/stripe/services/payment_link_service.rb', line 868 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.
863 864 865 |
# File 'lib/stripe/services/payment_link_service.rb', line 863 def maximum_length @maximum_length end |
#minimum_length ⇒ Object
The minimum character length requirement for the customer’s input.
866 867 868 |
# File 'lib/stripe/services/payment_link_service.rb', line 866 def minimum_length @minimum_length end |