From 31a34cae6b3105feeb8d229c4cedafed07e37be3 Mon Sep 17 00:00:00 2001 From: Daniil Solovyov Date: Thu, 14 Mar 2024 13:00:23 +0100 Subject: [PATCH] Add hhtIP field to PosPrinterRequest (#102) https://dev.untill.com/projects/#!685376 Co-authored-by: sda --- .../posprinter/PosPrinterRequest.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/untill/driver/interfaces/posprinter/PosPrinterRequest.java b/src/main/java/com/untill/driver/interfaces/posprinter/PosPrinterRequest.java index 1bbadd6..ccbd5f5 100644 --- a/src/main/java/com/untill/driver/interfaces/posprinter/PosPrinterRequest.java +++ b/src/main/java/com/untill/driver/interfaces/posprinter/PosPrinterRequest.java @@ -3,8 +3,24 @@ import com.untill.driver.interfaces.DriverRequest; public abstract class PosPrinterRequest extends DriverRequest { + /** + * Handheld terminal IP address. This field is filled when request initiator is handheld terminal + */ + private String hhtIp; + + public String getHhtIp() { + return hhtIp; + } + + public void setHhtIp(String hhtIp) { + this.hhtIp = hhtIp; + } + @Override public String toString() { - return "PosPrinterRequest{} " + super.toString(); + return "PosPrinterRequest{" + + "hhtIp='" + hhtIp + '\'' + + "} " + + super.toString(); } }