Created contract at Unity

This commit is contained in:
Fairuz
2021-07-26 13:14:43 +08:00
parent 06de032867
commit fde433d60c
6 changed files with 54 additions and 14 deletions
@@ -26,7 +26,7 @@ class ConfirmOrderProcessor
$this->fetchesOrder = $fetchesOrder;
}
public function execute(int $orderId){
public function execute(int $orderId, array $contract_obligation_list = []){
$order_object = new OrderObject(0,'','',0,0, '',$orderId);
@@ -34,7 +34,7 @@ class ConfirmOrderProcessor
$order = $this->fetchesOrder->execute(['id'=>$order_object->getId()]);
$this->generateOrderStepsProcessor->execute($order);
$this->generateOrderStepsProcessor->execute($order, $contract_obligation_list);
}
}