public final class SvGetRespPars extends AbstractPoResponseParser
| Constructor and Description |
|---|
SvGetRespPars(byte[] svCommandHeader,
org.eclipse.keyple.core.card.message.ApduResponse response,
SvGetCmdBuild builder)
Constructor to build a parser of the SvGet command response.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBalance()
Gets the current SV balance
|
byte[] |
getChallengeOut()
Gets the new challenge value generated by the command
|
byte |
getCurrentKVC()
Gets the current SV KVC
|
SvDebitLogRecord |
getDebitLog()
Gets a
SvDebitLogRecord containing the last debit record May return null if the debit record is not available (load case for PO rev < 3.2) |
SvLoadLogRecord |
getLoadLog()
Gets a
SvLoadLogRecord containing the load record May return null if the load record is not available (debit/undebit case for PO rev < 3.2) |
byte[] |
getPreviousSignatureLo()
Gets the SignatureLo value of the last SV transaction (reload, debit, undebit)
|
protected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> |
getStatusTable() |
byte[] |
getSvGetCommandHeader()
Gets the command header used to build the prepare load/debit/undebit SAM commands
|
int |
getTransactionNumber()
Gets the SV transaction number
|
buildCommandException, checkStatus, getBuilderpublic SvGetRespPars(byte[] svCommandHeader,
org.eclipse.keyple.core.card.message.ApduResponse response,
SvGetCmdBuild builder)
svCommandHeader - the SvGet command header bytesresponse - response to parsebuilder - the reference to the builder that created this parserprotected java.util.Map<java.lang.Integer,org.eclipse.keyple.core.card.command.AbstractApduResponseParser.StatusProperties> getStatusTable()
getStatusTable in class org.eclipse.keyple.core.card.command.AbstractApduResponseParserpublic byte[] getSvGetCommandHeader()
public byte getCurrentKVC()
public int getTransactionNumber()
public byte[] getPreviousSignatureLo()
public byte[] getChallengeOut()
public int getBalance()
public SvLoadLogRecord getLoadLog()
SvLoadLogRecord containing the load record SvLoadLogRecord object containing the log data or nullpublic SvDebitLogRecord getDebitLog()
SvDebitLogRecord containing the last debit record SvDebitLogRecord object containing the log data or null