123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # NO CHECKED-IN PROTOBUF GENCODE
- # source: api/EntCityPackage.proto
- namespace Proto\Api;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * 城市套餐订单实体
- *
- * Generated from protobuf message <code>proto.api.CityPackageOrderEnt</code>
- */
- class CityPackageOrderEnt extends \Google\Protobuf\Internal\Message
- {
- /**
- * 订单信息
- *
- * Generated from protobuf field <code>.proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1;</code>
- */
- protected $order_info = null;
- /**
- * 保险信息
- *
- * Generated from protobuf field <code>string insurance_info = 2;</code>
- */
- protected $insurance_info = '';
- /**
- * 城市套餐信息
- *
- * Generated from protobuf field <code>.proto.api.CityPackageEnt city_package_info = 3;</code>
- */
- 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 <code>.proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1;</code>
- * @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 <code>.proto.api.CityPackageOrderEnt.OrderInfoItem order_info = 1;</code>
- * @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 <code>string insurance_info = 2;</code>
- * @return string
- */
- public function getInsuranceInfo()
- {
- return $this->insurance_info;
- }
- /**
- * 保险信息
- *
- * Generated from protobuf field <code>string insurance_info = 2;</code>
- * @param string $var
- * @return $this
- */
- public function setInsuranceInfo($var)
- {
- GPBUtil::checkString($var, True);
- $this->insurance_info = $var;
- return $this;
- }
- /**
- * 城市套餐信息
- *
- * Generated from protobuf field <code>.proto.api.CityPackageEnt city_package_info = 3;</code>
- * @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 <code>.proto.api.CityPackageEnt city_package_info = 3;</code>
- * @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;
- }
- }
|