com.payu.sdk.api.services.ReportServices Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A fresh implementation of the PayU API Client for Android
The newest version!
package com.payu.sdk.api.services;
import com.payu.sdk.api.exceptions.AuthenticationException;
import com.payu.sdk.api.exceptions.HttpException;
import com.payu.sdk.api.exceptions.NetworkException;
import com.payu.sdk.api.exceptions.PayUException;
import com.payu.sdk.api.model.report.ReportingRequest;
import com.payu.sdk.api.model.report.ReportingResponse;
import com.payu.sdk.api.model.report.ReportingResponseOrderList;
import com.payu.sdk.api.model.report.ReportingResponseTransaction;
import com.payu.sdk.api.model.request.Request;
import com.payu.sdk.api.model.response.Response;
import retrofit.http.Body;
import retrofit.http.POST;
import static com.payu.sdk.api.constants.Resources.URI;
public interface ReportServices {
@POST(URI) Response ping(@Body Request bodyRequest)
throws HttpException, AuthenticationException, PayUException, NetworkException;
@POST(URI) ReportingResponse getOrderDetailById(@Body ReportingRequest bodyRequest)
throws HttpException, AuthenticationException, PayUException, NetworkException;
@POST(URI) ReportingResponseOrderList getOrderDetailByReferenceCode(
@Body ReportingRequest bodyRequest)
throws HttpException, AuthenticationException, PayUException, NetworkException;
@POST(URI) ReportingResponseTransaction getTransactionResponse(@Body ReportingRequest request)
throws HttpException, AuthenticationException, PayUException, NetworkException;
}