org.broadleafcommerce.vendor.cybersource.service.tax.message
Class CyberSourceTaxResponse

java.lang.Object
  extended by org.broadleafcommerce.vendor.cybersource.service.message.CyberSourceResponse
      extended by org.broadleafcommerce.vendor.cybersource.service.tax.message.CyberSourceTaxResponse
All Implemented Interfaces:
java.io.Serializable, TaxResponse

public class CyberSourceTaxResponse
extends CyberSourceResponse
implements TaxResponse

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  java.lang.String city
           
protected  java.math.BigDecimal cityRate
           
protected  java.lang.String county
           
protected  java.math.BigDecimal countyRate
           
protected  java.lang.String currency
           
protected  java.lang.String decision
           
protected  java.math.BigDecimal districtRate
           
protected  java.lang.String errorText
           
protected  java.lang.String geocode
           
protected  Money grandTotalAmount
           
protected  java.lang.String[] invalidField
           
protected  boolean isErrorDetected
           
protected  CyberSourceTaxItemResponse[] itemResponses
           
protected  java.lang.String merchantReferenceCode
           
protected  java.lang.String[] missingField
           
protected  java.lang.String postalCode
           
protected  java.lang.Integer reasonCode
           
protected  java.lang.String requestID
           
protected  java.lang.String requestToken
           
protected  java.lang.String state
           
protected  java.math.BigDecimal stateRate
           
protected  Money totalCityTaxAmount
           
protected  Money totalCountyTaxAmount
           
protected  Money totalDistrictTaxAmount
           
protected  java.math.BigDecimal totalRate
           
protected  Money totalStateTaxAmount
           
protected  Money totalTaxAmount
           
 
Constructor Summary
CyberSourceTaxResponse()
           
 
Method Summary
 java.lang.String getCity()
           
 java.math.BigDecimal getCityRate()
           
 java.lang.String getCounty()
           
 java.math.BigDecimal getCountyRate()
           
 java.lang.String getCurrency()
           
 java.lang.String getDecision()
           
 java.math.BigDecimal getDistrictRate()
           
 java.lang.String getErrorCode()
           
 java.lang.String getErrorText()
           
 java.lang.String getGeocode()
           
 Money getGrandTotalAmount()
           
 java.lang.String[] getInvalidField()
           
 CyberSourceTaxItemResponse[] getItemResponses()
           
 java.lang.String getMerchantReferenceCode()
           
 java.lang.String[] getMissingField()
           
 java.lang.String getPostalCode()
           
 java.lang.Integer getReasonCode()
           
 java.lang.String getRequestID()
           
 java.lang.String getRequestToken()
           
 java.lang.String getState()
           
 java.math.BigDecimal getStateRate()
           
 Money getTotalCityTaxAmount()
           
 Money getTotalCountyTaxAmount()
           
 Money getTotalDistrictTaxAmount()
           
 java.math.BigDecimal getTotalRate()
           
 Money getTotalStateTaxAmount()
           
 Money getTotalTaxAmount()
           
 boolean isErrorDetected()
           
 void setCity(java.lang.String city)
           
 void setCityRate(java.math.BigDecimal cityRate)
           
 void setCounty(java.lang.String county)
           
 void setCountyRate(java.math.BigDecimal countyRate)
           
 void setCurrency(java.lang.String currency)
           
 void setDecision(java.lang.String decision)
           
 void setDistrictRate(java.math.BigDecimal districtRate)
           
 void setErrorCode(java.lang.String errorCode)
           
 void setErrorDetected(boolean isErrorDetected)
           
 void setErrorText(java.lang.String errorText)
           
 void setGeocode(java.lang.String geocode)
           
 void setGrandTotalAmount(Money grandTotalAmount)
           
 void setInvalidField(java.lang.String[] invalidField)
           
 void setItemResponses(CyberSourceTaxItemResponse[] itemResponses)
           
 void setMerchantReferenceCode(java.lang.String merchantReferenceCode)
           
 void setMissingField(java.lang.String[] missingField)
           
 void setPostalCode(java.lang.String postalCode)
           
 void setReasonCode(java.lang.Integer reasonCode)
           
 void setRequestID(java.lang.String requestID)
           
 void setRequestToken(java.lang.String requestToken)
           
 void setState(java.lang.String state)
           
 void setStateRate(java.math.BigDecimal stateRate)
           
 void setTotalCityTaxAmount(Money totalCityTaxAmount)
           
 void setTotalCountyTaxAmount(Money totalCountyTaxAmount)
           
 void setTotalDistrictTaxAmount(Money totalDistrictTaxAmount)
           
 void setTotalRate(java.math.BigDecimal totalRate)
           
 void setTotalStateTaxAmount(Money totalStateTaxAmount)
           
 void setTotalTaxAmount(Money totalTaxAmount)
           
 
Methods inherited from class org.broadleafcommerce.vendor.cybersource.service.message.CyberSourceResponse
getServiceType, setServiceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isErrorDetected

protected boolean isErrorDetected

errorText

protected java.lang.String errorText

merchantReferenceCode

protected java.lang.String merchantReferenceCode

requestID

protected java.lang.String requestID

decision

protected java.lang.String decision

reasonCode

protected java.lang.Integer reasonCode

missingField

protected java.lang.String[] missingField

invalidField

protected java.lang.String[] invalidField

requestToken

protected java.lang.String requestToken

currency

protected java.lang.String currency

grandTotalAmount

protected Money grandTotalAmount

totalCityTaxAmount

protected Money totalCityTaxAmount

city

protected java.lang.String city

totalCountyTaxAmount

protected Money totalCountyTaxAmount

county

protected java.lang.String county

totalDistrictTaxAmount

protected Money totalDistrictTaxAmount

totalStateTaxAmount

protected Money totalStateTaxAmount

state

protected java.lang.String state

totalTaxAmount

protected Money totalTaxAmount

postalCode

protected java.lang.String postalCode

geocode

protected java.lang.String geocode

itemResponses

protected CyberSourceTaxItemResponse[] itemResponses

cityRate

protected java.math.BigDecimal cityRate

stateRate

protected java.math.BigDecimal stateRate

districtRate

protected java.math.BigDecimal districtRate

countyRate

protected java.math.BigDecimal countyRate

totalRate

protected java.math.BigDecimal totalRate
Constructor Detail

CyberSourceTaxResponse

public CyberSourceTaxResponse()
Method Detail

getErrorCode

public java.lang.String getErrorCode()
Specified by:
getErrorCode in interface TaxResponse

getErrorText

public java.lang.String getErrorText()
Specified by:
getErrorText in interface TaxResponse

isErrorDetected

public boolean isErrorDetected()
Specified by:
isErrorDetected in interface TaxResponse

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Specified by:
setErrorCode in interface TaxResponse

setErrorDetected

public void setErrorDetected(boolean isErrorDetected)
Specified by:
setErrorDetected in interface TaxResponse

setErrorText

public void setErrorText(java.lang.String errorText)
Specified by:
setErrorText in interface TaxResponse

getMerchantReferenceCode

public java.lang.String getMerchantReferenceCode()

setMerchantReferenceCode

public void setMerchantReferenceCode(java.lang.String merchantReferenceCode)

getRequestID

public java.lang.String getRequestID()

setRequestID

public void setRequestID(java.lang.String requestID)

getDecision

public java.lang.String getDecision()

setDecision

public void setDecision(java.lang.String decision)

getReasonCode

public java.lang.Integer getReasonCode()

setReasonCode

public void setReasonCode(java.lang.Integer reasonCode)

getMissingField

public java.lang.String[] getMissingField()

setMissingField

public void setMissingField(java.lang.String[] missingField)

getInvalidField

public java.lang.String[] getInvalidField()

setInvalidField

public void setInvalidField(java.lang.String[] invalidField)

getRequestToken

public java.lang.String getRequestToken()

setRequestToken

public void setRequestToken(java.lang.String requestToken)

getCurrency

public java.lang.String getCurrency()

setCurrency

public void setCurrency(java.lang.String currency)

getGrandTotalAmount

public Money getGrandTotalAmount()

setGrandTotalAmount

public void setGrandTotalAmount(Money grandTotalAmount)

getTotalCityTaxAmount

public Money getTotalCityTaxAmount()

setTotalCityTaxAmount

public void setTotalCityTaxAmount(Money totalCityTaxAmount)

getCity

public java.lang.String getCity()

setCity

public void setCity(java.lang.String city)

getTotalCountyTaxAmount

public Money getTotalCountyTaxAmount()

setTotalCountyTaxAmount

public void setTotalCountyTaxAmount(Money totalCountyTaxAmount)

getCounty

public java.lang.String getCounty()

setCounty

public void setCounty(java.lang.String county)

getTotalDistrictTaxAmount

public Money getTotalDistrictTaxAmount()

setTotalDistrictTaxAmount

public void setTotalDistrictTaxAmount(Money totalDistrictTaxAmount)

getTotalStateTaxAmount

public Money getTotalStateTaxAmount()

setTotalStateTaxAmount

public void setTotalStateTaxAmount(Money totalStateTaxAmount)

getState

public java.lang.String getState()

setState

public void setState(java.lang.String state)

getTotalTaxAmount

public Money getTotalTaxAmount()

setTotalTaxAmount

public void setTotalTaxAmount(Money totalTaxAmount)

getPostalCode

public java.lang.String getPostalCode()

setPostalCode

public void setPostalCode(java.lang.String postalCode)

getGeocode

public java.lang.String getGeocode()

setGeocode

public void setGeocode(java.lang.String geocode)

getItemResponses

public CyberSourceTaxItemResponse[] getItemResponses()

setItemResponses

public void setItemResponses(CyberSourceTaxItemResponse[] itemResponses)

getCityRate

public java.math.BigDecimal getCityRate()

setCityRate

public void setCityRate(java.math.BigDecimal cityRate)

getStateRate

public java.math.BigDecimal getStateRate()

setStateRate

public void setStateRate(java.math.BigDecimal stateRate)

getDistrictRate

public java.math.BigDecimal getDistrictRate()

setDistrictRate

public void setDistrictRate(java.math.BigDecimal districtRate)

getCountyRate

public java.math.BigDecimal getCountyRate()

setCountyRate

public void setCountyRate(java.math.BigDecimal countyRate)

getTotalRate

public java.math.BigDecimal getTotalRate()

setTotalRate

public void setTotalRate(java.math.BigDecimal totalRate)


Copyright © 2012. All Rights Reserved.