Table of Contents

Class GiftCardTransaction

Namespace
Dynamicweb.Ecommerce.GiftCards
Assembly
Dynamicweb.Ecommerce.dll
Represents information about an GiftCardTransaction.
public class GiftCardTransaction : DbObject
Inheritance
GiftCardTransaction
Inherited Members

Constructors

GiftCardTransaction()

Initializes a new instance of the GiftCardTransaction class.
public GiftCardTransaction()

GiftCardTransaction(IDataReader)

Initializes a new instance of the GiftCardTransaction class from datareader.
[Obsolete("This method is no longer used.")]
public GiftCardTransaction(IDataReader dataReader)

Parameters

dataReader IDataReader
The data reader.

Properties

Amount

Gets or sets the GiftCardTransaction amount.
public double Amount { get; set; }

Property Value

double
GiftCardTransaction amount

GiftCardID

Gets or sets the GiftCardTransaction related giftCard id.
public string GiftCardID { get; set; }

Property Value

string
The giftCard id.

ID

Gets the GiftCardTransaction ID.
public int ID { get; }

Property Value

int

OrderID

Gets or sets the GiftCardTransaction related order id.
public string OrderID { get; set; }

Property Value

string
The order id

OrderLineID

Gets or sets the GiftCardTransaction related order id.
public string OrderLineID { get; set; }

Property Value

string
The order id

TransactionDate

Gets the GiftCardTransaction creation date.
public DateTime TransactionDate { get; }

Property Value

DateTime

Methods

Delete(int)

Deletes the gift card transaction.
[Obsolete("Use Services.GiftCard.DeleteGiftCardTransaction instead.")]
public override void Delete(int id)

Parameters

id int

Fill(IDataReader)

Fills the GiftCardTransaction properties from the specified data reader.
[Obsolete("This method is no longer used.")]
public override void Fill(IDataReader reader)

Parameters

reader IDataReader
The data reader.

FillRow(DataRow)

Fills the given System.Data.DataRow object with property values of the current object.
[Obsolete("This method is no longer used.")]
protected override void FillRow(DataRow row)

Parameters

row DataRow
An instance of the System.Data.DataRow object to write data to.

Save()

Saves the gift card transaction.
[Obsolete("Use Services.GiftCard.SaveGiftCardTransaction instead.")]
public override void Save()
To top