Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
keyple::calypso::transaction::PoSelector Class Referencefinal

#include <PoSelector.h>

Inherits keyple::core::seproxy::SeSelector.

Classes

class  PoSelectorBuilder
 

Public Types

enum  InvalidatedPo { InvalidatedPo::REJECT, InvalidatedPo::ACCEPT }
 

Public Member Functions

 PoSelector (PoSelectorBuilder *builder)
 
- Public Member Functions inherited from keyple::core::seproxy::SeSelector
 SeSelector (const SeSelector &o)=default
 
virtual ~SeSelector ()
 
virtual const std::shared_ptr< SeProtocolgetSeProtocol () const
 
virtual std::shared_ptr< AtrFiltergetAtrFilter () const
 
virtual std::shared_ptr< AidSelectorgetAidSelector () const
 
const std::string & getExtraInfo () const
 
 SeSelector (SeSelectorBuilder *builder)
 

Static Public Member Functions

static std::shared_ptr< PoSelectorBuilderbuilder ()
 
- Static Public Member Functions inherited from keyple::core::seproxy::SeSelector
static std::shared_ptr< SeSelectorBuilderbuilder ()
 

Detailed Description

The keyple::calypso::transaction::PoSelector class extends keyple::core::seproxy::SeSelector to handle specific PO features such as the additional successful status codes list (in response to a select application command)

Member Enumeration Documentation

◆ InvalidatedPo

Indicates if an invalidated PO should be selected or not.

The acceptance of an invalid PO is determined with the additional successful status codes specified in the keyple::core::seproxy::SeSelector::AidSelector

Enumerator
REJECT 
ACCEPT 

Constructor & Destructor Documentation

◆ PoSelector()

keyple::calypso::transaction::PoSelector::PoSelector ( PoSelectorBuilder builder)

Private constructor

C++ vs. Java: Should be private but would forbid usage of make_shared from PoSelectorBuilder class. Setting it public for now. Could use an intermediate derived class otherwise if need be.

Member Function Documentation

◆ builder()

std::shared_ptr< PoSelectorBuilder > keyple::calypso::transaction::PoSelector::builder ( )
static

Gets a new builder.

Returns
a new builder instance

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