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

jp.gopay.sdk.builders.transfer.AbstractTransferBuilders Maven / Gradle / Ivy

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

import jp.gopay.sdk.builders.RetrofitRequestBuilder;
import jp.gopay.sdk.builders.RetrofitRequestBuilderPaginated;
import jp.gopay.sdk.models.common.TransferId;
import jp.gopay.sdk.models.response.transfer.Transfer;
import retrofit2.Retrofit;

public abstract class AbstractTransferBuilders {

    public static abstract class AbstractListTransferRequestBuilder
            extends RetrofitRequestBuilderPaginated {

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

    }


    public static abstract class AbstractGetTransferRequestBuilder
            extends RetrofitRequestBuilder {

        protected TransferId transferId;

        protected TransferId getTransferId() {
            return transferId;
        }

        public AbstractGetTransferRequestBuilder(Retrofit retrofit, TransferId transferId) {
            super(retrofit);
            this.transferId = transferId;
        }

    }


}