21 lines
816 B
PHP
21 lines
816 B
PHP
<?php
|
|
|
|
namespace App\Interfaces;
|
|
|
|
use App\Entities\Customer\ServiceEntity;
|
|
use App\Entities\Equipment\ServerPartEntity;
|
|
use App\Entities\PaymentEntity;
|
|
|
|
interface PaymentInterface
|
|
{
|
|
//서비스 결제(월과금 서비스 사용)
|
|
public function createForService(ServiceEntity $serviceEntity): PaymentEntity;
|
|
public function updateForService(ServiceEntity $serviceEntity): PaymentEntity;
|
|
public function unlinkFromService(ServiceEntity $serviceEntity): PaymentEntity;
|
|
|
|
//서버 파트 결제(파트/기타 일회성 서비스 사용)
|
|
public function createForServerPart(ServerPartEntity $serverPartEntity): PaymentEntity;
|
|
public function updateForServerPart(ServerPartEntity $serverPartEntity): PaymentEntity;
|
|
public function unlinkFromServerPart(ServerPartEntity $serverPartEntity): PaymentEntity;
|
|
}
|