public class CreatePaymentServiceImpl extends java.lang.Object implements CreatePaymentService
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log |
private static java.lang.String |
PAYMENT_RESOURCE_PATH |
Constructor and Description |
---|
CreatePaymentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
configureAndExecute(com.paypal.base.rest.APIContext apiContext,
com.paypal.base.rest.HttpMethod httpMethod,
java.lang.String resourcePath,
java.lang.String payLoad,
java.lang.Class<T> clazz) |
PaymentResponse |
createPayment(PaymentRequest paymentRequest,
PayPalPlusRequestContext requestContext) |
CreatePaymentBuilder |
createPaymentRequestBuilder(PaymentRequest paymentRequest) |
private static final org.slf4j.Logger log
private static final java.lang.String PAYMENT_RESOURCE_PATH
public PaymentResponse createPayment(PaymentRequest paymentRequest, PayPalPlusRequestContext requestContext)
createPayment
in interface CreatePaymentService
public CreatePaymentBuilder createPaymentRequestBuilder(PaymentRequest paymentRequest)
public <T> T configureAndExecute(com.paypal.base.rest.APIContext apiContext, com.paypal.base.rest.HttpMethod httpMethod, java.lang.String resourcePath, java.lang.String payLoad, java.lang.Class<T> clazz) throws com.paypal.base.rest.PayPalRESTException
com.paypal.base.rest.PayPalRESTException