Files
hyperf_service/app/Service/Amqp/Refund/RefundFactory.php
2025-02-21 19:10:58 +08:00

30 lines
636 B
PHP

<?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();
}
}