org.broadleafcommerce.payment.service.module
Class PayPalPaymentModule
java.lang.Object
org.broadleafcommerce.payment.service.module.PayPalPaymentModule
- All Implemented Interfaces:
- org.broadleafcommerce.core.payment.service.module.PaymentModule
public class PayPalPaymentModule
- extends Object
- implements org.broadleafcommerce.core.payment.service.module.PaymentModule
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
payPalPaymentService
protected PayPalPaymentService payPalPaymentService
PayPalPaymentModule
public PayPalPaymentModule()
authorize
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem authorize(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
authorize in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
reverseAuthorize
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem reverseAuthorize(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
reverseAuthorize in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
debit
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem debit(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
debit in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
authorizeAndDebit
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem authorizeAndDebit(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
authorizeAndDebit in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
credit
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem credit(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
credit in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
voidPayment
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem voidPayment(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
voidPayment in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
balance
public org.broadleafcommerce.core.payment.domain.PaymentResponseItem balance(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Specified by:
balance in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
getExpressCheckoutDetails
public PayPalDetailsResponse getExpressCheckoutDetails(PayPalDetailsRequest request)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
isValidCandidate
public Boolean isValidCandidate(org.broadleafcommerce.core.payment.service.type.PaymentInfoType paymentType)
- Specified by:
isValidCandidate in interface org.broadleafcommerce.core.payment.service.module.PaymentModule
commonAuthorizeOrSale
protected org.broadleafcommerce.core.payment.domain.PaymentResponseItem commonAuthorizeOrSale(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext,
PayPalTransactionType transactionType)
throws org.broadleafcommerce.core.payment.service.exception.PaymentException
- Throws:
org.broadleafcommerce.core.payment.service.exception.PaymentException
setDecisionInformation
protected void setDecisionInformation(PayPalPaymentResponse response,
org.broadleafcommerce.core.payment.domain.PaymentResponseItem responseItem)
setRefundInformation
protected void setRefundInformation(PayPalPaymentResponse response,
org.broadleafcommerce.core.payment.domain.PaymentResponseItem responseItem)
buildBasicRequest
protected PayPalPaymentRequest buildBasicRequest(org.broadleafcommerce.core.payment.service.PaymentContext paymentContext,
PayPalTransactionType transactionType)
buildBasicResponse
protected org.broadleafcommerce.core.payment.domain.PaymentResponseItem buildBasicResponse(PayPalPaymentResponse response)
getPayPalPaymentService
public PayPalPaymentService getPayPalPaymentService()
setPayPalPaymentService
public void setPayPalPaymentService(PayPalPaymentService payPalPaymentService)
Copyright © 2013. All Rights Reserved.