-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ZUGFeRD/mustangproject
# Conflicts: # library/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportablePostalTradeAddress.java # library/src/main/java/org/mustangproject/ZUGFeRD/PostalTradeAddress.java
- Loading branch information
Showing
5 changed files
with
395 additions
and
218 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
library/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportablePostalTradeAddress.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.mustangproject.ZUGFeRD; | ||
|
||
public interface IZUGFeRDExportablePostalTradeAddress { | ||
default String getPostcodeCode(){return null;} | ||
default String getLineOne() {return null;} | ||
default String getLineTwo() {return null;} | ||
default String getLineThree() {return null;} | ||
default String getCityName() {return null;} | ||
default String getCountryID() {return null;} | ||
default String getCountrySubDivisionName() {return null;} | ||
} |
75 changes: 75 additions & 0 deletions
75
library/src/main/java/org/mustangproject/ZUGFeRD/PostalTradeAddress.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package org.mustangproject.ZUGFeRD; | ||
|
||
public class PostalTradeAddress implements IZUGFeRDExportablePostalTradeAddress { | ||
|
||
private String postCodeCode; | ||
private String lineOne; | ||
private String lineTwo; | ||
private String lineThree; | ||
private String cityName; | ||
private String countryID; | ||
private String CountrySubDivisionName; | ||
|
||
public void setPostCodeCode(String postCodeCode) { | ||
this.postCodeCode = postCodeCode; | ||
} | ||
|
||
public void setLineOne(String lineOne) { | ||
this.lineOne = lineOne; | ||
} | ||
|
||
public void setLineTwo(String lineTwo) { | ||
this.lineTwo = lineTwo; | ||
} | ||
|
||
public void setLineThree(String lineThree) { | ||
this.lineThree = lineThree; | ||
} | ||
|
||
public void setCityName(String cityName) { | ||
this.cityName = cityName; | ||
} | ||
|
||
public void setCountryID(String countryID) { | ||
this.countryID = countryID; | ||
} | ||
|
||
public void setCountrySubDivisionName(String countrySubDivisionName) { | ||
CountrySubDivisionName = countrySubDivisionName; | ||
} | ||
|
||
@Override | ||
public String getPostcodeCode() { | ||
return this.postCodeCode; | ||
} | ||
|
||
@Override | ||
public String getLineOne() { | ||
return this.lineOne; | ||
} | ||
|
||
@Override | ||
public String getLineTwo() { | ||
return this.lineTwo; | ||
} | ||
|
||
@Override | ||
public String getLineThree() { | ||
return this.lineThree; | ||
} | ||
|
||
@Override | ||
public String getCityName() { | ||
return this.cityName; | ||
} | ||
|
||
@Override | ||
public String getCountryID() { | ||
return this.countryID; | ||
} | ||
|
||
@Override | ||
public String getCountrySubDivisionName() { | ||
return this.CountrySubDivisionName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.