Package DE_EPAGES::USPS::UI::JSON
Handler for AJAX request to get information from USPS webservices
Base |
DE_EPAGES::Presentation::UI::JSON |
Functions
- JSONUSPSAddressInformation
- JSONUSPSPickUpAvailabilityRequest
- JSONUSPSPickUpCancelRequest
- JSONUSPSPickUpRequest
- JSONUSPSSaveAddress
JSONUSPSAddressInformation
The function receives a Basket and calls the USPS AddressInformation webservice. The Result will be retuned as a String back to the Java script. If an Error appears the function will return a positive Error flag.
Syntax |
JSONUSPSAddressInformation( $Servlet ); |
Input |
|
Return |
|
JSONUSPSPickUpAvailabilityRequest
Create an USPS Availability Request
Syntax |
JSONUSPSPickUpAvailabilityRequest( $Servlet ); |
Input |
|
Return |
|
JSONUSPSPickUpCancelRequest
Create an USPS Cancel Request
Syntax |
JSONUSPSPickUpCancelRequest( $Servlet ); |
Input |
|
Return |
|
JSONUSPSPickUpRequest
Create an USPS Pickup Request
Syntax |
JSONUSPSPickUpRequest( $Servlet ); |
Input |
|
Return |
|
JSONUSPSSaveAddress
Place the selected address as shipping address of the order.
Syntax |
JSONUSPSSaveAddress( $Servlet ); |
Input |
|