Voucher.java 842 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 *  org.apache.sling.api.SlingHttpServletRequest
 *  org.apache.sling.api.resource.ValueMap
 */
package com.adobe.cq.commerce.api.promotion;

import aQute.bnd.annotation.ProviderType;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.ValueMap;

@ProviderType
public interface Voucher {
    public String getCode();

    public String getPath();

    public String getTitle();

    public String getDescription();

    public boolean isValid(SlingHttpServletRequest var1);

    public long getPriority();

    public String getMessage(SlingHttpServletRequest var1);

    @Deprecated
    public String getInvalidMessage(SlingHttpServletRequest var1);

    public ValueMap getConfig();
}