Class: Stripe::PaymentLinkUpdateParams::PhoneNumberCollection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_link_update_params.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.



363
364
365
# File 'lib/stripe/params/payment_link_update_params.rb', line 363

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

Instance Attribute Details

#enabledObject

Set to ‘true` to enable phone number collection.



361
362
363
# File 'lib/stripe/params/payment_link_update_params.rb', line 361

def enabled
  @enabled
end