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
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
562 563 564 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 562 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Set to true to enable phone number collection.
560 561 562 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 560 def enabled @enabled end |