Class CartOrder
The class is conditionally abstract in: php, php/client, php/server
The cart as used from the remote (non-web) system, this is a transaction object, it has no equivalent inside the database.
Enums
enum ValidationState
Symbol | Value | Docu |
Ok | 0 | The cart has been processed successfully |
Invalid | 1 | There are problems with the cart, it cannot be processed |
Properties
- cartid (int)
optional ID for the cart itself, the calling process can use this to distinguish different carts, the server must preserve it between input and output
- status (ValidationState)
set by the server to reflect the processing state of the cart
- customerid (int)
- invoiceaddressid (int)
- deliveryaddressid (int)
- comment (string)
- shippingtypeid (int)
- tickets (List:CartTicket)
- vouchers (List:CartVoucher)
- items (List:CartItem)
- couponid (astring)
An optional coupon code to be used in this order.
Mapping for Table cart
Property | Column |
comment | comment |
couponid | couponid |
customerid | customerid |
deliveryaddressid | deliveryaddress |
invoiceaddressid | invoiceaddress |
items | items |
shippingtypeid | shippingtype |
tickets | tickets |
vouchers | vouchers |