Methods
(static) Base/CheckoutAddressServices-AddNewAddress()
CheckoutAddressServices-AddNewAddress : The CheckoutAddressServices-AddNewAddress. Only In multiShip. get invoked when saving a new shipping address
Parameters:
Type | Description |
---|---|
middleware | server.middleware.https |
middleware | csrfProtection.validateAjaxRequest |
httpparameter | productLineItemUUID - product line item UUID |
httpparameter | originalShipmentUUID - shipment UUID |
httpparameter | shipmentUUID - shipment UUID |
httpparameter | shipmentSelector - A shipment UUID containing the address that matches the selected address or ab_ |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_firstName - Input field for the shoppers's first name |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_lastName - Input field for the shoppers's last name |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_address1 - Input field for the shoppers's address 1 - street |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_address2 - Input field for the shoppers's address 2 - street |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_country - Input field for the shoppers's address - country |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_states_stateCode - Input field for the shoppers's address - state code |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_city - Input field for the shoppers's address - city |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_postalCode - Input field for the shoppers's address - postal code |
httpparameter | dwfrm_shipping_shippingAddress_addressFields_phone - Input field for the shoppers's phone |
httpparameter | dwfrm_shipping_shippingAddress_shippingMethodID - input field for shipping method ID |
httpparameter | dwfrm_shipping_shippingAddress_giftMessage - input field for shopper's gift message |
httpparameter | csrf_token - hidden input field CSRF token |
category | sensitive |
returns | json |
serverfunction | post |
(static) Base/CheckoutAddressServices-CreateNewAddress()
CheckoutAddressServices-CreateNewAddress : The CheckoutAddressServices-CreateNewAddress returns an object containing: 1. uuid 2. the account model of the current shopper 3. the order model (This get invoked when clicking on "New Address" on shipping page)
Parameters:
Type | Description |
---|---|
middleware | server.middleware.https |
querystringparameter | productLineItemUUID - The product line item UUID |
httpparameter | productLineItemUUID - The product line item UUID |
category | sensitive |
returns | json |
serverfunction | post |