| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class DeliveryPrice implements \IteratorAggregate |
||
| 20 | { |
||
| 21 | use Fillable; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @JMS\XmlAttribute() |
||
| 25 | * @JMS\Type("float") |
||
| 26 | */ |
||
| 27 | private float $total; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @JMS\Type("array<DalliSDK\Models\AdvPrice>") |
||
| 31 | * @JMS\XmlList(inline = true, entry = "advprice") |
||
| 32 | * @var AdvPrice[] |
||
| 33 | */ |
||
| 34 | private array $advPrices; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return float |
||
| 38 | */ |
||
| 39 | 2 | public function getTotal(): float |
|
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return AdvPrice[] |
||
| 46 | */ |
||
| 47 | 2 | public function getAdvPrices(): array |
|
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return \Traversable|AdvPrice[] |
||
| 54 | */ |
||
| 55 | 1 | public function getIterator(): \ArrayIterator |
|
| 60 |