<?php
/**
 * Class ReturnShipmentTime
 *
 * @package DhlPolska\API\WebApi\Struct
 */

namespace DhlPolska\API\WebApi\Struct;

use JsonSerializable;

/**
 * ReturnShipmentTime structure.
 */
class ReturnShipmentTime implements JsonSerializable {

	/** @var string */
	private string $label_exp_date;

	/**
	 * ReturnShipmentTime constructor.
	 *
	 * @param string $label_exp_date
	 */
	public function __construct( string $label_exp_date ) {
		$this->label_exp_date = $label_exp_date;
	}

	/**
	 * @return array
	 */
	public function jsonSerialize(): array {
		return [
			'labelExpDate' => $this->label_exp_date,
		];
	}
}
