Package com.six.timapi.receipts
Class CustomReceiptFormatter.LineFormat
java.lang.Object
com.six.timapi.receipts.CustomReceiptFormatter.LineFormat
- Enclosing class:
- CustomReceiptFormatter
Line definition. Contains a list of text elements.
-
Constructor Summary
ConstructorDescriptionCreate line definition.LineFormat
(CustomReceiptFormatter.Condition condition) LineFormat
(CustomReceiptFormatter.Condition condition, List<CustomReceiptFormatter.TextElement> elements) LineFormat
(CustomReceiptFormatter.Condition condition, List<CustomReceiptFormatter.TextElement> elements, int padding) LineFormat
(List<CustomReceiptFormatter.Condition> conditions, List<CustomReceiptFormatter.TextElement> elements) LineFormat
(List<CustomReceiptFormatter.Condition> conditions, List<CustomReceiptFormatter.TextElement> elements, int padding) LineFormat
(List<CustomReceiptFormatter.TextElement> elements) LineFormat
(List<CustomReceiptFormatter.TextElement> elements, Character padding) -
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
LineFormat
public LineFormat()Create line definition. -
LineFormat
-
LineFormat
-
LineFormat
-
LineFormat
public LineFormat(List<CustomReceiptFormatter.Condition> conditions, List<CustomReceiptFormatter.TextElement> elements) -
LineFormat
public LineFormat(CustomReceiptFormatter.Condition condition, List<CustomReceiptFormatter.TextElement> elements) -
LineFormat
public LineFormat(List<CustomReceiptFormatter.Condition> conditions, List<CustomReceiptFormatter.TextElement> elements, int padding) -
LineFormat
public LineFormat(CustomReceiptFormatter.Condition condition, List<CustomReceiptFormatter.TextElement> elements, int padding)
-
-
Method Details
-
getElements
-
getConditions
-
getPadding
public int getPadding()
-