CardType

@objc
public enum CardType : Int, Codable

Indicator for the type of card.

  • Fuel card.

    Declaration

    Swift

    case fuel
  • Debit card.

    Declaration

    Swift

    case debit
  • Credit card.

    Declaration

    Swift

    case credit
  • Unknown card used.

    Declaration

    Swift

    case unknown
  • Used to print the debug content of the object

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Used to parse the response from the server.

    Declaration

    Swift

    public init(from decoder: Decoder) throws