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

com.cardpay.sdk.api.ReportsApiControllerApi Maven / Gradle / Ivy

There is a newer version: 3.82.1
Show newest version
package com.cardpay.sdk.api;

import com.cardpay.sdk.client.CollectionFormats.*;
import com.cardpay.sdk.model.ReportsRequest;
import com.cardpay.sdk.model.ReportsResponse;
import retrofit2.Call;
import retrofit2.http.*;

public interface ReportsApiControllerApi {
  /**
   * Gets actual state of processing of requested settlement reports
   * 
   * @param id id (required)
   * @return Call<ReportsResponse>
   */
  @GET("api/reports/{id}")
  Call gETReports(
    @retrofit2.http.Path("id") String id
  );

  /**
   * Download the report file
   * 
   * @param id id (required)
   * @return Call<byte[]>
   */
  @GET("api/reports/download/{id}")
  Call gETReportsContent(
    @retrofit2.http.Path("id") String id
  );

  /**
   * Initiate the reports' preparation
   * 
   * @param request request (required)
   * @return Call<ReportsResponse>
   */
  @Headers({
    "Content-Type:application/json"
  })
  @POST("api/reports")
  Call pOSTReports(
    @retrofit2.http.Body ReportsRequest request
  );

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy