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

io.electrum.giftcard.api.IRedemptionsResource 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.RedemptionConfirmation;
import io.electrum.giftcard.api.model.RedemptionRequest;
import io.electrum.giftcard.api.model.RedemptionReversal;

public interface IRedemptionsResource {
   public Response confirmRedemption(
         UUID redemptionId,
         UUID confirmationId,
         RedemptionConfirmation body,
         SecurityContext securityContext,
         HttpHeaders httpHeaders,
         UriInfo uriInfo,
         HttpServletRequest httpServletRequest);

   public Response redeem(
         UUID redemptionId,
         RedemptionRequest body,
         SecurityContext securityContext,
         HttpHeaders httpHeaders,
         UriInfo uriInfo,
         HttpServletRequest httpServletRequest);

   public Response reverseRedemption(
         UUID redemptionId,
         UUID reversalId,
         RedemptionReversal body,
         SecurityContext securityContext,
         HttpHeaders httpHeaders,
         UriInfo uriInfo,
         HttpServletRequest httpServletRequest);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy