Interface GraphQLLineItemQuantityBelowLimitError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLLineItemQuantityBelowLimitError extends GraphQLErrorObject

Returned when attempting to create or update a Cart with a Line Item whose quantity is below the minCartQuantity limit defined in the InventoryEntry for that Line Item's SKU.


Example to create an instance using the builder pattern

     GraphQLLineItemQuantityBelowLimitError graphQLLineItemQuantityBelowLimitError = GraphQLLineItemQuantityBelowLimitError.builder()
             .quantity(1)
             .minCartQuantity(1)
             .build()
 
  • Field Details

    • LINE_ITEM_QUANTITY_BELOW_LIMIT

      static final String LINE_ITEM_QUANTITY_BELOW_LIMIT
      discriminator value for GraphQLLineItemQuantityBelowLimitError
      See Also:
  • Method Details