TransactionData

public class TransactionData : CustomStringConvertible

Contains configuration for transaction used by {@link Terminal#transaction} or {@link Terminal#transactionAsync}.

  • Create transaction data.

    Declaration

    Swift

    public init()
  • Create copy of transaction data.

    Declaration

    Swift

    public init(data: TransactionData)
  • Allows the EFT Terminal to enable DCC function. Use null to not use this parameter.

    Declaration

    Swift

    public var dccAllowed: Bool?
  • Timestamp of the original transaction. Use null to not use this parameter.

    Declaration

    Swift

    public var trxOriginalDate: TimeDate?
  • ECR sequence counter. Use null to not use this parameter.

    Declaration

    Swift

    public var ecrSeqCounter: Int?
  • Partial approval is allowed. Use null to not use this parameter.

    Declaration

    Swift

    public var partialApprovalAllowed: Bool?
  • Transaction reference defined by the terminal. Use null to not use this parameter.

    Declaration

    Swift

    public var transRef: Int?
  • Transaction sequence number defined by the terminal. Use null to not use this parameter.

    Declaration

    Swift

    public var transSeq: Int?
  • Petrol: Reference from the card.

    Declaration

    Swift

    public var cardRef: String?
  • Acquirer identifier. Uniquely identifies the acquirer.

    Declaration

    Swift

    public var acqId: Int?
  • Contains the transaction reference from the acquirer.

    Declaration

    Swift

    public var acqTransRef: String?
  • Set transaction reference from the acquirer.

    This method is to be used only for manual entry by clerks for EP2 hospitality transactions only.

    Declaration

    Swift

    public func setAcqTransRef(acqId: Int, trxRefNo: Int)
  • Transaction reference from the terminal.

    Declaration

    Swift

    public var trmTransRef: String?
  • Tip is allowed for purchase transactions. Use null to not use this parameter.

    This parameter is only used if {@link com.six.timapi.constants.Guides#GASTRO} is enabled.

    Declaration

    Swift

    public var tipAllowed: Bool?
  • Phone authorization code.

    Declaration

    Swift

    public var phoneAuthCode: String?
  • Petrol, Unattended: Language

    Declaration

    Swift

    public var language: String?
  • SIX Transaction Reference Number.

    Declaration

    Swift

    public var sixTrxRefNum: String?
  • Saferpay alias.

    Declaration

    Swift

    public var saferpayAlias: String?
  • Saferpay recurring enabled.

    Declaration

    Swift

    public var saferpayRecurring: Bool
  • Indicates if the transaction uses multiple currencies.

    Optional: Indicates that the transaction uses multiple currencies.

    Specifications: banking, gastro, hospitality, austrianUseCases.

    Declaration

    Swift

    public var multiCurrencyFlag: Bool?
  • Defines if NGV usage is mandatory or optional if card supports it.

    Available if {@link Guides#AUSTRIAN_USE_CASES} is enabled.

    Declaration

    Swift

    public var ngvMode: CNgvMode?
  • Defines the clearing delay of the PurchaseNGV transaction.

    Available if {@link Guides#AUSTRIAN_USE_CASES} is enabled.

    Declaration

    Swift

    public var ngvClearingDelay: Int
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }