org.broadleafcommerce.vendor.cybersource.service
Class AbstractCyberSourceService

java.lang.Object
  extended by org.broadleafcommerce.vendor.cybersource.service.AbstractCyberSourceService
All Implemented Interfaces:
ServiceStatusDetectable
Direct Known Subclasses:
AbstractCyberSourcePaymentService, CyberSourceTaxServiceImpl

public abstract class AbstractCyberSourceService
extends Object
implements ServiceStatusDetectable

Author:
jfischer

Field Summary
protected  Integer failureCount
           
protected  Integer failureReportingThreshold
           
protected  IdGenerationService idGenerationService
           
protected  Boolean isUp
           
protected  String libVersion
           
protected  String merchantId
           
protected  String serverUrl
           
 
Constructor Summary
AbstractCyberSourceService()
           
 
Method Summary
protected  void clearStatus()
           
 Integer getFailureReportingThreshold()
           
 IdGenerationService getIdGenerationService()
           
 String getLibVersion()
           
 String getMerchantId()
           
 String getServerUrl()
           
 String getServiceName()
           
 ServiceStatusType getServiceStatus()
           
protected  void incrementFailure()
           
protected  ReplyMessage sendRequest(RequestMessage request)
           
 void setFailureReportingThreshold(Integer failureReportingThreshold)
           
 void setIdGenerationService(IdGenerationService idGenerationService)
           
 void setLibVersion(String libVersion)
           
 void setMerchantId(String merchantId)
           
 void setServerUrl(String serverUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

merchantId

protected String merchantId

serverUrl

protected String serverUrl

libVersion

protected String libVersion

failureReportingThreshold

protected Integer failureReportingThreshold

failureCount

protected Integer failureCount

isUp

protected Boolean isUp

idGenerationService

protected IdGenerationService idGenerationService
Constructor Detail

AbstractCyberSourceService

public AbstractCyberSourceService()
Method Detail

sendRequest

protected ReplyMessage sendRequest(RequestMessage request)
                            throws org.apache.axis.AxisFault,
                                   MalformedURLException,
                                   RemoteException,
                                   javax.xml.rpc.ServiceException
Throws:
org.apache.axis.AxisFault
MalformedURLException
RemoteException
javax.xml.rpc.ServiceException

clearStatus

protected void clearStatus()

incrementFailure

protected void incrementFailure()

getFailureReportingThreshold

public Integer getFailureReportingThreshold()

getMerchantId

public String getMerchantId()

getServerUrl

public String getServerUrl()

getLibVersion

public String getLibVersion()

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface ServiceStatusDetectable

getServiceStatus

public ServiceStatusType getServiceStatus()
Specified by:
getServiceStatus in interface ServiceStatusDetectable

setFailureReportingThreshold

public void setFailureReportingThreshold(Integer failureReportingThreshold)

setMerchantId

public void setMerchantId(String merchantId)

setServerUrl

public void setServerUrl(String serverUrl)

setLibVersion

public void setLibVersion(String libVersion)

getIdGenerationService

public IdGenerationService getIdGenerationService()

setIdGenerationService

public void setIdGenerationService(IdGenerationService idGenerationService)


Copyright © 2012. All Rights Reserved.