예제 #1
0
 /// <summary>
 /// Returns a collection of all available <see cref="IShipmentRateQuote"/> for a given shipment
 /// </summary>
 /// <param name="strategy">The quotation strategy</param>
 /// <returns>A collection of <see cref="IShipmentRateQuote"/></returns>
 public IEnumerable <IShipmentRateQuote> QuoteShippingGatewayMethodsForShipment(ShipmentRateQuoteStrategyBase strategy)
 {
     return(strategy.GetShipmentRateQuotes());
 }
예제 #2
0
 /// <summary>
 /// Returns a collection of all available <see cref="IShipmentRateQuote"/> for a given shipment
 /// </summary>
 /// <param name="strategy">
 /// The quotation strategy
 /// </param>
 /// <param name="tryGetCached">
 /// If set true the strategy will try to get a quote from cache
 /// </param>
 /// <returns>
 /// A collection of <see cref="IShipmentRateQuote"/>
 /// </returns>
 public IEnumerable <IShipmentRateQuote> QuoteShippingGatewayMethodsForShipment(ShipmentRateQuoteStrategyBase strategy, bool tryGetCached = true)
 {
     return(strategy.GetShipmentRateQuotes(tryGetCached));
 }
 /// <summary>
 /// Returns a collection of all available <see cref="IShipmentRateQuote"/> for a given shipment
 /// </summary>
 /// <param name="strategy">The quotation strategy</param>
 /// <returns>A collection of <see cref="IShipmentRateQuote"/></returns>
 public IEnumerable<IShipmentRateQuote> QuoteShippingGatewayMethodsForShipment(ShipmentRateQuoteStrategyBase strategy)
 {
     return strategy.GetShipmentRateQuotes();
 }
 /// <summary>
 /// Returns a collection of all available <see cref="IShipmentRateQuote"/> for a given shipment
 /// </summary>
 /// <param name="strategy">
 /// The quotation strategy
 /// </param>
 /// <param name="tryGetCached">
 /// If set true the strategy will try to get a quote from cache
 /// </param>
 /// <returns>
 /// A collection of <see cref="IShipmentRateQuote"/>
 /// </returns>
 public IEnumerable<IShipmentRateQuote> QuoteShippingGatewayMethodsForShipment(ShipmentRateQuoteStrategyBase strategy, bool tryGetCached = true)
 {
     return strategy.GetShipmentRateQuotes(tryGetCached);
 }