#include <SvDebitLogRecord.h>
The class
contains the data of a Stored Value debit log.
- Since
- 0.9
◆ SvDebitLogRecord()
keyple::calypso::transaction::SvDebitLogRecord::SvDebitLogRecord |
( |
const std::vector< uint8_t > & |
poResponse, |
|
|
const int |
offset |
|
) |
| |
Constructor
- Parameters
-
poResponse | the Sv Get or Read Record (SV Load log file) response data |
offset | the debit log offset in the response (may change from a PO to another) |
◆ getAmount()
int keyple::calypso::transaction::SvDebitLogRecord::getAmount |
( |
| ) |
const |
Gets the debit amount
- Returns
- the amount value
- Since
- 0.9
◆ getBalance()
int keyple::calypso::transaction::SvDebitLogRecord::getBalance |
( |
| ) |
const |
Gets the SV balance
- Returns
- the balance value
- Since
- 0.9
◆ getDebitDate()
int keyple::calypso::transaction::SvDebitLogRecord::getDebitDate |
( |
| ) |
const |
Gets the debit date
- Returns
- the date value as an int
- Since
- 0.9
◆ getDebitDateBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvDebitLogRecord::getDebitDateBytes |
( |
| ) |
const |
Gets the debit date
- Returns
- the date value as a 2-byte byte array
- Since
- 0.9
◆ getDebitTime()
int keyple::calypso::transaction::SvDebitLogRecord::getDebitTime |
( |
| ) |
const |
Gets the debit time
- Returns
- the time value as an int
- Since
- 0.9
◆ getDebitTimeBytes()
const std::vector< uint8_t > keyple::calypso::transaction::SvDebitLogRecord::getDebitTimeBytes |
( |
| ) |
const |
Gets the debit time
- Returns
- the time value as a 2-byte byte array
- Since
- 0.9
◆ getKvc()
uint8_t keyple::calypso::transaction::SvDebitLogRecord::getKvc |
( |
| ) |
const |
Gets the KVC of the load key (as given in the last SV Reload)
- Returns
- the KVC value
- Since
- 0.9
◆ getSamId()
uint32_t keyple::calypso::transaction::SvDebitLogRecord::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::SvDebitLogRecord::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::SvDebitLogRecord::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::SvDebitLogRecord::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::SvDebitLogRecord::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::SvDebitLogRecord::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::SvDebitLogRecord::toString |
( |
| ) |
const |
- Returns
- a JSON formatted string with the load log content
The documentation for this class was generated from the following files: