forked from LiveCarta/PayPal-PHP-SDK
78 lines
1.7 KiB
PHP
78 lines
1.7 KiB
PHP
<?php
|
|
namespace PayPal\Api;
|
|
|
|
use PayPal\Common\PPModel;
|
|
|
|
class FundingInstrument extends PPModel {
|
|
/**
|
|
* Credit Card information.
|
|
* @param PayPal\Api\CreditCard $credit_card
|
|
*/
|
|
public function setCreditCard($credit_card) {
|
|
$this->credit_card = $credit_card;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Credit Card information.
|
|
* @return PayPal\Api\CreditCard
|
|
*/
|
|
public function getCreditCard() {
|
|
return $this->credit_card;
|
|
}
|
|
|
|
/**
|
|
* 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;
|
|
}
|
|
/**
|
|
* Credit Card information.
|
|
* @return PayPal\Api\CreditCard
|
|
* @deprecated. Instead use getCreditCard
|
|
*/
|
|
public function getCredit_card() {
|
|
return $this->credit_card;
|
|
}
|
|
|
|
/**
|
|
* Credit Card information.
|
|
* @param PayPal\Api\CreditCardToken $credit_card_token
|
|
*/
|
|
public function setCreditCardToken($credit_card_token) {
|
|
$this->credit_card_token = $credit_card_token;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Credit Card information.
|
|
* @return PayPal\Api\CreditCardToken
|
|
*/
|
|
public function getCreditCardToken() {
|
|
return $this->credit_card_token;
|
|
}
|
|
|
|
/**
|
|
* 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;
|
|
}
|
|
/**
|
|
* Credit Card information.
|
|
* @return PayPal\Api\CreditCardToken
|
|
* @deprecated. Instead use getCreditCardToken
|
|
*/
|
|
public function getCredit_card_token() {
|
|
return $this->credit_card_token;
|
|
}
|
|
|
|
}
|