public class VoiceSession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
CALL_TYPE_INCOMING |
static short |
CALL_TYPE_OUTGOING |
static short |
SESSION_TYPE_ADDITINAL |
static short |
SESSION_TYPE_OPERATOR |
Constructor and Description |
---|
VoiceSession() |
VoiceSession(VoiceSession session) |
Modifier and Type | Method and Description |
---|---|
int |
getAccountId() |
java.util.Map<java.lang.Integer,VoiceSessionAccount> |
getAccountMap()
Получение наработки сессии с разбивкой по услугам
|
java.lang.String |
getAccountTitle() |
java.lang.String |
getAcctSessionId() |
java.lang.String |
getCalledStationId() |
java.lang.String |
getCallingStationId() |
short |
getCallType() |
java.math.BigDecimal |
getCdrCallCost() |
java.math.BigDecimal |
getCdrCallOperCost() |
int |
getCodeId() |
java.lang.String |
getContractComment() |
int |
getContractId() |
java.lang.String |
getContractTitle() |
int |
getCostMapItemId() |
int |
getDestinationId() |
int |
getDeviceId()
Получение кода устройства, к которому привязан аккаунт.
|
java.lang.String |
getE164CalledStationId() |
java.lang.String |
getE164CallingStationId() |
java.lang.String |
getFromPort() |
java.util.Date |
getHour() |
long |
getId() |
java.lang.String |
getIdentifier() |
java.util.Date |
getLastActive() |
java.math.BigDecimal |
getMinuteCost() |
int |
getOperatorId() |
long |
getParentId() |
long |
getRoundedSessionTime() |
int |
getServiceId() |
java.math.BigDecimal |
getSessionCost() |
java.util.Date |
getSessionStart() |
java.util.Date |
getSessionStop() |
long |
getSessionTime() |
java.lang.String |
getToPort() |
int |
getType() |
int |
getZoneId() |
void |
setAccountId(int accountId) |
void |
setAccountMap(java.util.Map<java.lang.Integer,VoiceSessionAccount> accountMap)
Установка наработки сессии с разбивкой по услугам.
|
void |
setAccountTitle(java.lang.String accountTitle) |
void |
setAcctSessionId(java.lang.String acctSessionId) |
void |
setCalledStationId(java.lang.String calledStationId) |
void |
setCallingStationId(java.lang.String callingStationId) |
void |
setCallType(short callType) |
void |
setCdrCallCost(java.math.BigDecimal cdrCallCost) |
void |
setCdrCallOperCost(java.math.BigDecimal cdrCallOperCost) |
void |
setCodeId(int codeId) |
void |
setContractComment(java.lang.String contractComment) |
void |
setContractId(int contractId) |
void |
setContractTitle(java.lang.String contractTitle) |
void |
setCostMapItemId(int costMapItemId) |
void |
setDestinationId(int destinationId) |
void |
setDeviceId(int deviceId)
Установка кода устройства, к которому привязывается аккаунт
|
void |
setE164CalledStationId(java.lang.String e164CalledStationId) |
void |
setE164CallingStationId(java.lang.String e164CallingStationId) |
void |
setFromPort(java.lang.String fromPort) |
void |
setHour(java.util.Date hour) |
void |
setId(long id) |
void |
setIdentifier(java.lang.String identifier) |
void |
setLastActive(java.util.Date lastActive) |
void |
setMinuteCost(java.math.BigDecimal minuteCost) |
void |
setOperatorId(int operatorId) |
void |
setParentId(long parentId) |
void |
setRoundedSessionTime(long roundedSessionTime) |
void |
setServiceId(int serviceId) |
void |
setSessionCost(java.math.BigDecimal sessionCost) |
void |
setSessionStart(java.util.Date sessionStart) |
void |
setSessionStop(java.util.Date sessionStop) |
void |
setSessionTime(long sessionTime) |
void |
setToPort(java.lang.String toPort) |
void |
setType(int type) |
void |
setZoneId(int zoneId) |
public static final short CALL_TYPE_OUTGOING
public static final short CALL_TYPE_INCOMING
public static final short SESSION_TYPE_OPERATOR
public static final short SESSION_TYPE_ADDITINAL
public VoiceSession()
public VoiceSession(VoiceSession session)
public int getDeviceId()
public void setDeviceId(int deviceId)
deviceId
- код устройстваpublic java.lang.String getAcctSessionId()
public void setAcctSessionId(java.lang.String acctSessionId)
public java.lang.String getCalledStationId()
public void setCalledStationId(java.lang.String calledStationId)
public java.lang.String getCallingStationId()
public void setCallingStationId(java.lang.String callingStationId)
public java.lang.String getE164CalledStationId()
public void setE164CalledStationId(java.lang.String e164CalledStationId)
public java.lang.String getE164CallingStationId()
public void setE164CallingStationId(java.lang.String e164CallingStationId)
public short getCallType()
public void setCallType(short callType)
public java.util.Date getSessionStart()
public void setSessionStart(java.util.Date sessionStart)
public java.util.Date getSessionStop()
public void setSessionStop(java.util.Date sessionStop)
public long getSessionTime()
public void setSessionTime(long sessionTime)
public java.util.Map<java.lang.Integer,VoiceSessionAccount> getAccountMap()
public void setAccountMap(java.util.Map<java.lang.Integer,VoiceSessionAccount> accountMap)
accountMap
- мап наработок сессии. В качестве ключа выступает код услуги.public int getDestinationId()
public void setDestinationId(int destinationId)
public int getZoneId()
public void setZoneId(int zoneId)
public java.math.BigDecimal getSessionCost()
public void setSessionCost(java.math.BigDecimal sessionCost)
public int getAccountId()
public void setAccountId(int accountId)
public int getContractId()
public void setContractId(int contractId)
public java.util.Date getHour()
public void setHour(java.util.Date hour)
public java.util.Date getLastActive()
public void setLastActive(java.util.Date lastActive)
public java.lang.String getContractTitle()
public void setContractTitle(java.lang.String contractTitle)
public java.lang.String getContractComment()
public void setContractComment(java.lang.String contractComment)
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
public java.lang.String getAccountTitle()
public void setAccountTitle(java.lang.String accountTitle)
public int getCodeId()
public void setCodeId(int codeId)
public long getRoundedSessionTime()
public void setRoundedSessionTime(long roundedSessionTime)
public long getId()
public void setId(long id)
public long getParentId()
public void setParentId(long parentId)
public int getType()
public void setType(int type)
public java.lang.String getFromPort()
public void setFromPort(java.lang.String fromPort)
public java.lang.String getToPort()
public void setToPort(java.lang.String toPort)
public int getOperatorId()
public void setOperatorId(int operatorId)
public int getCostMapItemId()
public void setCostMapItemId(int costMapItemId)
public java.math.BigDecimal getMinuteCost()
public void setMinuteCost(java.math.BigDecimal minuteCost)
public int getServiceId()
public void setServiceId(int serviceId)
public java.math.BigDecimal getCdrCallCost()
public void setCdrCallCost(java.math.BigDecimal cdrCallCost)
public java.math.BigDecimal getCdrCallOperCost()
public void setCdrCallOperCost(java.math.BigDecimal cdrCallOperCost)