Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.order
dw.order
Class CreateCouponLineItemException
Object
TopLevel.Error
TopLevel.APIException
dw.order.CreateCouponLineItemException
This exception could be thrown by LineItemCtnr.createCouponLineItem(String, Boolean) when the provided coupon code is invalid.

'errorCode' property is set to one of the following values:

Properties
errorCode  :  String  (Read Only)
Returns one of the error codes listed in the class doc.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Methods inherited from class Error
Methods inherited from class Object
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.