Interface CallInformation


public interface CallInformation
CallInformation
  • Method Details

    • getFrom

      Get from
      Returns:
      from
    • getTo

      Get to
      Returns:
      to
    • getDomain

      Must be pstn for PSTN.
      Returns:
      domain
    • getCallId

      String getCallId()
      The unique identifier of the call.
      Returns:
      callId
    • getDuration

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

      The status of the call. Either ONGOING or FINAL
      Returns:
      status
    • getResult

      CallResult getResult()
      Get result
      Returns:
      result
    • getReason

      Contains the reason why a call ended.
      Returns:
      reason
    • getTimestamp

      Instant getTimestamp()
      The date and time of the call.
      Returns:
      timestamp
    • getCustom

      String getCustom()
      A string that can be used to pass custom information related to the call.
      Returns:
      custom
    • getUserRate

      Price getUserRate()
      Get userRate
      Returns:
      userRate
    • getDebit

      Price getDebit()
      Get debit
      Returns:
      debit
    • builder

      static CallInformation.Builder builder()
      Getting builder
      Returns:
      New Builder instance