Class CartVoucherExpiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
-
- de.hybris.platform.chinesepaymentocc.exceptions.CartVoucherExpiredException
-
- All Implemented Interfaces:
java.io.Serializable
public class CartVoucherExpiredException extends WebserviceException
Thrown when coupons applied on cart expires- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartVoucherExpiredException(java.lang.String coupon)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddInvalidVoucher(java.lang.String voucheCode)Deprecated, for removal: This API element is subject to removal in a future version.(deprecated since 2105, throw invalid voucher one ny one, no need to get all invalid vouthers)java.util.List<java.lang.String>getInvalidVouchers()Deprecated, for removal: This API element is subject to removal in a future version.(deprecated since 2105, throw invalid voucher one ny one, no need to get all invalid vouthers)java.lang.StringgetSubjectType()java.lang.StringgetType()-
Methods inherited from class de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
getReason, getSubject
-
-
-
-
Method Detail
-
getSubjectType
public java.lang.String getSubjectType()
- Specified by:
getSubjectTypein classWebserviceException
-
getType
public java.lang.String getType()
- Specified by:
getTypein classWebserviceException
-
getInvalidVouchers
@Deprecated(since="2105", forRemoval=true) public java.util.List<java.lang.String> getInvalidVouchers()Deprecated, for removal: This API element is subject to removal in a future version.(deprecated since 2105, throw invalid voucher one ny one, no need to get all invalid vouthers)
-
addInvalidVoucher
@Deprecated(since="2105", forRemoval=true) public void addInvalidVoucher(java.lang.String voucheCode)Deprecated, for removal: This API element is subject to removal in a future version.(deprecated since 2105, throw invalid voucher one ny one, no need to get all invalid vouthers)
-
-