Class: Stripe::PaymentLinkCreateParams::PhoneNumberCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::PhoneNumberCollection
- Defined in:
- lib/stripe/params/payment_link_create_params.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.
517 518 519 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 517 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Set to ‘true` to enable phone number collection.
515 516 517 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 515 def enabled @enabled end |