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

com.minlessika.membership.integration.Contact 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 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;
        }
    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy