WriteOffStoreBatchAction implements Action uses WriteOffAmountValidator
Write off products from stores.
Table of Contents
Interfaces
- Action
- Action with document.
Methods
- __construct() : mixed
- canExecute() : Result
- Checking the possibility of executing an action.
- execute() : Result
- Executing action.
Methods
__construct()
public
__construct(int $documentElementId, int $productId, float $amount) : mixed
Parameters
- $documentElementId : int
- $productId : int
- $amount : float
canExecute()
Checking the possibility of executing an action.
public
canExecute() : Result
Return values
Resultexecute()
Executing action.
public
execute() : Result