init
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
<?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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user