Support Invoice APIs

This commit is contained in:
siddick
2014-03-28 20:34:07 +05:30
parent 5b01b235ae
commit a3aba308f4
52 changed files with 5921 additions and 19 deletions

View File

@@ -2,10 +2,12 @@
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Rest\ApiContext;
class PaymentExecution extends PPModel {
/**
* PayPal assigned Payer ID returned in the approval return url.
*
* @param string $payer_id
*/
public function setPayerId($payer_id) {
@@ -15,6 +17,7 @@ class PaymentExecution extends PPModel {
/**
* PayPal assigned Payer ID returned in the approval return url.
*
* @return string
*/
public function getPayerId() {
@@ -23,6 +26,7 @@ class PaymentExecution extends PPModel {
/**
* PayPal assigned Payer ID returned in the approval return url.
*
* @param string $payer_id
* @deprecated. Instead use setPayerId
*/
@@ -32,6 +36,7 @@ class PaymentExecution extends PPModel {
}
/**
* PayPal assigned Payer ID returned in the approval return url.
*
* @return string
* @deprecated. Instead use getPayerId
*/
@@ -41,6 +46,7 @@ class PaymentExecution extends PPModel {
/**
* If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
*
* @array
* @param PayPal\Api\Transactions $transactions
*/
@@ -51,6 +57,7 @@ class PaymentExecution extends PPModel {
/**
* If the amount needs to be updated after obtaining the PayPal Payer info (eg. shipping address), it can be updated using this element.
*
* @return PayPal\Api\Transactions
*/
public function getTransactions() {