class Card extends EntityBase (View source)

Card entity

Properties

string $Id from  EntityBase
string $Tag from  EntityBase
int $CreationDate from  EntityBase
string $ExpirationDate

Expiration date

string $Alias Alias
string $CardProvider CardProvider
string $UserId UserId
string $CardType

Card type

string $Product Product
string $BankCode

Bank code

string $Country Country
bool $Active Active
string $Currency Currency
string $Validity

Validity. For allowed values, see constants in MangoPay\CardValidity

string $Fingerprint

Card's fingerprint hash, unique per 16-digit card number

string $CardHolderName

The cardholder’s name shown on the payment card.

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read-only properties

__construct(string $id = null)

Construct

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read-only properties

Return Value

array

__construct(string $id = null)

Construct

Parameters

string $id

Entity identifier