com.minlessika.membership.integration.Organization 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 Organization {
UUID uid();
String name();
Currency currency();
boolean hasApplicationInstalled(String module);
boolean applicationIsAvailable(String module);
void startApplicationInstallation(String module);
void finalizeApplicationInstallation(String module);
boolean hasCharacteristic(String code);
String logo();
String phone1();
String phone2();
String headquarter();
String addressLine1();
String addressLine2();
Organization EMPTY = new Organization() {
@Override
public UUID uid() {
return null;
}
@Override
public String name() {
return null;
}
@Override
public Currency currency() {
return null;
}
@Override
public boolean hasApplicationInstalled(String module) {
return false;
}
@Override
public boolean applicationIsAvailable(String module) {
return false;
}
@Override
public void startApplicationInstallation(String module) {
}
@Override
public void finalizeApplicationInstallation(String module) {
}
@Override
public boolean hasCharacteristic(String code) {
return false;
}
@Override
public String logo() {
return null;
}
@Override
public String phone1() {
return null;
}
@Override
public String phone2() {
return null;
}
@Override
public String headquarter() {
return null;
}
@Override
public String addressLine1() {
return null;
}
@Override
public String addressLine2() {
return null;
}
};
}