Methods
(static) Base/Address-AddAddress()
Address-AddAddress : A link to a page to create a new address
Parameters:
Type | Description |
---|---|
middleware |
csrfProtection.generateToken |
middleware |
consentTracking.consent |
middleware |
userLoggedIn.validateLoggedIn |
category |
sensitive |
renders |
isml |
serverfunction |
get |
(static) Base/Address-DeleteAddress()
Address-DeleteAddress : Delete an existing address
Parameters:
Type | Description |
---|---|
middleware |
userLoggedIn.validateLoggedInAjax |
querystringparameter |
addressId - a string used to identify the address record |
querystringparameter |
isDefault - true if this is the default address. false otherwise |
category |
sensitive |
returns |
json |
serverfunction |
get |
(static) Base/Address-EditAddress()
Address-EditAddress : A link to edit and existing address
Parameters:
Type | Description |
---|---|
middleware |
csrfProtection.generateToken |
middleware |
userLoggedIn.validateLoggedIn |
middleware |
consentTracking.consent |
querystringparameter |
addressId - a string used to identify the address record |
category |
sensitive |
renders |
isml |
serverfunction |
get |
(static) Base/Address-Header()
Address-Header : The endpoint Address-Header renders an isml
Parameters:
Type | Description |
---|---|
middleware |
server.middleware.include |
category |
sensitive |
renders |
isml |
serverfunction |
get |
(static) Base/Address-List()
Address-List : Used to show a list of address created by a registered shopper
Parameters:
Type | Description |
---|---|
middleware |
userLoggedIn.validateLoggedIn |
middleware |
consentTracking.consent |
category |
sensitive |
renders |
isml |
serverfunction |
get |
(static) Base/Address-SaveAddress()
Address-SaveAddress : Save a new or existing address
Parameters:
Type | Description |
---|---|
middleware |
csrfProtection.validateAjaxRequest |
querystringparameter |
addressId - a string used to identify the address record |
httpparameter |
dwfrm_address_addressId - An existing address id (unless new record) |
httpparameter |
dwfrm_address_firstName - A personβs first name |
httpparameter |
dwfrm_address_lastName - A personβs last name |
httpparameter |
dwfrm_address_address1 - A personβs street name |
httpparameter |
dwfrm_address_address2 - A personβs apartment number |
httpparameter |
dwfrm_address_country - A personβs country |
httpparameter |
dwfrm_address_states_stateCode - A personβs state |
httpparameter |
dwfrm_address_city - A personβs city |
httpparameter |
dwfrm_address_postalCode - A personβs united states postel code |
httpparameter |
dwfrm_address_phone - A personβs phone number |
httpparameter |
csrf_token - hidden input field CSRF token |
category |
sensitive |
returns |
json |
serverfunction |
post |
(static) Base/Address-SetDefault()
Address-SetDefault : Set an address the be the default address
Parameters:
Type | Description |
---|---|
middleware |
userLoggedIn.validateLoggedIn |
querystringparameter |
addressId - a string used to identify the address record |
category |
sensitive |
serverfunction |
get |