Try our conversational search powered by Generative AI!

Class GiftCardPayment

Represents Gift Card type of payment.

Inheritance
System.Object
GiftCardPayment
Implements
System.Xml.Serialization.IXmlSerializable
System.ICloneable
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class GiftCardPayment : Payment, IXmlSerializable, IStorageObject, ICloneable, ISerializable, IPayment, IExtendedProperties

Constructors

GiftCardPayment()

Initializes a new instance of the GiftCardPayment class.

Declaration
public GiftCardPayment()

GiftCardPayment(SerializationInfo, StreamingContext)

Initializes a new instance of the GiftCardPayment class.

Declaration
protected GiftCardPayment(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The info.

System.Runtime.Serialization.StreamingContext context

The context.

Properties

CardType

Gets or sets the type of the card. Types typically are VISA, MasterCard, AMEX.

Declaration
public string CardType { get; set; }
Property Value
Type Description
System.String

The type of the card.

ExpirationMonth

Gets or sets the expiration month. Goes from 1 to 12.

Declaration
public int ExpirationMonth { get; set; }
Property Value
Type Description
System.Int32

The expiration month.

ExpirationYear

Gets or sets the expiration year.

Declaration
public int ExpirationYear { get; set; }
Property Value
Type Description
System.Int32

The expiration year.

GiftCardNumber

Gets or sets the gift card number.

Declaration
public string GiftCardNumber { get; set; }
Property Value
Type Description
System.String

The gift card number.

GiftCardPaymentMetaClass

Gets the gift card payment meta class.

Declaration
public static MetaClass GiftCardPaymentMetaClass { get; }
Property Value
Type Description
MetaClass

The gift card payment meta class.

GiftCardSecurityCode

Gets or sets the gift card security code.

Declaration
public string GiftCardSecurityCode { get; set; }
Property Value
Type Description
System.String

The gift card security code.

Implements

System.Xml.Serialization.IXmlSerializable
System.ICloneable
System.Runtime.Serialization.ISerializable