org.broadleafcommerce.core.payment.service
Class PaymentServiceImpl
java.lang.Object
org.broadleafcommerce.core.payment.service.PaymentServiceImpl
- All Implemented Interfaces:
- PaymentService
public class PaymentServiceImpl
- extends Object
- implements PaymentService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paymentModule
protected PaymentModule paymentModule
paymentInfoService
protected PaymentInfoService paymentInfoService
PaymentServiceImpl
public PaymentServiceImpl()
getPaymentModule
public PaymentModule getPaymentModule()
setPaymentModule
public void setPaymentModule(PaymentModule paymentModule)
authorize
public PaymentResponseItem authorize(PaymentContext paymentContext)
throws PaymentException
- Specified by:
authorize in interface PaymentService
- Throws:
PaymentException
authorizeAndDebit
public PaymentResponseItem authorizeAndDebit(PaymentContext paymentContext)
throws PaymentException
- Specified by:
authorizeAndDebit in interface PaymentService
- Throws:
PaymentException
balance
public PaymentResponseItem balance(PaymentContext paymentContext)
throws PaymentException
- Specified by:
balance in interface PaymentService
- Throws:
PaymentException
credit
public PaymentResponseItem credit(PaymentContext paymentContext)
throws PaymentException
- Specified by:
credit in interface PaymentService
- Throws:
PaymentException
debit
public PaymentResponseItem debit(PaymentContext paymentContext)
throws PaymentException
- Specified by:
debit in interface PaymentService
- Throws:
PaymentException
voidPayment
public PaymentResponseItem voidPayment(PaymentContext paymentContext)
throws PaymentException
- Specified by:
voidPayment in interface PaymentService
- Throws:
PaymentException
reverseAuthorize
public PaymentResponseItem reverseAuthorize(PaymentContext paymentContext)
throws PaymentException
- Specified by:
reverseAuthorize in interface PaymentService
- Throws:
PaymentException
isValidCandidate
public Boolean isValidCandidate(PaymentInfoType paymentType)
- Specified by:
isValidCandidate in interface PaymentService
logResponseItem
protected void logResponseItem(PaymentContext paymentContext,
PaymentResponseItem response,
TransactionType transactionType)
logPaymentStartEvent
protected void logPaymentStartEvent(PaymentContext paymentContext,
TransactionType transactionType)
logPaymentFinishEvent
protected void logPaymentFinishEvent(PaymentContext paymentContext,
TransactionType transactionType,
Exception e)
Copyright © 2012. All Rights Reserved.