The Account UI components use two JavaScript modules, profile-services and location-services, to invoke REST services and communicate with the server through XHR requests. Both JavaScript modules are found in CommerceAccelerator/Plugins/Account/src/main/web-app. The profile-services JavaScript module returns profile information for the current customer. It also allows customers to manage their address book and credit card information, log in, and log out. The location-services JavaScript module returns a list of states for a given country code.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices