public abstract class AbstractPayPalExpressService extends org.broadleafcommerce.common.payment.service.AbstractExternalPaymentGatewayCall<PayPalRequest,PayPalResponse>
| Modifier and Type | Field and Description |
|---|---|
protected PayPalExpressConfiguration |
configuration |
protected PayPalRequestGenerator |
requestGenerator |
protected PayPalResponseGenerator |
responseGenerator |
| Constructor and Description |
|---|
AbstractPayPalExpressService() |
| Modifier and Type | Method and Description |
|---|---|
protected PayPalPaymentRequest |
buildBasicRequest(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO,
PayPalTransactionType transactionType) |
protected org.broadleafcommerce.common.payment.dto.PaymentResponseDTO |
commonAuthorizeOrSale(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO,
PayPalTransactionType transactionType,
String token,
String payerId) |
PayPalResponse |
communicateWithVendor(PayPalRequest paymentRequest) |
Integer |
getFailureReportingThreshold() |
String |
getServerUrl() |
protected void |
setCommonDetailsResponse(PayPalDetailsResponse response,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO) |
protected void |
setCommonPaymentResponse(PayPalPaymentResponse response,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO) |
protected void |
setDecisionInformation(PayPalPaymentResponse response,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO) |
protected void |
setRefundInformation(PayPalPaymentResponse response,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO) |
clearStatus, getServiceStatus, incrementFailure, processprotected PayPalExpressConfiguration configuration
protected PayPalRequestGenerator requestGenerator
protected PayPalResponseGenerator responseGenerator
public Integer getFailureReportingThreshold()
getFailureReportingThreshold in class org.broadleafcommerce.common.payment.service.AbstractExternalPaymentGatewayCall<PayPalRequest,PayPalResponse>public PayPalResponse communicateWithVendor(PayPalRequest paymentRequest) throws Exception
communicateWithVendor in class org.broadleafcommerce.common.payment.service.AbstractExternalPaymentGatewayCall<PayPalRequest,PayPalResponse>Exceptionpublic String getServerUrl()
protected PayPalPaymentRequest buildBasicRequest(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO, PayPalTransactionType transactionType)
protected org.broadleafcommerce.common.payment.dto.PaymentResponseDTO commonAuthorizeOrSale(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO,
PayPalTransactionType transactionType,
String token,
String payerId)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
org.broadleafcommerce.common.vendor.service.exception.PaymentExceptionprotected void setCommonPaymentResponse(PayPalPaymentResponse response, org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO)
protected void setCommonDetailsResponse(PayPalDetailsResponse response, org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO)
protected void setDecisionInformation(PayPalPaymentResponse response, org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO)
protected void setRefundInformation(PayPalPaymentResponse response, org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO)
Copyright © 2016. All rights reserved.