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 java.lang.Object
implements ServiceStatusDetectable

Author:
jfischer

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

Field Detail

merchantId

protected java.lang.String merchantId

serverUrl

protected java.lang.String serverUrl

libVersion

protected java.lang.String libVersion

failureReportingThreshold

protected java.lang.Integer failureReportingThreshold

failureCount

protected java.lang.Integer failureCount

isUp

protected java.lang.Boolean isUp

idGenerationService

protected IdGenerationService idGenerationService
Constructor Detail

AbstractCyberSourceService

public AbstractCyberSourceService()
Method Detail

sendRequest

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

clearStatus

protected void clearStatus()

incrementFailure

protected void incrementFailure()

getFailureReportingThreshold

public java.lang.Integer getFailureReportingThreshold()

getMerchantId

public java.lang.String getMerchantId()

getServerUrl

public java.lang.String getServerUrl()

getLibVersion

public java.lang.String getLibVersion()

getServiceName

public java.lang.String getServiceName()
Specified by:
getServiceName in interface ServiceStatusDetectable

getServiceStatus

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

setFailureReportingThreshold

public void setFailureReportingThreshold(java.lang.Integer failureReportingThreshold)

setMerchantId

public void setMerchantId(java.lang.String merchantId)

setServerUrl

public void setServerUrl(java.lang.String serverUrl)

setLibVersion

public void setLibVersion(java.lang.String libVersion)

getIdGenerationService

public IdGenerationService getIdGenerationService()

setIdGenerationService

public void setIdGenerationService(IdGenerationService idGenerationService)


Copyright © 2012. All Rights Reserved.