ATTRIBUTES

account_number

expiration

A DateTime object, you should construct it by passing a hashref with keys for month, and year, it will actually contain the last day of that month/year.

security_code

The 3 digit security number on the back of the card.

holder

The full name of the card holder as printed on the card.

is_expired

Boolean, returns true if the card is older than expiration date plus one day. This is done to compensate for unknown issuer time zones as we can't be sure that all issuers shut cards of on the first of every month UTC. In fact I have been told that some issuers will allow renewed cards to be run with expired dates. Use this at your discretion.