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