class Payment extends Payment (View source)

Properties

protected $generator from  Base
protected $unique from  Base
static $expirationDateFormat from  Payment
static protected $cardVendors from  Payment
static protected $cardParams from  Payment
static protected $ibanFormats from  Payment

Methods

__construct(Generator $generator)

No description

from  Base
static 
randomDigit()

No description

from  Base
static 
randomDigitNotNull()

No description

from  Base
static 
randomNumber($nbDigits = null, $strict = false)

No description

from  Base
static 
randomFloat($nbMaxDecimals = null, $min = 0, $max = null)

No description

from  Base
static 
numberBetween($min = 0, $max = 2147483647)

No description

from  Base
static 
randomLetter()

No description

from  Base
static 
randomAscii()

No description

from  Base
static 
randomElements(array $array = ['a', 'b', 'c'], $count = 1)

No description

from  Base
static 
randomElement($array = ['a', 'b', 'c'])

No description

from  Base
static 
randomKey(array $array = [])

No description

from  Base
static 
shuffle($arg = '')

No description

from  Base
static 
shuffleArray($array = [])

No description

from  Base
static 
shuffleString($string = '', $encoding = 'UTF-8')

No description

from  Base
static 
numerify($string = '###')

No description

from  Base
static 
lexify($string = '????')

No description

from  Base
static 
bothify($string = '## ??')

No description

from  Base
static 
asciify($string = '****')

No description

from  Base
static 
regexify($regex = '')

No description

from  Base
static 
toLower($string = '')

No description

from  Base
static 
toUpper($string = '')

No description

from  Base
optional($weight = 0.5, $default = null)

No description

from  Base
unique($reset = false, $max_retries = 10000)

No description

from  Base
static 
eachEvery($array)

No description

from  Base
static 
creditCardType()

No description

from  Payment
static 
creditCardNumber($type = null, $formatted = false, $separator = '-')

No description

from  Payment
creditCardExpirationDate($valid = true)

No description

from  Payment
creditCardExpirationDateString($valid = true, $expirationDateFormat = null)

No description

from  Payment
creditCardDetails($valid = true)

No description

from  Payment
static 
iban($countryCode, $prefix = '', $length = null)

No description

from  Payment
static 
addBankCodeChecksum($iban, $countryCode = '')

No description

from  Payment
static 
swiftBicNumber()

No description

from  Payment
bankAccountNumber()

No description

bankRoutingNumber()

No description

static 
calculateRoutingNumberChecksum($routing)

No description

Details

__construct(Generator $generator)

No description

Parameters

Generator $generator

static randomDigit()

No description

static randomDigitNotNull()

No description

static randomNumber($nbDigits = null, $strict = false)

No description

Parameters

$nbDigits
$strict

static randomFloat($nbMaxDecimals = null, $min = 0, $max = null)

No description

Parameters

$nbMaxDecimals
$min
$max

static numberBetween($min = 0, $max = 2147483647)

No description

Parameters

$min
$max

static randomLetter()

No description

static randomAscii()

No description

static randomElements(array $array = ['a', 'b', 'c'], $count = 1)

No description

Parameters

array $array
$count

static randomElement($array = ['a', 'b', 'c'])

No description

Parameters

$array

static randomKey(array $array = [])

No description

Parameters

array $array

static shuffle($arg = '')

No description

Parameters

$arg

static shuffleArray($array = [])

No description

Parameters

$array

static shuffleString($string = '', $encoding = 'UTF-8')

No description

Parameters

$string
$encoding

static numerify($string = '###')

No description

Parameters

$string

static lexify($string = '????')

No description

Parameters

$string

static bothify($string = '## ??')

No description

Parameters

$string

static asciify($string = '****')

No description

Parameters

$string

static regexify($regex = '')

No description

Parameters

$regex

static toLower($string = '')

No description

Parameters

$string

static toUpper($string = '')

No description

Parameters

$string

optional($weight = 0.5, $default = null)

No description

Parameters

$weight
$default

unique($reset = false, $max_retries = 10000)

No description

Parameters

$reset
$max_retries

static protected eachEvery($array)

No description

Parameters

$array

static creditCardType()

No description

static creditCardNumber($type = null, $formatted = false, $separator = '-')

No description

Parameters

$type
$formatted
$separator

creditCardExpirationDate($valid = true)

No description

Parameters

$valid

creditCardExpirationDateString($valid = true, $expirationDateFormat = null)

No description

Parameters

$valid
$expirationDateFormat

creditCardDetails($valid = true)

No description

Parameters

$valid

static protected iban($countryCode, $prefix = '', $length = null)

No description

Parameters

$countryCode
$prefix
$length

static protected addBankCodeChecksum($iban, $countryCode = '')

No description

Parameters

$iban
$countryCode

static swiftBicNumber()

No description

bankAccountNumber()

No description

bankRoutingNumber()

No description

static calculateRoutingNumberChecksum($routing)

No description

Parameters

$routing