h8]@a h88WՄa089K+298vcbUO8Z8!~Ô39뷀Z8`9c^\Tke`9w9_Q w9`8l]=fn`88wU8x9~ bx9@8^2N2@88T(۞{89n{99,x9P9x<'+P98z->ƣ89PLw99U98%Y4809V%t  09@9%x@9`9AR]`9Px9 ʍ Px99Y47iK98?89VPÐ9x9n'gH@x98g8!ż88Riϛ89 9@8m+95nҥ@8@5'R@5x98fF2x9`5a~s`5x9Boׂx90y9v;0y98%wd876[cͪ7hy9#O,Why9y9*쏏y98u*48y9{"!Mmy985C+89e9@8|v @8z9 c"z909+{A(7098>XPN88΃ 5%86]@69Aj=J9@|Qݤ@|9PeM97w775o;b7Ќ9MpY?Ќ9Hz9{u^B0C8 9~rrv 99X1$9`{9oa%5G?`{98?SP8@8n @88Oյ89zA)T?+9P9erP99z㥠988{9J1˜{98 a%8{9/u{909X1J09@8=H<*#@8|9Nd|9@|92H@|9x|9 x|9|9 J۰|98_y A88;wB88ȓ6ĵ890Ց^ TЀ9@8H.Nx@88\ s8 !9a?X !987587P!9+dP!9!9rg[ܵ!9`7,M`77)c>=877tM7!9[F^!9!90v!9"9tll="9@"9Ȃ՟VK@"97" 77(>8!mҫ7P09K6P098Yw586ʓ `6@9ʥh޲@909 Wj)Р09@@9o8*&@@95[[5 $this->continent = $continent; return $this; } /** * @param int|null $idx * @return string */ public function getName(int $idx = null): string { return isset($_SESSION['AdminAccount']->language) ? $this->getNameForLangISO($_SESSION['AdminAccount']->language) : $this->names[$idx ?? Shop::getLanguageID()] ?? ''; } /** * @param LanguageModel $lang * @return Country */ public function setName(LanguageModel $lang): self { $this->names[$lang->getId()] = $this->getNameForLangISO($lang->getIso639()); return $this; } /** * @return array */ public function getNames(): array { return $this->names; } /** * @param array $names * @return Country */ public function setNames(array $names): self { $this->names = $names; return $this; } /** * @return string */ public function getNameDE(): string { return $this->nameDE; } /** * @param string $nameDE * @return Country */ public function setNameDE(string $nameDE): self { $this->nameDE = $nameDE; return $this; } /** * @return string */ public function getNameEN(): string { return $this->nameEN; } /** * @param string $nameEN * @return Country */ public function setNameEN(string $nameEN): self { $this->nameEN = $nameEN; return $this; } /** * @return bool */ public function isShippingAvailable(): bool { return $this->shippingAvailable; } /** * @param bool $shippingAvailable * @return Country */ public function setShippingAvailable(bool $shippingAvailable): self { $this->shippingAvailable = $shippingAvailable; return $this; } /** * @return bool */ public function isPermitRegistration(): bool { return $this->permitRegistration; } /** * @param bool $permitRegistration * @return Country */ public function setPermitRegistration(bool $permitRegistration): self { $this->permitRegistration = $permitRegistration; return $this; } /** * @return bool */ public function isRequireStateDefinition(): bool { return $this->requireStateDefinition; } /** * @param bool $requireStateDefinition * @return Country */ public function setRequireStateDefinition(bool $requireStateDefinition): self { $this->requireStateDefinition = $requireStateDefinition; return $this; } /** * @return State[] */ public function getStates(): array { return $this->states; } /** * @param State[] $states * @return Country */ public function setStates(array $states): self { $this->states = $states; return $this; } }