Interface QRCodeData
public interface QRCodeData
Object that hold all the data necessary to generate a QR Code symbol for a payment.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]It contains the alternate card AID that was used for the QR Code generationbyte[]It contains the alternate card application template.byte[]It contains the main AID that was used for the QR Code generationbyte[]It contains the main card application template.byte[]It contains data needed for the QR Code generation.byte[]getCID()The Cryptogram Information Data.byte[]It contains the Common Data Templatebyte[]It contains the Condensed Payment Databyte[]byte[]The current Status Word associated with the QR Code generation process.byte[]voidwipe()Clear all the data in memory.
-
Method Details
-
getStatusWord
byte[] getStatusWord()The current Status Word associated with the QR Code generation process.- Returns:
- byte array of 2 bytes representing the Status Word value.
For example, if the status code is '9000', the byte array will be constructed as the following:
byte[0] = 0x90 byte[1] = 0x00
-
getCID
byte[] getCID()The Cryptogram Information Data. It contains values that determine if a Card Holder Verification must be performed before generating a QR Code- Returns:
- a byte array representing the state of the Card Holder Verification process.
-
getChipDataField
byte[] getChipDataField()It contains data needed for the QR Code generation. The data is formatted in a BER-TLV format according to the QR Code EMV specification.- Returns:
- a byte array representing the Chip Data Field.
-
getCondensedPaymentData
byte[] getCondensedPaymentData()It contains the Condensed Payment Data- Returns:
- the Condensed Payment Data
-
getCardMainAid
byte[] getCardMainAid()It contains the main AID that was used for the QR Code generation- Returns:
- the main card AID
-
getCardMainAppTemplate
byte[] getCardMainAppTemplate()It contains the main card application template. This data is derived from the card profile.- Returns:
- the main card Application Template
-
getCardAliasAid
byte[] getCardAliasAid()It contains the alternate card AID that was used for the QR Code generation- Returns:
- the alternate card AID
-
getCardAliasAppTemplate
byte[] getCardAliasAppTemplate()It contains the alternate card application template. This data is derived from the card profile.- Returns:
- the alternate card Application Template
-
getCommonDataTemplate
byte[] getCommonDataTemplate()It contains the Common Data Template- Returns:
- the Common Data Template
-
wipe
void wipe()Clear all the data in memory. -
getQrcBuffer
byte[] getQrcBuffer() -
getTransactionId
byte[] getTransactionId()
-