Class: Stripe::PaymentLinkService::UpdateParams::CustomField::Label

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

Returns a new instance of Label.



893
894
895
896
# File 'lib/stripe/services/payment_link_service.rb', line 893

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.



889
890
891
# File 'lib/stripe/services/payment_link_service.rb', line 889

def custom
  @custom
end

#typeObject

The type of the label.



891
892
893
# File 'lib/stripe/services/payment_link_service.rb', line 891

def type
  @type
end