Class: Stripe::Checkout::Session::CreateParams::TaxIdCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::Session::CreateParams::TaxIdCollection
- Defined in:
- lib/stripe/resources/checkout/session.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.
3071 3072 3073 3074 |
# File 'lib/stripe/resources/checkout/session.rb', line 3071 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`.
3067 3068 3069 |
# File 'lib/stripe/resources/checkout/session.rb', line 3067 def enabled @enabled end |
#required ⇒ Object
Describes whether a tax ID is required during checkout. Defaults to ‘never`.
3069 3070 3071 |
# File 'lib/stripe/resources/checkout/session.rb', line 3069 def required @required end |