Skip to content

Commit

Permalink
Fixed sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
giampieroferrara committed Nov 27, 2024
1 parent bcec006 commit 111d247
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

public class BusinessData {

String businessRegisterNumber;
String legalRegisterNumber;
String legalRegisterName;
private String businessRegisterNumber;
private String legalRegisterNumber;
private String legalRegisterName;

public String getBusinessRegisterNumber() {
return businessRegisterNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@

import java.util.List;

public class PaymentServiceProvider {
public class PaymentServiceProvider extends BusinessData {

private String abiCode;
private String businessRegisterNumber;
private String legalRegisterNumber;
private String legalRegisterName;
private boolean vatNumberGroup;
private List<String> providerNames;
private String contractType;
Expand All @@ -21,30 +19,6 @@ public void setAbiCode(String abiCode) {
this.abiCode = abiCode;
}

public String getBusinessRegisterNumber() {
return businessRegisterNumber;
}

public void setBusinessRegisterNumber(String businessRegisterNumber) {
this.businessRegisterNumber = businessRegisterNumber;
}

public String getLegalRegisterNumber() {
return legalRegisterNumber;
}

public void setLegalRegisterNumber(String legalRegisterNumber) {
this.legalRegisterNumber = legalRegisterNumber;
}

public String getLegalRegisterName() {
return legalRegisterName;
}

public void setLegalRegisterName(String legalRegisterName) {
this.legalRegisterName = legalRegisterName;
}

public boolean isVatNumberGroup() {
return vatNumberGroup;
}
Expand Down

0 comments on commit 111d247

Please sign in to comment.