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

import aQute.bnd.annotation.ProviderType;
import java.util.List;
import org.apache.sling.api.adapter.Adaptable;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ValueMap;

@ProviderType
public interface Promotion
extends Adaptable {
    public static final String PROMOTION_RESOURCE_TYPE = "commerce/components/promotion";

    public String getPath();

    public String getTitle();

    public String getDescription();

    public String getType();

    public long getPriority();

    public List<String> getSegments();

    public boolean isValid();

    @Deprecated
    public Resource getConfigResource();

    public ValueMap getConfig();
}