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