Class: Stripe::PaymentLinkCreateParams::TaxIdCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::TaxIdCollection
- Defined in:
- lib/stripe/params/payment_link_create_params.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.
662 663 664 665 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 662 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`.
658 659 660 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 658 def enabled @enabled end |
#required ⇒ Object
Describes whether a tax ID is required during checkout. Defaults to ‘never`.
660 661 662 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 660 def required @required end |