Esempio n. 1
0
        /// <summary>
        /// Returns a collection of ship methods assigned for this specific provider configuration (associated with the ShipCountry)
        /// </summary>
        /// <param name="shipCountryKey">The key for the <see cref="IShipCountry"/></param>
        /// <returns>
        /// A collection of <see cref="IShippingGatewayMethod"/>
        /// </returns>
        public IEnumerable <IShippingGatewayMethod> GetAllShippingGatewayMethodsForShipCountry(Guid shipCountryKey)
        {
            var shipCountry = GatewayProviderService.GetShipCountryByKey(shipCountryKey);

            return(GetAllShippingGatewayMethods(shipCountry));
        }