Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 210 |
|
0.00% |
0 / 87 |
CRAP | |
0.00% |
0 / 1 |
| Buy | |
0.00% |
0 / 210 |
|
0.00% |
0 / 87 |
11772 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| getBuy | |
0.00% |
0 / 49 |
|
0.00% |
0 / 1 |
72 | |||
| getStats | |
0.00% |
0 / 73 |
|
0.00% |
0 / 1 |
240 | |||
| getBuyID | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBuyID | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getCustomer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setCustomer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDailyNum | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDailyNum | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDb | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDb | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDoCount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDoCount | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getInStore | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setInStore | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getIsNewCustomer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setIsNewCustomer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getIsProcessed | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setIsProcessed | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getIsReturning | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setIsReturning | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getNumContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setNumContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getProcessedContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setProcessedContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getRemainingContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setRemainingContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getReturnTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setReturnTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSortCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSortCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSortStarted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSortStarted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTabletID | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTabletID | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTextMe | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTextMe | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTimeCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTimeCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTimeEntered | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTimeEntered | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTimeStarted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTimeStarted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTwilioSent | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTwilioSent | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getBuyer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBuyer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSorter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSorter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getPTC | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setPTC | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getHadSorter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHadSorter | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getInQueueTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setInQueueTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getProcessDelay | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setProcessDelay | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getProcessTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setProcessTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSortDelay | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSortDelay | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSortTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSortTime | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTotalTimeToCompletion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTotalTimeToCompletion | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDroppedOff | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setDroppedOff | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getBuyContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setBuyContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSortContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSortContainers | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getSTC | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setSTC | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTimeBreakDown | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTimeBreakDown | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setCompleted | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTimeToComplete | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setTimeToComplete | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getLinkDate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setLinkDate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getRemote | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setRemote | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getHasDroppedOff | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| setHasDroppedOff | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace BuyerKiosk\Core; |
| 4 | |
| 5 | class Buy extends Store { |
| 6 | public $customer; |
| 7 | public $sorter; |
| 8 | public $buyer; |
| 9 | public $buyID; |
| 10 | public $tabletID; |
| 11 | public $dailyNum; |
| 12 | public $date; |
| 13 | public $droppedOff; |
| 14 | public $completed; |
| 15 | public $timeEntered; |
| 16 | public $sortStarted; |
| 17 | public $sortCompleted; |
| 18 | public $timeStarted; |
| 19 | public $timeCompleted; |
| 20 | public $numContainers; |
| 21 | public $textMe; |
| 22 | public $inStore; |
| 23 | public $returnTime; |
| 24 | public $isProcessed; |
| 25 | public $isReturning; |
| 26 | public $linkDate; |
| 27 | public $processedContainers; |
| 28 | public $remainingContainers; |
| 29 | public $timeToComplete; |
| 30 | public $doCount; |
| 31 | public $twilioSent; |
| 32 | public $isNewCustomer; |
| 33 | public $db; |
| 34 | public $processTime; |
| 35 | public $PTC; |
| 36 | public $processDelay; |
| 37 | public $hadSorter; |
| 38 | public $sortTime; |
| 39 | public $inQueueTime; |
| 40 | public $totalTimeToCompletion; |
| 41 | public $sortDelay; |
| 42 | public $buyContainers; |
| 43 | public $sortContainers; |
| 44 | public $STC; |
| 45 | public $timeBreakDown; |
| 46 | public $timeDeleted; |
| 47 | public $remote; |
| 48 | public $hasDroppedOff; |
| 49 | |
| 50 | |
| 51 | |
| 52 | public function __construct($buyID, $typeNum, $deleted = FALSE) { |
| 53 | parent::__construct(); |
| 54 | $this->createStore($typeNum); |
| 55 | $this->db = dbConnectByName($this->getDbName()); |
| 56 | $this->getBuy($buyID, $deleted); |
| 57 | } |
| 58 | private function getBuy($buyID, $deleted) { |
| 59 | if($deleted) { |
| 60 | $query = $this->db->query("SELECT * FROM deletedBuys WHERE buyID = ".$buyID); |
| 61 | } else { |
| 62 | if(substr($buyID,0,1) == "B") { |
| 63 | $query = $this->db->query("SELECT * FROM buyQueue WHERE drsBuyID = ".$buyID); |
| 64 | } else { |
| 65 | $query = $this->db->query("SELECT * FROM buyQueue WHERE buyID = ".$buyID); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | if($query) { |
| 70 | $row = $query->fetch(\PDO::FETCH_ASSOC); |
| 71 | |
| 72 | // Check if row was found |
| 73 | if ($row === false) { |
| 74 | error_log("Buy not found for buyID: " . $buyID); |
| 75 | return false; |
| 76 | } |
| 77 | |
| 78 | $customer = new \Customer($row['customerID'], $this->getTypeNum()); |
| 79 | if(isset($row['buyerID'])) { |
| 80 | $buyer = new \Employee($row['buyerID'], $this->getTypeNum()); |
| 81 | } else { |
| 82 | $buyer = null; |
| 83 | } |
| 84 | $this->hadSorter = 0; |
| 85 | if((int)$row['sorterID'] > 0) { |
| 86 | $sorter = new \Employee($row['sorterID'], $this->getTypeNum()); |
| 87 | $this->hadSorter = 1; |
| 88 | $this->setSorter($sorter); |
| 89 | } |
| 90 | $time = new \DateTime($row['timeEntered'], new \DateTimeZone($this->getTimeZone())); |
| 91 | |
| 92 | $this->setCustomer($customer); |
| 93 | $this->setBuyer($buyer); |
| 94 | $this->setBuyID($row['buyID']); |
| 95 | $this->setTabletID($row['tabletID']); |
| 96 | $this->setDailyNum($row['dailyNum']); |
| 97 | $this->setTimeEntered($row['timeEntered']); |
| 98 | $this->setSortStarted($row['sortStarted']); |
| 99 | $this->setSortCompleted($row['sortCompleted']); |
| 100 | $this->setLinkDate($time->format("m_d_y")); |
| 101 | $this->setTimeStarted($row['timeStarted']); |
| 102 | $this->setTimeCompleted($row['timeCompleted']); |
| 103 | $this->setNumContainers($row['numContainers']); |
| 104 | $this->setTextMe($row['textMe']); |
| 105 | $this->setInStore($row['inStore']); |
| 106 | $this->setReturnTime($row['returnTime']); |
| 107 | $this->setIsProcessed($row['isProcessed']); |
| 108 | $this->setIsReturning($row['isReturning']); |
| 109 | $this->setProcessedContainers($row['processedContainers']); |
| 110 | $this->setRemainingContainers($row['remainingContainers']); |
| 111 | $this->setDoCount($row['doCount']); |
| 112 | $this->setTwilioSent($row['twilioSent']); |
| 113 | $this->setIsNewCustomer($row['isNewCustomer']); |
| 114 | $this->sethasDroppedOff($row['hasDroppedOff']); |
| 115 | $this->setRemote($row['remote']); |
| 116 | if($deleted) { |
| 117 | $this->timeDeleted = $row['timeDeleted']; |
| 118 | } |
| 119 | |
| 120 | $this->getStats(); |
| 121 | return true; |
| 122 | } |
| 123 | return false; |
| 124 | } |
| 125 | |
| 126 | private function getStats() { |
| 127 | $timeEntered = new \DateTime($this->timeEntered, new \DateTimeZone('utc')); |
| 128 | $timeStarted = new \DateTime($this->timeStarted, new \DateTimeZone('utc')); |
| 129 | $timeCompleted = new \DateTime($this->timeCompleted, new \DateTimeZone('utc')); |
| 130 | |
| 131 | $timeEntered->setTimezone(new \DateTimeZone($this->getTimeZone())); |
| 132 | $timeStarted->setTimezone(new \DateTimeZone($this->getTimeZone())); |
| 133 | $timeCompleted->setTimezone(new \DateTimeZone($this->getTimeZone())); |
| 134 | |
| 135 | |
| 136 | $this->setDate($timeEntered->format("M jS, Y")); |
| 137 | $this->setDroppedOff($timeEntered->format('g:i a')); |
| 138 | $this->completed = $timeCompleted->format('g:i a'); |
| 139 | |
| 140 | $diffEnteredStarted = $timeEntered->diff($timeStarted); |
| 141 | $diffStartedCompleted = $timeCompleted->diff($timeStarted); |
| 142 | $diffEnteredCompleted = $timeCompleted->diff($timeEntered); |
| 143 | |
| 144 | if ((int)$diffEnteredStarted->format('%h') > 0) { |
| 145 | $startDelay = $diffEnteredStarted->format('%hh %im %Ss'); |
| 146 | } else if ((int)$diffEnteredStarted->format('%i') > 0) { |
| 147 | $startDelay = $diffEnteredStarted->format('%im %Ss'); |
| 148 | } else { |
| 149 | $startDelay = $diffEnteredStarted->format('%Ss'); |
| 150 | } |
| 151 | if ((int)$diffEnteredCompleted->format('%h') > 0) { |
| 152 | $this->timeToComplete = $diffEnteredCompleted->format('%hh %im %Ss'); |
| 153 | } else if ((int)$diffEnteredCompleted->format('%i') > 0) { |
| 154 | $this->timeToComplete = $diffEnteredCompleted->format('%im %Ss'); |
| 155 | } else { |
| 156 | $this->timeToComplete = $diffEnteredCompleted->format('%Ss'); |
| 157 | } |
| 158 | |
| 159 | if ((int)$diffStartedCompleted->format("%h") > 0) { |
| 160 | $processTime = $diffStartedCompleted->format('%hh %im %Ss'); |
| 161 | } else if ((int)$diffStartedCompleted->format("%i") > 0) { |
| 162 | $processTime = $diffStartedCompleted->format('%im %Ss'); |
| 163 | } else { |
| 164 | $processTime = $diffStartedCompleted->format('%Ss'); |
| 165 | } |
| 166 | $secondsForProcessTime = ((int)$diffStartedCompleted->format('%h') * 60 * 60) + ((int)$diffStartedCompleted->format('%i') * 60) + ((int)$diffStartedCompleted->format('%s')); |
| 167 | $secondsForProcessDelay = ((int)$diffEnteredStarted->format('%h') * 60 * 60) + ((int)$diffEnteredStarted->format('%i') * 60) + ((int)$diffEnteredStarted->format('%s')); |
| 168 | |
| 169 | $this->processTime = $processTime; |
| 170 | $this->processDelay = $startDelay; |
| 171 | $this->buyContainers = $this->numContainers; |
| 172 | $this->timeBreakDown = array('processDelay' => $secondsForProcessDelay, 'processTime' => $secondsForProcessTime); |
| 173 | if($this->hadSorter) { |
| 174 | $sortStarted = new \DateTime($this->sortStarted, new \DateTimeZone('utc')); |
| 175 | $sortCompleted = new \DateTime($this->sortCompleted, new \DateTimeZone('utc')); |
| 176 | $sortStarted->setTimezone(new \DateTimeZone($this->getTimeZone())); |
| 177 | $sortCompleted->setTimezone(new \DateTimeZone($this->getTimeZone())); |
| 178 | $diffSorts = $sortCompleted->diff($sortStarted); |
| 179 | if ((int)$diffSorts->format('%h') > 0) { |
| 180 | $sortTime = $diffSorts->format('%hh %im %Ss'); |
| 181 | } else if ((int)$diffSorts->format('%i') > 0) { |
| 182 | $sortTime = $diffSorts->format('%im %Ss'); |
| 183 | } else { |
| 184 | $sortTime = $diffSorts->format('%Ss'); |
| 185 | } |
| 186 | $this->sortTime = $sortTime; |
| 187 | $diffSortCompletedStarted = $timeStarted->diff($sortCompleted); |
| 188 | $diffEnteredSortStarted = $sortStarted->diff($timeEntered); |
| 189 | |
| 190 | |
| 191 | if ((int)$diffSortCompletedStarted->format('%h') > 0) { |
| 192 | $this->processDelay = $diffSortCompletedStarted->format('%hh %im %Ss'); |
| 193 | } else if ((int)$diffSorts->format('%i') > 0) { |
| 194 | $this->processDelay = $diffSortCompletedStarted->format('%im %Ss'); |
| 195 | } else { |
| 196 | $this->processDelay = $diffSortCompletedStarted->format('%Ss'); |
| 197 | } |
| 198 | if ((int)$diffEnteredSortStarted->format('%h') > 0) { |
| 199 | $this->sortDelay = $diffEnteredSortStarted->format('%hh %im %Ss'); |
| 200 | } else if ((int)$diffEnteredSortStarted->format('%i') > 0) { |
| 201 | $this->sortDelay = $diffEnteredSortStarted->format('%im %Ss'); |
| 202 | } else { |
| 203 | $this->sortDelay = $diffEnteredSortStarted->format('%Ss'); |
| 204 | } |
| 205 | $secondsForSortDelay = ((int)$diffEnteredSortStarted->format('%h') * 60 * 60) + ((int)$diffEnteredSortStarted->format('%i') * 60) + ((int)$diffEnteredSortStarted->format('%s')); |
| 206 | $secondsForProcessDelay = ((int)$diffSortCompletedStarted->format('%h') * 60 * 60) + ((int)$diffSortCompletedStarted->format('%i') * 60) + ((int)$diffSortCompletedStarted->format('%s')); |
| 207 | $this->sortContainers = $this->numContainers; |
| 208 | $this->buyContainers = $this->remainingContainers; |
| 209 | $secondsForSortTime = ((int)$diffSorts->format('%h') * 60 * 60) + ((int)$diffSorts->format('%i') * 60) + ((int)$diffSorts->format('%s')); |
| 210 | $this->STC = secondsToReadable(floor($secondsForSortTime / $this->sortContainers)); |
| 211 | |
| 212 | $this->timeBreakDown = array( |
| 213 | 'sortDelay' => $secondsForSortDelay, |
| 214 | 'sortTime' => $secondsForSortTime, |
| 215 | 'processDelay' => $secondsForProcessDelay, |
| 216 | 'processTime' =>$secondsForProcessTime |
| 217 | ); |
| 218 | } |
| 219 | if($this->buyContainers > 0) { |
| 220 | $processTimePerContainer = secondsToReadable(floor($secondsForProcessTime / $this->buyContainers)); |
| 221 | } else { |
| 222 | $processTimePerContainer = 0; |
| 223 | } |
| 224 | |
| 225 | $this->PTC = $processTimePerContainer; |
| 226 | |
| 227 | |
| 228 | } |
| 229 | /** |
| 230 | * @return mixed |
| 231 | */ |
| 232 | public function getBuyID() |
| 233 | { |
| 234 | return $this->buyID; |
| 235 | } |
| 236 | |
| 237 | /** |
| 238 | * @param mixed $buyID |
| 239 | */ |
| 240 | public function setBuyID($buyID) |
| 241 | { |
| 242 | $this->buyID = $buyID; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * @return mixed |
| 247 | */ |
| 248 | public function getCustomer() |
| 249 | { |
| 250 | return $this->customer; |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * @param mixed $customer |
| 255 | */ |
| 256 | public function setCustomer($customer) |
| 257 | { |
| 258 | $this->customer = $customer; |
| 259 | } |
| 260 | |
| 261 | /** |
| 262 | * @return mixed |
| 263 | */ |
| 264 | public function getDailyNum() |
| 265 | { |
| 266 | return $this->dailyNum; |
| 267 | } |
| 268 | |
| 269 | /** |
| 270 | * @param mixed $dailyNum |
| 271 | */ |
| 272 | public function setDailyNum($dailyNum) |
| 273 | { |
| 274 | $this->dailyNum = $dailyNum; |
| 275 | } |
| 276 | |
| 277 | /** |
| 278 | * @return mixed |
| 279 | */ |
| 280 | public function getDb() |
| 281 | { |
| 282 | return $this->db; |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * @param mixed $db |
| 287 | */ |
| 288 | public function setDb($db) |
| 289 | { |
| 290 | $this->db = $db; |
| 291 | } |
| 292 | |
| 293 | /** |
| 294 | * @return mixed |
| 295 | */ |
| 296 | public function getDoCount() |
| 297 | { |
| 298 | return $this->doCount; |
| 299 | } |
| 300 | |
| 301 | /** |
| 302 | * @param mixed $doCount |
| 303 | */ |
| 304 | public function setDoCount($doCount) |
| 305 | { |
| 306 | $this->doCount = $doCount; |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * @return mixed |
| 311 | */ |
| 312 | public function getInStore() |
| 313 | { |
| 314 | return $this->inStore; |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * @param mixed $inStore |
| 319 | */ |
| 320 | public function setInStore($inStore) |
| 321 | { |
| 322 | $this->inStore = $inStore; |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * @return mixed |
| 327 | */ |
| 328 | public function getIsNewCustomer() |
| 329 | { |
| 330 | return $this->isNewCustomer; |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * @param mixed $isNewCustomer |
| 335 | */ |
| 336 | public function setIsNewCustomer($isNewCustomer) |
| 337 | { |
| 338 | $this->isNewCustomer = $isNewCustomer; |
| 339 | } |
| 340 | |
| 341 | /** |
| 342 | * @return mixed |
| 343 | */ |
| 344 | public function getIsProcessed() |
| 345 | { |
| 346 | return $this->isProcessed; |
| 347 | } |
| 348 | |
| 349 | /** |
| 350 | * @param mixed $isProcessed |
| 351 | */ |
| 352 | public function setIsProcessed($isProcessed) |
| 353 | { |
| 354 | $this->isProcessed = $isProcessed; |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * @return mixed |
| 359 | */ |
| 360 | public function getIsReturning() |
| 361 | { |
| 362 | return $this->isReturning; |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * @param mixed $isReturning |
| 367 | */ |
| 368 | public function setIsReturning($isReturning) |
| 369 | { |
| 370 | $this->isReturning = $isReturning; |
| 371 | } |
| 372 | |
| 373 | /** |
| 374 | * @return mixed |
| 375 | */ |
| 376 | public function getNumContainers() |
| 377 | { |
| 378 | return $this->numContainers; |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * @param mixed $numContainers |
| 383 | */ |
| 384 | public function setNumContainers($numContainers) |
| 385 | { |
| 386 | $this->numContainers = $numContainers; |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * @return mixed |
| 391 | */ |
| 392 | public function getProcessedContainers() |
| 393 | { |
| 394 | return $this->processedContainers; |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * @param mixed $processedContainers |
| 399 | */ |
| 400 | public function setProcessedContainers($processedContainers) |
| 401 | { |
| 402 | $this->processedContainers = $processedContainers; |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * @return mixed |
| 407 | */ |
| 408 | public function getRemainingContainers() |
| 409 | { |
| 410 | return $this->remainingContainers; |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * @param mixed $remainingContainers |
| 415 | */ |
| 416 | public function setRemainingContainers($remainingContainers) |
| 417 | { |
| 418 | $this->remainingContainers = $remainingContainers; |
| 419 | } |
| 420 | |
| 421 | /** |
| 422 | * @return mixed |
| 423 | */ |
| 424 | public function getReturnTime() |
| 425 | { |
| 426 | return $this->returnTime; |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * @param mixed $returnTime |
| 431 | */ |
| 432 | public function setReturnTime($returnTime) |
| 433 | { |
| 434 | $this->returnTime = $returnTime; |
| 435 | } |
| 436 | |
| 437 | /** |
| 438 | * @return mixed |
| 439 | */ |
| 440 | public function getSortCompleted() |
| 441 | { |
| 442 | return $this->sortCompleted; |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * @param mixed $sortCompleted |
| 447 | */ |
| 448 | public function setSortCompleted($sortCompleted) |
| 449 | { |
| 450 | $this->sortCompleted = $sortCompleted; |
| 451 | } |
| 452 | |
| 453 | /** |
| 454 | * @return mixed |
| 455 | */ |
| 456 | public function getSortStarted() |
| 457 | { |
| 458 | return $this->sortStarted; |
| 459 | } |
| 460 | |
| 461 | /** |
| 462 | * @param mixed $sortStarted |
| 463 | */ |
| 464 | public function setSortStarted($sortStarted) |
| 465 | { |
| 466 | $this->sortStarted = $sortStarted; |
| 467 | } |
| 468 | |
| 469 | /** |
| 470 | * @return mixed |
| 471 | */ |
| 472 | public function getTabletID() |
| 473 | { |
| 474 | return $this->tabletID; |
| 475 | } |
| 476 | |
| 477 | /** |
| 478 | * @param mixed $tabletID |
| 479 | */ |
| 480 | public function setTabletID($tabletID) |
| 481 | { |
| 482 | $this->tabletID = $tabletID; |
| 483 | } |
| 484 | |
| 485 | /** |
| 486 | * @return mixed |
| 487 | */ |
| 488 | public function getTextMe() |
| 489 | { |
| 490 | return $this->textMe; |
| 491 | } |
| 492 | |
| 493 | /** |
| 494 | * @param mixed $textMe |
| 495 | */ |
| 496 | public function setTextMe($textMe) |
| 497 | { |
| 498 | $this->textMe = $textMe; |
| 499 | } |
| 500 | |
| 501 | /** |
| 502 | * @return mixed |
| 503 | */ |
| 504 | public function getTimeCompleted() |
| 505 | { |
| 506 | return $this->timeCompleted; |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * @param mixed $timeCompleted |
| 511 | */ |
| 512 | public function setTimeCompleted($timeCompleted) |
| 513 | { |
| 514 | $this->timeCompleted = $timeCompleted; |
| 515 | } |
| 516 | |
| 517 | /** |
| 518 | * @return mixed |
| 519 | */ |
| 520 | public function getTimeEntered() |
| 521 | { |
| 522 | return $this->timeEntered; |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * @param mixed $timeEntered |
| 527 | */ |
| 528 | public function setTimeEntered($timeEntered) |
| 529 | { |
| 530 | $this->timeEntered = $timeEntered; |
| 531 | } |
| 532 | |
| 533 | /** |
| 534 | * @return mixed |
| 535 | */ |
| 536 | public function getTimeStarted() |
| 537 | { |
| 538 | return $this->timeStarted; |
| 539 | } |
| 540 | |
| 541 | /** |
| 542 | * @param mixed $timeStarted |
| 543 | */ |
| 544 | public function setTimeStarted($timeStarted) |
| 545 | { |
| 546 | $this->timeStarted = $timeStarted; |
| 547 | } |
| 548 | |
| 549 | /** |
| 550 | * @return mixed |
| 551 | */ |
| 552 | public function getTwilioSent() |
| 553 | { |
| 554 | return $this->twilioSent; |
| 555 | } |
| 556 | |
| 557 | /** |
| 558 | * @param mixed $twilioSent |
| 559 | */ |
| 560 | public function setTwilioSent($twilioSent) |
| 561 | { |
| 562 | $this->twilioSent = $twilioSent; |
| 563 | } |
| 564 | |
| 565 | /** |
| 566 | * @return mixed |
| 567 | */ |
| 568 | public function getBuyer() |
| 569 | { |
| 570 | return $this->buyer; |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * @param mixed $buyer |
| 575 | */ |
| 576 | public function setBuyer($buyer) |
| 577 | { |
| 578 | $this->buyer = $buyer; |
| 579 | } |
| 580 | |
| 581 | /** |
| 582 | * @return mixed |
| 583 | */ |
| 584 | public function getSorter() |
| 585 | { |
| 586 | return $this->sorter; |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * @param mixed $sorter |
| 591 | */ |
| 592 | public function setSorter($sorter) |
| 593 | { |
| 594 | $this->sorter = $sorter; |
| 595 | } |
| 596 | |
| 597 | /** |
| 598 | * @return mixed |
| 599 | */ |
| 600 | public function getPTC() |
| 601 | { |
| 602 | return $this->PTC; |
| 603 | } |
| 604 | |
| 605 | /** |
| 606 | * @param mixed $PTC |
| 607 | */ |
| 608 | public function setPTC($PTC) |
| 609 | { |
| 610 | $this->PTC = $PTC; |
| 611 | } |
| 612 | |
| 613 | /** |
| 614 | * @return mixed |
| 615 | */ |
| 616 | public function getHadSorter() |
| 617 | { |
| 618 | return $this->hadSorter; |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * @param mixed $hadSorter |
| 623 | */ |
| 624 | public function setHadSorter($hadSorter) |
| 625 | { |
| 626 | $this->hadSorter = $hadSorter; |
| 627 | } |
| 628 | |
| 629 | /** |
| 630 | * @return mixed |
| 631 | */ |
| 632 | public function getInQueueTime() |
| 633 | { |
| 634 | return $this->inQueueTime; |
| 635 | } |
| 636 | |
| 637 | /** |
| 638 | * @param mixed $inQueueTime |
| 639 | */ |
| 640 | public function setInQueueTime($inQueueTime) |
| 641 | { |
| 642 | $this->inQueueTime = $inQueueTime; |
| 643 | } |
| 644 | |
| 645 | /** |
| 646 | * @return mixed |
| 647 | */ |
| 648 | public function getProcessDelay() |
| 649 | { |
| 650 | return $this->processDelay; |
| 651 | } |
| 652 | |
| 653 | /** |
| 654 | * @param mixed $processDelay |
| 655 | */ |
| 656 | public function setProcessDelay($processDelay) |
| 657 | { |
| 658 | $this->processDelay = $processDelay; |
| 659 | } |
| 660 | |
| 661 | /** |
| 662 | * @return mixed |
| 663 | */ |
| 664 | public function getProcessTime() |
| 665 | { |
| 666 | return $this->processTime; |
| 667 | } |
| 668 | |
| 669 | /** |
| 670 | * @param mixed $processTime |
| 671 | */ |
| 672 | public function setProcessTime($processTime) |
| 673 | { |
| 674 | $this->processTime = $processTime; |
| 675 | } |
| 676 | |
| 677 | /** |
| 678 | * @return mixed |
| 679 | */ |
| 680 | public function getSortDelay() |
| 681 | { |
| 682 | return $this->sortDelay; |
| 683 | } |
| 684 | |
| 685 | /** |
| 686 | * @param mixed $sortDelay |
| 687 | */ |
| 688 | public function setSortDelay($sortDelay) |
| 689 | { |
| 690 | $this->sortDelay = $sortDelay; |
| 691 | } |
| 692 | |
| 693 | /** |
| 694 | * @return mixed |
| 695 | */ |
| 696 | public function getSortTime() |
| 697 | { |
| 698 | return $this->sortTime; |
| 699 | } |
| 700 | |
| 701 | /** |
| 702 | * @param mixed $sortTime |
| 703 | */ |
| 704 | public function setSortTime($sortTime) |
| 705 | { |
| 706 | $this->sortTime = $sortTime; |
| 707 | } |
| 708 | |
| 709 | /** |
| 710 | * @return mixed |
| 711 | */ |
| 712 | public function getTotalTimeToCompletion() |
| 713 | { |
| 714 | return $this->totalTimeToCompletion; |
| 715 | } |
| 716 | |
| 717 | /** |
| 718 | * @param mixed $totalTimeToCompletion |
| 719 | */ |
| 720 | public function setTotalTimeToCompletion($totalTimeToCompletion) |
| 721 | { |
| 722 | $this->totalTimeToCompletion = $totalTimeToCompletion; |
| 723 | } |
| 724 | |
| 725 | /** |
| 726 | * @return mixed |
| 727 | */ |
| 728 | public function getDate() |
| 729 | { |
| 730 | return $this->date; |
| 731 | } |
| 732 | |
| 733 | /** |
| 734 | * @param mixed $date |
| 735 | */ |
| 736 | public function setDate($date) |
| 737 | { |
| 738 | $this->date = $date; |
| 739 | } |
| 740 | |
| 741 | /** |
| 742 | * @return mixed |
| 743 | */ |
| 744 | public function getDroppedOff() |
| 745 | { |
| 746 | return $this->droppedOff; |
| 747 | } |
| 748 | |
| 749 | /** |
| 750 | * @param mixed $droppedOff |
| 751 | */ |
| 752 | public function setDroppedOff($droppedOff) |
| 753 | { |
| 754 | $this->droppedOff = $droppedOff; |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * @return mixed |
| 759 | */ |
| 760 | public function getBuyContainers() |
| 761 | { |
| 762 | return $this->buyContainers; |
| 763 | } |
| 764 | |
| 765 | /** |
| 766 | * @param mixed $buyContainers |
| 767 | */ |
| 768 | public function setBuyContainers($buyContainers) |
| 769 | { |
| 770 | $this->buyContainers = $buyContainers; |
| 771 | } |
| 772 | |
| 773 | /** |
| 774 | * @return mixed |
| 775 | */ |
| 776 | public function getSortContainers() |
| 777 | { |
| 778 | return $this->sortContainers; |
| 779 | } |
| 780 | |
| 781 | /** |
| 782 | * @param mixed $sortContainers |
| 783 | */ |
| 784 | public function setSortContainers($sortContainers) |
| 785 | { |
| 786 | $this->sortContainers = $sortContainers; |
| 787 | } |
| 788 | |
| 789 | /** |
| 790 | * @return mixed |
| 791 | */ |
| 792 | public function getSTC() |
| 793 | { |
| 794 | return $this->STC; |
| 795 | } |
| 796 | |
| 797 | /** |
| 798 | * @param mixed $STC |
| 799 | */ |
| 800 | public function setSTC($STC) |
| 801 | { |
| 802 | $this->STC = $STC; |
| 803 | } |
| 804 | |
| 805 | /** |
| 806 | * @return mixed |
| 807 | */ |
| 808 | public function getTimeBreakDown() |
| 809 | { |
| 810 | return $this->timeBreakDown; |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * @param mixed $timeBreakDown |
| 815 | */ |
| 816 | public function setTimeBreakDown($timeBreakDown) |
| 817 | { |
| 818 | $this->timeBreakDown = $timeBreakDown; |
| 819 | } |
| 820 | |
| 821 | /** |
| 822 | * @return mixed |
| 823 | */ |
| 824 | public function getCompleted() |
| 825 | { |
| 826 | return $this->completed; |
| 827 | } |
| 828 | |
| 829 | /** |
| 830 | * @param mixed $completed |
| 831 | */ |
| 832 | public function setCompleted($completed) |
| 833 | { |
| 834 | $this->completed = $completed; |
| 835 | } |
| 836 | |
| 837 | /** |
| 838 | * @return mixed |
| 839 | */ |
| 840 | public function getTimeToComplete() |
| 841 | { |
| 842 | return $this->timeToComplete; |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * @param mixed $timeToComplete |
| 847 | */ |
| 848 | public function setTimeToComplete($timeToComplete) |
| 849 | { |
| 850 | $this->timeToComplete = $timeToComplete; |
| 851 | } |
| 852 | |
| 853 | /** |
| 854 | * @return mixed |
| 855 | */ |
| 856 | public function getLinkDate() |
| 857 | { |
| 858 | return $this->linkDate; |
| 859 | } |
| 860 | |
| 861 | /** |
| 862 | * @param mixed $linkDate |
| 863 | */ |
| 864 | public function setLinkDate($linkDate) |
| 865 | { |
| 866 | $this->linkDate = $linkDate; |
| 867 | } |
| 868 | |
| 869 | /** |
| 870 | * @return mixed |
| 871 | */ |
| 872 | public function getRemote() |
| 873 | { |
| 874 | return $this->remote; |
| 875 | } |
| 876 | |
| 877 | /** |
| 878 | * @param mixed $remote |
| 879 | */ |
| 880 | public function setRemote($remote) |
| 881 | { |
| 882 | $this->remote = $remote; |
| 883 | } |
| 884 | |
| 885 | /** |
| 886 | * @return mixed |
| 887 | */ |
| 888 | public function getHasDroppedOff() |
| 889 | { |
| 890 | return $this->hasDroppedOff; |
| 891 | } |
| 892 | |
| 893 | /** |
| 894 | * @param mixed $hasDroppedOff |
| 895 | */ |
| 896 | public function setHasDroppedOff($hasDroppedOff) |
| 897 | { |
| 898 | $this->hasDroppedOff = $hasDroppedOff; |
| 899 | } |
| 900 | |
| 901 | |
| 902 | |
| 903 | |
| 904 | |
| 905 | |
| 906 | |
| 907 | |
| 908 | |
| 909 | |
| 910 | } |