Interface QRCodeData
-
public interface QRCodeData
Object that hold all the data necessary to generate a QR Code symbol for a payment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getCardAliasAid()
It contains the alternate card AID that was used for the QR Code generationbyte[]
getCardAliasAppTemplate()
It contains the alternate card application template.byte[]
getCardMainAid()
It contains the main AID that was used for the QR Code generationbyte[]
getCardMainAppTemplate()
It contains the main card application template.byte[]
getChipDataField()
It contains data needed for the QR Code generation.byte[]
getCID()
The Cryptogram Information Data.byte[]
getCommonDataTemplate()
It contains the Common Data Templatebyte[]
getCondensedPaymentData()
It contains the Condensed Payment Databyte[]
getQrcBuffer()
byte[]
getStatusWord()
The current Status Word associated with the QR Code generation process.byte[]
getTransactionId()
void
wipe()
Clear all the data in memory.
-
-
-
Method Detail
-
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()
-
-