public class ReceiptSource
extends java.lang.Object
Constructor and Description |
---|
ReceiptSource(long primaryId,
long secondaryId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getPrimaryId()
Returns Receipt source primary id
|
long |
getSecondaryId()
Returns Receipt source secondary id
|
byte[] |
serialize()
Serialize receipt and returns receipt bytes
|
public ReceiptSource(long primaryId, long secondaryId)
primaryId
- Receipt source primary idsecondaryId
- Receipt source secondary idpublic long getPrimaryId()
public long getSecondaryId()
public byte[] serialize()