Class: Stripe::PaymentLinkService::CreateParams::CustomField::Label
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::CreateParams::CustomField::Label
- Defined in:
- lib/stripe/services/payment_link_service.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.
149 150 151 152 |
# File 'lib/stripe/services/payment_link_service.rb', line 149 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.
145 146 147 |
# File 'lib/stripe/services/payment_link_service.rb', line 145 def custom @custom end |
#type ⇒ Object
The type of the label.
147 148 149 |
# File 'lib/stripe/services/payment_link_service.rb', line 147 def type @type end |