ReturnTools
provide utility APIs for returns, such as loading a ReturnRequest
object based on information in the repository.
For example, the following methods provide return features:
getReasonCodes
: returns a lists of reason codes (that list the possible reasons for a return)getDispositionCodes
: Retrieves a list of disposition codes (that list the possible reasons for a return)getReturnRequest
: creates aReturnRequest
object based on information in the repositoryisReturnable
: determines if a return can be initiated for the given orderisItemReturnable
: determines if the given item is returnablegetOrderReturnableState
: determines the returnable state for an order
ReturnTools
uses the fulfilledOrderStates
property to identify the state that indicates an order is fulfilled. For additional information on fulfilledOrderStates
, refer to the Returnable Orders and Items section.
For further detail, refer to the ATG Platform API Reference.