Card
in package
implements
ICard
Table of Contents
Interfaces
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
$cvv
private
mixed
$cvv
$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
stringgetCvv()
Get the value of Cvv.
public
getCvv() : string
Return values
stringgetExpiry()
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
stringgetLastName()
Get the value of Last Name.
public
getLastName() : string
Return values
stringgetNumber()
Get the value of Number.
public
getNumber() : string
Return values
stringgetProps()
public
getProps() : mixed
setClient()
Set the value of Client.
public
setClient(string $client) : self
Parameters
- $client : string
Return values
selfsetCvv()
Set the value of Cvv.
public
setCvv(string $cvv) : self
Parameters
- $cvv : string
Return values
selfsetExpiry()
Set the value of Expiry.
public
setExpiry(string $expiry) : self
Parameters
- $expiry : string
Return values
selfsetFirstName()
Set the value of First Name.
public
setFirstName(string $first_name) : self
Parameters
- $first_name : string
Return values
selfsetLastName()
Set the value of Last Name.
public
setLastName(string $last_name) : self
Parameters
- $last_name : string
Return values
selfsetNumber()
Set the value of Number.
public
setNumber(string $number) : self
Parameters
- $number : string
Return values
selfsetProps()
public
setProps(mixed $datas) : mixed
Parameters
- $datas : mixed
normalizeProperty()
private
normalizeProperty(mixed $name) : mixed
Parameters
- $name : mixed