Class: Stripe::PaymentLinkUpdateParams::NameCollection::Business

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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(enabled: nil, optional: nil) ⇒ Business

Returns a new instance of Business.



364
365
366
367
# File 'lib/stripe/params/payment_link_update_params.rb', line 364

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

Instance Attribute Details

#enabledObject

Enable business name collection on the payment link. Defaults to false.



360
361
362
# File 'lib/stripe/params/payment_link_update_params.rb', line 360

def enabled
  @enabled
end

#optionalObject

Whether the customer is required to provide their business name before checking out. Defaults to false.



362
363
364
# File 'lib/stripe/params/payment_link_update_params.rb', line 362

def optional
  @optional
end