Class: Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionService::CreateParams::PhoneNumberCollection
- Defined in:
- lib/stripe/services/checkout/session_service.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.
1743 1744 1745 |
# File 'lib/stripe/services/checkout/session_service.rb', line 1743 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.
1741 1742 1743 |
# File 'lib/stripe/services/checkout/session_service.rb', line 1741 def enabled @enabled end |