Skip to content

Commit

Permalink
Rename balance field (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvaristeGalois11 authored Mar 13, 2024
1 parent ff6b8fb commit 717f4d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
cache: maven

- name: 'Build and test'
run: ./mvnw -B install -DskipTests
run: ./mvnw -B install

- name: 'Prepare Sonar analysis'
uses: evaristegalois11/sonar-fork-analysis@master
10 changes: 5 additions & 5 deletions src/main/java/it/nave/fabrickapitest/model/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Balance {
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate date;

private BigDecimal balance;
private BigDecimal amount;
private BigDecimal availableBalance;
private String currency;

Expand All @@ -38,12 +38,12 @@ public void setDate(LocalDate date) {
this.date = date;
}

public BigDecimal getBalance() {
return balance;
public BigDecimal getAmount() {
return amount;
}

public void setBalance(BigDecimal balance) {
this.balance = balance;
public void setAmount(BigDecimal amount) {
this.amount = amount;
}

public BigDecimal getAvailableBalance() {
Expand Down

0 comments on commit 717f4d1

Please sign in to comment.