| 1 | <?php |
||
| 7 | class OrderBook extends AbstractTimestampedObject |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The primary currency being shown. |
||
| 11 | * @return string |
||
| 12 | */ |
||
| 13 | 2 | public function getPrimaryCurrencyCode() |
|
| 17 | |||
| 18 | /** |
||
| 19 | * The secondary currency being used for pricing. |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | 2 | public function getSecondaryCurrencyCode() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @return SimpleOrder[] |
||
| 29 | */ |
||
| 30 | 4 | public function getBuyOrders() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return SimpleOrder[] |
||
| 37 | */ |
||
| 38 | 4 | public function getSellOrders() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @param array $orders |
||
| 45 | * @return SimpleOrder[] |
||
| 46 | */ |
||
| 47 | protected function generateOrders(array $orders) |
||
| 53 | } |
||
| 54 |