Class ReceiptData.TransactionData
The TransactionData class contains data elements describing the transaction
Inheritance
Inherited Members
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class TransactionData
Properties
View SourceAdditionalCharges
Added charges, typically for a cash advance transaction
Declaration
public decimal AdditionalCharges { get; }
Property Value
Type | Description |
---|---|
System. |
AlternativePaymentMethod
Identifies an alternative payment method that was used.
Declaration
public string AlternativePaymentMethod { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
An alternative payment method is where the normal card process was not used, and instead the customer paid by other means. Examples of payment methods are "swish", and "vipps".
The list of available payment methods depends which country the terminal is deployed in, and what the terminal is used for. Contact Westpay for a complete list of applicable payment methods.
Cashback
Cashback amount
Declaration
public decimal Cashback { get; }
Property Value
Type | Description |
---|---|
System. |
IsoCurrencyCode
Three-letter ISO 4217 currency code for the transaction
Declaration
public string IsoCurrencyCode { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
This code is derived from the transaction currency code that is set in the operating parameters
(see Transaction
NetAmount
The value of the transaction, without cashback, tip, or charges included. The VAT value, is part of the net amount.
Declaration
public decimal NetAmount { get; }
Property Value
Type | Description |
---|---|
System. |
Reference
The transaction reference assigned by the terminal. This is used if the transaction must be reversed.
Declaration
public string Reference { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
Used in the receipt header.
See Also
View SourceTimestamp
Time of the transaction, according to the terminal
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
Used in the receipt header.
Tip
The value of the tip, if added by the customer
Declaration
public decimal Tip { get; }
Property Value
Type | Description |
---|---|
System. |
Total
The total of the net amount, cashback amount, tip, and additional charges.
Declaration
public decimal Total { get; }
Property Value
Type | Description |
---|---|
System. |
TxnType
Transaction type
Declaration
public TransactionType TxnType { get; }
Property Value
Type | Description |
---|---|
Transaction |
Vat
VAT amount if specified, already included in the Net Amount
Declaration
public decimal Vat { get; }
Property Value
Type | Description |
---|---|
System. |