Returns policies
The Commerce Engine encompasses extensible services that enable you to customize commerce functionality.
Do not extend or inherit from out-of-the-box policies; instead, create your own. You can change the values in a policy by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined and then re-running Bootstrap.
The following policies can be configured through the Returns plug-in.
Policy |
Description |
Properties / Default Values |
---|---|---|
|
Defines the names of the returns entity view actions. |
StartOrderReturn \"StartOrderReturn" RequestRma \ "RequestRma" ValidateRmaRequest \ "ValidateRmaRequest" |
|
Defines the names of the returns transient and entity indexes lists. |
PendingRmas \ "PendingRmas" RefundPendingRmas \ "RefundPendingRmas" CompletedRmas \ "CompletedRmas" ProblemRmas \ "ProblemRmas" OrdersReturns \ "Orders-{0}-Returns" |
|
Defines the names of the returns statuses. |
Pending \ "Pending" RefundPending \ "RefundPending" Completed \ "Completed" Problem \ "Problem" |
|
Defines the names of the returns entity views. |
RequestRma \ "RequestRma" Details \ "Details" RmaLines \ "RmaLines" OrderRmas \ "OrderRmas" |
|
Defines a list of reasons for which items can be returned |
List \ List<RmaReason> |
|
Defines the cache policy for localizable return reason |
Expiration \ 300000 AllowCaching \ true CacheName \ "ReturnsReasons" |