Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamSvPrepareDebitOrUndebit.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2023 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional information regarding *
5 * copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the terms of the Eclipse *
8 * Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9 * *
10 * SPDX-License-Identifier: EPL-2.0 *
11 **************************************************************************************************/
12
13#pragma once
14
15#include <cstdint>
16#include <map>
17#include <vector>
18
19/* Keyple Card Calypso */
20#include "AbstractApduCommand.h"
21#include "AbstractSamCommand.h"
22
23namespace keyple {
24namespace card {
25namespace calypso {
26
28
36public:
49 CmdSamSvPrepareDebitOrUndebit(const bool isDebitCommand,
50 const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
51 const std::vector<uint8_t>& svGetHeader,
52 const std::vector<uint8_t>& svGetData,
53 const std::vector<uint8_t>& svDebitOrUndebitCmdBuildData);
54
60 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
61 override;
62
63private:
67 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
68
72 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
73};
74
75}
76}
77}
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
CmdSamSvPrepareDebitOrUndebit(const bool isDebitCommand, const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData, const std::vector< uint8_t > &svDebitOrUndebitCmdBuildData)
AbstractApduCommand::StatusProperties StatusProperties