Class: Stripe::Checkout::SessionCreateParams::NameCollection::Business
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::NameCollection::Business
- Defined in:
- lib/stripe/params/checkout/session_create_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Enable business name collection on the Checkout Session.
-
#optional ⇒ Object
Whether the customer is required to provide a business name before completing the Checkout Session.
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.
550 551 552 553 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 550 def initialize(enabled: nil, optional: nil) @enabled = enabled @optional = optional end |
Instance Attribute Details
#enabled ⇒ Object
Enable business name collection on the Checkout Session. Defaults to ‘false`.
546 547 548 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 546 def enabled @enabled end |
#optional ⇒ Object
Whether the customer is required to provide a business name before completing the Checkout Session. Defaults to ‘false`.
548 549 550 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 548 def optional @optional end |