Credit Card Details
$creditCard->token
The credit card token. If you didn’t specify a token when the credit card was created, the gateway will generate a 4-character alphanumeric token.
String Attributes
$creditCard->bin- the first 6 digits of the credit card number”$creditCard->cardType$creditCard->cardholderName$creditCard->customerId- the ID of the customer this credit card is associated to$creditCard->expirationMonth- formatted as MM$creditCard->expirationYear- formatted as YYYY$creditCard->expirationDate- MM/YYYY”$creditCard->last4- last four digits of the number$creditCard->maskedNumber- the bin, six asterisks, and the last 4
Boolean Attributes
$creditCard->isDefault()
Timestamps
$creditCard->createdAt$creditCard->updatedAt
Associations
$creditCard->subscriptions
An array of subscriptions associated to the credit card.
$creditCard->billingAddress
The billing address that is attached to this card.