The applyRefunds actor-chain is used to apply a non-default refund type and value to the order.
Parameter | Description |
|---|---|
| The array size to retrieve from the JSP. The array size corresponds to the number of refund methods available. |
Non-Default Refund Values Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" –d
"{\"items\":{\"atg-rest-class-type\":\"java.util.ArrayList\",
\"atg-rest-values\":[{\"atg-rest-class-type\":
\"atg.commerce.csr.returns.RefundMethod\", \"refundType\":\"creditCard\",
\"amount\":\"46.31\"}, {\"atg-rest-class-type\":
\"atg.commerce.csr.returns.RefundMethod\", \"refundType\":\"storeCredit\",
\"amount\":\"5.00\"}]}, \"returnMethodListSize\" : \"2\"}"
"http://localhost:8180/rest/model/atg/commerce/custsvc/returns/ReturnsActor/
applyRefunds"
