From adbbd3281d7f90cf03d5e71d564495136f76a27b Mon Sep 17 00:00:00 2001 From: Philippe Gerber Date: Wed, 15 Oct 2014 22:18:37 +0200 Subject: [PATCH] \PayPal\Api\Invoice: Added missing $headers argument in \PayPal\Common\ResourceModel::executeCall() calls --- lib/PayPal/Api/Invoice.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/PayPal/Api/Invoice.php b/lib/PayPal/Api/Invoice.php index 65d8401..e80af0d 100644 --- a/lib/PayPal/Api/Invoice.php +++ b/lib/PayPal/Api/Invoice.php @@ -846,6 +846,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -869,6 +870,7 @@ class Invoice extends ResourceModel "/v1/invoicing/search", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -892,6 +894,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}/send", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -915,6 +918,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}/remind", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -938,6 +942,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}/cancel", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -961,6 +966,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}/record-payment", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -984,6 +990,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}/record-refund", "POST", $payLoad, + [], $apiContext, $restCall ); @@ -1006,6 +1013,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/$invoiceId", "GET", $payLoad, + [], $apiContext, $restCall ); @@ -1028,6 +1036,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/", "GET", $payLoad, + [], $apiContext, $restCall ); @@ -1051,6 +1060,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}", "PUT", $payLoad, + [], $apiContext, $restCall ); @@ -1073,6 +1083,7 @@ class Invoice extends ResourceModel "/v1/invoicing/invoices/{$this->getId()}", "DELETE", $payLoad, + [], $apiContext, $restCall );