Class: Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::Billing::Invoice::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::Billing::Invoice::CustomField
- Defined in:
- lib/stripe/params/v2/core/account_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
Constructor Details
#initialize(name: nil, value: nil) ⇒ CustomField
Returns a new instance of CustomField.
33 34 35 36 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 33 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.
29 30 31 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 29 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
31 32 33 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 31 def value @value end |