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:
Serializable, TaxResponse

public class CyberSourceTaxResponse
extends CyberSourceResponse
implements TaxResponse

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  String city
           
protected  BigDecimal cityRate
           
protected  String county
           
protected  BigDecimal countyRate
           
protected  String currency
           
protected  String decision
           
protected  BigDecimal districtRate
           
protected  String errorText
           
protected  String geocode
           
protected  Money grandTotalAmount
           
protected  String[] invalidField
           
protected  boolean isErrorDetected
           
protected  CyberSourceTaxItemResponse[] itemResponses
           
protected  String merchantReferenceCode
           
protected  String[] missingField
           
protected  String postalCode
           
protected  Integer reasonCode
           
protected  String requestID
           
protected  String requestToken
           
protected  String state
           
protected  BigDecimal stateRate
           
protected  Money totalCityTaxAmount
           
protected  Money totalCountyTaxAmount
           
protected  Money totalDistrictTaxAmount
           
protected  BigDecimal totalRate
           
protected  Money totalStateTaxAmount
           
protected  Money totalTaxAmount
           
 
Constructor Summary
CyberSourceTaxResponse()
           
 
Method Summary
 String getCity()
           
 BigDecimal getCityRate()
           
 String getCounty()
           
 BigDecimal getCountyRate()
           
 String getCurrency()
           
 String getDecision()
           
 BigDecimal getDistrictRate()
           
 String getErrorCode()
           
 String getErrorText()
           
 String getGeocode()
           
 Money getGrandTotalAmount()
           
 String[] getInvalidField()
           
 CyberSourceTaxItemResponse[] getItemResponses()
           
 String getMerchantReferenceCode()
           
 String[] getMissingField()
           
 String getPostalCode()
           
 Integer getReasonCode()
           
 String getRequestID()
           
 String getRequestToken()
           
 String getState()
           
 BigDecimal getStateRate()
           
 Money getTotalCityTaxAmount()
           
 Money getTotalCountyTaxAmount()
           
 Money getTotalDistrictTaxAmount()
           
 BigDecimal getTotalRate()
           
 Money getTotalStateTaxAmount()
           
 Money getTotalTaxAmount()
           
 boolean isErrorDetected()
           
 void setCity(String city)
           
 void setCityRate(BigDecimal cityRate)
           
 void setCounty(String county)
           
 void setCountyRate(BigDecimal countyRate)
           
 void setCurrency(String currency)
           
 void setDecision(String decision)
           
 void setDistrictRate(BigDecimal districtRate)
           
 void setErrorCode(String errorCode)
           
 void setErrorDetected(boolean isErrorDetected)
           
 void setErrorText(String errorText)
           
 void setGeocode(String geocode)
           
 void setGrandTotalAmount(Money grandTotalAmount)
           
 void setInvalidField(String[] invalidField)
           
 void setItemResponses(CyberSourceTaxItemResponse[] itemResponses)
           
 void setMerchantReferenceCode(String merchantReferenceCode)
           
 void setMissingField(String[] missingField)
           
 void setPostalCode(String postalCode)
           
 void setReasonCode(Integer reasonCode)
           
 void setRequestID(String requestID)
           
 void setRequestToken(String requestToken)
           
 void setState(String state)
           
 void setStateRate(BigDecimal stateRate)
           
 void setTotalCityTaxAmount(Money totalCityTaxAmount)
           
 void setTotalCountyTaxAmount(Money totalCountyTaxAmount)
           
 void setTotalDistrictTaxAmount(Money totalDistrictTaxAmount)
           
 void setTotalRate(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 String errorText

merchantReferenceCode

protected String merchantReferenceCode

requestID

protected String requestID

decision

protected String decision

reasonCode

protected Integer reasonCode

missingField

protected String[] missingField

invalidField

protected String[] invalidField

requestToken

protected String requestToken

currency

protected String currency

grandTotalAmount

protected Money grandTotalAmount

totalCityTaxAmount

protected Money totalCityTaxAmount

city

protected String city

totalCountyTaxAmount

protected Money totalCountyTaxAmount

county

protected String county

totalDistrictTaxAmount

protected Money totalDistrictTaxAmount

totalStateTaxAmount

protected Money totalStateTaxAmount

state

protected String state

totalTaxAmount

protected Money totalTaxAmount

postalCode

protected String postalCode

geocode

protected String geocode

itemResponses

protected CyberSourceTaxItemResponse[] itemResponses

cityRate

protected BigDecimal cityRate

stateRate

protected BigDecimal stateRate

districtRate

protected BigDecimal districtRate

countyRate

protected BigDecimal countyRate

totalRate

protected BigDecimal totalRate
Constructor Detail

CyberSourceTaxResponse

public CyberSourceTaxResponse()
Method Detail

getErrorCode

public String getErrorCode()
Specified by:
getErrorCode in interface TaxResponse

getErrorText

public String getErrorText()
Specified by:
getErrorText in interface TaxResponse

isErrorDetected

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

setErrorCode

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

setErrorDetected

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

setErrorText

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

getMerchantReferenceCode

public String getMerchantReferenceCode()

setMerchantReferenceCode

public void setMerchantReferenceCode(String merchantReferenceCode)

getRequestID

public String getRequestID()

setRequestID

public void setRequestID(String requestID)

getDecision

public String getDecision()

setDecision

public void setDecision(String decision)

getReasonCode

public Integer getReasonCode()

setReasonCode

public void setReasonCode(Integer reasonCode)

getMissingField

public String[] getMissingField()

setMissingField

public void setMissingField(String[] missingField)

getInvalidField

public String[] getInvalidField()

setInvalidField

public void setInvalidField(String[] invalidField)

getRequestToken

public String getRequestToken()

setRequestToken

public void setRequestToken(String requestToken)

getCurrency

public String getCurrency()

setCurrency

public void setCurrency(String currency)

getGrandTotalAmount

public Money getGrandTotalAmount()

setGrandTotalAmount

public void setGrandTotalAmount(Money grandTotalAmount)

getTotalCityTaxAmount

public Money getTotalCityTaxAmount()

setTotalCityTaxAmount

public void setTotalCityTaxAmount(Money totalCityTaxAmount)

getCity

public String getCity()

setCity

public void setCity(String city)

getTotalCountyTaxAmount

public Money getTotalCountyTaxAmount()

setTotalCountyTaxAmount

public void setTotalCountyTaxAmount(Money totalCountyTaxAmount)

getCounty

public String getCounty()

setCounty

public void setCounty(String county)

getTotalDistrictTaxAmount

public Money getTotalDistrictTaxAmount()

setTotalDistrictTaxAmount

public void setTotalDistrictTaxAmount(Money totalDistrictTaxAmount)

getTotalStateTaxAmount

public Money getTotalStateTaxAmount()

setTotalStateTaxAmount

public void setTotalStateTaxAmount(Money totalStateTaxAmount)

getState

public String getState()

setState

public void setState(String state)

getTotalTaxAmount

public Money getTotalTaxAmount()

setTotalTaxAmount

public void setTotalTaxAmount(Money totalTaxAmount)

getPostalCode

public String getPostalCode()

setPostalCode

public void setPostalCode(String postalCode)

getGeocode

public String getGeocode()

setGeocode

public void setGeocode(String geocode)

getItemResponses

public CyberSourceTaxItemResponse[] getItemResponses()

setItemResponses

public void setItemResponses(CyberSourceTaxItemResponse[] itemResponses)

getCityRate

public BigDecimal getCityRate()

setCityRate

public void setCityRate(BigDecimal cityRate)

getStateRate

public BigDecimal getStateRate()

setStateRate

public void setStateRate(BigDecimal stateRate)

getDistrictRate

public BigDecimal getDistrictRate()

setDistrictRate

public void setDistrictRate(BigDecimal districtRate)

getCountyRate

public BigDecimal getCountyRate()

setCountyRate

public void setCountyRate(BigDecimal countyRate)

getTotalRate

public BigDecimal getTotalRate()

setTotalRate

public void setTotalRate(BigDecimal totalRate)


Copyright © 2012. All Rights Reserved.