diff --git a/src/LaravelPos.php b/src/LaravelPos.php index 0f21294..003ae2c 100644 --- a/src/LaravelPos.php +++ b/src/LaravelPos.php @@ -92,11 +92,12 @@ public function account(array $account) * Prepare Order * * @param array $order + * @param array [] $card * @return $this */ - public function prepare(array $order) + public function prepare(array $order, array $card = []) { - $this->pos->prepare($order); + $this->pos->prepare($order, $card); return $this; } @@ -104,10 +105,10 @@ public function prepare(array $order) /** * Payment * - * @param array $card + * @param array [] $card * @return $this */ - public function payment(array $card) + public function payment(array $card = []) { $this->pos->payment($card);