Package com.creditcall.chipdnamobile

# Class OfflineRequest

java.lang.Object
com.creditcall.chipdnamobile.OfflineRequest

public class OfflineRequest extends Object
This 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 enum`
  `OfflineRequest.CEMOfflineRequestType`
  An enum representing the type of the request

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `amount()`
  Gets the amount of the transaction in minor units.
  `String`
  `dateAndTime()`
  Gets the date and time of the transaction.
  `List<ChipDnaMobileErrorCode>`
  `errorCodes()`
  Get the error codes for the transaction.
  `OfflineRequest.CEMOfflineRequestType`
  `type()`
  Gets the type of the request.
  `String`
  `userReference()`
  Gets the user reference for the transaction.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### dateAndTime

    public 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 String amount()
    Gets the amount of the transaction in minor units.
    Returns:
      The amount, null otherwise.

  - ### userReference

    public 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 List<ChipDnaMobileErrorCode> errorCodes()
    Get the error codes for the transaction.
    Returns:
      The error codes for the transaction.