proto.api.CityPackageOrderEnt */ class CityPackageOrderEnt extends \Google\Protobuf\Internal\Message { /** * 订单信息 * * Generated from protobuf field .proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1; */ protected $order_info = null; /** * 保险信息 * * Generated from protobuf field string insurance_info = 2; */ protected $insurance_info = ''; /** * 城市套餐信息 * * Generated from protobuf field .proto.api.CityPackageEnt city_package_info = 3; */ protected $city_package_info = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Proto\Api\CityPackageOrderEnt\OrderInfoItem $order_info * 订单信息 * @type string $insurance_info * 保险信息 * @type \Proto\Api\CityPackageEnt $city_package_info * 城市套餐信息 * } */ public function __construct($data = NULL) { \GPBMetadata\Api\EntCityPackage::initOnce(); parent::__construct($data); } /** * 订单信息 * * Generated from protobuf field .proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1; * @return \Proto\Api\CityPackageOrderEnt\OrderInfoItem|null */ public function getOrderInfo() { return $this->order_info; } public function hasOrderInfo() { return isset($this->order_info); } public function clearOrderInfo() { unset($this->order_info); } /** * 订单信息 * * Generated from protobuf field .proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1; * @param \Proto\Api\CityPackageOrderEnt\OrderInfoItem $var * @return $this */ public function setOrderInfo($var) { GPBUtil::checkMessage($var, \Proto\Api\CityPackageOrderEnt\OrderInfoItem::class); $this->order_info = $var; return $this; } /** * 保险信息 * * Generated from protobuf field string insurance_info = 2; * @return string */ public function getInsuranceInfo() { return $this->insurance_info; } /** * 保险信息 * * Generated from protobuf field string insurance_info = 2; * @param string $var * @return $this */ public function setInsuranceInfo($var) { GPBUtil::checkString($var, True); $this->insurance_info = $var; return $this; } /** * 城市套餐信息 * * Generated from protobuf field .proto.api.CityPackageEnt city_package_info = 3; * @return \Proto\Api\CityPackageEnt|null */ public function getCityPackageInfo() { return $this->city_package_info; } public function hasCityPackageInfo() { return isset($this->city_package_info); } public function clearCityPackageInfo() { unset($this->city_package_info); } /** * 城市套餐信息 * * Generated from protobuf field .proto.api.CityPackageEnt city_package_info = 3; * @param \Proto\Api\CityPackageEnt $var * @return $this */ public function setCityPackageInfo($var) { GPBUtil::checkMessage($var, \Proto\Api\CityPackageEnt::class); $this->city_package_info = $var; return $this; } }