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

jp.gopay.sdk.builders.authentication.AbstractAuthenticationBuilders Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
package jp.gopay.sdk.builders.authentication;

import jp.gopay.sdk.builders.RetrofitRequestBuilder;
import jp.gopay.sdk.models.common.Void;
import jp.gopay.sdk.models.response.authentication.LoginTokenInfo;
import retrofit2.Retrofit;

public abstract class AbstractAuthenticationBuilders {

    public static abstract class AbstractLoginRequestBuilder
            extends RetrofitRequestBuilder {

        protected String email;
        protected String password;

        protected String getEmail() {
            return email;
        }

        protected String getPassword() {
            return password;
        }

        public AbstractLoginRequestBuilder(Retrofit retrofit, String email, String password) {
            super(retrofit);
            this.email = email;
            this.password = password;
        }

    }

    public static abstract class AbstractLogoutRequestBuilder
            extends RetrofitRequestBuilder {

        public AbstractLogoutRequestBuilder(Retrofit retrofit) {
            super(retrofit);
        }

    }

}