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