Class: Stripe::V2::Core::AccountCreateParams::Configuration::Customer::Billing::Invoice::CustomField

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_params.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.



30
31
32
33
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 30

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.



26
27
28
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 26

def name
  @name
end

#valueObject

The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.



28
29
30
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 28

def value
  @value
end