Class Payment

    • Method Detail

      • fromJson

        public static Payment fromJson​(String json,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Payment object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Payment object represented by the provided JSON
      • fromJson

        public static Payment fromJson​(InputStream json,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Payment object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Payment object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
      • getCallSid

        public final String getCallSid()
      • getSid

        public final String getSid()
      • getUri

        public final String getUri()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object