RetailTerminalTable.discount Method
Calculates the discounted amount of the transactions done by the current terminal for a given time.
Syntax
public RetailDiscAmount discount(
FromDate _fromDate,
ToDate _toDate,
FromTime _fromTime,
ToTime _toTime)
Run On
Called
Parameters
- _fromDate
Type: FromDate Extended Data Type
The current value of the starting date.
- _toDate
Type: ToDate Extended Data Type
The current value of the ending date.
- _fromTime
Type: FromTime Extended Data Type
The current value of starting date.
- _toTime
Type: ToTime Extended Data Type
The current value of ending time.
Return Value
Type: RetailDiscAmount Extended Data Type
The discounted amount of the transactions done by the current terminal for a given time.