Class: Stripe::PaymentLink::UpdateParams::CustomField::Label

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

Returns a new instance of Label.



1485
1486
1487
1488
# File 'lib/stripe/resources/payment_link.rb', line 1485

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.



1481
1482
1483
# File 'lib/stripe/resources/payment_link.rb', line 1481

def custom
  @custom
end

#typeObject

The type of the label.



1483
1484
1485
# File 'lib/stripe/resources/payment_link.rb', line 1483

def type
  @type
end