custom/plugins/AcrisShopSwitchCS/src/Components/Struct/DetectedCountryIdStruct.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Acris\ShopSwitch\Components\Struct;
  3. use Shopware\Core\Framework\Struct\Struct;
  4. class DetectedCountryIdStruct extends Struct
  5. {
  6.     public const EXTENSION_KEY 'acrisShopSwitchDetectedCountryId';
  7.     private ?string $countryId;
  8.     public function __construct(?string $countryId)
  9.     {
  10.         $this->countryId $countryId;
  11.     }
  12.     /**
  13.      * @return string|null
  14.      */
  15.     public function getCountryId(): ?string
  16.     {
  17.         return $this->countryId;
  18.     }
  19.     /**
  20.      * @param string|null $countryId
  21.      */
  22.     public function setCountryId(?string $countryId): void
  23.     {
  24.         $this->countryId $countryId;
  25.     }
  26. }