/**
  * @param \Generated\Shared\Transfer\ZeroPaymentTransfer $zeroPaymentTransfer
  * @return \Orm\Zed\ZeroPayment\Persistence\PavZeroPayment
  */
 public function transferToEntity(ZeroPaymentTransfer $zeroPaymentTransfer)
 {
     $entity = $this->queryContainer->createEntityZeroPayment();
     $entity->fromArray($zeroPaymentTransfer->toArray());
     return $entity;
 }
 /**
  * @param int $fkSalesOrder
  * @return \Orm\Zed\ZeroPayment\Persistence\PavZeroPayment|null
  */
 public function findZeroPaymentByFkSalesOrder($fkSalesOrder)
 {
     return $this->queryContainer->createQueryZeroPaymentByFkSalesOrder($fkSalesOrder)->findOne();
 }