Class ResponseHookResponses

java.lang.Object
com.easypost.hooks.ResponseHookResponses

public class ResponseHookResponses extends Object
  • Constructor Details

    • ResponseHookResponses

      public ResponseHookResponses(int httpStatus, Map<String,String> headers, String method, String path, String responseBody, String responseTimestamp, String requestTimestamp, String requestUuid)
      ResponseHookResponses constructor.
      Parameters:
      httpStatus - The HTTP status code of the response.
      headers - The headers of the response.
      method - The HTTP method of the request.
      path - The path of the request.
      responseBody - The response body as a string.
      responseTimestamp - The timestamp of the response.
      requestTimestamp - The timestamp of the corresponding request.
      requestUuid - The UUID of the corresponding request.