x
This commit is contained in:
132
gen/proto/php/Printer/V1/Invoice/OfferInfo.php
Normal file
132
gen/proto/php/Printer/V1/Invoice/OfferInfo.php
Normal file
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: printer/v1/pdf_invoice.proto
|
||||
|
||||
namespace Printer\V1\Invoice;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>printer.v1.invoice.OfferInfo</code>
|
||||
*/
|
||||
class OfferInfo extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Generated from protobuf field <code>string offer_id = 1 [json_name = "offerId"];</code>
|
||||
*/
|
||||
protected $offer_id = '';
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_date = 2 [json_name = "offerDate"];</code>
|
||||
*/
|
||||
protected $offer_date = null;
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_due_date = 3 [json_name = "offerDueDate"];</code>
|
||||
*/
|
||||
protected $offer_due_date = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $offer_id
|
||||
* @type \Google\Type\DateTime $offer_date
|
||||
* @type \Google\Type\DateTime $offer_due_date
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\Printer\V1\Invoice\GPBMetadata\PdfInvoice::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>string offer_id = 1 [json_name = "offerId"];</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getOfferId()
|
||||
{
|
||||
return $this->offer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>string offer_id = 1 [json_name = "offerId"];</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOfferId($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->offer_id = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_date = 2 [json_name = "offerDate"];</code>
|
||||
* @return \Google\Type\DateTime|null
|
||||
*/
|
||||
public function getOfferDate()
|
||||
{
|
||||
return $this->offer_date;
|
||||
}
|
||||
|
||||
public function hasOfferDate()
|
||||
{
|
||||
return isset($this->offer_date);
|
||||
}
|
||||
|
||||
public function clearOfferDate()
|
||||
{
|
||||
unset($this->offer_date);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_date = 2 [json_name = "offerDate"];</code>
|
||||
* @param \Google\Type\DateTime $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOfferDate($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Type\DateTime::class);
|
||||
$this->offer_date = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_due_date = 3 [json_name = "offerDueDate"];</code>
|
||||
* @return \Google\Type\DateTime|null
|
||||
*/
|
||||
public function getOfferDueDate()
|
||||
{
|
||||
return $this->offer_due_date;
|
||||
}
|
||||
|
||||
public function hasOfferDueDate()
|
||||
{
|
||||
return isset($this->offer_due_date);
|
||||
}
|
||||
|
||||
public function clearOfferDueDate()
|
||||
{
|
||||
unset($this->offer_due_date);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>.google.type.DateTime offer_due_date = 3 [json_name = "offerDueDate"];</code>
|
||||
* @param \Google\Type\DateTime $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setOfferDueDate($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Type\DateTime::class);
|
||||
$this->offer_due_date = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user