ExpiryDate

data class ExpiryDate(val expiryMonth: Int, val expiryYear: Int)

Object representing an expiry date containing expiryMonth and expiryYear.

Constructors

Link copied to clipboard
constructor(expiryMonth: Int, expiryYear: Int)

Properties

Link copied to clipboard

The expiry month representing as an Int value (E.g 1 = January and 12 = December)

Link copied to clipboard

The expiry year representing as an Int value YYYY format. (E.g. 2021)