Class: Stripe::PaymentLinkService::UpdateParams::InvoiceCreation::InvoiceData::CustomField

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



955
956
957
958
# File 'lib/stripe/services/payment_link_service.rb', line 955

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.



951
952
953
# File 'lib/stripe/services/payment_link_service.rb', line 951

def name
  @name
end

#valueObject

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



953
954
955
# File 'lib/stripe/services/payment_link_service.rb', line 953

def value
  @value
end