Class: Stripe::Checkout::Session::CreateParams::PhoneNumberCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::PhoneNumberCollection
- Defined in:
- lib/stripe/resources/checkout/session.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Set to ‘true` to enable phone number collection.
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ PhoneNumberCollection
constructor
A new instance of PhoneNumberCollection.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil) ⇒ PhoneNumberCollection
Returns a new instance of PhoneNumberCollection.
2701 2702 2703 |
# File 'lib/stripe/resources/checkout/session.rb', line 2701 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Set to ‘true` to enable phone number collection.
Can only be set in ‘payment` and `subscription` mode.
2699 2700 2701 |
# File 'lib/stripe/resources/checkout/session.rb', line 2699 def enabled @enabled end |