Table of Contents

Class GiftCard

Namespace
Dynamicweb.Ecommerce.GiftCards
Assembly
Dynamicweb.Ecommerce.dll

Represents information about an GiftCard.

[Serializable]
public class GiftCard
Inheritance
GiftCard
Inherited Members

Constructors

GiftCard(bool)

Initializes a new instance of the GiftCard

public GiftCard(bool generateNewCode)

Parameters

generateNewCode bool

If set to true, generates a new code for the gift card.

Properties

Code

Gets the GiftCard Code.

public string Code { get; }

Property Value

string

CreationDate

Gets or sets the GiftCard expiry date.

public DateTime CreationDate { get; set; }

Property Value

DateTime

CurrencyCode

Gets or sets the currency code.

public string CurrencyCode { get; set; }

Property Value

string

ExpiryDate

Gets the GiftCard expiry date.

public DateTime ExpiryDate { get; }

Property Value

DateTime

GiftCardId

Gets or sets the GiftCard ID.

public string GiftCardId { get; set; }

Property Value

string

ID

public int ID { get; set; }

Property Value

int

InitialAmount

Gets or sets the GiftCard initial Amount.

public double InitialAmount { get; set; }

Property Value

double

IsNew

public bool IsNew { get; }

Property Value

bool

Name

Gets or sets or sets the GiftCard name.

public string Name { get; set; }

Property Value

string

VATPercent

Gets or sets the VAT percent.

public double? VATPercent { get; set; }

Property Value

double?

The VAT percent

To top