@Path(value="payments/paypalplus")
public class ExecutePaymentResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ExecutePaymentService |
executePaymentService |
Constructor and Description |
---|
ExecutePaymentResource(ExecutePaymentService executePaymentService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
executePayment(PayPalPlusCredentials credentials,
ExecutePaymentRequestEp6 request) |
private final ExecutePaymentService executePaymentService
@Inject public ExecutePaymentResource(ExecutePaymentService executePaymentService)
@POST @Path(value="payment/execute") @Produces(value="application/json") public javax.ws.rs.core.Response executePayment(@BeanParam PayPalPlusCredentials credentials, ExecutePaymentRequestEp6 request)