Interface OrderDiscountCodeStateSetMessagePayload

Generated after the DiscountCodeState changes due to a recalculation.

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

Properties

discountCode: DiscountCodeReference

DiscountCode that changed due to the recalculation.

oldState?: string

DiscountCodeState before the recalculation.

state: string

DiscountCodeState after the recalculation.

type: "OrderDiscountCodeStateSet"

Generated using TypeDoc