Class FedExAddressValidationProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.shipping.FedExAddressValidationProcessor
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,AddressValidationProcessor
public class FedExAddressValidationProcessor
extends BaseBusinessProcessor
implements AddressValidationProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected com.fedex.addressvalidation.stub.AddressValidationRequest
buildAddressValidationRequest
(Map parameters) protected com.fedex.addressvalidation.stub.ClientDetail
protected com.fedex.addressvalidation.stub.WebAuthenticationDetail
protected boolean
isResponseOk
(com.fedex.addressvalidation.stub.NotificationSeverityType notificationSeverityType) protected Map
processAddressValidationResponse
(Map parameters, com.fedex.addressvalidation.stub.AddressValidationReply reply) protected Map
processNotifications
(com.fedex.addressvalidation.stub.Notification[] notifications) protected void
updateEndPoint
(com.fedex.addressvalidation.stub.AddressValidationServiceLocator serviceLocator) validateAddress
(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
FedExAddressValidationProcessor
public FedExAddressValidationProcessor()
-
-
Method Details
-
validateAddress
- Specified by:
validateAddress
in interfaceAddressValidationProcessor
- Throws:
Exception
-
areFedExSettingsOk
protected boolean areFedExSettingsOk() -
buildAddressValidationRequest
protected com.fedex.addressvalidation.stub.AddressValidationRequest buildAddressValidationRequest(Map parameters) -
createClientDetail
protected com.fedex.addressvalidation.stub.ClientDetail createClientDetail() -
createWebAuthenticationDetail
protected com.fedex.addressvalidation.stub.WebAuthenticationDetail createWebAuthenticationDetail() -
updateEndPoint
protected void updateEndPoint(com.fedex.addressvalidation.stub.AddressValidationServiceLocator serviceLocator) -
processAddressValidationResponse
protected Map processAddressValidationResponse(Map parameters, com.fedex.addressvalidation.stub.AddressValidationReply reply) throws Exception - Throws:
Exception
-
isResponseOk
protected boolean isResponseOk(com.fedex.addressvalidation.stub.NotificationSeverityType notificationSeverityType) -
processNotifications
-