Class: Stripe::Invoice::UpdateParams::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Invoice::UpdateParams::CustomField
- Defined in:
- lib/stripe/resources/invoice.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.
551 552 553 554 |
# File 'lib/stripe/resources/invoice.rb', line 551 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.
547 548 549 |
# File 'lib/stripe/resources/invoice.rb', line 547 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
549 550 551 |
# File 'lib/stripe/resources/invoice.rb', line 549 def value @value end |