BaseStoreQuantityAction uses trait:short
Base action for increase and decrease actions.
Table of Contents
Methods
- __construct() : mixed
- execute() : Result
- getProductId() : int|null
- Product.
- getStoreId() : int|null
- Store.
Methods
__construct()
public
__construct(int $storeId, int $productId, float $amount) : mixed
Parameters
- $storeId : int
- $productId : int
- $amount : float
execute()
public
execute() : Result
Tags
Return values
ResultgetProductId()
Product.
public
getProductId() : int|null
Return values
int|nullgetStoreId()
Store.
public
getStoreId() : int|null