Abstract Class Order

This class represents an order in its entirety, including any items sold in it.

Enums

enum OrderState

Status the order is in right now.

SymbolValueDocu
Placed0The order has been placed, but not acted upon yet.
Sent1The order has been sent out or handed to the customer.
Sold1Alias for Sent. Semantically: it is sold if it has been sent and paid.
Cancelled2The order has been cancelled, if anything has been paid, it must be paid back.
Reserved4The order is just a reservation for a limited time, application logic must determine the timeout.
Closed128The order is closed out of the system - the payment status is ignored from now on. Currently not used.

Properties

Mapping for Table order

PropertyColumn
amountdueamountdue
amountpaidamountpaid
commentscomments
coupondescriptioncoupondescription
couponidcouponid
customercustomer
customeridcustomerid
deliveryaddressdeliveryaddress
deliveryaddressiddeliveryaddress
invoiceaddressinvoiceaddress
invoiceaddressidinvoiceaddress
itemsitems
orderidorderid
ordertimeordertime
senttimesenttime
shippingcostsshippingcosts
shippingtypeshippingtype
shippingtypeidshippingtype
soldbysoldby
statusstatus
tagstags
ticketstickets
totalpricetotalprice
vouchersvouchers