#include <CashPriceRoundingModule.h>
◆ PrintedTicketSection
| Enumerator |
|---|
| OwnerSection | |
| SingleFellowTravellerSection | |
| RegionalDiscountSection | |
| SummarySection | |
◆ CashPriceRoundingModule()
◆ ~CashPriceRoundingModule()
| CashPriceRoundingModule::~CashPriceRoundingModule |
( |
| ) |
|
|
virtual |
◆ Clear()
| void CashPriceRoundingModule::Clear |
( |
| ) |
|
◆ CreateStatisticalTicket()
| bool CashPriceRoundingModule::CreateStatisticalTicket |
( |
EM::Strojcek::StatistikaStrojcek::ECestovnyListok *& |
statisticTicket | ) |
|
CreateStatisticalTicket - after printing, we need to create statistical ticket from previously processed printed ticket data.
- Parameters
-
| statisticTicket | - statistical ticket which will be created |
- Returns
- true on success, false otherwise
◆ Init()
◆ IsCashPriceRoundingPossible()
| bool CashPriceRoundingModule::IsCashPriceRoundingPossible |
( |
| ) |
const |
◆ ProcessAndFillPrintedTicketTemplate()
| bool CashPriceRoundingModule::ProcessAndFillPrintedTicketTemplate |
( |
| ) |
|
ProcessAndFillPrintedTicketTemplate - after printed ticked has filled all sections, we need to process previously prepared sections data.
- Returns
- true on success, false otherwise
◆ SetPrintedTicketSection()
| bool CashPriceRoundingModule::SetPrintedTicketSection |
( |
const PrintedTicketSection |
ticketSection, |
|
|
EM::Common::EDataCol * |
dataCollection, |
|
|
const long |
summaryPrice, |
|
|
const unsigned char |
currencyID |
|
) |
| |
SetPrintedTicketSection - method sets individual printed ticket sections, which are filled when we are preparing printed ticket data.
- Parameters
-
| ticketSection | - processed ticket section |
| dataCollection | - data collection which belongs to ticket section |
| summaryPrice | - printed ticket section summary price |
| currencyID | - printed ticket section currency ID |
- Returns
- true on success, false otherwise
◆ TryToRoundCashPrice()
| bool CashPriceRoundingModule::TryToRoundCashPrice |
( |
long & |
price | ) |
const |
The documentation for this class was generated from the following files: