The answer a customer gave to one of a product's ordering questions when placing an order, such as the name to engrave or a delivery instruction. An order has one row per question answered, keyed by the question's answer key, so the answers are read back as a set of key and value pairs rather than as fixed columns. The answer is stored as entered, so treat it as free text and escape it before display.

Group: Database Entities

Implements: Serializable


Properties

PropertyReturnsDescription
answerKeyStringKey identifying which of the product's ordering questions was answered. Never null, and it is how an answer is matched back to its question.
givenAnswerStringThe answer the customer entered, as typed. Never null, and limited to 2048 characters.
idlongDatabase identifier for this answer, assigned when it is first saved.
productOrderProductOrderThe ordered line this answer was given for. Never null.

Methods

getId()

Returns: long

Database identifier for this answer, assigned when it is first saved.

getProductOrder()

Returns: ProductOrder

The ordered line this answer was given for. Never null.

getAnswerKey()

Returns: String

Key identifying which of the product's ordering questions was answered. Never null, and it is how an answer is matched back to its question.

getGivenAnswer()

Returns: String

The answer the customer entered, as typed. Never null, and limited to 2048 characters.

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