Class: Stripe::Checkout::SessionCreateParams::NameCollection::Individual
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::NameCollection::Individual
- Defined in:
- lib/stripe/params/checkout/session_create_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Enable individual name collection on the Checkout Session.
-
#optional ⇒ Object
Whether the customer is required to provide their name before completing the Checkout Session.
Instance Method Summary collapse
-
#initialize(enabled: nil, optional: nil) ⇒ Individual
constructor
A new instance of Individual.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, optional: nil) ⇒ Individual
Returns a new instance of Individual.
562 563 564 565 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 562 def initialize(enabled: nil, optional: nil) @enabled = enabled @optional = optional end |
Instance Attribute Details
#enabled ⇒ Object
Enable individual name collection on the Checkout Session. Defaults to ‘false`.
558 559 560 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 558 def enabled @enabled end |
#optional ⇒ Object
Whether the customer is required to provide their name before completing the Checkout Session. Defaults to ‘false`.
560 561 562 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 560 def optional @optional end |