Class: Stripe::PaymentLinkService::UpdateParams::PhoneNumberCollection

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



1163
1164
1165
# File 'lib/stripe/services/payment_link_service.rb', line 1163

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

Instance Attribute Details

#enabledObject

Set to ‘true` to enable phone number collection.



1161
1162
1163
# File 'lib/stripe/services/payment_link_service.rb', line 1161

def enabled
  @enabled
end