The ReturnCase has ReturnCaseItems, each of which is associated with an OrderItem (an extension to either a ProductLineItem or a ShippingLineItem).
Each ReturnCaseItem defines ReturnCaseItem.getAuthorizedQuantity() representing the maximum quantity expected to be returned. The ReturnCaseItem may be associated with 0..n ReturnItems - ReturnItems are added to the ReturnCaseItem when Returns are created.
Either - a ReturnCase may be used as an RMA, in which case they are
created when a customer first shows a wish to return item(s). The customer
then includes the RMA number with the returned item(s). The Return created as
a result is then associated with the existing ReturnCase.
Or - a ReturnCase is automatically created as part of the return
creation, i.e. the customer returns some item(s) leading to a creation of
both a Return and an associated ReturnCase.
- NEW - the ReturnCase has been created and can be edited previous to its authorization
- CONFIRMED - the ReturnCase is CONFIRMED, can no longer be edited, no Returns have been associated with it. Only a NEW- ReturnCase can be CONFIRMED
- PARTIAL_RETURNED - the ReturnCase has been associated with at least one Return, but is not yet complete. Only a CONFIRMED- ReturnCase can be set to PARTIAL_RETURNED
- RETURNED - the ReturnCase has been associated with Returns which match the expected authorized quantity. Only an CONFIRMED- or PARTIAL_RETURNED- return-case can be set to RETURNED
- CANCELLED - the ReturnCase has been cancelled (only a NEW- or CONFIRMED- ReturnCase can be cancelled)
The possible values are STATUS_NEW,STATUS_CONFIRMED, STATUS_PARTIAL_RETURNED, STATUS_RETURNED, STATUS_CANCELLED.
Attempt to confirm the ReturnCase.
Attempt to confirm the ReturnCase.
Without items the return case will be canceled
When confirmed, only the the custom attributes of its return case items can be changed.
The possible values are STATUS_NEW,STATUS_CONFIRMED, STATUS_PARTIAL_RETURNED, STATUS_RETURNED, STATUS_CANCELLED.