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

jp.gopay.sdk.builders.ledgers.LedgersBuilders Maven / Gradle / Ivy

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

import jp.gopay.sdk.models.common.TransferId;
import jp.gopay.sdk.models.response.PaginatedList;
import jp.gopay.sdk.models.response.ledger.Ledger;
import jp.gopay.sdk.resources.LedgersResource;
import retrofit2.Call;
import retrofit2.Retrofit;

public abstract class LedgersBuilders {

    public static class ListLedgersRequestBuilder
            extends AbstractLedgersBuilders.AbstractListLedgersRequestBuilder{

        public ListLedgersRequestBuilder(Retrofit retrofit, TransferId transferId) {
            super(retrofit, transferId);
        }

        @Override
        protected Call> getRequest(LedgersResource resource) {
            return resource.listLedgers(transferId, all, from, to, min, max, currency, getLimit(), getCursorDirection(), getCursor());
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy