Lightweight, template-friendly view of a ProductOrder, used to render a profile's past orders for a product, including the answers they gave to any order form questions. Instances are produced from a ProductOrder entity by the toBean factory method and are not persisted themselves.


Properties

PropertyReturnsDescription
idlongDatabase id of the underlying order.
optionsMap<String,String>Answers given on the order form when this order was placed, keyed by the question's answer key with the given answer as the value. Empty if the order has no order form options.
orderedDateLongDate and time the order was placed, as epoch milliseconds. Null if the underlying order has no ordered date set.

Methods

getId()

Returns: long

Database id of the underlying order.

getOrderedDate()

Returns: Long

Date and time the order was placed, as epoch milliseconds. Null if the underlying order has no ordered date set.

getOptions()

Returns: Map<String,String>

Answers given on the order form when this order was placed, keyed by the question's answer key with the given answer as the value. Empty if the order has no order form options.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.