Class: Stripe::PaymentLink::UpdateParams::InvoiceCreation::InvoiceData::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::UpdateParams::InvoiceCreation::InvoiceData::CustomField
- Defined in:
- lib/stripe/resources/payment_link.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.
1307 1308 1309 1310 |
# File 'lib/stripe/resources/payment_link.rb', line 1307 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.
1303 1304 1305 |
# File 'lib/stripe/resources/payment_link.rb', line 1303 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
1305 1306 1307 |
# File 'lib/stripe/resources/payment_link.rb', line 1305 def value @value end |