Class: Stripe::PaymentLinkService::UpdateParams::PhoneNumberCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::PhoneNumberCollection
- Defined in:
- lib/stripe/services/payment_link_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.
1034 1035 1036 |
# File 'lib/stripe/services/payment_link_service.rb', line 1034 def initialize(enabled: nil) @enabled = enabled end |
Instance Attribute Details
#enabled ⇒ Object
Set to ‘true` to enable phone number collection.
1032 1033 1034 |
# File 'lib/stripe/services/payment_link_service.rb', line 1032 def enabled @enabled end |