# packeta/2.3.1/src/Packetery/Module/Carrier/CountryListingTemplateParams.php

Packeta, version 2.3.1. 114 lines.

- Page: https://pluginprobe.com/plugins/packeta/2.3.1/code/src/Packetery/Module/Carrier/CountryListingTemplateParams.php
- Raw: https://pluginprobe.com/plugins/packeta/2.3.1/raw/src/Packetery/Module/Carrier/CountryListingTemplateParams.php
- Modified: 2025-03-10T10:47:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/packeta/2.3.1/code/src/Packetery/Module/Carrier/CountryListingTemplateParams.php#L10-L20`.

```php
<?php
/**
 * Class CountryListingTemplateParams
 *
 * @package Packetery\Carrier
 */

declare( strict_types=1 );

namespace Packetery\Module\Carrier;

use Packetery\Nette\Forms\Form;

/**
 * Class CountryListingTemplateParams
 *
 * @package Packetery\Carrier
 */
class CountryListingTemplateParams {

	/**
	 * Carriers Update params.
	 *
	 * @var array<string, string|array<string, string>>
	 */
	public $carriersUpdate;

	/**
	 * Countries.
	 *
	 * @var mixed[]
	 */
	public $countries;

	/**
	 * Tells whether API password is set, or not.
	 *
	 * @var bool
	 */
	public $isApiPasswordSet;

	/**
	 * Next update run.
	 *
	 * @var string|null
	 */
	public $nextScheduledRun;

	/**
	 * Settings changed message.
	 *
	 * @var string|null
	 */
	public $settingsChangedMessage;

	/**
	 * Translations.
	 *
	 * @var array<string, string>
	 */
	public $translations;

	/**
	 * @var bool
	 */
	public $isCzechLocale;

	/**
	 * @var string|null
	 */
	public $logoZasilkovna;

	/**
	 * @var string|null
	 */
	public $logoPacketa;

	/**
	 * @var bool
	 */
	public $hasCarriers;

	/**
	 * @var Form
	 */
	public $form;

	public function __construct(
		array $carriersUpdate,
		array $countries,
		bool $isApiPasswordSet,
		?string $nextScheduledRun,
		?string $settingsChangedMessage,
		bool $isCzechLocale,
		?string $logoZasilkovna,
		?string $logoPacketa,
		array $translations,
		bool $hasCarriers,
		Form $form
	) {
		$this->carriersUpdate         = $carriersUpdate;
		$this->countries              = $countries;
		$this->isApiPasswordSet       = $isApiPasswordSet;
		$this->nextScheduledRun       = $nextScheduledRun;
		$this->settingsChangedMessage = $settingsChangedMessage;
		$this->isCzechLocale          = $isCzechLocale;
		$this->logoZasilkovna         = $logoZasilkovna;
		$this->logoPacketa            = $logoPacketa;
		$this->translations           = $translations;
		$this->hasCarriers            = $hasCarriers;
		$this->form                   = $form;
	}
}

```
