Class CardData
Contains card information.
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class CardData
Constructors
CardData(PosEntryMode, String, String, String, String, String, Byte[], Int32, Nullable<DateTime>, String, String, List<CardTrackData>, Dictionary<String, Byte[]>, String, ProcessingDisposition, String, Int32, Int32, String, Byte[], CardProductType, Nullable<Int64>, String)
Create card data information.
Declaration
public CardData(PosEntryMode posEntryMode, string aid, string acc, string cardNumber, string cardNumberPrintable, string cardNumberPrintableCardholder, byte[] cardNumberEnc, int cardNumberEncKeyIndex, DateTime? cardExpiryDate, string brandName, string tenderName, List<CardTrackData> cardTrackDatas, Dictionary<string, byte[]> loyaltyInformation, string cardRef, ProcessingDisposition processingDisposition, string language, int cardCountryCode, int terminalCountryCode, string uid, byte[] asrpd, CardProductType cardProductType, long? cardType, string cardholder)
Parameters
Type | Name | Description |
---|---|---|
PosEntryMode | posEntryMode | |
System.String | aid | |
System.String | acc | |
System.String | cardNumber | |
System.String | cardNumberPrintable | |
System.String | cardNumberPrintableCardholder | |
System.Byte[] | cardNumberEnc | |
System.Int32 | cardNumberEncKeyIndex | |
System.Nullable<System.DateTime> | cardExpiryDate | |
System.String | brandName | |
System.String | tenderName | |
System.Collections.Generic.List<CardTrackData> | cardTrackDatas | |
System.Collections.Generic.Dictionary<System.String, System.Byte[]> | loyaltyInformation | |
System.String | cardRef | |
ProcessingDisposition | processingDisposition | |
System.String | language | |
System.Int32 | cardCountryCode | |
System.Int32 | terminalCountryCode | |
System.String | uid | |
System.Byte[] | asrpd | |
CardProductType | cardProductType | |
System.Nullable<System.Int64> | cardType | |
System.String | cardholder |
Properties
Acc
Gets the application currency code.
Declaration
public string Acc { get; }
Property Value
Type | Description |
---|---|
System.String | The acc. |
Aid
Gets the aid.
Declaration
public string Aid { get; }
Property Value
Type | Description |
---|---|
System.String | The aid. |
Asrpd
Asrpd.
Declaration
public byte[] Asrpd { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
BrandName
The name of the brand. Null if not available.
Declaration
public string BrandName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the brand. or null |
CardCountryCode
Card country code.
Declaration
public int CardCountryCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CardExpiryDate
Card expiration date. null if not available
Declaration
public DateTime? CardExpiryDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The card expiry date. or null |
Cardholder
Cardholder.
Declaration
public string Cardholder { get; }
Property Value
Type | Description |
---|---|
System.String |
CardNumber
Card number. Only for Non-PCI applications and if available to the terminal. null if not available.
Declaration
public string CardNumber { get; }
Property Value
Type | Description |
---|---|
System.String | The card number. or null |
CardNumberEnc
Encrypted card number. null if not available
Declaration
public byte[] CardNumberEnc { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The card number enc. or null |
CardNumberEncKeyIndex
Card number encryption key index.
Declaration
public int CardNumberEncKeyIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the card number enc key. |
CardNumberPrintable
Card number that should be printed on a merchant receipt. null if not available.
Declaration
public string CardNumberPrintable { get; }
Property Value
Type | Description |
---|---|
System.String | The card number printable. |
CardNumberPrintableCh
Card number that should be printed on a cardholder receipt. null if not available.
Declaration
public string CardNumberPrintableCh { get; }
Property Value
Type | Description |
---|---|
System.String | The card number printable or null. |
CardProductType
CardProductType.
Declaration
public CardProductType CardProductType { get; }
Property Value
Type | Description |
---|---|
CardProductType |
CardRef
Declaration
public string CardRef { get; }
Property Value
Type | Description |
---|---|
System.String |
CardTrackDatas
List of CardTrackDatas as
Declaration
public List<CardTrackData> CardTrackDatas { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CardTrackData> |
CardType
CardType.
Declaration
public long? CardType { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Language
Card language.
Declaration
public string Language { get; }
Property Value
Type | Description |
---|---|
System.String | The language. |
LoyaltyInformation
List of Loyalty Infos as CurrencyItem
Declaration
public Dictionary<string, byte[]> LoyaltyInformation { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Byte[]> |
LoyaltyInformations
List of Loyalty Infos as CurrencyItem
Deprecated! Use LoyaltyInformation instead.
Declaration
public Dictionary<string, byte[]> LoyaltyInformations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Byte[]> |
PosEntryMode
Gets the pos entry mode.
Declaration
public PosEntryMode PosEntryMode { get; }
Property Value
Type | Description |
---|---|
PosEntryMode | The pos entry mode. |
ProcessingDisposition
etrol: Defines if the ECR or EFT is responsible for further trx handling.
Declaration
public ProcessingDisposition ProcessingDisposition { get; }
Property Value
Type | Description |
---|---|
ProcessingDisposition | The processing disposition. |
TenderName
the tender name. Null if not available.
Declaration
public string TenderName { get; }
Property Value
Type | Description |
---|---|
System.String | TheTenderName. or null |
TerminalCountryCode
Terminal country code.
Declaration
public int TerminalCountryCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Uid
Contains the uid of the contactless card.
Declaration
public string Uid { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |