| 1 | <?php  | 
            ||
| 4 | class PriceList implements \JsonSerializable  | 
            ||
| 5 | { | 
            ||
| 6 | |||
| 7 | /**  | 
            ||
| 8 | * @var string  | 
            ||
| 9 | */  | 
            ||
| 10 | protected $label;  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $amount;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * PriceList constructor.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @param string $label  | 
            ||
| 21 | * @param string $amount  | 
            ||
| 22 | */  | 
            ||
| 23 | public function __construct(string $label, string $amount)  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @return array  | 
            ||
| 31 | */  | 
            ||
| 32 | public function jsonSerialize(): array  | 
            ||
| 39 | }  | 
            ||
| 40 |