Interface StoreCartDiscountsLimitReachedError

All Superinterfaces:
ErrorObject

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:


Example to create an instance using the builder pattern

     StoreCartDiscountsLimitReachedError storeCartDiscountsLimitReachedError = StoreCartDiscountsLimitReachedError.builder()
             .message("{message}")
             .plusStores(storesBuilder -> storesBuilder)
             .build()