Class TrackAndTrace
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a track and trace configuration for orders.
[Serializable]
public class TrackAndTrace
- Inheritance
-
TrackAndTrace
- Inherited Members
Constructors
TrackAndTrace()
Initializes a new instance of the TrackAndTrace class.
public TrackAndTrace()
Properties
ID
Gets or sets the identifier
public int ID { get; set; }
Property Value
IsNew
Indicates whether the current instance is new.
public bool IsNew { get; }
Property Value
Name
Gets or sets the track and trace name.
public string Name { get; set; }
Property Value
- string
The name.
Parameters
Gets or sets the track and trace Parameters.
public TrackAndTraceParameterCollection Parameters { get; set; }
Property Value
- TrackAndTraceParameterCollection
The Parameters.
Url
Gets or sets the track and trace URL.
public string Url { get; set; }
Property Value
- string
The URL.
Methods
AddParameter(string, string, string)
Adds the new TrackAndTraceParameter created from provided name, default value and description.
public void AddParameter(string parameterName, string defaultValue, string description)
Parameters
parameterName
stringThe parameter name.
defaultValue
stringThe parameter default value.
description
stringThe parameter description.
GetFormatedUrl(string)
Gets the track and trace formated URL.
public string GetFormatedUrl(string parameterValues)
Parameters
parameterValues
stringThe URL parameters.