Class CommandResponse


  • public class CommandResponse
    extends Object
    Response of a CommandRequest send to the card. Immutable class
    • Constructor Detail

      • CommandResponse

        public CommandResponse​(int order,
                               ResponseType responseType,
                               String cardResponse,
                               String uid,
                               String atr)
        Create command response.
    • Method Detail

      • getOrder

        public int getOrder()
        Specifies the order of a CommandRequest/CommandResponse in the CommandRequestList/CommandResponseList.
      • getResponseType

        public ResponseType getResponseType()
        Defines the outcome type of the command response.
      • getCardResponse

        public String getCardResponse()
        Response received from card.
      • getUid

        public String getUid()
        UID of the card.
      • getAtr

        public String getAtr()
        Answer to reset information received from the card.