All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.minlessika.membership.integration.Organization Maven / Gradle / Ivy

Go to download

It's a library to help developers to integration membership services to another project.

There is a newer version: 0.3.1
Show newest version
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();

    Sequences sequences();

    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;
        }

        @Override
        public Sequences sequences() {
            return null;
        }

    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy