@@ 64-75 (lines=12) @@ | ||
61 | * @param int $ID_Currency |
|
62 | * @param boolean $InTheRate |
|
63 | */ |
|
64 | public function __construct($RoomNo, $ID_CodeSrc, $ItemType, \DateTime $ADate, $QtyElem, $AmountBeforeTaxes, $Taxes, $ID_Currency, $InTheRate) |
|
65 | { |
|
66 | $this->RoomNo = $RoomNo; |
|
67 | $this->ID_CodeSrc = $ID_CodeSrc; |
|
68 | $this->ItemType = $ItemType; |
|
69 | $this->ADate = $ADate->format(\DateTime::ATOM); |
|
70 | $this->QtyElem = $QtyElem; |
|
71 | $this->AmountBeforeTaxes = $AmountBeforeTaxes; |
|
72 | $this->Taxes = $Taxes; |
|
73 | $this->ID_Currency = $ID_Currency; |
|
74 | $this->InTheRate = $InTheRate; |
|
75 | } |
|
76 | ||
77 | /** |
|
78 | * @return int |
@@ 68-78 (lines=11) @@ | ||
65 | * @param int $ID_Currency |
|
66 | * @param boolean $InTheRate |
|
67 | */ |
|
68 | public function __construct($RoomIndex, $ID_CodeSrc, $ItemType, \DateTime $ADate, $AmountBeforeTaxes, $Taxes, $ID_Currency, $InTheRate) |
|
69 | { |
|
70 | $this->RoomIndex = $RoomIndex; |
|
71 | $this->ID_CodeSrc = $ID_CodeSrc; |
|
72 | $this->ItemType = $ItemType; |
|
73 | $this->ADate = $ADate->format(\DateTime::ATOM); |
|
74 | $this->AmountBeforeTaxes = $AmountBeforeTaxes; |
|
75 | $this->Taxes = $Taxes; |
|
76 | $this->ID_Currency = $ID_Currency; |
|
77 | $this->InTheRate = $InTheRate; |
|
78 | } |
|
79 | ||
80 | /** |
|
81 | * @return int |