◆ getBackorders()
Retrieve backorders status
- Returns
- int
Implemented in Item.
◆ getEnableQtyIncrements()
getEnableQtyIncrements |
( |
| ) |
|
Retrieve whether Quantity Increments is enabled
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getExtensionAttributes()
getExtensionAttributes |
( |
| ) |
|
Retrieve existing extension attributes object or create a new one.
- Returns
- \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface|null
Implemented in Item.
◆ getIsDecimalDivided()
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getIsInStock()
Retrieve Stock Availability
- Returns
- bool|int
Implemented in Item.
◆ getIsQtyDecimal()
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getItemId()
- Returns
- int|null
Implemented in Item.
◆ getLowStockDate()
- Returns
- string
Implemented in Item.
◆ getManageStock()
Retrieve can Manage Stock
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getMaxSaleQty()
Retrieve Maximum Qty Allowed in Shopping Cart data wrapper
- Returns
- float
Implemented in Item.
◆ getMinQty()
Retrieve minimal quantity available for item status in stock
- Returns
- float
Implemented in Item.
◆ getMinSaleQty()
Retrieve Minimum Qty Allowed in Shopping Cart or NULL when there is no limitation
- Returns
- float
Implemented in Item.
◆ getNotifyStockQty()
Retrieve Notify for Quantity Below data wrapper
- Returns
- float
Implemented in Item.
◆ getProductId()
- Returns
- int|null
Implemented in Item.
◆ getQty()
- Returns
- float
Implemented in Item.
◆ getQtyIncrements()
Retrieve Quantity Increments data wrapper
- Returns
- float|false
Implemented in Item.
◆ getShowDefaultNotificationMessage()
getShowDefaultNotificationMessage |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item, and Item.
◆ getStockId()
Retrieve stock identifier
- Returns
- int|null
Implemented in Item.
◆ getStockStatusChangedAuto()
getStockStatusChangedAuto |
( |
| ) |
|
- Returns
- int
Implemented in Item.
◆ getUseConfigBackorders()
getUseConfigBackorders |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigEnableQtyInc()
getUseConfigEnableQtyInc |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigManageStock()
getUseConfigManageStock |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigMaxSaleQty()
getUseConfigMaxSaleQty |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigMinQty()
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigMinSaleQty()
getUseConfigMinSaleQty |
( |
| ) |
|
- Returns
- int
Implemented in Item.
◆ getUseConfigNotifyStockQty()
getUseConfigNotifyStockQty |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ getUseConfigQtyIncrements()
getUseConfigQtyIncrements |
( |
| ) |
|
- Returns
- bool @SuppressWarnings(PHPMD.BooleanGetMethodName)
Implemented in Item.
◆ setBackorders()
setBackorders |
( |
|
$backOrders | ) |
|
Set backOrders status
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setEnableQtyIncrements()
setEnableQtyIncrements |
( |
|
$enableQtyIncrements | ) |
|
Set whether Quantity Increments is enabled
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setExtensionAttributes()
setExtensionAttributes |
( |
\Magento\CatalogInventory\Api\Data\StockItemExtensionInterface |
$extensionAttributes | ) |
|
Set an extension attributes object.
- Parameters
-
\Magento\CatalogInventory\Api\Data\StockItemExtensionInterface | $extensionAttributes | |
- Returns
- $this
Implemented in Item.
◆ setIsDecimalDivided()
setIsDecimalDivided |
( |
|
$isDecimalDivided | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setIsInStock()
setIsInStock |
( |
|
$isInStock | ) |
|
Set Stock Availability
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setIsQtyDecimal()
setIsQtyDecimal |
( |
|
$isQtyDecimal | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setItemId()
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setLowStockDate()
setLowStockDate |
( |
|
$lowStockDate | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setManageStock()
setManageStock |
( |
|
$manageStock | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setMaxSaleQty()
setMaxSaleQty |
( |
|
$maxSaleQty | ) |
|
Set Maximum Qty Allowed in Shopping Cart data wrapper
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setMinQty()
Set minimal quantity available for item status in stock
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setMinSaleQty()
setMinSaleQty |
( |
|
$minSaleQty | ) |
|
Set Minimum Qty Allowed in Shopping Cart or NULL when there is no limitation
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setNotifyStockQty()
setNotifyStockQty |
( |
|
$notifyStockQty | ) |
|
Set Notify for Quantity Below data wrapper
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setProductId()
setProductId |
( |
|
$productId | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setQty()
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setQtyIncrements()
setQtyIncrements |
( |
|
$qtyIncrements | ) |
|
Set Quantity Increments data wrapper
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setStockId()
Set stock identifier
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setStockStatusChangedAuto()
setStockStatusChangedAuto |
( |
|
$stockStatusChangedAuto | ) |
|
- Parameters
-
int | $stockStatusChangedAuto | |
- Returns
- $this
Implemented in Item.
◆ setUseConfigBackorders()
setUseConfigBackorders |
( |
|
$useConfigBackorders | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setUseConfigEnableQtyInc()
setUseConfigEnableQtyInc |
( |
|
$useConfigEnableQtyInc | ) |
|
- Parameters
-
bool | $useConfigEnableQtyInc | |
- Returns
- $this
Implemented in Item.
◆ setUseConfigManageStock()
setUseConfigManageStock |
( |
|
$useConfigManageStock | ) |
|
- Parameters
-
bool | $useConfigManageStock | |
- Returns
- $this
Implemented in Item.
◆ setUseConfigMaxSaleQty()
setUseConfigMaxSaleQty |
( |
|
$useConfigMaxSaleQty | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setUseConfigMinQty()
setUseConfigMinQty |
( |
|
$useConfigMinQty | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setUseConfigMinSaleQty()
setUseConfigMinSaleQty |
( |
|
$useConfigMinSaleQty | ) |
|
- Parameters
-
- Returns
- $this
Implemented in Item.
◆ setUseConfigNotifyStockQty()
setUseConfigNotifyStockQty |
( |
|
$useConfigNotifyStockQty | ) |
|
- Parameters
-
bool | $useConfigNotifyStockQty | |
- Returns
- $this
Implemented in Item.
◆ setUseConfigQtyIncrements()
setUseConfigQtyIncrements |
( |
|
$useConfigQtyIncrements | ) |
|
- Parameters
-
bool | $useConfigQtyIncrements | |
- Returns
- $this
Implemented in Item.
◆ BACKORDERS
const BACKORDERS = 'backorders' |
◆ BACKORDERS_NO
◆ CUSTOMER_GROUP_ID
const CUSTOMER_GROUP_ID = 'customer_group_id' |
◆ ENABLE_QTY_INCREMENTS
const ENABLE_QTY_INCREMENTS = 'enable_qty_increments' |
◆ IS_DECIMAL_DIVIDED
const IS_DECIMAL_DIVIDED = 'is_decimal_divided' |
◆ IS_IN_STOCK
const IS_IN_STOCK = 'is_in_stock' |
◆ IS_QTY_DECIMAL
const IS_QTY_DECIMAL = 'is_qty_decimal' |
◆ ITEM_ID
const ITEM_ID = 'item_id' |
◆ LOW_STOCK_DATE
const LOW_STOCK_DATE = 'low_stock_date' |
◆ MANAGE_STOCK
const MANAGE_STOCK = 'manage_stock' |
◆ MAX_SALE_QTY
const MAX_SALE_QTY = 'max_sale_qty' |
◆ MIN_QTY
const MIN_QTY = 'min_qty' |
◆ MIN_SALE_QTY
const MIN_SALE_QTY = 'min_sale_qty' |
◆ NOTIFY_STOCK_QTY
const NOTIFY_STOCK_QTY = 'notify_stock_qty' |
◆ PRODUCT_ID
const PRODUCT_ID = 'product_id' |
◆ QTY
◆ QTY_INCREMENTS
const QTY_INCREMENTS = 'qty_increments' |
◆ SHOW_DEFAULT_NOTIFICATION_MESSAGE
const SHOW_DEFAULT_NOTIFICATION_MESSAGE = 'show_default_notification_message' |
◆ STOCK_ID
const STOCK_ID = 'stock_id' |
◆ STOCK_STATUS_CHANGED_AUTO
const STOCK_STATUS_CHANGED_AUTO = 'stock_status_changed_auto' |
◆ STORE_ID
const STORE_ID = 'store_id' |
◆ USE_CONFIG_BACKORDERS
const USE_CONFIG_BACKORDERS = 'use_config_backorders' |
◆ USE_CONFIG_ENABLE_QTY_INC
const USE_CONFIG_ENABLE_QTY_INC = 'use_config_enable_qty_inc' |
◆ USE_CONFIG_MANAGE_STOCK
const USE_CONFIG_MANAGE_STOCK = 'use_config_manage_stock' |
◆ USE_CONFIG_MAX_SALE_QTY
const USE_CONFIG_MAX_SALE_QTY = 'use_config_max_sale_qty' |
◆ USE_CONFIG_MIN_QTY
const USE_CONFIG_MIN_QTY = 'use_config_min_qty' |
◆ USE_CONFIG_MIN_SALE_QTY
const USE_CONFIG_MIN_SALE_QTY = 'use_config_min_sale_qty' |
◆ USE_CONFIG_NOTIFY_STOCK_QTY
const USE_CONFIG_NOTIFY_STOCK_QTY = 'use_config_notify_stock_qty' |
◆ USE_CONFIG_QTY_INCREMENTS
const USE_CONFIG_QTY_INCREMENTS = 'use_config_qty_increments' |
The documentation for this interface was generated from the following file: