Class: Stripe::PaymentLink::UpdateParams::TaxIdCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::UpdateParams::TaxIdCollection
- Defined in:
- lib/stripe/resources/payment_link.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Enable tax ID collection during checkout.
-
#required ⇒ Object
Describes whether a tax ID is required during checkout.
Instance Method Summary collapse
-
#initialize(enabled: nil, required: nil) ⇒ TaxIdCollection
constructor
A new instance of TaxIdCollection.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, required: nil) ⇒ TaxIdCollection
Returns a new instance of TaxIdCollection.
1461 1462 1463 1464 |
# File 'lib/stripe/resources/payment_link.rb', line 1461 def initialize(enabled: nil, required: nil) @enabled = enabled @required = required end |
Instance Attribute Details
#enabled ⇒ Object
Enable tax ID collection during checkout. Defaults to ‘false`.
1457 1458 1459 |
# File 'lib/stripe/resources/payment_link.rb', line 1457 def enabled @enabled end |
#required ⇒ Object
Describes whether a tax ID is required during checkout. Defaults to ‘never`.
1459 1460 1461 |
# File 'lib/stripe/resources/payment_link.rb', line 1459 def required @required end |