Api\StructType\ApiBannerInfo::setGeo PHP Method

setGeo() public method

Set Geo value
public setGeo ( string $geo = null ) : ApiBannerInfo
$geo string
return ApiBannerInfo
    public function setGeo($geo = null)
    {
        // validation for constraint: string
        if (!is_null($geo) && !is_string($geo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($geo)), __LINE__);
        }
        $this->Geo = $geo;
        return $this;
    }