Interface StoreCartDiscountsLimitReachedError

All Superinterfaces:

public interface StoreCartDiscountsLimitReachedError extends ErrorObject

Returned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.

The error is returned as a failed response to:

  • Create CartDiscount and Create CartDiscount in Store requests
  • Add Store and Set Store update actions

Example to create an instance using the builder pattern

     StoreCartDiscountsLimitReachedError storeCartDiscountsLimitReachedError = StoreCartDiscountsLimitReachedError.builder()
             .plusStores(storesBuilder -> storesBuilder)
  • Field Details


      discriminator value for StoreCartDiscountsLimitReachedError
      See Also:
  • Method Details