Class: Stripe::PaymentLinkUpdateParams::CustomField::Label

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(custom: nil, type: nil) ⇒ Label

Returns a new instance of Label.



93
94
95
96
# File 'lib/stripe/params/payment_link_update_params.rb', line 93

def initialize(custom: nil, type: nil)
  @custom = custom
  @type = type
end

Instance Attribute Details

#customObject

Custom text for the label, displayed to the customer. Up to 50 characters.



89
90
91
# File 'lib/stripe/params/payment_link_update_params.rb', line 89

def custom
  @custom
end

#typeObject

The type of the label.



91
92
93
# File 'lib/stripe/params/payment_link_update_params.rb', line 91

def type
  @type
end