Table of Contents

Class PaymentMethodInfo

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Data container class for PaymentMethodInfo.

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

Constructors

PaymentMethodInfo()

Creates an empty instance of the PaymentMethodInfo class.

public PaymentMethodInfo()

PaymentMethodInfo(DataRow)

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

public PaymentMethodInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "commerce.paymentmethod"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

PaymentMethodDescription

Payment method description.

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

Property Value

string

PaymentMethodDisplayName

Payment method display name.

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

Property Value

string

PaymentMethodEnabled

Payment method enabled.

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

Property Value

bool

PaymentMethodGUID

Payment method GUID.

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

Property Value

Guid

PaymentMethodID

Payment method ID.

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

Property Value

int

PaymentMethodName

Payment method name.

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

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()