io.electrum.airtime.api.IVouchersResource Maven / Gradle / Ivy
package io.electrum.airtime.api;
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.SecurityContext;
import javax.ws.rs.core.UriInfo;
import io.electrum.airtime.api.model.VoucherConfirmation;
import io.electrum.airtime.api.model.VoucherRequest;
import io.electrum.vas.model.BasicReversal;
public interface IVouchersResource {
void confirmVoucherImpl(
String voucherId,
String confirmationId,
VoucherConfirmation body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
void provisionVoucherImpl(
String voucherId,
VoucherRequest body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
void reverseVoucherImpl(
String voucherId,
String reversalId,
BasicReversal body,
SecurityContext securityContext,
Request request,
HttpHeaders httpHeaders,
AsyncResponse asyncResponse,
UriInfo uriInfo,
HttpServletRequest httpServletRequest);
}