Interface GraphQLMissingTaxRateForCountryError

All Superinterfaces:
GraphQLErrorObject
All Known Implementing Classes:
GraphQLMissingTaxRateForCountryErrorImpl

Returned when the Tax Category of at least one of the lineItems, customLineItems, or shippingInfo in the Cart is missing the TaxRate matching country and state given in the shippingAddress of that Cart.

The error is returned as a failed response to:

  • Set Default Shipping Address, Add LineItem, Add CustomLineItem, Set Shipping Address, Add LineItem, Add LineItem, and Add CustomLineItem update actions
  • Create Order from Cart and Create Order in Store from Cart requests.

Example to create an instance using the builder pattern

     GraphQLMissingTaxRateForCountryError graphQLMissingTaxRateForCountryError = GraphQLMissingTaxRateForCountryError.builder()
             .taxCategoryId("{taxCategoryId}")
             .build()