dolibarr  7.0.0-beta
commonorder.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
24 require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
25 require_once DOL_DOCUMENT_ROOT .'/core/class/commonobjectline.class.php';
26 
30 abstract class CommonOrder extends CommonObject
31 {
32 
33 }
34 
38 abstract class CommonOrderLine extends CommonObjectLine
39 {
46  public $ref;
47 
52  public $product_ref;
53 
60  public $libelle;
61 
66  public $product_label;
67 
72  public $product_desc;
73 
78  public $qty;
79 
85  var $price;
86 
91  public $subprice;
92 
97  public $product_type = 0;
98 
103  public $desc;
104 
109  public $fk_product;
110 
115  public $remise_percent;
116 
121  public $tva_tx;
122 
127  public $localtax1_tx;
128 
133  public $localtax2_tx;
134 
135  public $localtax1_type;
136  public $localtax2_type;
137 
144  public $info_bits = 0;
145 
146  public $special_code = 0;
147 
148 }
149 
Parent class for class inheritance lines of business objects This class is useless for the moment so ...
Superclass for orders classes.
Superclass for orders classes.
Parent class of all other business classes (invoices, contracts, proposals, orders, ...)