Class TrackAndTraceService
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
public class TrackAndTraceService : ICacheStorage<int, TrackAndTrace>, ICacheStorage<int>, ICacheStorage
- Inheritance
-
TrackAndTraceService
- Implements
- Inherited Members
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
public void ClearCache()
Delete(TrackAndTrace)
Deletes a given track and trace configuration.
public void Delete(TrackAndTrace trackAndTrace)
Parameters
trackAndTrace
TrackAndTrace- Track and trace configuration to delete.
GetTrackAndTraceById(int)
Gets a track and trace configuration by id.
public TrackAndTrace GetTrackAndTraceById(int id)
Parameters
id
int- Track and trace identifier.
Returns
- TrackAndTrace
- An instance of TrackAndTrace, if ound; otherwise, null.
GetTrackAndTraces()
Gets all track and trace configurations.
public IEnumerable<TrackAndTrace> GetTrackAndTraces()
Returns
Save(TrackAndTrace)
Saves a given track and trace configuration.
public void Save(TrackAndTrace trackAndTrace)
Parameters
trackAndTrace
TrackAndTrace- Track and trace configuration to save.