Skip to content

Commit

Permalink
zurück! impl ContactType in ext
Browse files Browse the repository at this point in the history
  • Loading branch information
homebeaver committed Mar 21, 2021
1 parent 5fa7719 commit e65f1bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
12 changes: 0 additions & 12 deletions src/main/java/com/klst/edoc/api/BusinessPartyContact.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,4 @@ default String getContactEmail() {
return getContactInfo()==null ? null : getContactInfo().getContactEmail();
}

@Override
default String getContactType() {
return getContactInfo()==null ? null : getContactInfo().getContactType();
}
@Override
default void setContactType(String code) {
ContactInfo contact = getContactInfo();
if(contact!=null) {
contact.setContactType(code);
}
}

}
10 changes: 0 additions & 10 deletions src/main/java/com/klst/edoc/api/ContactInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,4 @@ public interface ContactInfo extends ContactInfoFactory {
*/
public String getContactEmail();

/**
* optional contact code specifying the type of contact
* <p>
* To be chosen from the entries in UNTDID 3139
*
* @param code - example buyer contact code 'LB' == Place of delivery contact : Department/employee to be contacted at the place of delivery.
*/
public void setContactType(String code);
public String getContactType();

}

0 comments on commit e65f1bd

Please sign in to comment.