Class LastTransactionResponse
The LastTransactionResponse
Inherited Members
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class LastTransactionResponse : SimpleResponse
Fields
View SourceApproved
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 |
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.
mCard
Card details.
Declaration
public LastTransactionResponse.CardData mCard
Field Value
Type | Description |
---|---|
LastTransactionResponse.CardData |
mCustomerReceipt
Customer receipt assign if available
Declaration
public string mCustomerReceipt
Field Value
Type | Description |
---|---|
System.String |
mDCC
Direct Currency Conversion details, if the transaction involved DCC.
Declaration
public LastTransactionResponse.DccData mDCC
Field Value
Type | Description |
---|---|
LastTransactionResponse.DccData |
mEMV
EMV details, if the transaction involved EMV.
Declaration
public LastTransactionResponse.EmvData mEMV
Field Value
Type | Description |
---|---|
LastTransactionResponse.EmvData |
mMerchantDetails
Merchant details.
Declaration
public LastTransactionResponse.MerchantData mMerchantDetails
Field Value
Type | Description |
---|---|
LastTransactionResponse.MerchantData |
mMerchantReceipt
Merchant receipt assign if available
Declaration
public string mMerchantReceipt
Field Value
Type | Description |
---|---|
System.String |
mTransaction
Transaction details.
Declaration
public LastTransactionResponse.TransactionData mTransaction
Field Value
Type | Description |
---|---|
LastTransactionResponse.TransactionData |
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 SourceToString()
String representation for debugging
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Summary of the response |