Table of Contents

Class ShippingMethodInfo

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Data container class for ShippingMethodInfo.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name|InfoCacheBy.Guid)]
public class ShippingMethodInfo : AbstractInfo<ShippingMethodInfo, IInfoProvider<ShippingMethodInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName, IInfoWithGuid
Inheritance
object
ShippingMethodInfo
Implements
Inherited Members
Extension Methods

Constructors

ShippingMethodInfo()

Creates an empty instance of the ShippingMethodInfo class.

public ShippingMethodInfo()

ShippingMethodInfo(DataRow)

Creates a new instances of the ShippingMethodInfo class from the given System.Data.DataRow.

public ShippingMethodInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "commerce.shippingmethod"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

ShippingMethodDescription

Shipping method description.

[DatabaseField]
public virtual string ShippingMethodDescription { get; set; }

Property Value

string

ShippingMethodDisplayName

Shipping method display name.

[DatabaseField]
public virtual string ShippingMethodDisplayName { get; set; }

Property Value

string

ShippingMethodEnabled

Shipping method enabled.

[DatabaseField]
public virtual bool ShippingMethodEnabled { get; set; }

Property Value

bool

ShippingMethodGUID

Shipping method GUID.

[DatabaseField]
public virtual Guid ShippingMethodGUID { get; set; }

Property Value

Guid

ShippingMethodID

Shipping method ID.

[DatabaseField]
public virtual int ShippingMethodID { get; set; }

Property Value

int

ShippingMethodName

Shipping method name.

[DatabaseField]
public virtual string ShippingMethodName { get; set; }

Property Value

string

ShippingMethodPrice

Shipping method price.

[DatabaseField]
public virtual decimal ShippingMethodPrice { get; set; }

Property Value

decimal

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()