ExtractAdapterConfigForSpecificDeliveryMode Method

Extracts the adapter config for single delivery mode.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Services
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Services (in Microsoft.Dynamics.Commerce.Runtime.Services.dll)

public static ParameterSet ExtractAdapterConfigForSpecificDeliveryMode(
	string deliveryMode,
	IEnumerable<ShippingAdapterConfig> shippingAdapterConfigRecords
)

Parameters

deliveryMode
Type: System.String
shippingAdapterConfigRecords
Type: System.Collections.Generic.IEnumerable<ShippingAdapterConfig>

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.ParameterSet
Property bag of adapter config key names and values.

ExceptionCondition
ArgumentNullException

The deliveryMode parameter is null or empty.

-or-

The shippingAdapterConfigRecords parameter is null or empty.

Community Additions

Show: