Class TransactionData
Contains configuration for transaction used by {@link Terminal.Transaction} or {@link Terminal.TransactionAsync}.
Inheritance
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TransactionData : object
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<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> |
DeferredAuthInd
Indicates that the transaction shall be performed using deffered authorisation. The following values are valid: true: Deferred authorisation applies false: Standard authorisation scheme (default)
Declaration
public bool? DeferredAuthInd
Field Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
InstallmentAllowed
Indicates if installment shall be allowed for a transaction. This tag can be set for each transaction separately to specifically allow or disallow installment feature during the corresponding transaction. As this is a boolean value is can be understood as follows: true: Installment is allowed for the transaction false: Installment is NOT allowed for the transaction
Declaration
public bool? InstallmentAllowed
Field Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
SubTransactions
Sub transactions.
Declaration
public List<SubTransaction> SubTransactions
Field Value
Type | Description |
---|---|
List<SubTransaction> |
TransactionReason
Set the transaction reason to setup credential on file.
Declaration
public TransactionReason TransactionReason
Field Value
Type | Description |
---|---|
TransactionReason |
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 |
---|---|
String | The acq trans reference. |
CardRef
Petrol: Reference from the card.
Declaration
public String CardRef { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
String | The phone authentication code. |
SaferpayAlias
Saferpay alias..
Declaration
public String SaferpayAlias { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
String | The TRM trans reference. |
TrxOriginalDate
Timestamp of the original transaction.
Declaration
public DateTime TrxOriginalDate { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
String |