Class |
|
Components |
|
The IsReturnable
servlet bean takes an order ID or a commerce item ID and determines if the item can be returned. The droplet returns the returnable state of the order or commerce item, and a localized description of the returnable state.
Input Parameters
item
The CommerceItem
object or repository item.
order
The order
object or repository item.
Open Parameters
true
Rendered if the item is returnable.
false
Rendered if the item is not returnable.
Output Parameters
returnableState
The returnable state value for the item or order.
returnableDescription
The resource description for the state.