Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #134 from bigwhoop/fix_invoice_executecall_php53
Browse files Browse the repository at this point in the history
\PayPal\Api\Invoice: Added missing $headers argument in \PayPal\Common\ResourceModel::executeCall() calls
  • Loading branch information
Jay committed Oct 15, 2014
2 parents 8e19366 + f1a089e commit dcc147a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/PayPal/Api/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ public function create($apiContext = null, $restCall = null)
"/v1/invoicing/invoices",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -869,6 +870,7 @@ public function search($search, $apiContext = null, $restCall = null)
"/v1/invoicing/search",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -892,6 +894,7 @@ public function send($apiContext = null, $restCall = null)
"/v1/invoicing/invoices/{$this->getId()}/send",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -915,6 +918,7 @@ public function remind($notification, $apiContext = null, $restCall = null)
"/v1/invoicing/invoices/{$this->getId()}/remind",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -938,6 +942,7 @@ public function cancel($cancelNotification, $apiContext = null, $restCall = null
"/v1/invoicing/invoices/{$this->getId()}/cancel",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -961,6 +966,7 @@ public function record_payment($paymentDetail, $apiContext = null, $restCall = n
"/v1/invoicing/invoices/{$this->getId()}/record-payment",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -984,6 +990,7 @@ public function record_refund($refundDetail, $apiContext = null, $restCall = nul
"/v1/invoicing/invoices/{$this->getId()}/record-refund",
"POST",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -1006,6 +1013,7 @@ public static function get($invoiceId, $apiContext = null, $restCall = null)
"/v1/invoicing/invoices/$invoiceId",
"GET",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -1028,6 +1036,7 @@ public static function get_all($apiContext = null, $restCall = null)
"/v1/invoicing/invoices/",
"GET",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -1051,6 +1060,7 @@ public function update($apiContext = null, $restCall = null)
"/v1/invoicing/invoices/{$this->getId()}",
"PUT",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand All @@ -1073,6 +1083,7 @@ public function delete($apiContext = null, $restCall = null)
"/v1/invoicing/invoices/{$this->getId()}",
"DELETE",
$payLoad,
array(),
$apiContext,
$restCall
);
Expand Down

0 comments on commit dcc147a

Please sign in to comment.