Class: Stripe::PaymentLink::CreateParams::TaxIdCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::CreateParams::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.
1247 1248 1249 1250 |
# File 'lib/stripe/resources/payment_link.rb', line 1247 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`.
1243 1244 1245 |
# File 'lib/stripe/resources/payment_link.rb', line 1243 def enabled @enabled end |
#required ⇒ Object
Describes whether a tax ID is required during checkout. Defaults to ‘never`.
1245 1246 1247 |
# File 'lib/stripe/resources/payment_link.rb', line 1245 def required @required end |