Class: Stripe::InvoiceService::UpdateParams::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceService::UpdateParams::CustomField
- Defined in:
- lib/stripe/services/invoice_service.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.
74 75 76 77 |
# File 'lib/stripe/services/invoice_service.rb', line 74 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.
70 71 72 |
# File 'lib/stripe/services/invoice_service.rb', line 70 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
72 73 74 |
# File 'lib/stripe/services/invoice_service.rb', line 72 def value @value end |