Skip to main content

CartChangeReason

No description

enum CartChangeReason {
PRICE
QUANTITY
PRODUCT
TAX_CODE
NO_LONGER_ORDERABLE
NOW_ORDERABLE
MISSING
ADDED
BONUS_ITEMS
TOTAL
NOT_SHOWN
}

Values​

CartChangeReason.PRICE​

The line costs something different from what was shown

CartChangeReason.QUANTITY​

The line is for a different number of units from the one that was shown

CartChangeReason.PRODUCT​

The line is for a different product from the one that was shown

CartChangeReason.TAX_CODE​

The line is taxed at a different code from the one that was shown

CartChangeReason.NO_LONGER_ORDERABLE​

The line could be ordered when it was shown, and cannot now

CartChangeReason.NOW_ORDERABLE​

The line could not be ordered when it was shown, and can now

CartChangeReason.MISSING​

A line that was shown is not in the recalculated cart at all

CartChangeReason.ADDED​

The recalculated cart contains a line that was never shown

CartChangeReason.BONUS_ITEMS​

The incentive bonus items differ from those that were shown

CartChangeReason.TOTAL​

An order-level figure differs: the total, the postage price or the payment price

CartChangeReason.NOT_SHOWN​

There is no USABLE record of what the customer was last shown, so nothing could be compared: either nothing was cached for this cart, or what was cached could not say what a line cost. The cart returned is a fresh calculation and the whole of it needs reviewing before it is confirmed. Carries no itemId, was or now — there is no previous value to report, which is the situation itself.

Member Of​

CartChange object