io.electrum.giftcard.api.ILoadsResource Maven / Gradle / Ivy
package io.electrum.giftcard.api;
import io.electrum.giftcard.api.model.LoadConfirmation;
import io.electrum.giftcard.api.model.LoadRequest;
import io.electrum.giftcard.api.model.LoadReversal;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.container.AsyncResponse;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Request;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;
import javax.ws.rs.core.UriInfo;
public interface ILoadsResource {
Response confirmLoad(
String loadId,
String confirmationId,
LoadConfirmation body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
Response load(
String loadId,
LoadRequest body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
Response reverseLoad(
String loadId,
String reversalId,
LoadReversal body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
}