Class: Stripe::PaymentLinkCreateParams::InvoiceCreation::InvoiceData::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::InvoiceCreation::InvoiceData::CustomField
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
The name of the custom field.
-
#value ⇒ Object
The value of the custom field.
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ CustomField
constructor
A new instance of CustomField.
Methods inherited from RequestParams
Constructor Details
#initialize(name: nil, value: nil) ⇒ CustomField
Returns a new instance of CustomField.
255 256 257 258 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 255 def initialize(name: nil, value: nil) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
The name of the custom field. This may be up to 40 characters.
251 252 253 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 251 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
253 254 255 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 253 def value @value end |