This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/FundingInstrument.php
japatel b011d17cde Removed Deprecated Getter and Setters
- Removed Deprecated Getter Setters from all Model Classes
- All Camelcase getters and setters are removed. Please use first letter uppercase syntax
- E.g. instead of using get_notify_url(), use getNotifyUrl() instead
2015-01-08 22:23:58 -06:00

186 lines
3.7 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class FundingInstrument
*
* A resource representing a Payer's funding instrument.
*
* @package PayPal\Api
*
* @property \PayPal\Api\CreditCard credit_card
* @property \PayPal\Api\CreditCardToken credit_card_token
* @property \PayPal\Api\PaymentCard payment_card
* @property \PayPal\Api\PaymentCardToken payment_card_token
* @property \PayPal\Api\ExtendedBankAccount bank_account
* @property \PayPal\Api\BankToken bank_account_token
* @property \PayPal\Api\Credit credit
*/
class FundingInstrument extends PayPalModel
{
/**
* Credit Card information.
*
* @param \PayPal\Api\CreditCard $credit_card
*
* @return $this
*/
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\CreditCardToken $credit_card_token
*
* @return $this
*/
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;
}
/**
* Payment Card information.
*
* @param \PayPal\Api\PaymentCard $payment_card
*
* @return $this
*/
public function setPaymentCard($payment_card)
{
$this->payment_card = $payment_card;
return $this;
}
/**
* Payment Card information.
*
* @return \PayPal\Api\PaymentCard
*/
public function getPaymentCard()
{
return $this->payment_card;
}
/**
* Payment card token information.
*
* @param \PayPal\Api\PaymentCardToken $payment_card_token
*
* @return $this
*/
public function setPaymentCardToken($payment_card_token)
{
$this->payment_card_token = $payment_card_token;
return $this;
}
/**
* Payment card token information.
*
* @return \PayPal\Api\PaymentCardToken
*/
public function getPaymentCardToken()
{
return $this->payment_card_token;
}
/**
* Bank Account information.
*
* @param \PayPal\Api\ExtendedBankAccount $bank_account
*
* @return $this
*/
public function setBankAccount($bank_account)
{
$this->bank_account = $bank_account;
return $this;
}
/**
* Bank Account information.
*
* @return \PayPal\Api\ExtendedBankAccount
*/
public function getBankAccount()
{
return $this->bank_account;
}
/**
* Bank Account information.
*
* @param \PayPal\Api\BankToken $bank_account_token
*
* @return $this
*/
public function setBankAccountToken($bank_account_token)
{
$this->bank_account_token = $bank_account_token;
return $this;
}
/**
* Bank Account information.
*
* @return \PayPal\Api\BankToken
*/
public function getBankAccountToken()
{
return $this->bank_account_token;
}
/**
* Credit funding information.
*
* @param \PayPal\Api\Credit $credit
*
* @return $this
*/
public function setCredit($credit)
{
$this->credit = $credit;
return $this;
}
/**
* Credit funding information.
*
* @return \PayPal\Api\Credit
*/
public function getCredit()
{
return $this->credit;
}
}