30 lines
636 B
PHP
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();
|
|
}
|
|
} |