Skip to content

Commit

Permalink
Add article 3rd party ID
Browse files Browse the repository at this point in the history
  • Loading branch information
sda authored and DaniilSolovyov committed Dec 3, 2024
1 parent 56259b0 commit 5fce0b0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ public class EndOfDayTurnoverItem {
private int totalQuantity;
private String categoryName;
private String categoryThirdPartyId;

/**
* A 3rd party article ID in unTill
*/
private String articleThirdPartyId;

public String getDepartmentThirdPartyId() {
return departmentThirdPartyId;
Expand Down Expand Up @@ -226,6 +229,14 @@ public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}

public String getArticleThirdPartyId() {
return articleThirdPartyId;
}

public void setArticleThirdPartyId(String articleThirdPartyId) {
this.articleThirdPartyId = articleThirdPartyId;
}

@Override
public String toString() {
return "EndOfDayTurnoverItem{"
Expand All @@ -251,6 +262,7 @@ public String toString() {
+ ", totalQuantity=" + totalQuantity
+ ", categoryName='" + categoryName + '\''
+ ", categoryThirdPartyId='" + categoryThirdPartyId + '\''
+ ", articleThirdPartyId='" + articleThirdPartyId + '\''
+ '}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public class HotelChargeItem {
* The total VAT amount of the order item
*/
private BigDecimal totalVatAmount;
/**
* A 3rd party article ID in unTill
*/
private String articleThirdPartyId;

public String getDepartmentThirdPartyId() {
return departmentThirdPartyId;
Expand Down Expand Up @@ -320,6 +324,14 @@ public void setTotalVatAmount(BigDecimal totalVatAmount) {
this.totalVatAmount = totalVatAmount;
}

public String getArticleThirdPartyId() {
return articleThirdPartyId;
}

public void setArticleThirdPartyId(String articleThirdPartyId) {
this.articleThirdPartyId = articleThirdPartyId;
}

@Override
public String toString() {
return "HotelChargeItem{"
Expand All @@ -343,6 +355,7 @@ public String toString() {
+ ", totalPrice=" + totalPrice
+ ", totalQuantity=" + totalQuantity
+ ", totalVatAmount=" + totalVatAmount
+ ", articleThirdPartyId='" + articleThirdPartyId + '\''
+ '}';
}
}

0 comments on commit 5fce0b0

Please sign in to comment.