|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaLoyaltyInterface
Shareable Loyalty Interface
Method Summary | |
---|---|
void |
grantPoints(byte[] buffer)
Used to ask JavaLoyalty Card applet to grant points. |
Method Detail |
---|
void grantPoints(byte[] buffer)
Only primitive values, global arrays and Shareable Interface Objects should be passed as parameters and results across a context switch. The byte array buffer is APDU buffer in classes implementing this interface. See Java Card Runtime Environment (JCRE) Specification for details.
The format of data in the buffer is subset of Transaction Log record format: 2 bytes of 0, 1 byte of transaction type, 2 bytes amount of transaction, 4 bytes of CAD ID, 3 bytes of date, and 2 bytes of time.
buffer
- Apdu buffer containing transaction data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |