Class GraphQLDiscountCodeNonApplicableErrorImpl

java.lang.Object
com.commercetools.api.models.error.GraphQLDiscountCodeNonApplicableErrorImpl
All Implemented Interfaces:
GraphQLDiscountCodeNonApplicableError, GraphQLErrorObject, io.vrap.rmf.base.client.ModelBase

public class GraphQLDiscountCodeNonApplicableErrorImpl extends Object implements GraphQLDiscountCodeNonApplicableError, io.vrap.rmf.base.client.ModelBase

Returned when the Cart contains a Discount Code with a DiscountCodeState other than MatchesCart.

The error is returned as a failed response to:

  • Create Order from Cart and Create Order in Store from Cart requests on Orders.
  • Create Order from Cart and Create Order in Store from Cart requests on My Orders.