@Path(value="payments/mollie/payment")
public class MolliePaymentResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private PaymentServiceMollie |
molliePaymentService |
Constructor and Description |
---|
MolliePaymentResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createPayment(PaymentRequest molliePaymentRequest,
ApiToken apiKeyToken) |
javax.ws.rs.core.Response |
getListPayment(ApiToken apiKeyToken) |
javax.ws.rs.core.Response |
getPayment(java.lang.String paymentId,
ApiToken apiKeyToken) |
private static final org.slf4j.Logger LOG
@Inject private PaymentServiceMollie molliePaymentService
@POST @Produces(value="application/json") public javax.ws.rs.core.Response createPayment(PaymentRequest molliePaymentRequest, @NotNull @HeaderParam(value="apikey") ApiToken apiKeyToken)
@GET @Produces(value="application/json") public javax.ws.rs.core.Response getListPayment(@NotNull @HeaderParam(value="apikey") ApiToken apiKeyToken)
@GET @Path(value="{paymentId}") @Produces(value="application/json") public javax.ws.rs.core.Response getPayment(@PathParam(value="paymentId") java.lang.String paymentId, @NotNull @HeaderParam(value="apikey") ApiToken apiKeyToken)