Click or drag to resize

IBusinessObjectPreRate Method

Business rules hook that fires before the Rate event.

Namespace:  PSI.Sox.Interfaces
Assembly:  PSI.Sox (in PSI.Sox.dll) Version: 2.1
Syntax
void PreRate(
	ShipmentRequest shipmentRequest,
	List<Service> services,
	SortType sortType,
	SerializableDictionary userParams
)

Parameters

shipmentRequest
Type: PSI.SoxShipmentRequest
ShipmentRequest object containg the shipment and package information that needs to be rated.
services
Type: System.Collections.GenericListService
List of Service Symbols to rate. Example: PSI.UPS.GND
sortType
Type: PSI.SoxSortType
Contains the int value for the sort order of the returned list of ShipmentResponse objects. No Order-- 0, Lowest Rate-- 1, Earliest Commitment-- 2
userParams
Type: PSI.SoxSerializableDictionary
SerializableDictionary object that can be used to pass in key/value pairs for custom use.
See Also