Package com.chargebee

Class Result

All Implemented Interfaces:
ApiResponse
Direct Known Subclasses:
BatchResult

public class Result extends ResultBase implements ApiResponse
  • Field Details

    • httpCode

      public final int httpCode
    • responseHeaders

      public Map<String,List<String>> responseHeaders
  • Constructor Details

    • Result

      public Result(int httpCode, org.json.JSONObject jsonObj)
    • Result

      public Result(int httpCode, org.json.JSONObject jsonObj, Map<String,List<String>> responseHeaders)
  • Method Details

    • httpCode

      public int httpCode()
      Specified by:
      httpCode in interface ApiResponse
    • getResponseHeaders

      public Map<String,List<String>> getResponseHeaders()
    • isIdempotencyReplayed

      public boolean isIdempotencyReplayed()
    • jsonResponse

      public org.json.JSONObject jsonResponse()
      Specified by:
      jsonResponse in interface ApiResponse