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 FundingInstrument extends \PPModel {
class FundingInstrument extends PPModel {
/**
* Credit Card information.
* @param PayPal\Api\CreditCard $credit_card
@@ -21,14 +22,18 @@ class FundingInstrument extends \PPModel {
}
/**
* Deprecated method
* Credit Card information.
* @param PayPal\Api\CreditCard $credit_card
* @deprecated. Instead use setCreditCard
*/
public function setCredit_card($credit_card) {
$this->credit_card = $credit_card;
return $this;
}
/**
* Deprecated method
* Credit Card information.
* @return PayPal\Api\CreditCard
* @deprecated. Instead use getCreditCard
*/
public function getCredit_card() {
return $this->credit_card;
@@ -52,14 +57,18 @@ class FundingInstrument extends \PPModel {
}
/**
* Deprecated method
* Credit Card information.
* @param PayPal\Api\CreditCardToken $credit_card_token
* @deprecated. Instead use setCreditCardToken
*/
public function setCredit_card_token($credit_card_token) {
$this->credit_card_token = $credit_card_token;
return $this;
}
/**
* Deprecated method
* Credit Card information.
* @return PayPal\Api\CreditCardToken
* @deprecated. Instead use getCreditCardToken
*/
public function getCredit_card_token() {
return $this->credit_card_token;