Class VoiceSession

java.lang.Object
ru.bitel.common.model.ContractId
ru.bitel.bgbilling.modules.voice.common.bean.VoiceSession
All Implemented Interfaces:
ContractIdable
Direct Known Subclasses:
VoiceSessionLog

public class VoiceSession extends ContractId
  • Field Details

  • Constructor Details

    • VoiceSession

      public VoiceSession()
    • VoiceSession

      public VoiceSession(VoiceSession session)
  • Method Details

    • getAccountId

      public int getAccountId()
    • getAccountMap

      public Map<Integer,VoiceSessionAccount> getAccountMap()
      Получение наработки сессии с разбивкой по услугам
      Returns:
      мап наработок сессии. В качестве ключа выступает код услуги. Каждая запись в себя включает код услуги, количество в секундах и рублях.
    • getAccountTitle

      public String getAccountTitle()
    • getAcctSessionId

      public String getAcctSessionId()
    • getCalledStationId

      public String getCalledStationId()
    • getCallingStationId

      public String getCallingStationId()
    • getCallType

      public short getCallType()
    • getCdrCallCost

      public BigDecimal getCdrCallCost()
    • getCdrCallOperCost

      public BigDecimal getCdrCallOperCost()
    • getCodeId

      public int getCodeId()
    • getContractComment

      public String getContractComment()
    • getContractTitle

      public String getContractTitle()
    • getCostMapItemId

      public int getCostMapItemId()
    • getDestinationId

      public int getDestinationId()
    • getDeviceId

      public int getDeviceId()
      Получение кода устройства, к которому привязан аккаунт.
      Returns:
      код устройства
    • getE164CalledStationId

      public String getE164CalledStationId()
    • getE164CallingStationId

      public String getE164CallingStationId()
    • getFromPort

      public String getFromPort()
    • getHour

      public Date getHour()
    • getId

      public long getId()
    • getIdentifier

      public String getIdentifier()
    • getLastActive

      public Date getLastActive()
    • getMinuteCost

      public BigDecimal getMinuteCost()
    • getOperatorId

      public int getOperatorId()
    • getParentId

      public long getParentId()
    • getRoundedSessionTime

      public long getRoundedSessionTime()
    • getServiceId

      public int getServiceId()
    • getSessionCost

      public BigDecimal getSessionCost()
    • getSessionStart

      public Date getSessionStart()
    • getSessionStop

      public Date getSessionStop()
    • getSessionTime

      public long getSessionTime()
    • getToPort

      public String getToPort()
    • getType

      public int getType()
    • getZoneId

      public int getZoneId()
    • setAccountId

      public VoiceSession setAccountId(int accountId)
    • setAccountMap

      public VoiceSession setAccountMap(Map<Integer,VoiceSessionAccount> accountMap)
      Установка наработки сессии с разбивкой по услугам.
      Parameters:
      accountMap - мап наработок сессии. В качестве ключа выступает код услуги.
    • setAccountTitle

      public VoiceSession setAccountTitle(String accountTitle)
    • setAcctSessionId

      public VoiceSession setAcctSessionId(String acctSessionId)
    • setCalledStationId

      public VoiceSession setCalledStationId(String calledStationId)
    • setCallingStationId

      public VoiceSession setCallingStationId(String callingStationId)
    • setCallType

      public VoiceSession setCallType(short callType)
    • setCdrCallCost

      public VoiceSession setCdrCallCost(BigDecimal cdrCallCost)
    • setCdrCallOperCost

      public VoiceSession setCdrCallOperCost(BigDecimal cdrCallOperCost)
    • setCodeId

      public VoiceSession setCodeId(int codeId)
    • setContractComment

      public VoiceSession setContractComment(String contractComment)
    • setContractId

      public VoiceSession setContractId(int contractId)
      Overrides:
      setContractId in class ContractId
    • setContractTitle

      public VoiceSession setContractTitle(String contractTitle)
    • setCostMapItemId

      public VoiceSession setCostMapItemId(int costMapItemId)
    • setDestinationId

      public VoiceSession setDestinationId(int destinationId)
    • setDeviceId

      public VoiceSession setDeviceId(int deviceId)
      Установка кода устройства, к которому привязывается аккаунт
      Parameters:
      deviceId - код устройства
    • setE164CalledStationId

      public VoiceSession setE164CalledStationId(String e164CalledStationId)
    • setE164CallingStationId

      public VoiceSession setE164CallingStationId(String e164CallingStationId)
    • setFromPort

      public VoiceSession setFromPort(String fromPort)
    • setHour

      public VoiceSession setHour(Date hour)
    • setId

      public VoiceSession setId(long id)
    • setIdentifier

      public VoiceSession setIdentifier(String identifier)
    • setLastActive

      public VoiceSession setLastActive(Date lastActive)
    • setMinuteCost

      public VoiceSession setMinuteCost(BigDecimal minuteCost)
    • setOperatorId

      public VoiceSession setOperatorId(int operatorId)
    • setParentId

      public VoiceSession setParentId(long parentId)
    • setRoundedSessionTime

      public VoiceSession setRoundedSessionTime(long roundedSessionTime)
    • setServiceId

      public VoiceSession setServiceId(int serviceId)
    • setSessionCost

      public VoiceSession setSessionCost(BigDecimal sessionCost)
    • setSessionStart

      public VoiceSession setSessionStart(Date sessionStart)
    • setSessionStop

      public VoiceSession setSessionStop(Date sessionStop)
    • setSessionTime

      public VoiceSession setSessionTime(long sessionTime)
    • setToPort

      public VoiceSession setToPort(String toPort)
    • setType

      public VoiceSession setType(int type)
    • setZoneId

      public VoiceSession setZoneId(int zoneId)
    • toString

      public String toString()
      Overrides:
      toString in class Object