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

69 lines
1.3 KiB
PHP

<?php
namespace PayPal\Api;
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;
}
/**
* Deprecated method
*/
public function setCredit_card($credit_card) {
$this->credit_card = $credit_card;
return $this;
}
/**
* Deprecated method
*/
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;
}
/**
* Deprecated method
*/
public function setCredit_card_token($credit_card_token) {
$this->credit_card_token = $credit_card_token;
return $this;
}
/**
* Deprecated method
*/
public function getCredit_card_token() {
return $this->credit_card_token;
}
}