Skip to content

Commit

Permalink
Add salesAreaThirdPartyId to EndOfDayExtraItem and EndOfDayPaymentItem
Browse files Browse the repository at this point in the history
  • Loading branch information
sda authored and DaniilSolovyov committed Jul 2, 2024
1 parent 6827c49 commit a6fbb4f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class EndOfDayExtraItem {
private int salesAreaNumber;

private String salesAreaName;
private String salesAreaThirdPartyId;

public String getItemType() {
return itemType;
Expand Down Expand Up @@ -62,6 +63,14 @@ public void setSalesAreaName(String salesAreaName) {
this.salesAreaName = salesAreaName;
}

public String getSalesAreaThirdPartyId() {
return salesAreaThirdPartyId;
}

public void setSalesAreaThirdPartyId(String salesAreaThirdPartyId) {
this.salesAreaThirdPartyId = salesAreaThirdPartyId;
}

@Override
public String toString() {
return "EndOfDayExtraItem{"
Expand All @@ -70,6 +79,7 @@ public String toString() {
+ ", salesAreaId=" + salesAreaId
+ ", salesAreaNumber=" + salesAreaNumber
+ ", salesAreaName='" + salesAreaName + '\''
+ ", salesAreaThirdPartyId='" + salesAreaThirdPartyId + '\''
+ '}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ public class EndOfDayPaymentItem {
private long salesAreaId;

private int salesAreaNumber;
private String salesAreaThirdPartyId;

private String salesAreaName;

private BigDecimal totalAmount;



public String getPaymentThirdPartyId() {
return paymentThirdPartyId;
}
Expand Down Expand Up @@ -109,14 +109,24 @@ public void setPaymentKind(int paymentKind) {
this.paymentKind = paymentKind;
}

public String getSalesAreaThirdPartyId() {
return salesAreaThirdPartyId;
}

public void setSalesAreaThirdPartyId(String salesAreaThirdPartyId) {
this.salesAreaThirdPartyId = salesAreaThirdPartyId;
}

@Override
public String toString() {
return "EndOfDayPaymentItem{"
+ "paymentNumber=" + paymentNumber
+ ", paymentName='" + paymentName + '\''
+ ", paymentKind=" + paymentKind
+ ", paymentThirdPartyId='" + paymentThirdPartyId + '\''
+ ", salesAreaId=" + salesAreaId
+ ", salesAreaNumber=" + salesAreaNumber
+ ", salesAreaThirdPartyId='" + salesAreaThirdPartyId + '\''
+ ", salesAreaName='" + salesAreaName + '\''
+ ", totalAmount=" + totalAmount
+ ", totalTipAmount=" + totalTipAmount
Expand Down

0 comments on commit a6fbb4f

Please sign in to comment.