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 booleanprotected com.fedex.addressvalidation.stub.AddressValidationRequestbuildAddressValidationRequest(Map parameters) protected com.fedex.addressvalidation.stub.ClientDetailprotected com.fedex.addressvalidation.stub.WebAuthenticationDetailprotected booleanisResponseOk(com.fedex.addressvalidation.stub.NotificationSeverityType notificationSeverityType) protected MapprocessAddressValidationResponse(Map parameters, com.fedex.addressvalidation.stub.AddressValidationReply reply) protected MapprocessNotifications(com.fedex.addressvalidation.stub.Notification[] notifications) protected voidupdateEndPoint(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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods 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:
validateAddressin 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
-