Class: Stripe::InvoiceCreateParams::CustomField

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/invoice_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.



35
36
37
38
# File 'lib/stripe/params/invoice_create_params.rb', line 35

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.



31
32
33
# File 'lib/stripe/params/invoice_create_params.rb', line 31

def name
  @name
end

#valueObject

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



33
34
35
# File 'lib/stripe/params/invoice_create_params.rb', line 33

def value
  @value
end