GetPricesAndPromotionsForCurrentListingPage Method
Namespace: Microsoft.Dynamics.Commerce.Runtime.Data
Assembly: Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)
Syntax
'Declaration
Public Shared Function GetPricesAndPromotionsForCurrentListingPage ( _
requestContext As Boolean, _
promotionLines As IList(Of ListingPrice), _
listingPrices As IList(Of PriceAdjustment) _
) As IDictionary(Of Long, IDictionary(Of Long, Tuple))
'Usage
Dim requestContext As Boolean
Dim promotionLines As IList(Of ListingPrice)
Dim listingPrices As IList(Of PriceAdjustment)
Dim returnValue As IDictionary(Of Long, IDictionary(Of Long, Tuple))
returnValue = PricingDataManager.GetPricesAndPromotionsForCurrentListingPage(requestContext, _
promotionLines, listingPrices)
public static IDictionary<long, IDictionary<long, Tuple>> GetPricesAndPromotionsForCurrentListingPage(
bool requestContext,
IList<ListingPrice> promotionLines,
IList<PriceAdjustment> listingPrices
)
public:
static IDictionary<long long, IDictionary<long long, Tuple^>^>^ GetPricesAndPromotionsForCurrentListingPage(
bool requestContext,
IList<ListingPrice^>^ promotionLines,
IList<PriceAdjustment^>^ listingPrices
)
Parameters
- requestContext
Type: System.Boolean
- promotionLines
Type: System.Collections.Generic.IList<ListingPrice>
- listingPrices
Type: System.Collections.Generic.IList<PriceAdjustment>
Return Value
Type: System.Collections.Generic.IDictionary<Int64, IDictionary<Int64, Tuple>>
Returns IDictionary<TKey, TValue>.