Class: Stripe::SubscriptionUpdateParams::InvoiceSettings::CustomField

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/subscription_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



308
309
310
311
# File 'lib/stripe/params/subscription_update_params.rb', line 308

def initialize(name: nil, value: nil)
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

The name of the custom field. This may be up to 40 characters.



304
305
306
# File 'lib/stripe/params/subscription_update_params.rb', line 304

def name
  @name
end

#valueObject

The value of the custom field. This may be up to 140 characters.



306
307
308
# File 'lib/stripe/params/subscription_update_params.rb', line 306

def value
  @value
end