Interface MaxStoreReferencesReachedError

All Superinterfaces:
ErrorObject

public interface MaxStoreReferencesReachedError extends ErrorObject

Returned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.

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

     MaxStoreReferencesReachedError maxStoreReferencesReachedError = MaxStoreReferencesReachedError.builder()
             .message("{message}")
             .build()