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/CreditCardToken.php
Ganesh Hegde 11f91adee4 updated stubs
2013-05-27 11:53:45 +05:30

103 lines
2.4 KiB
PHP

<?php
namespace PayPal\Api;
class CreditCardToken extends \PPModel {
/**
* ID of a previously saved Credit Card resource using /vault/credit-card API.
* @param string $credit_card_id
*/
public function setCreditCardId($credit_card_id) {
$this->credit_card_id = $credit_card_id;
}
/**
* ID of a previously saved Credit Card resource using /vault/credit-card API.
* @return string
*/
public function getCreditCardId() {
return $this->credit_card_id;
}
/**
* The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
* @param string $payer_id
*/
public function setPayerId($payer_id) {
$this->payer_id = $payer_id;
}
/**
* The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
* @return string
*/
public function getPayerId() {
return $this->payer_id;
}
/**
* Last 4 digits of the card number from the saved card.
* @param string $last4
*/
public function setLast4($last4) {
$this->last4 = $last4;
}
/**
* Last 4 digits of the card number from the saved card.
* @return string
*/
public function getLast4() {
return $this->last4;
}
/**
* Type of the Card (eg. visa, mastercard, etc.) from the saved card. Please note that the values are always in lowercase and not meant to be used directly for display.
* @param string $type
*/
public function setType($type) {
$this->type = $type;
}
/**
* Type of the Card (eg. visa, mastercard, etc.) from the saved card. Please note that the values are always in lowercase and not meant to be used directly for display.
* @return string
*/
public function getType() {
return $this->type;
}
/**
* card expiry month from the saved card with value 1 - 12
* @param integer $expire_month
*/
public function setExpireMonth($expire_month) {
$this->expire_month = $expire_month;
}
/**
* card expiry month from the saved card with value 1 - 12
* @return integer
*/
public function getExpireMonth() {
return $this->expire_month;
}
/**
* 4 digit card expiry year from the saved card
* @param integer $expire_year
*/
public function setExpireYear($expire_year) {
$this->expire_year = $expire_year;
}
/**
* 4 digit card expiry year from the saved card
* @return integer
*/
public function getExpireYear() {
return $this->expire_year;
}
}