public interface RealTimeTariffInformation extends GroupedAvp
7.2.164 Real-Time-Tariff-Information AVP The Real-Time-Tariff-Information AVP (AVP code 2305) is of type Grouped and holds the tariff information received in real time according to TSĀ 29.658 [222] in the SIP signalling. It has the following ABNF grammar: Real-Time-Tariff-Information ::= < AVP Header: 2305 > [ Tariff-Information ] [ Tariff-XML ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
TariffInformation |
getTariffInformation()
Returns the value of the Tariff-Information AVP, of type Grouped.
|
java.lang.String |
getTariffXml()
Returns the value of the Tariff-XML AVP, of type UTF8String.
|
boolean |
hasTariffInformation()
Returns true if the Tariff-Information AVP is present in the Real-Time-Tariff-Information AVP.
|
boolean |
hasTariffXml()
Returns true if the Tariff-XML AVP is present in the Real-Time-Tariff-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Real-Time-Tariff-Information AVP.
|
void |
removeTariffInformation()
Removes the Tariff-Information AVP from the Real-Time-Tariff-Information AVP.
|
void |
removeTariffXml()
Removes the Tariff-XML AVP from the Real-Time-Tariff-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setTariffInformation(TariffInformation tariffInformation)
Sets the value of the Tariff-Information AVP, of type Grouped.
|
void |
setTariffXml(java.lang.String tariffXml)
Sets the value of the Tariff-XML AVP, of type UTF8String.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasTariffInformation()
TariffInformation getTariffInformation()
void setTariffInformation(TariffInformation tariffInformation)
java.lang.NullPointerException
- if tariffInformation
is null
.void removeTariffInformation()
boolean hasTariffXml()
java.lang.String getTariffXml()
void setTariffXml(java.lang.String tariffXml)
java.lang.NullPointerException
- if tariffXml
is null
.void removeTariffXml()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()