Class CardData
Contains card information.
Inheritance
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class CardData : object
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, AccountType, String, String, TokenPanType, 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, Int32 cardCountryCode, Int32 terminalCountryCode, String uid, byte[] asrpd, CardProductType cardProductType, long? cardType, String cardholder, AccountType accountType, string emvPar, string tokenPan, TokenPanType tokenPanType, string additionalCardData)
Parameters
Type | Name | Description |
---|---|---|
PosEntryMode | posEntryMode | |
String | aid | |
String | acc | |
String | cardNumber | |
String | cardNumberPrintable | |
String | cardNumberPrintableCardholder | |
System.Byte[] | cardNumberEnc | |
System.Int32 | cardNumberEncKeyIndex | |
System.Nullable<DateTime> | cardExpiryDate | |
String | brandName | |
String | tenderName | |
List<CardTrackData> | cardTrackDatas | |
Dictionary<String, System.Byte[]> | loyaltyInformation | |
String | cardRef | |
ProcessingDisposition | processingDisposition | |
String | language | |
Int32 | cardCountryCode | |
Int32 | terminalCountryCode | |
String | uid | |
System.Byte[] | asrpd | |
CardProductType | cardProductType | |
System.Nullable<System.Int64> | cardType | |
String | cardholder | |
AccountType | accountType | |
System.String | emvPar | |
System.String | tokenPan | |
TokenPanType | tokenPanType | |
System.String | additionalCardData |
Properties
Acc
Gets the application currency code.
Declaration
public string Acc { get; }
Property Value
Type | Description |
---|---|
System.String | The acc. |
AccountType
Account type.
Declaration
public AccountType AccountType { get; }
Property Value
Type | Description |
---|---|
AccountType |
AdditionalCardData
Additional card information (non-PCI) that can have merchant specific formatting. Guides: Dialog
Declaration
public string AdditionalCardData { get; }
Property Value
Type | Description |
---|---|
System.String |
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 Int32 CardCountryCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
CardExpiryDate
Card expiration date. null if not available
Declaration
public DateTime? CardExpiryDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | The card expiry date. or null |
Cardholder
Cardholder.
Declaration
public String Cardholder { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
String |
CardTrackDatas
List of CardTrackDatas as
Declaration
public List<CardTrackData> CardTrackDatas { get; }
Property Value
Type | Description |
---|---|
List<CardTrackData> |
CardType
CardType.
Declaration
public long? CardType { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
EmvPar
The EMV PAR "may be used to link transactions initiated on Payment Tokens with transactions initiated on the underlying PAN", which can be used in a transaction response to be able the identify if the transaction e.g. with a used token PAN is related to a previous transaction performed with the underlying PAN. If so, both transaction responses will contain the same value in the EmvPar field.
Declaration
public string EmvPar { get; }
Property Value
Type | Description |
---|---|
System.String |
Language
Card language.
Declaration
public String Language { get; }
Property Value
Type | Description |
---|---|
String | The language. |
LoyaltyInformation
List of Loyalty Infos as CurrencyItem
Declaration
public Dictionary<String, byte[]> LoyaltyInformation { get; }
Property Value
Type | Description |
---|---|
Dictionary<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 |
---|---|
Dictionary<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 Int32 TerminalCountryCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
TokenPan
The token PAN is a tokenized version for an underlaying card PAN. If the underlaying payment protocol supports it, a payment transaction can be initiated with the token PAN instead of using a card. A token PAN is normally generated by a tokenization service either form the acquirer host or the issuer host.
The TokenPan field is used in a SIXml request message as part of the sixml:TransactionData container to trigger a token-based transaction and in a SIXml response message as part of the sixml:CardData container for returning token PANs to the ECR.
The TokenPan field always must be accompanied by a corresponding TokenPanType field.
Declaration
public string TokenPan { get; }
Property Value
Type | Description |
---|---|
System.String |
TokenPanType
To differ the source of a token PAN, the TokenPanType field is used in a SIXml request message as part of the sixml:TransactionData container and in a SIXml response message as part of the sixml:CardData container.
The TokenPanType field always is transmitted if a TokenPan field is transmitted but must not be transmitted alone.
Declaration
public TokenPanType TokenPanType { get; }
Property Value
Type | Description |
---|---|
TokenPanType |
Uid
Contains the uid of the contactless card.
Declaration
public String Uid { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |