Table of Contents

Class PromotionCouponInfo

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Data container class for PromotionCouponInfo.

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

Constructors

PromotionCouponInfo()

Creates an empty instance of the PromotionCouponInfo class.

public PromotionCouponInfo()

PromotionCouponInfo(DataRow)

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

public PromotionCouponInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "commerce.promotioncoupon"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

PromotionCouponCode

Promotion coupon code.

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

Property Value

string

PromotionCouponCreatedWhen

Promotion coupon created when.

[DatabaseField]
public virtual DateTime PromotionCouponCreatedWhen { get; set; }

Property Value

DateTime

PromotionCouponGUID

Promotion coupon GUID.

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

Property Value

Guid

PromotionCouponID

Promotion coupon ID.

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

Property Value

int

PromotionCouponPromotionID

Promotion coupon promotion ID.

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

Property Value

int

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()