PromotionHandler.java
1.42 KB
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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ConsumerType
* org.apache.sling.api.SlingHttpServletRequest
*/
package com.adobe.cq.commerce.api.promotion;
import aQute.bnd.annotation.ConsumerType;
import com.adobe.cq.commerce.api.CommerceException;
import com.adobe.cq.commerce.api.CommerceSession;
import com.adobe.cq.commerce.api.PriceInfo;
import com.adobe.cq.commerce.api.promotion.Promotion;
import java.util.Map;
import org.apache.sling.api.SlingHttpServletRequest;
@ConsumerType
public interface PromotionHandler {
public static final String TYPE = "commerce.promotion.type";
public PriceInfo applyCartEntryPromotion(CommerceSession var1, Promotion var2, CommerceSession.CartEntry var3) throws CommerceException;
public PriceInfo applyOrderPromotion(CommerceSession var1, Promotion var2) throws CommerceException;
public PriceInfo applyShippingPromotion(CommerceSession var1, Promotion var2) throws CommerceException;
@Deprecated
public String getMessage(SlingHttpServletRequest var1, CommerceSession var2, Promotion var3) throws CommerceException;
public String getDescription(SlingHttpServletRequest var1, CommerceSession var2, Promotion var3) throws CommerceException;
public Map<Integer, String> getMessages(SlingHttpServletRequest var1, CommerceSession var2, Promotion var3) throws CommerceException;
public void invalidateCaches();
}