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)
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)
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 |
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. |
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
Declaration
public int CardCountryCode { get; set; }
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 |
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. |
CardRef
Petrol: Reference from the card.
Declaration
public string CardRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The card reference. |
CardTrackDatas
List of CardTrackDatas as
Declaration
public List<CardTrackData> CardTrackDatas { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CardTrackData> |
Language
Card language.
Declaration
public string Language { get; set; }
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
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; set; }
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
Declaration
public int TerminalCountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Uid
Declaration
public string Uid { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |