Class: Stripe::CustomerCreateParams::InvoiceSettings::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerCreateParams::InvoiceSettings::CustomField
- Defined in:
- lib/stripe/params/customer_create_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.
55 56 57 58 |
# File 'lib/stripe/params/customer_create_params.rb', line 55 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.
51 52 53 |
# File 'lib/stripe/params/customer_create_params.rb', line 51 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
53 54 55 |
# File 'lib/stripe/params/customer_create_params.rb', line 53 def value @value end |