79 lines
1.4 KiB
PHP
79 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Copyright © All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Stemcell\SubItemProduct\Api\Data;
|
|
|
|
interface SubItemInterface
|
|
{
|
|
|
|
const SUBITEM_ID = 'subitem_id';
|
|
const PRODUCT_ID = 'product_id';
|
|
const SUB_SKU = 'sub_sku';
|
|
const BUNDLE_QTY = 'bundle_qty';
|
|
const STOCK_QTY = 'stock_qty';
|
|
|
|
/**
|
|
* Get subitem_id
|
|
* @return string|null
|
|
*/
|
|
public function getSubitemId();
|
|
|
|
/**
|
|
* Set subitem_id
|
|
* @param string $subitemId
|
|
* @return $this
|
|
*/
|
|
public function setSubitemId($subitemId);
|
|
|
|
/**
|
|
* Get product_id
|
|
* @return string|null
|
|
*/
|
|
public function getProductId();
|
|
|
|
/**
|
|
* Set product_id
|
|
* @param string $productId
|
|
* @return $this
|
|
*/
|
|
public function setProductId($productId);
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSubSku();
|
|
|
|
/**
|
|
* @param string $subSku
|
|
* @return $this
|
|
*/
|
|
public function setSubSku(string $subSku);
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getBundleQty();
|
|
|
|
/**
|
|
* @param int $bundleQty
|
|
* @return $this
|
|
*/
|
|
public function setBundleQty(int $bundleQty);
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getStockQty();
|
|
|
|
/**
|
|
* @param int $stockQty
|
|
* @return $this
|
|
*/
|
|
public function setStockQty(int $stockQty);
|
|
}
|
|
|