Interface OrderDiscountCodeStateSetMessagePayload

Generated after the DiscountCodeState changes due to a recalculation.

interface OrderDiscountCodeStateSetMessagePayload {
    discountCode: DiscountCodeReference;
    oldState?: DiscountCodeState;
    state: DiscountCodeState;
    type: "OrderDiscountCodeStateSet";
}

Hierarchy (View Summary)

Properties

discountCode: DiscountCodeReference

DiscountCode that changed due to the recalculation.

DiscountCodeState before the recalculation.

DiscountCodeState after the recalculation.

type: "OrderDiscountCodeStateSet"