Script: Class dw.order.CreateCouponLineItemException

Class 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:


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

captureStackTrace, toString

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values