forked from LiveCarta/PayPal-PHP-SDK
Support Invoice APIs
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user