IProductAvailabilityPluginCalculateAvailability Method |
[This is preliminary documentation and is subject to change.]
Calculates availability for products. This is called during order recieving and processing
Namespace: Netadmin.Management.OrderAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
SyntaxIReadOnlyDictionary<long, IAvailabilityPluginResult> CalculateAvailability(
IEnumerable<IProduct> products,
long addressId,
DateTime customerRequiredDate
)
Function CalculateAvailability (
products As IEnumerable(Of IProduct),
addressId As Long,
customerRequiredDate As DateTime
) As IReadOnlyDictionary(Of Long, IAvailabilityPluginResult)
Parameters
- products
- Type: System.Collections.GenericIEnumerableIProduct
The complete product trees to calculate availability for - addressId
- Type: SystemInt64
The address id. - customerRequiredDate
- Type: SystemDateTime
The customer required date.
Return Value
Type:
IReadOnlyDictionaryInt64,
IAvailabilityPluginResultA dictionary with product id as key and the availability result as value
See Also