com.minlessika.membership.integration.Contact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of membership-integration Show documentation
Show all versions of membership-integration Show documentation
It's a library to help developers to integration membership services to another project.
package com.minlessika.membership.integration;
import java.util.UUID;
public interface Contact {
UUID uid();
String name();
String photo();
Organization company();
String addressLine1();
String addressLine2();
String city();
String stateOrProvince();
String email();
String phone1();
String phone2();
String whatsApp();
ContactNature nature();
Contact EMPTY = new Contact() {
@Override
public UUID uid() {
return null;
}
@Override
public String name() {
return "Anonyme";
}
@Override
public String photo() {
return null;
}
@Override
public Organization company() {
return null;
}
@Override
public String addressLine1() {
return null;
}
@Override
public String addressLine2() {
return null;
}
@Override
public String city() {
return null;
}
@Override
public String stateOrProvince() {
return null;
}
@Override
public String email() {
return null;
}
@Override
public String phone1() {
return null;
}
@Override
public ContactNature nature() {
return null;
}
@Override
public String phone2() {
return null;
}
@Override
public String whatsApp() {
return null;
}
};
}