IBusinessObjectRate Method | |
Business rules hook that can be used to override the Rate event.
Namespace:
PSI.Sox.Interfaces
Assembly:
PSI.Sox (in PSI.Sox.dll) Version: 2.1
Syntax List<ShipmentResponse> Rate(
ShipmentRequest shipmentRequest,
List<Service> services,
SortType sortType,
SerializableDictionary userParams
)
List<ShipmentResponse^>^ Rate(
ShipmentRequest^ shipmentRequest,
List<Service^>^ services,
SortType sortType,
SerializableDictionary^ userParams
)
function Rate(shipmentRequest, services, sortType, 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.
Return Value
Type:
ListShipmentResponseList of ShipmentResponse
See Also