/** * @param \Generated\Shared\Transfer\RefundItemTransfer $itemTransfer * * @return void */ public function aggregate(RefundItemTransfer $itemTransfer) { $itemTransfer->requireQuantity()->requireGrossPrice(); $itemTransfer->setTotalGrossPrice($itemTransfer->getGrossPrice() * $itemTransfer->getQuantity()); }