Class: Stripe::PaymentLinkUpdateParams::NameCollection::Individual

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(enabled: nil, optional: nil) ⇒ Individual

Returns a new instance of Individual.



349
350
351
352
# File 'lib/stripe/params/payment_link_update_params.rb', line 349

def initialize(enabled: nil, optional: nil)
  @enabled = enabled
  @optional = optional
end

Instance Attribute Details

#enabledObject

Enable individual name collection on the payment link. Defaults to ‘false`.



345
346
347
# File 'lib/stripe/params/payment_link_update_params.rb', line 345

def enabled
  @enabled
end

#optionalObject

Whether the customer is required to provide their full name before checking out. Defaults to ‘false`.



347
348
349
# File 'lib/stripe/params/payment_link_update_params.rb', line 347

def optional
  @optional
end