Class: Stripe::Checkout::SessionCreateParams::PhoneNumberCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::PhoneNumberCollection
- Defined in:
- lib/stripe/params/checkout/session_create_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Set to
trueto enable phone number collection.
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ PhoneNumberCollection
constructor
A new instance of PhoneNumberCollection.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(enabled: nil) ⇒ PhoneNumberCollection
Returns a new instance of PhoneNumberCollection.
2058 2059 2060 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 2058 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.
2056 2057 2058 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 2056 def enabled @enabled end |