TransactionRequest

public class TransactionRequest : CustomStringConvertible

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

  • Create transaction request.

    Declaration

    Swift

    public init()
  • Create copy of transaction request.

    Declaration

    Swift

    public init(request: TransactionRequest)
  • ECR user identifier.

    Declaration

    Swift

    public var userId: Int?
  • Transaction amount and currency.

    Declaration

    Swift

    public var amount: Amount?
  • Transaction information.

    Declaration

    Swift

    public var transactionData: TransactionData?
  • Additional merchant options.

    Declaration

    Swift

    public var merchantOptions: [CMerchantOptionType : String]
  • Additional information list.

    Declaration

    Swift

    public var additionalInfo: [Int : String]
  • Petrol: Basket.

    Declaration

    Swift

    public var basket: Basket?
  • Proposed tip amount.

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

    Declaration

    Swift

    public var amountTip: Amount?
  • Cashback amount and currency.

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

    Declaration

    Swift

    public var amountOther: Amount?
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }