using System; using System.Collections.Generic; using Nop.Services.Shipping; namespace Nop.Plugin.Shipping.NopCliGeneric.Services { public interface IShippingNopCliGenericService { /// /// Gets all rates /// /// /// IList GetAllRates(GetShippingOptionRequest shippingOptionRequest); /// /// Create or upadete shipping /// /// /// /// /// void CreateOrUpadeteShipping(string orderNumber, string carrier, string service, string trackingNumber); /// /// Get XML view of orders to sending to the ShippingNopCliGeneric service /// /// Created date from (UTC); null to load all records /// Created date to (UTC); null to load all records /// Page index /// Page size /// XML view of orders string GetXmlOrders(DateTime? startDate, DateTime? endDate, int pageIndex, int pageSize); /// /// Gets a string that defines the required format of date time /// string DateFormat { get; } } }