io.electrum.giftcard.api.IVoidsResource 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.VoidConfirmation;
import io.electrum.giftcard.api.model.VoidRequest;
import io.electrum.giftcard.api.model.VoidReversal;
public interface IVoidsResource {
public Response confirmVoid(
UUID voidId,
UUID confirmationId,
VoidConfirmation body,
SecurityContext securityContext,
HttpHeaders httpHeaders,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
public Response voidGiftcard(
UUID voidId,
VoidRequest body,
SecurityContext securityContext,
HttpHeaders httpHeaders,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
public Response reverseVoid(
UUID voidId,
UUID reversalId,
VoidReversal body,
SecurityContext securityContext,
HttpHeaders httpHeaders,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
}