Expiry

public struct Expiry : Hashable

Expiry of the card.

Properties

  • mm

    Month specifier, in format MM. e.g. (7 == July).

    Declaration

    Swift

    public let mm: Int
  • Year specifier, in format YYYY. e.g. (2020 == Year 2020).

    Declaration

    Swift

    public let yyyy: Int

Lifecycle

  • Initialize an instance of Expiry.

    Declaration

    Swift

    public init(mm: Int, yyyy: Int)