@gradientedge/commercetools-utils
    Preparing search index...

    Enumeration DiscountCodeStateValues

    Indicates the state of a Discount Code in a Cart.

    If an Order is created from a Cart with a state other than `MatchesCart` or `ApplicationStoppedByGroupBestDeal`, a [DiscountCodeNonApplicable](ctp:api:type:DiscountCodeNonApplicableError) error is returned.
    
    For Orders created from a Cart with a `ApplicationStoppedByGroupBestDeal` state, the discount code is not applied.
    
    Index

    Enumeration Members

    ApplicationStoppedByGroupBestDeal: "ApplicationStoppedByGroupBestDeal"
    ApplicationStoppedByPreviousDiscount: "ApplicationStoppedByPreviousDiscount"
    DoesNotMatchCart: "DoesNotMatchCart"
    MatchesCart: "MatchesCart"
    MaxApplicationReached: "MaxApplicationReached"
    NotActive: "NotActive"
    NotValid: "NotValid"