• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • Westpay.Epas
      • AdminOperation
      • AdminResponse
      • AltMethodTransaction
      • ApiResult
      • AuthorisationChannel
      • AuthorisingEntity
      • BufferTools
      • CardAcceptedEventArgs
      • CurrencyCodes
      • EnableCardReaderOptions
      • EnableReadersResponse
      • EntryMethod
      • EpasClient
      • EpasClient.CardAcceptedNotification
      • EpasClient.CardActionNotification
      • EpasClient.EpasMessageReceiver
      • EpasClient.StatusNotification
      • ErrorConditions
      • IClientApp
      • LastTransactionResponse
      • LastTransactionResponse.CardData
      • LastTransactionResponse.DccData
      • LastTransactionResponse.EmvData
      • LastTransactionResponse.MerchantData
      • LastTransactionResponse.TransactionData
      • LoginResponse
      • LogLevel
      • LogoutResponse
      • OperatingParameters
      • PurchaseRequest
      • PurchaseTransactionAmounts
      • ReceiptData
      • ReceiptData.AuthorisationData
      • ReceiptData.CardData
      • ReceiptData.DccData
      • ReceiptData.EmvData
      • ReceiptData.MerchantData
      • ReceiptData.TransactionData
      • ReceiptData.TranslatedTextId
      • ReceiptVersion
      • RefundRequest
      • ServiceEnableType
      • SimpleResponse
      • TerminalEnvironment
      • TerminalNetworkConnection
      • TransactionOutcome
      • TransactionRequest
      • TransactionResponse
      • TransactionType
      • VerificationMethod

    Class TransactionResponse

    The TransactionResponse class encapsulates the result of a purchase, refund or cash advance request

    Inheritance
    System.Object
    SimpleResponse
    TransactionResponse
    Inherited Members
    SimpleResponse.Result
    SimpleResponse.ErrorCondition
    SimpleResponse.AdditionalInformation
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Westpay.Epas
    Assembly: EpasClientLibrary.dll
    Syntax
    public class TransactionResponse : SimpleResponse

    Fields

    View Source

    Approved

    If this is true, then the transaction was approved. Otherwise, the ErrorCondition, and AdditionalInformation properties will give more detail on why the transaction was not approved.

    Declaration
    public bool Approved
    Field Value
    Type Description
    System.Boolean
    View Source

    FinalAmount

    The total amount that was used in the transaction. Note that for a purchase this may be more than the original requested amount due to charges or tipping that were added during the transaction.

    Declaration
    public decimal FinalAmount
    Field Value
    Type Description
    System.Decimal
    Remarks

    The transaction amount may also be affected by DCC, if it was applied during the transaction, see DCC.

    The breakdown of the final transaction amount is given in the receipt data, see ReceiptData.TransactionData.

    View Source

    TransactionReference

    The transaction reference is assigned by the terminal. It identifies the transaction and is required for a reversal, as well as for any post-transaction checks or queries that might arise.

    Declaration
    public string TransactionReference
    Field Value
    Type Description
    System.String

    Methods

    View Source

    ToString()

    String representation for debugging

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Summary of the response

    Overrides
    SimpleResponse.ToString()
    • View Source
    In This Article
    Back to top Generated by DocFX