forked from LiveCarta/PayPal-PHP-SDK
Updated stubs to support namespace
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user