Class: Stripe::PaymentLink::UpdateParams::InvoiceCreation::InvoiceData::CustomField

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



1302
1303
1304
1305
# File 'lib/stripe/resources/payment_link.rb', line 1302

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.



1297
1298
1299
# File 'lib/stripe/resources/payment_link.rb', line 1297

def name
  @name
end

#valueObject

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



1300
1301
1302
# File 'lib/stripe/resources/payment_link.rb', line 1300

def value
  @value
end