Updated stubs to support namespace

This commit is contained in:
Ganesh Hegde
2013-05-29 14:37:22 +05:30
parent 479730d1c4
commit 50d2c56f8b
37 changed files with 530 additions and 324 deletions

View File

@@ -1,8 +1,9 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
class Payer extends \PPModel {
class Payer extends PPModel {
/**
* Payment method being used - PayPal Wallet payment or Direct Credit card.
* @param string $payment_method
@@ -21,14 +22,18 @@ class Payer extends \PPModel {
}
/**
* Deprecated method
* Payment method being used - PayPal Wallet payment or Direct Credit card.
* @param string $payment_method
* @deprecated. Instead use setPaymentMethod
*/
public function setPayment_method($payment_method) {
$this->payment_method = $payment_method;
return $this;
}
/**
* Deprecated method
* Payment method being used - PayPal Wallet payment or Direct Credit card.
* @return string
* @deprecated. Instead use getPaymentMethod
*/
public function getPayment_method() {
return $this->payment_method;
@@ -53,14 +58,19 @@ class Payer extends \PPModel {
}
/**
* Deprecated method
* 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
*/
public function setFunding_instruments($funding_instruments) {
$this->funding_instruments = $funding_instruments;
return $this;
}
/**
* Deprecated method
* 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
*/
public function getFunding_instruments() {
return $this->funding_instruments;
@@ -84,14 +94,18 @@ class Payer extends \PPModel {
}
/**
* Deprecated method
* 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
*/
public function setPayer_info($payer_info) {
$this->payer_info = $payer_info;
return $this;
}
/**
* Deprecated method
* 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
*/
public function getPayer_info() {
return $this->payer_info;