File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/ipol.sdek/classes/lib/Core/Order/Item.php
Back
<?php namespace Ipolh\SDEK\Core\Order; use Ipolh\SDEK\Core\Entity\FieldsContainer; use Ipolh\SDEK\Core\Entity\Money; /** * Class Item * @package Ipolh\SDEK\Core * @subpackage Order */ class Item extends FieldsContainer { /** * @var string */ protected $name; /** * @var string */ protected $description; /** * @var int - gram */ protected $weight; /** * @var int - mm */ protected $length; /** * @var int - mm */ protected $width; /** * @var int - mm */ protected $height; /** * @var Money */ protected $cost; /** * @var Money */ protected $price; /** * @var int */ protected $quantity; /** * @var string */ protected $barcode; /** * @var string */ protected $id; /** * @var string */ protected $articul; /** * @var int */ protected $vatRate; /** * @var Money */ protected $vatSum; /** * @return int */ public function getVatRate() { return $this->vatRate; } /** * @param int $vatRate * @return $this */ public function setVatRate($vatRate) { $this->vatRate = $vatRate; return $this; } /** * @return Money */ public function getVatSum() { return $this->vatSum; } /** * @param Money $vatSum * @return $this */ public function setVatSum($vatSum) { $this->vatSum = $vatSum; return $this; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $name * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string $description * @return $this */ public function setDescription($description) { $this->description = $description; return $this; } /** * @return int */ public function getWeight() { return $this->weight; } /** * @param int $weight * @return $this */ public function setWeight($weight) { $this->weight = $weight; return $this; } /** * @return int */ public function getLength() { return $this->length; } /** * @param int $length * @return $this */ public function setLength($length) { $this->length = $length; return $this; } /** * @return int */ public function getWidth() { return $this->width; } /** * @param int $width * @return $this */ public function setWidth($width) { $this->width = $width; return $this; } /** * @return int */ public function getHeight() { return $this->height; } /** * @param int $height * @return $this */ public function setHeight($height) { $this->height = $height; return $this; } /** * @return Money */ public function getCost() { return $this->cost; } /** * @param Money $cost * @return $this */ public function setCost($cost) { $this->cost = $cost; return $this; } /** * @return Money */ public function getPrice() { return $this->price; } /** * @param Money $price * @return $this */ public function setPrice($price) { $this->price = $price; return $this; } /** * @return int */ public function getQuantity() { return $this->quantity; } /** * @param int $quantity * @return $this */ public function setQuantity($quantity) { $this->quantity = $quantity; return $this; } /** * @return string */ public function getBarcode() { return $this->barcode; } /** * @param string $barcode * @return $this */ public function setBarcode($barcode) { $this->barcode = $barcode; return $this; } /** * @return string */ public function getId() { return $this->id; } /** * @param string $id * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * @return string */ public function getArticul() { return $this->articul; } /** * @param string $articul * @return $this */ public function setArticul($articul) { $this->articul = $articul; return $this; } /** * @return array */ public function getFields() { return get_object_vars($this); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings