Uses of Enum Class
dev.hloth.zgztransport.CardType
-
Uses of CardType in dev.hloth.zgztransport
Methods in dev.hloth.zgztransport that return CardTypeModifier and TypeMethodDescriptionCard.cardType()Returns the value of thecardTyperecord component.JourneySummary.cardType()Returns the value of thecardTyperecord component.Transaction.cardType()Returns the value of thecardTyperecord component.static CardTypeCardType.decode(byte[] block) Decodes block 1, which says which product a card is.static CardTypeCardType.ofFirstByte(int firstByte) The product whose first byte is the one given, as transactions carry it.static CardTypeCardType.ofValue(int value) The product with those three bytes.static CardTypeReturns the enum constant of this class with the specified name.static CardType[]CardType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.hloth.zgztransport with parameters of type CardTypeModifier and TypeMethodDescriptionConstructors in dev.hloth.zgztransport with parameters of type CardTypeModifierConstructorDescriptionCard(Uid uid, CardType cardType, CardId id, Balance balance, List<Transaction> transactions, Optional<JourneySummary> journeySummary, List<Product> products) Checks that every field is present and copies the lists.JourneySummary(Optional<JourneySummary.Leg> previous, JourneySummary.LastPaid lastPaidAt, int consecutivePayments, CardType cardType, boolean free, Route route, Direction direction, int transfersLeft) Checks the ranges of the numeric fields and that the others are present.Transaction(CardType cardType, int networkFlag, int amount, int consecutivePayments, Stop stop, Route route, TransactionKind kind, int runCounter, CardDateTime createdAt, int sequence) Checks the ranges of the numeric fields and that the others are present.