Keypop Calypso Card C++ API - 2.2.0
Component of the Keypop C++ API
SvLoadLogRecord.hpp
Go to the documentation of this file.
1
2/******************************************************************************
3 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
4 * *
5 * This program and the accompanying materials are made available under the *
6 * terms of the MIT License which is available at *
7 * https://opensource.org/licenses/MIT. *
8 * *
9 * SPDX-License-Identifier: MIT *
10 ******************************************************************************/
11
12#pragma once
13
14#include <cstdint>
15#include <vector>
16
17namespace keypop {
18namespace calypso {
19namespace card {
20namespace card {
21
28public:
35 virtual const std::vector<uint8_t>& getRawData() const = 0;
36
43 virtual std::vector<uint8_t> getLoadDate() const = 0;
44
51 virtual std::vector<uint8_t> getLoadTime() const = 0;
52
59 virtual int getAmount() const = 0;
60
67 virtual int getBalance() const = 0;
68
75 virtual std::vector<uint8_t> getFreeData() const = 0;
76
83 virtual uint8_t getKvc() const = 0;
84
91 virtual std::vector<uint8_t> getSamId() const = 0;
92
99 virtual int getSamTNum() const = 0;
100
107 virtual int getSvTNum() const = 0;
108};
109
110} /* namespace card */
111} /* namespace card */
112} /* namespace calypso */
113} /* namespace keypop */
Record of a Stored Value load log.
virtual std::vector< uint8_t > getLoadTime() const =0
Gets the load time as an array of bytes.
virtual std::vector< uint8_t > getFreeData() const =0
Gets the free bytes as an array of bytes.
virtual int getAmount() const =0
Gets the load amount value.
virtual uint8_t getKvc() const =0
Gets the KVC of the load key (as given in the last SV Reload)
virtual int getSvTNum() const =0
Gets the SV transaction number value as an int.
virtual int getSamTNum() const =0
Gets the SAM transaction number value as an int.
virtual std::vector< uint8_t > getSamId() const =0
Gets the SAM ID as an array of bytes.
virtual const std::vector< uint8_t > & getRawData() const =0
Gets the raw data of the SV load log record.
virtual std::vector< uint8_t > getLoadDate() const =0
Gets the load date as an array of bytes.
virtual int getBalance() const =0
Gets the SV balance value.