Constructor | GSOrder() |
Description | Creates a new GSOrder object. |
Example |
|
Method | setUser(GSUser user) |
Description | Sets the user authentication for sendOrder(). |
Example |
|
Method | setProduct(String product) |
Description | Selects the product to be ordered by name. |
Example |
|
Method | setParameterModelByProduct(String product) |
Description | Sets the "model" parameter by product name. |
Example |
|
Method | setParameter(String parameter,String value) |
Description | Sets a product parameter value. Possible parameter names depend on the product definition. |
Example |
|
Method | sendOrder(function successCallback(GSHashtable), function errorCallback(String)) |
Description | Sends the order to the
GeoShop server. If the order is successfully send to the
server, successCallback() is called
asynchronously, else
errorCallback() . |
Example |
|
Method | String getInfoMessage() |
Description | Gets some information about
the state of the last sendOrder() as
String. |
Example |
|
More information on available product parameters can be found in the separate "GeoShop Batch Client" documentation. |