Class: Stripe::SubscriptionScheduleCreateParams::Phase::InvoiceSettings::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionScheduleCreateParams::Phase::InvoiceSettings::CustomField
- Defined in:
- lib/stripe/params/subscription_schedule_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
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.
664 665 666 667 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 664 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.
660 661 662 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 660 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
662 663 664 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 662 def value @value end |