Card
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
Get array with mapping which property is object and what type of object.
Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.
Details
in
Dto at line 15
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.
in
Dto at line 25
array
GetDependsObjects()
Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.
array
GetReadOnlyProperties()
Get array with read-only properties
__construct(string $id = null)
Construct