diff --git a/src/Doctrine/ORM/RefundPaymentRepository.php b/src/Doctrine/ORM/RefundPaymentRepository.php new file mode 100644 index 000000000..8e532957f --- /dev/null +++ b/src/Doctrine/ORM/RefundPaymentRepository.php @@ -0,0 +1,31 @@ +createQueryBuilder('o') + ->innerJoin('o.order', 'ord') + ->andWhere('ord = :orderNumber') + ->setParameter('orderNumber', $orderNumber) + ->getQuery() + ->getResult() + ; + } +} diff --git a/src/Repository/RefundPaymentRepositoryInterface.php b/src/Repository/RefundPaymentRepositoryInterface.php new file mode 100644 index 000000000..abfdf4644 --- /dev/null +++ b/src/Repository/RefundPaymentRepositoryInterface.php @@ -0,0 +1,21 @@ +