org.broadleafcommerce.vendor.cybersource.service.tax
Class CyberSourceTaxServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.vendor.cybersource.service.AbstractCyberSourceService
      extended by org.broadleafcommerce.vendor.cybersource.service.tax.CyberSourceTaxServiceImpl
All Implemented Interfaces:
CyberSourceService, CyberSourceTaxService, ServiceStatusDetectable

public class CyberSourceTaxServiceImpl
extends AbstractCyberSourceService
implements CyberSourceTaxService


Field Summary
 
Fields inherited from class org.broadleafcommerce.vendor.cybersource.service.AbstractCyberSourceService
failureCount, failureReportingThreshold, idGenerationService, isUp, libVersion, merchantId, serverUrl
 
Constructor Summary
CyberSourceTaxServiceImpl()
           
 
Method Summary
protected  RequestMessage buildRequestMessage(CyberSourceTaxRequest taxRequest)
           
protected  void buildResponse(CyberSourceTaxResponse taxResponse, ReplyMessage reply)
           
 boolean isValidService(CyberSourceRequest request)
           
protected  void logReply(ReplyMessage reply)
           
 CyberSourceTaxResponse process(CyberSourceTaxRequest taxRequest)
           
protected  void setBillingInformation(CyberSourceTaxRequest taxRequest, RequestMessage request)
           
protected  void setItemInformation(CyberSourceTaxRequest taxRequest, RequestMessage request)
           
 
Methods inherited from class org.broadleafcommerce.vendor.cybersource.service.AbstractCyberSourceService
clearStatus, getFailureReportingThreshold, getIdGenerationService, getLibVersion, getMerchantId, getServerUrl, getServiceName, getServiceStatus, incrementFailure, sendRequest, setFailureReportingThreshold, setIdGenerationService, setLibVersion, setMerchantId, setServerUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.broadleafcommerce.vendor.cybersource.service.CyberSourceService
getFailureReportingThreshold, getLibVersion, getMerchantId, getServerUrl, getServiceName, getServiceStatus, setFailureReportingThreshold, setLibVersion, setMerchantId, setServerUrl
 

Constructor Detail

CyberSourceTaxServiceImpl

public CyberSourceTaxServiceImpl()
Method Detail

process

public CyberSourceTaxResponse process(CyberSourceTaxRequest taxRequest)
                               throws TaxException
Specified by:
process in interface CyberSourceTaxService
Throws:
TaxException

isValidService

public boolean isValidService(CyberSourceRequest request)
Specified by:
isValidService in interface CyberSourceService

buildResponse

protected void buildResponse(CyberSourceTaxResponse taxResponse,
                             ReplyMessage reply)

buildRequestMessage

protected RequestMessage buildRequestMessage(CyberSourceTaxRequest taxRequest)

setItemInformation

protected void setItemInformation(CyberSourceTaxRequest taxRequest,
                                  RequestMessage request)

setBillingInformation

protected void setBillingInformation(CyberSourceTaxRequest taxRequest,
                                     RequestMessage request)

logReply

protected void logReply(ReplyMessage reply)


Copyright © 2010. All Rights Reserved.