public class ExecutePaymentServiceImpl extends java.lang.Object implements ExecutePaymentService
Modifier and Type | Field and Description |
---|---|
private PayPalRequestGateway |
gateway |
Constructor and Description |
---|
ExecutePaymentServiceImpl(PayPalRequestGateway gateway) |
Modifier and Type | Method and Description |
---|---|
private PayPalRequest |
createRequest(PayPalPlusRequestContext requestContext,
ExecutePaymentRequestEp6 executePaymentRequest) |
java.lang.String |
executePayment(PayPalPlusRequestContext requestContext,
ExecutePaymentRequestEp6 executePaymentRequest) |
private PayPalRequestGateway gateway
@Inject public ExecutePaymentServiceImpl(PayPalRequestGateway gateway)
public java.lang.String executePayment(PayPalPlusRequestContext requestContext, ExecutePaymentRequestEp6 executePaymentRequest) throws WebServiceException
executePayment
in interface ExecutePaymentService
WebServiceException
private PayPalRequest createRequest(PayPalPlusRequestContext requestContext, ExecutePaymentRequestEp6 executePaymentRequest)