Promotion.java
979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* 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();
}