@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(ExecutePaymentRequestEp6 executePaymentRequest,
PayPalPlusCredentials credentials) |
@Inject private PayPalPlusAuthorizationService authorizationService
@Inject private ExecutePaymentService executePaymentService
@POST @Path(value="payment/execute") @Produces(value="application/json") public javax.ws.rs.core.Response executePayment(ExecutePaymentRequestEp6 executePaymentRequest, @BeanParam PayPalPlusCredentials credentials)