Keypop Card C++ API 2.0.0
Reference Card API for C++
Public Member Functions | Friends | List of all members
keypop::card::spi::CardSelectionRequestSpi Class Referenceabstract

#include <CardSelectionRequestSpi.hpp>

Public Member Functions

virtual ~CardSelectionRequestSpi ()=default
 
virtual const std::shared_ptr< CardRequestSpigetCardRequest () const =0
 

Friends

std::ostream & operator<< (std::ostream &os, const std::shared_ptr< CardSelectionRequestSpi > csr)
 
std::ostream & operator<< (std::ostream &os, const std::vector< std::shared_ptr< CardSelectionRequestSpi > > &csrs)
 

Detailed Description

Data provided as input to the selection process.

Embeds a card selector defining the target card profile and an optional card request to be executed after the card selection when successful.

See also
calypsonet::terminal::card::CardSelectionResponseApi
Since
1.0.0

Definition at line 31 of file CardSelectionRequestSpi.hpp.

Constructor & Destructor Documentation

◆ ~CardSelectionRequestSpi()

virtual keypop::card::spi::CardSelectionRequestSpi::~CardSelectionRequestSpi ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ getCardRequest()

virtual const std::shared_ptr< CardRequestSpi > keypop::card::spi::CardSelectionRequestSpi::getCardRequest ( ) const
pure virtual

Gets the card request.

Returns
Null if no card request has been defined.
Since
1.0.0

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream &  os,
const std::shared_ptr< CardSelectionRequestSpi csr 
)
friend

Definition at line 49 of file CardSelectionRequestSpi.hpp.

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  os,
const std::vector< std::shared_ptr< CardSelectionRequestSpi > > &  csrs 
)
friend

Definition at line 63 of file CardSelectionRequestSpi.hpp.


The documentation for this class was generated from the following file: