proto.api.OrderListMicroSoftReq
*/
class OrderListMicroSoftReq extends \Google\Protobuf\Internal\Message
{
/**
* 分页参数
*
* Generated from protobuf field .proto.api.PageArg page_arg = 1;
*/
protected $page_arg = null;
/**
* 门店筛选参数
*
* Generated from protobuf field .proto.api.ShopArg shop_arg = 2;
*/
protected $shop_arg = null;
/**
* 订单类型
*
* Generated from protobuf field .proto.api.DEVICE_USE_TYPE order_type = 3;
*/
protected $order_type = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Proto\Api\PageArg $page_arg
* 分页参数
* @type \Proto\Api\ShopArg $shop_arg
* 门店筛选参数
* @type int $order_type
* 订单类型
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\CityPackageMicroSoft::initOnce();
parent::__construct($data);
}
/**
* 分页参数
*
* Generated from protobuf field .proto.api.PageArg page_arg = 1;
* @return \Proto\Api\PageArg|null
*/
public function getPageArg()
{
return $this->page_arg;
}
public function hasPageArg()
{
return isset($this->page_arg);
}
public function clearPageArg()
{
unset($this->page_arg);
}
/**
* 分页参数
*
* Generated from protobuf field .proto.api.PageArg page_arg = 1;
* @param \Proto\Api\PageArg $var
* @return $this
*/
public function setPageArg($var)
{
GPBUtil::checkMessage($var, \Proto\Api\PageArg::class);
$this->page_arg = $var;
return $this;
}
/**
* 门店筛选参数
*
* Generated from protobuf field .proto.api.ShopArg shop_arg = 2;
* @return \Proto\Api\ShopArg|null
*/
public function getShopArg()
{
return $this->shop_arg;
}
public function hasShopArg()
{
return isset($this->shop_arg);
}
public function clearShopArg()
{
unset($this->shop_arg);
}
/**
* 门店筛选参数
*
* Generated from protobuf field .proto.api.ShopArg shop_arg = 2;
* @param \Proto\Api\ShopArg $var
* @return $this
*/
public function setShopArg($var)
{
GPBUtil::checkMessage($var, \Proto\Api\ShopArg::class);
$this->shop_arg = $var;
return $this;
}
/**
* 订单类型
*
* Generated from protobuf field .proto.api.DEVICE_USE_TYPE order_type = 3;
* @return int
*/
public function getOrderType()
{
return $this->order_type;
}
/**
* 订单类型
*
* Generated from protobuf field .proto.api.DEVICE_USE_TYPE order_type = 3;
* @param int $var
* @return $this
*/
public function setOrderType($var)
{
GPBUtil::checkEnum($var, \Proto\Api\DEVICE_USE_TYPE::class);
$this->order_type = $var;
return $this;
}
}