<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message\ListMessage;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;




class Product extends \Google\Protobuf\Internal\Message
{
    


    protected $productId = null;

    








    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getProductId()
    {
        return isset($this->productId) ? $this->productId : '';
    }

    public function hasProductId()
    {
        return isset($this->productId);
    }

    public function clearProductId()
    {
        unset($this->productId);
    }

    




    public function setProductId($var)
    {
        GPBUtil::checkString($var, True);
        $this->productId = $var;

        return $this;
    }

}

