Class OrderProcessStatusCodes

Contains constants representing different status codes for interacting with an order, such as cancelling or editing an order.

Constant Summary 

ConstantDescription
COUPON_INVALID: String = “COUPON_INVALID”Indicates that a coupon in the order is not valid.
INVENTORY_RESERVATION_FAILED: String = “INVENTORY_RESERVATION_FAILED”Indicates that no inventory could be reserved for the order.
ORDER_ALREADY_CANCELLED: String = “ORDER_CANCELLED”Indicates that the order could not be used because it has already been cancelled.
ORDER_ALREADY_EXPORTED: String = “ORDER_EXPORTED”Indicates that the order could not be used because it has already been exported.
ORDER_ALREADY_FAILED: String = “ORDER_FAILED”Indicates that the order could not be used because it has already been failed.
ORDER_ALREADY_REPLACED: String = “ORDER_REPLACED”Indicates that the order could not be used because it has already been replaced.
ORDER_CONTAINS_GC: String = “CANCEL_ORDER_GC”Indicates that the order could not be used because it contains gift certificates.
ORDER_NOT_CANCELLED: String = “ORDER_NOT_CANCELLED”Indicates that the order could not be used because it is not cancelled.
ORDER_NOT_FAILED: String = “ORDER_NOT_FAILED”Indicates that the order could not be used because it has not been failed.
ORDER_NOT_PLACED: String = “ORDER_NOT_PLACED”Indicates that the order could not be used because it has not been placed.

Constructor Summary 

ConstructorDescription
OrderProcessStatusCodes()

Method Summary 

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

Constant Details 

COUPON_INVALID 

COUPON_INVALID: String = "COUPON_INVALID"

Indicates that a coupon in the order is not valid.


INVENTORY_RESERVATION_FAILED 

INVENTORY_RESERVATION_FAILED: String = "INVENTORY_RESERVATION_FAILED"

Indicates that no inventory could be reserved for the order.


ORDER_ALREADY_CANCELLED 

ORDER_ALREADY_CANCELLED: String = "ORDER_CANCELLED"

Indicates that the order could not be used because it has already been cancelled.


ORDER_ALREADY_EXPORTED 

ORDER_ALREADY_EXPORTED: String = "ORDER_EXPORTED"

Indicates that the order could not be used because it has already been exported.


ORDER_ALREADY_FAILED 

ORDER_ALREADY_FAILED: String = "ORDER_FAILED"

Indicates that the order could not be used because it has already been failed.


ORDER_ALREADY_REPLACED 

ORDER_ALREADY_REPLACED: String = "ORDER_REPLACED"

Indicates that the order could not be used because it has already been replaced.


ORDER_CONTAINS_GC 

ORDER_CONTAINS_GC: String = "CANCEL_ORDER_GC"

Indicates that the order could not be used because it contains gift certificates.


ORDER_NOT_CANCELLED 

ORDER_NOT_CANCELLED: String = "ORDER_NOT_CANCELLED"

Indicates that the order could not be used because it is not cancelled.


ORDER_NOT_FAILED 

ORDER_NOT_FAILED: String = "ORDER_NOT_FAILED"

Indicates that the order could not be used because it has not been failed.


ORDER_NOT_PLACED 

ORDER_NOT_PLACED: String = "ORDER_NOT_PLACED"

Indicates that the order could not be used because it has not been placed.


Constructor Details 

OrderProcessStatusCodes() 

OrderProcessStatusCodes()


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!