Class: Stripe::CustomerService::UpdateParams::InvoiceSettings::CustomField

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/customer_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(name: nil, value: nil) ⇒ CustomField

Returns a new instance of CustomField.



94
95
96
97
# File 'lib/stripe/services/customer_service.rb', line 94

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.



89
90
91
# File 'lib/stripe/services/customer_service.rb', line 89

def name
  @name
end

#valueObject

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



92
93
94
# File 'lib/stripe/services/customer_service.rb', line 92

def value
  @value
end