org.broadleafcommerce.payment.service.module
Class CyberSourceCreditCardModule

java.lang.Object
  extended by org.broadleafcommerce.service.module.CyberSourceModule
      extended by org.broadleafcommerce.payment.service.module.CyberSourceCreditCardModule
All Implemented Interfaces:
PaymentModule

public class CyberSourceCreditCardModule
extends CyberSourceModule
implements PaymentModule

Author:
jfischer

Constructor Summary
CyberSourceCreditCardModule()
           
 
Method Summary
 PaymentResponseItem authorize(PaymentContext paymentContext)
           
 PaymentResponseItem authorizeAndDebit(PaymentContext paymentContext)
           
 PaymentResponseItem balance(PaymentContext paymentContext)
           
 PaymentResponseItem credit(PaymentContext paymentContext)
           
 PaymentResponseItem debit(PaymentContext paymentContext)
           
 CyberSourceServiceManager getServiceManager()
           
 Boolean isValidCandidate(PaymentInfoType paymentType)
           
 PaymentResponseItem reverseAuthorize(PaymentContext paymentContext)
           
 void setServiceManager(CyberSourceServiceManager serviceManager)
           
 PaymentResponseItem voidPayment(PaymentContext paymentContext)
           
 
Methods inherited from class org.broadleafcommerce.service.module.CyberSourceModule
createBillingRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyberSourceCreditCardModule

public CyberSourceCreditCardModule()
Method Detail

authorize

public PaymentResponseItem authorize(PaymentContext paymentContext)
                              throws PaymentException
Specified by:
authorize in interface PaymentModule
Throws:
PaymentException

authorizeAndDebit

public PaymentResponseItem authorizeAndDebit(PaymentContext paymentContext)
                                      throws PaymentException
Specified by:
authorizeAndDebit in interface PaymentModule
Throws:
PaymentException

balance

public PaymentResponseItem balance(PaymentContext paymentContext)
                            throws PaymentException
Specified by:
balance in interface PaymentModule
Throws:
PaymentException

credit

public PaymentResponseItem credit(PaymentContext paymentContext)
                           throws PaymentException
Specified by:
credit in interface PaymentModule
Throws:
PaymentException

debit

public PaymentResponseItem debit(PaymentContext paymentContext)
                          throws PaymentException
Specified by:
debit in interface PaymentModule
Throws:
PaymentException

reverseAuthorize

public PaymentResponseItem reverseAuthorize(PaymentContext paymentContext)
                                     throws PaymentException
Specified by:
reverseAuthorize in interface PaymentModule
Throws:
PaymentException

voidPayment

public PaymentResponseItem voidPayment(PaymentContext paymentContext)
                                throws PaymentException
Specified by:
voidPayment in interface PaymentModule
Throws:
PaymentException

isValidCandidate

public Boolean isValidCandidate(PaymentInfoType paymentType)
Specified by:
isValidCandidate in interface PaymentModule

getServiceManager

public CyberSourceServiceManager getServiceManager()

setServiceManager

public void setServiceManager(CyberSourceServiceManager serviceManager)


Copyright © 2012. All Rights Reserved.