Package 

Interface PurchaseClient.ValidationResultListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onResponse(Result result) Invoked when we got 200 OK response from the server (INVALID purchase is considered to be successful response and will be returned to this callback)
      abstract Unit onFailure(String result, Throwable error) Invoked when we got some network exception or non 200/OK response from the server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onResponse

         abstract Unit onResponse(Result result)

        Invoked when we got 200 OK response from the server (INVALID purchase is considered to be successful response and will be returned to this callback)

        Parameters:
        result - server response
      • onFailure

         abstract Unit onFailure(String result, Throwable error)

        Invoked when we got some network exception or non 200/OK response from the server.

        Parameters:
        result - server response
        error - exception accrue during execution