Api\StructType\ApiBannerInfo::setAdImageHash PHP Method

setAdImageHash() public method

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