Class TransactionData
Contains configuration for transaction used by {@link Terminal.Transaction} or {@link Terminal.TransactionAsync}.
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TransactionData
Constructors
TransactionData()
Create transaction data.
Declaration
public TransactionData()
TransactionData(TransactionData)
Create copy of transaction data
Declaration
public TransactionData(TransactionData data)
Parameters
Type | Name | Description |
---|---|---|
TransactionData | data | The TransactionData to copy. |
Fields
AppExpirationDate
Application expiration date. Each application on a card has a corresponding expiration date and can be read from the card. Example: The format of an 'Expiration Date' is defined as MMyy, 2 digits for the month and 2 digits for the year. So January 2018 will have the following format as 'Expiration Date': 0118 Optional: Used for MPKE for non-PCI brands based transactions.
Declaration
public DateTime? AppExpirationDate
Field Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Cvc2
Card verification code 2. The card verification code 2 is used for transactions with MPKE as an additional security element that has to be provided. It has an n3 value: Numeric 3 digits: 012 Optional: Used for MPKE for non-PCI brands.
Declaration
public long? Cvc2
Field Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Properties
AcqId
Acquirer identifier. Uniquely identifies the acquirer.
Declaration
public long AcqId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | The acq identifier. |
AcqTransRef
Contains the transaction reference from the acquirer.
Declaration
public string AcqTransRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The acq trans reference. |
CardRef
Petrol: Reference from the card.
Declaration
public string CardRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The card reference. |
DccAllowed
Set or read if the EFT Terminal is allowed to enable DCC function.
Declaration
public bool DccAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EcrSeqCounter
ECR sequence counter.
Declaration
public int EcrSeqCounter { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Language
the language. (Petrol, Unattended)
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String | The language. |
MultiCurrencyFlag
Indicates if the transaction uses multiple currencies.
Optional: Indicates that the transaction uses multiple currencies.
Specifications: banking, gastro, hospitality,austrianUseCases.
Declaration
public bool MultiCurrencyFlag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NGVClearingDelay
Declaration
public int NGVClearingDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NGVMode
Defines if NGV usage is mandatory or optional if card supports it.
Set to null if not used.
Available if {@link Guides#AUSTRIAN_USE_CASES} is enabled.
Declaration
public NgvMode NGVMode { get; set; }
Property Value
Type | Description |
---|---|
NgvMode |
PartialApprovalAllowed
Declaration
public bool PartialApprovalAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PhoneAuthCode
Phone authorization code.
Declaration
public string PhoneAuthCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The phone authentication code. |
SaferpayAlias
Saferpay alias..
Declaration
public string SaferpayAlias { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Saferpay alias. |
SaferpayRecurring
Declaration
public bool SaferpayRecurring { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SixTrxRefNum
SIX Transaction reference number.
Declaration
public string SixTrxRefNum { get; set; }
Property Value
Type | Description |
---|---|
System.String | The SIX Transaction reference number. |
TipAllowed
Tip is allowed for purchase transactions. Use null to not use this parameter.
Declaration
public bool TipAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TransRef
Get/Set transaction reference defined by the terminal.
Declaration
public string TransRef { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransSeq
Get/Set transaction sequence number defined by the terminal.
Declaration
public string TransSeq { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TrmTransRef
transaction reference from the terminal.
Declaration
public string TrmTransRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TRM trans reference. |
TrxOriginalDate
Timestamp of the original transaction.
Declaration
public DateTime TrxOriginalDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
setAcqTransRef(Int32, Int32)
Set transaction reference from the acquirer.
This method is to be used only for manual entry by clerks for EP2 hospitality transactions only.
Acquirer ID as printed on receipt. trxRefNo Transaction reference as printed on receipt.Declaration
public void setAcqTransRef(int acqId, int trxRefNo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | acqId | |
System.Int32 | trxRefNo |
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |