x
This commit is contained in:
139
gen/proto/php/Printer/V1/Invoice/OrderVatItem.php
Normal file
139
gen/proto/php/Printer/V1/Invoice/OrderVatItem.php
Normal file
@@ -0,0 +1,139 @@
|
||||
<?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.OrderVatItem</code>
|
||||
*/
|
||||
class OrderVatItem extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* Generated from protobuf field <code>string description = 1 [json_name = "description"];</code>
|
||||
*/
|
||||
protected $description = '';
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat = 2 [json_name = "vat"];</code>
|
||||
*/
|
||||
protected $vat = 0.0;
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat_money_sum = 3 [json_name = "vatMoneySum"];</code>
|
||||
*/
|
||||
protected $vat_money_sum = 0.0;
|
||||
/**
|
||||
* Generated from protobuf field <code>uint64 items_count = 4 [json_name = "itemsCount"];</code>
|
||||
*/
|
||||
protected $items_count = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $description
|
||||
* @type float $vat
|
||||
* @type float $vat_money_sum
|
||||
* @type int|string $items_count
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\Printer\V1\Invoice\GPBMetadata\PdfInvoice::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>string description = 1 [json_name = "description"];</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>string description = 1 [json_name = "description"];</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->description = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat = 2 [json_name = "vat"];</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getVat()
|
||||
{
|
||||
return $this->vat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat = 2 [json_name = "vat"];</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setVat($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->vat = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat_money_sum = 3 [json_name = "vatMoneySum"];</code>
|
||||
* @return float
|
||||
*/
|
||||
public function getVatMoneySum()
|
||||
{
|
||||
return $this->vat_money_sum;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>double vat_money_sum = 3 [json_name = "vatMoneySum"];</code>
|
||||
* @param float $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setVatMoneySum($var)
|
||||
{
|
||||
GPBUtil::checkDouble($var);
|
||||
$this->vat_money_sum = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>uint64 items_count = 4 [json_name = "itemsCount"];</code>
|
||||
* @return int|string
|
||||
*/
|
||||
public function getItemsCount()
|
||||
{
|
||||
return $this->items_count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>uint64 items_count = 4 [json_name = "itemsCount"];</code>
|
||||
* @param int|string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setItemsCount($var)
|
||||
{
|
||||
GPBUtil::checkUint64($var);
|
||||
$this->items_count = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user