Class: Stripe::QuoteUpdateParams::InvoiceSettings::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::QuoteUpdateParams::InvoiceSettings::CustomField
- Defined in:
- lib/stripe/params/quote_update_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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(name: nil, value: nil) ⇒ CustomField
Returns a new instance of CustomField.
79 80 81 82 |
# File 'lib/stripe/params/quote_update_params.rb', line 79 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.
75 76 77 |
# File 'lib/stripe/params/quote_update_params.rb', line 75 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
77 78 79 |
# File 'lib/stripe/params/quote_update_params.rb', line 77 def value @value end |