Typescript SDK Type Docs
    Preparing search index...

    Interface NotApplicableDiscountCodeRemoved

    Generated when using the paymentFlow method and Checkout removes a Discount Code from the Cart because it does not apply to the Cart. Checkout removes the Discount Code to avoid an order creation error when converting the Cart to an Order.

    interface NotApplicableDiscountCodeRemoved {
        code: "not_applicable_discount_code_removed";
        correlationId: string;
        message: string;
        payload: any;
        severity: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: "not_applicable_discount_code_removed"

    Message code for the event.

    correlationId: string

    Unique identifier of the event.

    message: string

    Not applicable discount code removed.

    payload: any

    Contains the cartId and discountCode properties.

    severity: string

    warn