123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Model\Order;
- /**
- * Temando Order Item Interface
- *
- * An order item as associated with an order entity at the Temando platform.
- *
- * @package Temando\Shipping\Model
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link http://www.temando.com/
- */
- interface OrderItemInterface
- {
- const PRODUCT_ID = 'product_id';
- const QTY = 'qty';
- const SKU = 'sku';
- const NAME = 'name';
- const DESCRIPTION = 'description';
- const CATEGORIES = 'categories';
- const DIMENSIONS_UOM = 'dimensions_uom';
- const LENGTH = 'length';
- const WIDTH = 'width';
- const HEIGHT = 'height';
- const WEIGHT_UOM = 'weight_uom';
- const WEIGHT = 'weight';
- const CURRENCY = 'currency';
- const AMOUNT = 'amount';
- const IS_FRAGILE = 'is_fragile';
- const IS_VIRTUAL = 'is_virtual';
- const IS_PREPACKAGED = 'is_prepackaged';
- const CAN_ROTATE_VERTICAL = 'can_rotate_vertical';
- const COUNTRY_OF_ORIGIN = 'country_of_origin';
- const COUNTRY_OF_MANUFACTURE = 'country_of_manufacture';
- const ECCN = 'eccn';
- const SCHEDULE_B_INFO = 'schedule_b_info';
- const HS_CODE = 'hs_code';
- /**
- * @return int
- */
- public function getProductId();
- /**
- * @return int
- */
- public function getQty();
- /**
- * @return string
- */
- public function getSku();
- /**
- * @return string
- */
- public function getName();
- /**
- * @return string
- */
- public function getDescription();
- /**
- * @return string[]
- */
- public function getCategories();
- /**
- * @return string
- */
- public function getDimensionsUom();
- /**
- * @return float
- */
- public function getLength();
- /**
- * @return float
- */
- public function getWidth();
- /**
- * @return float
- */
- public function getHeight();
- /**
- * @return string
- */
- public function getWeightUom();
- /**
- * @return float
- */
- public function getWeight();
- /**
- * @return string
- */
- public function getCurrency();
- /**
- * @return float
- */
- public function getAmount();
- /**
- * @return bool
- */
- public function isFragile();
- /**
- * @return bool
- */
- public function isVirtual();
- /**
- * @return bool
- */
- public function isPrePackaged();
- /**
- * @return bool
- */
- public function canRotateVertically();
- /**
- * @return string
- */
- public function getCountryOfOrigin();
- /**
- * @return string
- */
- public function getCountryOfManufacture();
- /**
- * @return string
- */
- public function getEccn();
- /**
- * @return string
- */
- public function getScheduleBinfo();
- /**
- * @return string
- */
- public function getHsCode();
- }
|