Class: Stripe::PaymentLinkCreateParams::CustomField::Label
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::CustomField::Label
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Instance Attribute Summary collapse
-
#custom ⇒ Object
Custom text for the label, displayed to the customer.
-
#type ⇒ Object
The type of the label.
Instance Method Summary collapse
-
#initialize(custom: nil, type: nil) ⇒ Label
constructor
A new instance of Label.
Methods inherited from RequestParams
Constructor Details
#initialize(custom: nil, type: nil) ⇒ Label
Returns a new instance of Label.
120 121 122 123 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 120 def initialize(custom: nil, type: nil) @custom = custom @type = type end |
Instance Attribute Details
#custom ⇒ Object
Custom text for the label, displayed to the customer. Up to 50 characters.
116 117 118 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 116 def custom @custom end |
#type ⇒ Object
The type of the label.
118 119 120 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 118 def type @type end |