pt_BR/Payment.php

Faker · src/Faker/Provider/pt_BR/Payment.php · php · MIT
payments

Module exposing: Payment

// Source: https://github.com/fzaninotto/Faker | License: MIT | Copyright 2011 François Zaninotto
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace Faker\Provider\pt_BR;

class Payment extends \Faker\Provider\Payment
{
    protected static $cardVendors = array(
        'Visa', 'Visa', 'Visa', 'Visa', 'Visa',
        'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard',
        'American Express', 'Discover Card', 'Diners', 'Elo', 'Hipercard'
    );

    // see https://gist.github.com/erikhenrique/5931368 / http://pt.stackoverflow.com/q/3715/26461
    protected static $cardParams = array(
        'Visa' => array(
            "4##############"
        ),
        'MasterCard' => array(
            "5##############"
        ),
        'American E

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key