Documentation

Card
in package
implements ICard

Table of Contents

Interfaces

ICard

Properties

$client  : mixed
$cvv  : mixed
$expiry  : mixed
$first_name  : mixed
$last_name  : mixed
$number  : mixed

Methods

__construct()  : mixed
getClient()  : string
Get the value of Client.
getCvv()  : string
Get the value of Cvv.
getExpiry()  : array<string|int, mixed>
Get the value of Expiry.
getExpiryMonth()  : mixed
getExpiryYear()  : mixed
getFirstName()  : string
Get the value of First Name.
getLastName()  : string
Get the value of Last Name.
getNumber()  : string
Get the value of Number.
getProps()  : mixed
setClient()  : self
Set the value of Client.
setCvv()  : self
Set the value of Cvv.
setExpiry()  : self
Set the value of Expiry.
setFirstName()  : self
Set the value of First Name.
setLastName()  : self
Set the value of Last Name.
setNumber()  : self
Set the value of Number.
setProps()  : mixed
normalizeProperty()  : mixed

Properties

$client

private mixed $client

$expiry

private mixed $expiry

$first_name

private mixed $first_name

$last_name

private mixed $last_name

$number

private mixed $number

Methods

__construct()

public __construct() : mixed

getClient()

Get the value of Client.

public getClient() : string
Return values
string

getCvv()

Get the value of Cvv.

public getCvv() : string
Return values
string

getExpiry()

Get the value of Expiry.

public getExpiry() : array<string|int, mixed>
Return values
array<string|int, mixed>

getExpiryMonth()

public getExpiryMonth() : mixed

getExpiryYear()

public getExpiryYear() : mixed

getFirstName()

Get the value of First Name.

public getFirstName() : string
Return values
string

getLastName()

Get the value of Last Name.

public getLastName() : string
Return values
string

getNumber()

Get the value of Number.

public getNumber() : string
Return values
string

getProps()

public getProps() : mixed

setClient()

Set the value of Client.

public setClient(string $client) : self
Parameters
$client : string
Return values
self

setCvv()

Set the value of Cvv.

public setCvv(string $cvv) : self
Parameters
$cvv : string
Return values
self

setExpiry()

Set the value of Expiry.

public setExpiry(string $expiry) : self
Parameters
$expiry : string
Return values
self

setFirstName()

Set the value of First Name.

public setFirstName(string $first_name) : self
Parameters
$first_name : string
Return values
self

setLastName()

Set the value of Last Name.

public setLastName(string $last_name) : self
Parameters
$last_name : string
Return values
self

setNumber()

Set the value of Number.

public setNumber(string $number) : self
Parameters
$number : string
Return values
self

setProps()

public setProps(mixed $datas) : mixed
Parameters
$datas : mixed

normalizeProperty()

private normalizeProperty(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results