Class CallInformation

java.lang.Object
com.sinch.sdk.domains.voice.models.response.CallInformation

public class CallInformation extends Object
Information related to a specific call
  • Method Details

    • getFrom

      public Destination getFrom()
      The caller information
      Returns:
      Destination instance describing caller
    • getTo

      public Destination getTo()
      The callee information
      Returns:
      Destination instance describing callee
    • getDomain

      public DomainType getDomain()
      The domain type
      Returns:
      Domain type
    • getCallId

      public String getCallId()
      The unique identifier of the call
      Returns:
      Call identifier
    • getDuration

      public Integer getDuration()
      The duration of the call in seconds
      Returns:
      Call duration
    • getStatus

      public CallStatusType getStatus()
      The status of the call.
      Returns:
      Call status
    • getResult

      public CallResultType getResult()
      Contains the result of a call.
      Returns:
      Call result
    • getReason

      public CallReasonType getReason()
      Contains the reason why a call ended
      Returns:
      Call ended reason
    • getTimeStamp

      public Instant getTimeStamp()
      The date and time of the call
      Returns:
      Date time information related to call
    • getCustom

      public String getCustom()
      Custom data passed onto callout
      Returns:
      The custom data value
    • getUserRate

      public Price getUserRate()
      The rate per minute that was charged for the call.
      Returns:
      Price information
    • getDebit

      public Price getDebit()
      The total amount charged for the call
      Returns:
      Price information
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CallInformation.Builder builder()
      Create a builder instance
      Returns:
      Dedicated builder