Interface TimestampService

All Known Implementing Classes:
TimestampServiceImpl

public interface TimestampService
Unix epoch timestamp generator. This class is useful for stubbing in tests.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a nonce (unique value for each request)
    Returns the unix epoch timestamp in seconds
  • Method Details

    • getTimestampInSeconds

      String getTimestampInSeconds()
      Returns the unix epoch timestamp in seconds
      Returns:
      timestamp
    • getNonce

      String getNonce()
      Returns a nonce (unique value for each request)
      Returns:
      nonce