Class WebCart
The class is conditionally abstract in: php, php/client, php/server
The cart as used by the web user interface, this maps into the cart tables. This class is never used by the remote client.
Properties
- cartid (astring)
The cart ID of this session
- timeout (int)
When the cart will be automatically deleted
- customerid (int32)
The customer of this cart
- deliveryaddressid (int64)
The address to deliver to (mandatory)
- invoiceaddressid (int64)
The address to send the invoice to if different from the delivery address (optional)
- comment (string)
optional comments from the customer
- shippingid (int)
optional shipping ID
- customer (Customer)
The customer of this cart
- deliveryaddress (Address)
The address to deliver to (mandatory)
- invoiceaddress (Address)
The address to send the invoice to if different from the delivery address (optional)
- tickets (List:CartTicket)
tickets inside this cart as seen in the DB
- vouchers (List:CartVoucher)
vouchers inside this cart as seen in the DB
- items (List:CartItem)
shop items inside this cart as seen in the DB
- shipping (Shipping)
if shipping is set: the shipping type
- couponid (astring)
An optional coupon code to be used in this order.
- coupon (Coupon)
Mapping for Table cart
Property | Column |
cartid | cartid |
comment | comment |
coupon | coupon |
couponid | couponid |
customer | customer |
customerid | customerid |
deliveryaddress | deliveryaddress |
deliveryaddressid | deliveryaddress |
invoiceaddress | invoiceaddress |
invoiceaddressid | invoiceaddress |
items | items |
shipping | shipping |
shippingid | shippingtype |
tickets | tickets |
timeout | timeout |
vouchers | vouchers |