Class: Stripe::PaymentLinkService::UpdateParams::TaxIdCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::TaxIdCollection
- Defined in:
- lib/stripe/services/payment_link_service.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.
1184 1185 1186 1187 |
# File 'lib/stripe/services/payment_link_service.rb', line 1184 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`.
1180 1181 1182 |
# File 'lib/stripe/services/payment_link_service.rb', line 1180 def enabled @enabled end |
#required ⇒ Object
Describes whether a tax ID is required during checkout. Defaults to ‘never`.
1182 1183 1184 |
# File 'lib/stripe/services/payment_link_service.rb', line 1182 def required @required end |