The class is conditionally abstract in: php, php/client, php/server
Encapsulates vouchers as they are stored in the cart. Used by the client to tell the server about new orders. Used by the Web UI to actually store its cart.
Symbol | Value | Docu |
Ok | 0 | The voucher can be sold |
InvalidValue | 1 | The value is not one of the allowed ones and you do not have the privilege to set an arbitrary one, or the value is negative or zero. |
InvalidPrice | 2 | The price is negative, the price property is ignored if you do not have the privilege to chose a price that differs from the value |
Property | Column |
amount | amount |
cartid | cartid |
cartlineid | cvid |
value | value |