code: public function setCountry($country)
      {
          if ((strlen($country) > 2)) {
              throw new \InvalidArgumentException('invalid length for $country when calling Address., must be smaller than or equal to 2.');
          }
          if ((strlen($country) < 2)) {
              throw new \InvalidArgumentException('invalid length for $country when calling Address., must be bigger than or equal to 2.');
          }
  
          $this->container['country'] = $country;
  
          return $this;
      }
docs: Sets country
  @param string $country The ISO-3166 country code. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
  @return $this