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 Payer extends PPModel {
/**
* Payment method being used - PayPal Wallet payment or Direct Credit card.
*
* @param string $payment_method
*/
public function setPaymentMethod($payment_method) {
@@ -15,6 +17,7 @@ class Payer extends PPModel {
/**
* Payment method being used - PayPal Wallet payment or Direct Credit card.
*
* @return string
*/
public function getPaymentMethod() {
@@ -23,6 +26,7 @@ class Payer extends PPModel {
/**
* Payment method being used - PayPal Wallet payment or Direct Credit card.
*
* @param string $payment_method
* @deprecated. Instead use setPaymentMethod
*/
@@ -32,6 +36,7 @@ class Payer extends PPModel {
}
/**
* Payment method being used - PayPal Wallet payment or Direct Credit card.
*
* @return string
* @deprecated. Instead use getPaymentMethod
*/
@@ -41,6 +46,7 @@ class Payer extends PPModel {
/**
* List of funding instruments from where the funds of the current payment come from. Typically a credit card.
*
* @array
* @param PayPal\Api\FundingInstrument $funding_instruments
*/
@@ -51,6 +57,7 @@ class Payer extends PPModel {
/**
* List of funding instruments from where the funds of the current payment come from. Typically a credit card.
*
* @return PayPal\Api\FundingInstrument
*/
public function getFundingInstruments() {
@@ -59,6 +66,7 @@ class Payer extends PPModel {
/**
* List of funding instruments from where the funds of the current payment come from. Typically a credit card.
*
* @array
* @param PayPal\Api\FundingInstrument $funding_instruments
* @deprecated. Instead use setFundingInstruments
@@ -69,6 +77,7 @@ class Payer extends PPModel {
}
/**
* List of funding instruments from where the funds of the current payment come from. Typically a credit card.
*
* @return PayPal\Api\FundingInstrument
* @deprecated. Instead use getFundingInstruments
*/
@@ -78,6 +87,7 @@ class Payer extends PPModel {
/**
* Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
*
* @param PayPal\Api\PayerInfo $payer_info
*/
public function setPayerInfo($payer_info) {
@@ -87,6 +97,7 @@ class Payer extends PPModel {
/**
* Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
*
* @return PayPal\Api\PayerInfo
*/
public function getPayerInfo() {
@@ -95,6 +106,7 @@ class Payer extends PPModel {
/**
* Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
*
* @param PayPal\Api\PayerInfo $payer_info
* @deprecated. Instead use setPayerInfo
*/
@@ -104,6 +116,7 @@ class Payer extends PPModel {
}
/**
* Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
*
* @return PayPal\Api\PayerInfo
* @deprecated. Instead use getPayerInfo
*/