| 1 | <?php |
||
| 11 | class Billet |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ArrayObject |
||
| 15 | */ |
||
| 16 | private $details; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var float |
||
| 20 | */ |
||
| 21 | private $rate; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var BankAccount |
||
| 25 | */ |
||
| 26 | private $bankAccount; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Seller |
||
| 30 | */ |
||
| 31 | private $assignor; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | private $number; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Constructor |
||
| 40 | */ |
||
| 41 | 10 | public function __construct() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return ArrayObject |
||
| 48 | */ |
||
| 49 | 1 | public function getDetails() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @param ArrayObject $details |
||
| 56 | */ |
||
| 57 | 1 | public function setDetails(ArrayObject $details) |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @param object $detail |
||
| 64 | */ |
||
| 65 | public function addDetail(object $detail) |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return float |
||
| 72 | */ |
||
| 73 | 1 | public function getRate() |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @param float $rate |
||
| 80 | */ |
||
| 81 | 1 | public function setRate($rate) |
|
| 85 | |||
| 86 | /** |
||
| 87 | * @return BankAccount |
||
| 88 | */ |
||
| 89 | 1 | public function getBankAccount() |
|
| 93 | |||
| 94 | /** |
||
| 95 | * @param BankAccount $bankAccount |
||
| 96 | */ |
||
| 97 | 1 | public function setBankAccount(BankAccount $bankAccount) |
|
| 101 | |||
| 102 | /** |
||
| 103 | * @return Seller |
||
| 104 | */ |
||
| 105 | 1 | public function getAssignor() |
|
| 109 | |||
| 110 | /** |
||
| 111 | * @param Seller $assignor |
||
| 112 | */ |
||
| 113 | 1 | public function setAssignor(Seller $assignor) |
|
| 117 | |||
| 118 | /** |
||
| 119 | * @return string |
||
| 120 | */ |
||
| 121 | 1 | public function getNumber() |
|
| 125 | |||
| 126 | /** |
||
| 127 | * @param string $number |
||
| 128 | */ |
||
| 129 | 1 | public function setNumber($number) |
|
| 133 | } |
||
| 134 |