Class: Stripe::PaymentLink::UpdateParams::PhoneNumberCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_link.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil) ⇒ PhoneNumberCollection

Returns a new instance of PhoneNumberCollection.



1364
1365
1366
# File 'lib/stripe/resources/payment_link.rb', line 1364

def initialize(enabled: nil)
  @enabled = enabled
end

Instance Attribute Details

#enabledObject

Set to ‘true` to enable phone number collection.



1362
1363
1364
# File 'lib/stripe/resources/payment_link.rb', line 1362

def enabled
  @enabled
end