public function LocalStockTransactionEvent::getQuantity in Commerce Stock 8
Get the quantity.
Return value
int The quantity value.
File
- modules/
local_storage/ src/ Event/ LocalStockTransactionEvent.php, line 78
Class
- LocalStockTransactionEvent
- Defines the stock location event.
Namespace
Drupal\commerce_stock_local\EventCode
public function getQuantity() {
return $this->stockTransaction['qty'];
}