DataCreditCard
in package
implements
Data
Define payment method
Tags
Interfaces, Classes, Traits and Enums
- Data
- Define payment method
Table of Contents
- $brand : string
- The brand like Visa, v, V A map in the related frontend lib should decide what to show
- $expire_month : string
- The month the card expires in
- $expire_year : string
- The 4 digit year the card expires in
- $last4 : string
- The last 4 digits of the card number
- $type : int
- System type
- CanMigrate() : bool
- Can be migrated to other system
- ExpireIn() : int
- Expires in seconds
- Type() : int
- One of the system data type constants
Properties
$brand
The brand like Visa, v, V A map in the related frontend lib should decide what to show
public
string
$brand
$expire_month
The month the card expires in
public
string
$expire_month
$expire_year
The 4 digit year the card expires in
public
string
$expire_year
$last4
The last 4 digits of the card number
public
string
$last4
$type
System type
public
int
$type
= \FAA\Interfaces\PaymentMethod\AccountType::CREDIT_CARD
Methods
CanMigrate()
Can be migrated to other system
public
CanMigrate() : bool
Return values
bool —ExpireIn()
Expires in seconds
public
ExpireIn() : int
Return values
int —Type()
One of the system data type constants
public
Type() : int