mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 20:47:15 +01:00
18 lines
340 B
PHP
18 lines
340 B
PHP
<?php
|
|
|
|
namespace Xentral\Carrier\Dhl\Data;
|
|
|
|
class Country
|
|
{
|
|
public ?string $country;
|
|
public string $countryISOCode;
|
|
public ?string $state;
|
|
|
|
public static function Create(string $isoCode, ?string $state = null):Country {
|
|
$obj = new Country();
|
|
$obj->countryISOCode = $isoCode;
|
|
$obj->state = $state;
|
|
return $obj;
|
|
}
|
|
|
|
} |