Class SimpleResponse
Base class for responses that will be sent back on the API
Inheritance
System.Object
SimpleResponse
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)
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class SimpleResponse
Fields
View SourceResult
The result of the request. The meaning of this is dependent on the request that is being handled.
Declaration
protected bool Result
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
View SourceAdditionalInformation
Additional diagnostic text detail. For logging purposes only.
Declaration
public string AdditionalInformation { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The terminal may provide additional diagnostic information in the AdditionalInformation property. This is intended for debug and logging purposes. The text in here is not translated and is not useful for a cashier or customer.
ErrorCondition
Specific error condition that might show why a request failed
Declaration
public ErrorConditions ErrorCondition { get; protected set; }
Property Value
Type | Description |
---|---|
ErrorConditions |
Methods
View SourceToString()
String representation for debugging
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Summary of the response |
Overrides
System.Object.ToString()