Package com.creditcall.chipdnamobile
Class OfflineRequest
- java.lang.Object
-
- com.creditcall.chipdnamobile.OfflineRequest
-
public class OfflineRequest extends java.lang.ObjectThis class represents the record of an offline stored transaction request which resulted in failure.- Author:
- Creditcall Ltd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOfflineRequest.CEMOfflineRequestTypeAn enum representing the type of the request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringamount()Gets the amount of the transaction in minor units.java.lang.StringdateAndTime()Gets the date and time of the transaction.java.util.List<ChipDnaMobileErrorCode>errorCodes()Get the error codes for the transaction.OfflineRequest.CEMOfflineRequestTypetype()Gets the type of the request.java.lang.StringuserReference()Gets the user reference for the transaction.
-
-
-
Method Detail
-
dateAndTime
public java.lang.String dateAndTime()
Gets the date and time of the transaction. It is in the "dd/MM/yyyy HH:mm:ss" format.- Returns:
- The date and time of the transaction.
-
amount
public java.lang.String amount()
Gets the amount of the transaction in minor units.- Returns:
- The amount, null otherwise.
-
userReference
public java.lang.String userReference()
Gets the user reference for the transaction.- Returns:
- The user reference.
-
type
public OfflineRequest.CEMOfflineRequestType type()
Gets the type of the request.- Returns:
- The type of the request.
-
errorCodes
public java.util.List<ChipDnaMobileErrorCode> errorCodes()
Get the error codes for the transaction.- Returns:
- The error codes for the transaction.
-
-