@Path(value="payments/amazon/orders/{orderId}")
public final class OrderResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AmazonPaymentsRequestConfigProperties |
config |
private java.lang.String |
orderId |
private OrderReferenceService |
service |
Constructor and Description |
---|
OrderResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
cancelOrderReference() |
javax.ws.rs.core.Response |
closeOrderReference() |
javax.ws.rs.core.Response |
confirm() |
javax.ws.rs.core.Response |
get() |
javax.ws.rs.core.Response |
set(OrderReferenceAttributes orderAttributes) |
@BeanParam private AmazonPaymentsRequestConfigProperties config
@PathParam(value="orderId") private java.lang.String orderId
@Inject private OrderReferenceService service
@GET @Produces(value="application/json") public javax.ws.rs.core.Response get()
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response set(@NotNull OrderReferenceAttributes orderAttributes)
@POST @Path(value="confirmation") @Produces(value="application/json") public javax.ws.rs.core.Response confirm()
@POST @Path(value="close") public javax.ws.rs.core.Response closeOrderReference()
@POST @Path(value="cancel") public javax.ws.rs.core.Response cancelOrderReference()