Keyple C++
0.9.0
Keyple, an Open Source SDK for Ticketing
|
#include <PoTransaction.h>
Public Types | |
enum | Operation { Operation::NONE, Operation::RELOAD, Operation::DEBIT } |
enum | Action { Action::DO, Action::UNDO } |
enum | LogRead { LogRead::SINGLE, LogRead::ALL } |
enum | NegativeBalance { NegativeBalance::FORBIDDEN, NegativeBalance::AUTHORIZED } |
A set of enumerations used to manage Stored Value transactions
keyple::calypso::transaction::PoTransaction::SvSettings::Action specifies the type of action:
Enumerator | |
---|---|
DO | |
UNDO |
keyple::calypso::transaction::PoTransaction::SvSettings::LogRead specifies whether only the log related to the current operation is requested or whether both logs are requested.
Enumerator | |
---|---|
SINGLE | Request the RELOAD or DEBIT log according to the currently specified operation |
ALL | Request both RELOAD and DEBIT logs |
keyple::calypso::transaction::PoTransaction::SvSettings::NegativeBalance indicates whether negative balances are allowed when debiting the SV
Enumerator | |
---|---|
FORBIDDEN | An SV exception will be raised if the attempted debit of the SV would result in a negative balance. |
AUTHORIZED | Negative balance is allowed |
keyple::calypso::transaction::PoTransaction::SvSettings::Operation specifies the type of operation intended to be carried out
Enumerator | |
---|---|
NONE | |
RELOAD | Increase the balance of the stored value |
DEBIT | Decrease the balance of the stored value |