IProductManagerAddProducts Method |
[This is preliminary documentation and is subject to change.]
Adds products to a product
Namespace: Netadmin.Management.OrderAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid AddProducts(
long productId,
IReadOnlyDictionary<long, bool> productDictionary
)
Sub AddProducts (
productId As Long,
productDictionary As IReadOnlyDictionary(Of Long, Boolean)
)
Parameters
- productId
- Type: SystemInt64
- productDictionary
- Type: System.Collections.GenericIReadOnlyDictionaryInt64, Boolean
ExceptionsException | Condition |
---|
InvalidIdentifierException | Thrown if an id is zero or less. |
ArgumentNullException | productDictionary is |
InvalidOperationException | Thrown if an attempt is made to perform an operation which should not be allowed |
ProductAlreadyBundledException | Thrown if operation would result in a product would end up being bundled more than once |
See Also