Use PaymentCard instead of CreditCard

- Fixed deprecation messages.
- Fixes #639.
- Fixes #648.
- Updated Samples.
This commit is contained in:
Jay Patel
2016-10-17 17:12:07 -05:00
parent 3f98d9f182
commit ae31151ba3
7 changed files with 29 additions and 28 deletions

View File

@@ -21,6 +21,7 @@ class FundingInstrument extends PayPalModel
* Credit Card instrument.
*
* @param \PayPal\Api\CreditCard $credit_card
* @deprecated Please use #setPaymentCard instead
*
* @return $this
*/
@@ -34,6 +35,8 @@ class FundingInstrument extends PayPalModel
* Credit Card instrument.
*
* @return \PayPal\Api\CreditCard
* @deprecated Please use #setPaymentCard instead
*
*/
public function getCreditCard()
{
@@ -66,7 +69,6 @@ class FundingInstrument extends PayPalModel
/**
* Payment Card information.
*
* @deprecated Not publicly available
* @param \PayPal\Api\PaymentCard $payment_card
*
* @return $this
@@ -80,7 +82,6 @@ class FundingInstrument extends PayPalModel
/**
* Payment Card information.
*
* @deprecated Not publicly available
* @return \PayPal\Api\PaymentCard
*/
public function getPaymentCard()