Class: Stripe::PaymentLinkService::UpdateParams::InvoiceCreation::InvoiceData::CustomField
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::InvoiceCreation::InvoiceData::CustomField
- Defined in:
- lib/stripe/services/payment_link_service.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
The name of the custom field.
-
#value ⇒ Object
The value of the custom field.
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ CustomField
constructor
A new instance of CustomField.
Methods inherited from RequestParams
Constructor Details
#initialize(name: nil, value: nil) ⇒ CustomField
Returns a new instance of CustomField.
1028 1029 1030 1031 |
# File 'lib/stripe/services/payment_link_service.rb', line 1028 def initialize(name: nil, value: nil) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
The name of the custom field. This may be up to 40 characters.
1024 1025 1026 |
# File 'lib/stripe/services/payment_link_service.rb', line 1024 def name @name end |
#value ⇒ Object
The value of the custom field. This may be up to 140 characters.
1026 1027 1028 |
# File 'lib/stripe/services/payment_link_service.rb', line 1026 def value @value end |