#include <SvLoadLogRecord.h>
The class
contains the data of a Stored Value load log.
- Since
- 0.9
◆ SvLoadLogRecord()
keyple::calypso::transaction::SvLoadLogRecord::SvLoadLogRecord |
( |
const std::vector< uint8_t > & |
poResponse, |
|
|
const int |
offset |
|
) |
| |
Constructor
- Parameters
-
poResponse | the Sv Get or Read Record (SV Debit log file) response data |
offset | the load log offset in the response (may change from a PO to another) |
◆ getAmount()
int keyple::calypso::transaction::SvLoadLogRecord::getAmount |
( |
| ) |
const |
Gets the load amount
- Returns
- the amount value
- Since
- 0.9
◆ getBalance()
int keyple::calypso::transaction::SvLoadLogRecord::getBalance |
( |
| ) |
const |
Gets the SV balance
- Returns
- the balance value
- Since
- 0.9
◆ getFreeByte()
std::string keyple::calypso::transaction::SvLoadLogRecord::getFreeByte |
( |
| ) |
const |
Gets the free bytes as a String
- Returns
- the free value as an Ascii string
- Since
- 0.9
◆ getFreeByteBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getFreeByteBytes |
( |
| ) |
const |
Gets the free bytes
- Returns
- the free value as a 2-byte byte array
- Since
- 0.9
◆ getKvc()
uint8_t keyple::calypso::transaction::SvLoadLogRecord::getKvc |
( |
| ) |
const |
Gets the KVC of the load key (as given in the last SV Reload)
- Returns
- the KVC value
- Since
- 0.9
◆ getLoadDate()
int keyple::calypso::transaction::SvLoadLogRecord::getLoadDate |
( |
| ) |
const |
Gets the load date
- Returns
- the date value as an int
- Since
- 0.9
◆ getLoadDateBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getLoadDateBytes |
( |
| ) |
const |
Gets the load date
- Returns
- the date value as a 2-byte byte array
- Since
- 0.9
◆ getLoadTime()
int keyple::calypso::transaction::SvLoadLogRecord::getLoadTime |
( |
| ) |
const |
Gets the load time
- Returns
- the time value as an int
- Since
- 0.9
◆ getLoadTimeBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getLoadTimeBytes |
( |
| ) |
const |
Gets the load time
- Returns
- the time value as a 2-byte byte array
- Since
- 0.9
◆ getSamId()
uint32_t keyple::calypso::transaction::SvLoadLogRecord::getSamId |
( |
| ) |
const |
Gets the SAM ID
- Returns
- the SAM ID value as an int
- Since
- 0.9
◆ getSamIdBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getSamIdBytes |
( |
| ) |
const |
Gets the SAM ID
- Returns
- the SAM ID value as a 4-byte byte array
- Since
- 0.9
◆ getSamTNum()
int keyple::calypso::transaction::SvLoadLogRecord::getSamTNum |
( |
| ) |
const |
Gets the SAM transaction number
- Returns
- the SAM transaction number value as an int
- Since
- 0.9
◆ getSamTNumBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getSamTNumBytes |
( |
| ) |
const |
Gets the SAM transaction number
- Returns
- the SAM transaction number value as a 3-byte byte array
- Since
- 0.9
◆ getSvTNum()
int keyple::calypso::transaction::SvLoadLogRecord::getSvTNum |
( |
| ) |
const |
Gets the SV transaction number
- Returns
- the SV transaction number value as an int
- Since
- 0.9
◆ getSvTNumBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvLoadLogRecord::getSvTNumBytes |
( |
| ) |
const |
Gets the SV transaction number
- Returns
- the SV transaction number value as a 2-byte byte array
- Since
- 0.9
◆ toString()
const std::string keyple::calypso::transaction::SvLoadLogRecord::toString |
( |
| ) |
const |
- Returns
- a JSON formatted string with the debit log content
The documentation for this class was generated from the following files: