Expiration

constructor(month: Int, year: Int, isExpired: Boolean, formatted: String)

Parameters

month

Expiration month.

year

Expiration year as a four digits number.

isExpired

Indicates whether the expiration date has past, making the card expired.

formatted

Formatted month and year.