Class: Stripe::PaymentLinkUpdateParams::InvoiceCreation::InvoiceData::CustomField

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



228
229
230
231
# File 'lib/stripe/params/payment_link_update_params.rb', line 228

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.



224
225
226
# File 'lib/stripe/params/payment_link_update_params.rb', line 224

def name
  @name
end

#valueObject

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



226
227
228
# File 'lib/stripe/params/payment_link_update_params.rb', line 226

def value
  @value
end