| 1 | <?php |
||
| 9 | class Amount extends AbstractModel |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @JMS\Type("float") |
||
| 13 | * |
||
| 14 | * @var float |
||
| 15 | */ |
||
| 16 | protected $total; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @JMS\Type("string") |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $currency; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @JMS\Type("Onend\PayPal\Payment\Model\AmountDetails") |
||
| 27 | * |
||
| 28 | * @var AmountDetails |
||
| 29 | */ |
||
| 30 | protected $details; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getCurrency() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $currency |
||
| 42 | */ |
||
| 43 | public function setCurrency($currency) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return AmountDetails |
||
| 50 | */ |
||
| 51 | public function getDetails() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param AmountDetails $details |
||
| 58 | */ |
||
| 59 | public function setDetails(AmountDetails $details) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return float |
||
| 66 | */ |
||
| 67 | public function getTotal() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param float $total |
||
| 74 | */ |
||
| 75 | public function setTotal($total) |
||
| 79 | } |
||
| 80 |