Order

public class Order extends AbstractRdcDomainObject

Order (DTO) containing all relevant information of a Customer and her Products.

Fields

client

private OrderClient client

The id of the client (one of @link OrderClient) who has last modified this order.

customer

private Customer customer

The Customer who has placed this order. Must not be null.

id

private String id

The id of an order. It is a number which is generated by a sequence (see Counter.

languageKey

private String languageKey

The key of the preferred language (either „de“ or „en“) of the Customer. Must not be empty.

products

private List<Product> products

List of data Products the Customer want to order.

state

private OrderState state

The current state of the order. One of OrderState.