Info |
public InfoWebPrice CalculatePrice2( string titleCode, string productCode, string termCode, string zipCode, string currencyCode, int numberOfCopies, InfoWebAddress address )
Possible status codes:
string titleCode = "VIN"; string productCode = "V6"; string termCode = "12"; string zipCode = "0178"; string currencyCode = "NOK"; int numberOfCopies = 1; // The customerAddress object is assumed to have been retrieved previously. InfoWebPrice priceObject = CalculatePrice2(titleCode, productCode, termCode, zipCode, currencyCode, numberOfCopies, customerAddress); if (priceObject.StatusCode == StatusCodes.OK) { decimal price = priceObject.Price; } else { // Show an error message based on another status code }