feat : refund

This commit is contained in:
2025-02-21 19:10:58 +08:00
parent ab0aff0d7f
commit 6754d2969e
17 changed files with 694 additions and 127 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Service\Amqp\Refund;
class RefundFactory
{
/**
* @return GoodOrderAllRefundService
*/
public function newGoodOrderRefundAll(): GoodOrderAllRefundService
{
return new GoodOrderAllRefundService();
}
/**
* @return GoodOrderPartRefundService
*/
public function newGoodOrderRefundPart(): GoodOrderPartRefundService
{
return new GoodOrderPartRefundService();
}
/**
* @return BalanceOrderRefundService
*/
public function newBalanceOrderRefund(): BalanceOrderRefundService
{
return new BalanceOrderRefundService();
}
}