Class ReceiptData.CardData
Card details
Inheritance
System.Object
ReceiptData.CardData
Inherited Members
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)
System.Object.ToString()
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class CardData
Properties
View SourceCardName
The card name
Declaration
public string CardName { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Note! The CardName here is not suitable for identifying the card type or the issuer. The card name can come from various sources, but it is normally the product name that is encoded on the card itself. It can contain whatever text the issuer chooses to place there, so there is no guarantee that “Visa” or “MasterCard” will actually appear there.
CardPresentation
The method used to present the card to the terminal
Declaration
public EntryMethod CardPresentation { get; }
Property Value
Type | Description |
---|---|
EntryMethod |
MaskedCardNumber
The masked card number provided in the merchant receipt from the terminal
Declaration
public string MaskedCardNumber { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
In cardholder receipts the card number is masked to only show the last four digits.
In merchant receipts the card number is masked to show the first six and last four digits.
PaymentCode
The payment code is the code that was provided by the ECR.
Declaration
public string PaymentCode { get; }
Property Value
Type | Description |
---|---|
System.String |