Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Public Attributes | List of all members
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder Class Referencefinal

#include <SamIdentifier.h>

Public Member Functions

SamIdentifierBuildersamRevision (const SamRevision &samRevision)
 
SamIdentifierBuilderserialNumber (const std::string &serialNumber)
 
SamIdentifierBuildergroupReference (const std::string &groupReference)
 
std::shared_ptr< SamIdentifierbuild ()
 

Public Attributes

friend SamIdentifier
 

Detailed Description

Builder for a keyple::calypso::transaction::SamIdentifier

Since
0.9

Member Function Documentation

◆ build()

std::shared_ptr< SamIdentifier > keyple::calypso::transaction::SamIdentifierBuilder::build ( )

Build a new

.

Returns
a new instance

◆ groupReference()

SamIdentifierBuilder & keyple::calypso::transaction::SamIdentifierBuilder::groupReference ( const std::string &  groupReference)

Sets the targeted SAM group reference

Parameters
groupReferencethe group reference of the targeted SAM as a string
Returns
the builder instance

◆ samRevision()

SamIdentifierBuilder & keyple::calypso::transaction::SamIdentifierBuilder::samRevision ( const SamRevision samRevision)

Sets the targeted SAM revision

Parameters
samRevisionthe keyple::calypso::command::sam::SamRevision of the targeted SAM
Returns
the builder instance

◆ serialNumber()

SamIdentifierBuilder & keyple::calypso::transaction::SamIdentifierBuilder::serialNumber ( const std::string &  serialNumber)

Sets the targeted SAM serial number

Parameters
serialNumberthe serial number of the targeted SAM as regex
Returns
the builder instance

Member Data Documentation

◆ SamIdentifier

friend keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::SamIdentifier

Allow access to private members


The documentation for this class was generated from the following files:
keyple::calypso::transaction::SamIdentifier::SamIdentifierBuilder::SamIdentifier
friend SamIdentifier
Definition: SamIdentifier.h:49