| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class Price extends BaseComponent { |
||
| 17 | |||
| 18 | const DECIMALS = 2; |
||
| 19 | |||
| 20 | protected $currencyID; |
||
| 21 | protected $PriceAmount; |
||
| 22 | |||
| 23 | protected $validations = ['currencyID', 'PriceAmount']; |
||
| 24 | |||
| 25 | |||
| 26 | function xmlSerialize(Writer $writer) { |
||
| 35 | ] |
||
| 36 | ], |
||
| 37 | ]); |
||
| 38 | |||
| 39 | } |
||
| 40 | |||
| 41 | public function getCurrencyID() { |
||
| 42 | return $this->currencyID; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setCurrencyID($currencyID) { |
||
| 46 | $this->currencyID = $currencyID; |
||
| 47 | return $this; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getPriceAmount() { |
||
| 52 | } |
||
| 53 | |||
| 54 | public function setPriceAmount($PriceAmount) { |
||
| 60 |