proto.api.OrderContractDetailRes
*/
class OrderContractDetailRes extends \Google\Protobuf\Internal\Message
{
/**
* 合同信息
*
* Generated from protobuf field .proto.api.EntOrderContract contract_info = 1;
*/
protected $contract_info = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Proto\Api\EntOrderContract $contract_info
* 合同信息
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\OrderContract::initOnce();
parent::__construct($data);
}
/**
* 合同信息
*
* Generated from protobuf field .proto.api.EntOrderContract contract_info = 1;
* @return \Proto\Api\EntOrderContract|null
*/
public function getContractInfo()
{
return $this->contract_info;
}
public function hasContractInfo()
{
return isset($this->contract_info);
}
public function clearContractInfo()
{
unset($this->contract_info);
}
/**
* 合同信息
*
* Generated from protobuf field .proto.api.EntOrderContract contract_info = 1;
* @param \Proto\Api\EntOrderContract $var
* @return $this
*/
public function setContractInfo($var)
{
GPBUtil::checkMessage($var, \Proto\Api\EntOrderContract::class);
$this->contract_info = $var;
return $this;
}
}