-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea2dc50
commit 260ae3c
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/main/java/com/untill/driver/interfaces/bills/BillsHandlerSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.untill.driver.interfaces.bills; | ||
|
||
import com.untill.driver.interfaces.fiscalprinter.IFiscalPrinter; | ||
|
||
/** | ||
* An instance of this class returned by {@link IBillsHandler#getSettings()} to specify details of driver behavior | ||
* | ||
* @see IFiscalPrinter | ||
*/ | ||
public class BillsHandlerSettings { | ||
|
||
|
||
boolean consolidatedCombiDealsExpected; | ||
|
||
/** | ||
* Returns true if the driver expects combi-deals to be sent from POS consolidated in the {@link Bill} object | ||
*/ | ||
public boolean isConsolidatedCombiDealsExpected() { | ||
return consolidatedCombiDealsExpected; | ||
} | ||
|
||
/** | ||
* Specifies that the driver expects combi-deals to be sent from POS consolidated in the {@link Bill} object | ||
*/ | ||
public void setConsolidatedCombiDealsExpected(boolean consolidatedCombiDealsExpected) { | ||
this.consolidatedCombiDealsExpected = consolidatedCombiDealsExpected; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters