com.liferay.client.portlet.shopping.service.http
Interface ShoppingCouponServiceSoap

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
Portlet_Shopping_ShoppingCouponServiceSoapBindingImpl, Portlet_Shopping_ShoppingCouponServiceSoapBindingStub

public interface ShoppingCouponServiceSoap
extends java.rmi.Remote


Method Summary
 ShoppingCouponSoap addCoupon(long plid, java.lang.String code, boolean autoCode, java.lang.String name, java.lang.String description, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int endDateHour, int endDateMinute, boolean neverExpire, boolean active, java.lang.String limitCategories, java.lang.String limitSkus, double minOrder, double discount, java.lang.String discountType)
           
 void deleteCoupon(long plid, long couponId)
           
 ShoppingCouponSoap getCoupon(long plid, long couponId)
           
 ShoppingCouponSoap[] search(long plid, long companyId, java.lang.String code, boolean active, java.lang.String discountType, boolean andOperator, int begin, int end)
           
 ShoppingCouponSoap updateCoupon(long plid, long couponId, java.lang.String name, java.lang.String description, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute, int endDateMonth, int endDateDay, int endDateYear, int endDateHour, int endDateMinute, boolean neverExpire, boolean active, java.lang.String limitCategories, java.lang.String limitSkus, double minOrder, double discount, java.lang.String discountType)
           
 

Method Detail

search

public ShoppingCouponSoap[] search(long plid,
                                   long companyId,
                                   java.lang.String code,
                                   boolean active,
                                   java.lang.String discountType,
                                   boolean andOperator,
                                   int begin,
                                   int end)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addCoupon

public ShoppingCouponSoap addCoupon(long plid,
                                    java.lang.String code,
                                    boolean autoCode,
                                    java.lang.String name,
                                    java.lang.String description,
                                    int startDateMonth,
                                    int startDateDay,
                                    int startDateYear,
                                    int startDateHour,
                                    int startDateMinute,
                                    int endDateMonth,
                                    int endDateDay,
                                    int endDateYear,
                                    int endDateHour,
                                    int endDateMinute,
                                    boolean neverExpire,
                                    boolean active,
                                    java.lang.String limitCategories,
                                    java.lang.String limitSkus,
                                    double minOrder,
                                    double discount,
                                    java.lang.String discountType)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteCoupon

public void deleteCoupon(long plid,
                         long couponId)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCoupon

public ShoppingCouponSoap getCoupon(long plid,
                                    long couponId)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateCoupon

public ShoppingCouponSoap updateCoupon(long plid,
                                       long couponId,
                                       java.lang.String name,
                                       java.lang.String description,
                                       int startDateMonth,
                                       int startDateDay,
                                       int startDateYear,
                                       int startDateHour,
                                       int startDateMinute,
                                       int endDateMonth,
                                       int endDateDay,
                                       int endDateYear,
                                       int endDateHour,
                                       int endDateMinute,
                                       boolean neverExpire,
                                       boolean active,
                                       java.lang.String limitCategories,
                                       java.lang.String limitSkus,
                                       double minOrder,
                                       double discount,
                                       java.lang.String discountType)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException