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

com.checkout.reconciliation.previous.ReconciliationClient Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.reconciliation.previous;

import com.checkout.ContentResponse;
import com.checkout.common.QueryFilterDateRange;

import java.util.concurrent.CompletableFuture;

public interface ReconciliationClient {

    CompletableFuture queryPaymentsReport(ReconciliationQueryPaymentsFilter filter);

    CompletableFuture singlePaymentReportAsync(String paymentId);

    CompletableFuture queryStatementsReport(QueryFilterDateRange filter);

    /**
     * More information in:
     * 
     *     Statements endpoint
     *     
     * */
    CompletableFuture getStatementsReportById(String statementId);

    /**
     * @param targetFile Optional parameter that specifies the path where a file with the content returned is saved. If
     *                   the file does not exist, the client will attempt to create a new one, otherwise the existing
     *                   file will be rewritten.
     * @return CSV content
     */
    CompletableFuture retrieveCSVPaymentReport(final QueryFilterDateRange filter, final String targetFile);

    /**
     * @param targetFile Optional parameter that specifies the path where a file with the content returned is saved. If
     *                   the file does not exist, the client will attempt to create a new one, otherwise the existing
     *                   file will be rewritten.
     * @return CSV content
     */
    CompletableFuture retrieveCSVSingleStatementReport(final String statementId, final String targetFile);

    /**
     * @param targetFile Optional parameter that specifies the path where a file with the content returned is saved. If
     *                   the file does not exist, the client will attempt to create a new one, otherwise the existing
     *                   file will be rewritten.
     * @return CSV content
     */
    CompletableFuture retrieveCSVStatementsReport(final QueryFilterDateRange filter, final String targetFile);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy