Skip to content

Commit

Permalink
New Property on Charge.
Browse files Browse the repository at this point in the history
Adding total tax property to Charge.
  • Loading branch information
oddprints-karl committed Jan 31, 2023
1 parent db85647 commit 9c9f3d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/com/oddprints/prodigi/pojos/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class Charge {

private String prodigiInvoiceNumber;
private Cost totalCost;
private Cost totalTax;
private List<ChargeItem> items;

private Charge() {}
Expand Down Expand Up @@ -39,6 +40,14 @@ public void setTotalCost(Cost totalCost) {
this.totalCost = totalCost;
}

public Cost getTotalTax() {
return totalTax;
}

public void setTotalTax(Cost totalTax) {
this.totalTax = totalTax;
}

public List<ChargeItem> getItems() {
return items;
}
Expand Down

0 comments on commit 9c9f3d6

Please sign in to comment.