Class CreditCard
Credit Card class
This class extends the Omnipay's Credit Card allowing the addition of a new attribute "holder_document_number".
Example:
// Define credit card parameters, which should look like this $parameters = array( 'firstName' => 'Bobby', 'lastName' => 'Tables', 'number' => '4444333322221111', 'cvv' => '123', 'expiryMonth' => '12', 'expiryYear' => '2017', 'email' => 'testcard@gmail.com', 'holder_document_number' => '224.158.178-40' // CPF or CNPJ ); // Create a credit card object $card = new CreditCard($parameters);
- Omnipay\Common\CreditCard
- Omnipay\Pagarme\CreditCard
Methods summary
public
string
|
|
public
|