@Path(value="payments/paypalplus")
public class ExecutePaymentResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private PayPalPlusAuthorizationService |
authorizationService |
private ExecutePaymentService |
executePaymentService |
Constructor and Description |
---|
ExecutePaymentResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
executePayment(ExecutePaymentRequest executePaymentRequest,
java.lang.String paymentId,
PayPalPlusCredentials credentials) |
@Inject private PayPalPlusAuthorizationService authorizationService
@Inject private ExecutePaymentService executePaymentService
@POST @Path(value="payment/{paymentid}/execute") @Produces(value="application/json") public javax.ws.rs.core.Response executePayment(ExecutePaymentRequest executePaymentRequest, @NotNull @PathParam(value="paymentid") java.lang.String paymentId, @BeanParam PayPalPlusCredentials credentials)