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.
424 425 426 427 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 424 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.
420 421 422 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 420 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
422 423 424 |
# File 'lib/stripe/params/subscription_schedule_create_params.rb', line 422 def value @value end |