Location: PHPKode > scripts > PayPal PHP SDK > rest-api-sdk-php-0.7.0/lib/PayPal/Api/FundingInstrument.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;
	}

}
Return current item: PayPal PHP SDK