Class: Stripe::PaymentLinkUpdateParams::NameCollection::Business
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkUpdateParams::NameCollection::Business
- Defined in:
- lib/stripe/params/payment_link_update_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Enable business name collection on the payment link.
-
#optional ⇒ Object
Whether the customer is required to provide their business name before checking out.
Instance Method Summary collapse
-
#initialize(enabled: nil, optional: nil) ⇒ Business
constructor
A new instance of Business.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, optional: nil) ⇒ Business
Returns a new instance of Business.
337 338 339 340 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 337 def initialize(enabled: nil, optional: nil) @enabled = enabled @optional = optional end |
Instance Attribute Details
#enabled ⇒ Object
Enable business name collection on the payment link. Defaults to ‘false`.
333 334 335 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 333 def enabled @enabled end |
#optional ⇒ Object
Whether the customer is required to provide their business name before checking out. Defaults to ‘false`.
335 336 337 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 335 def optional @optional end |