PHP interface outlining methods for credit card data handling in payment integrations.
// Source: https://github.com/Payum/Payum | License: MIT | Copyright 2012-2015 Maksim Kotlyar
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Payum\Core\Model;
use DateTime;
use Payum\Core\Security\SensitiveValue;
interface CreditCardInterface
{
/**
* @return string
*/
public function getToken();
/**
* @param string $token
*/
public function setToken($token);
/**
* @return string
*/
public function getBrand();
/**
* @param string $brand
*/
public function setBrand($brand);
/**
* @return string
*/
public function getHolder();
/**
* @param string|SensitiveValue $holder
*/
public function setHolder($holder);
/**
* @param string $maskedH
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key