public interface PsFurnishChargingInformation extends GroupedAvp
7.2.92 PS-Furnish-Charging-Information AVP The PS-Furnish-Charging-Information AVP (AVP code 865) is of type Grouped. Its purpose is to add online charging session specific information, received via the Ro reference point, onto the Rf reference point in order to facilitate its inclusion in CDRs. This information element may be received in a CCA message via the Ro reference point. In situations where online and offline charging are active in parallel, the information element is transparently copied into an ACR to be sent on the Rf reference point. It has the following ABNF grammar: PS-Furnish-Charging-Information ::= < AVP Header: 865> { TGPP-Charging-Id } { PS-Free-Format-Data } [ PS-Append-Free-Format-Data ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
PsAppendFreeFormatData |
getPsAppendFreeFormatData()
Returns the value of the PS-Append-Free-Format-Data AVP, of type Enumerated.
|
byte[] |
getPsFreeFormatData()
Returns the value of the PS-Free-Format-Data AVP, of type OctetString.
|
byte[] |
getTgppChargingId()
Returns the value of the TGPP-Charging-Id AVP, of type OctetString.
|
boolean |
hasPsAppendFreeFormatData()
Returns true if the PS-Append-Free-Format-Data AVP is present in the PS-Furnish-Charging-Information AVP.
|
boolean |
hasPsFreeFormatData()
Returns true if the PS-Free-Format-Data AVP is present in the PS-Furnish-Charging-Information AVP.
|
boolean |
hasTgppChargingId()
Returns true if the TGPP-Charging-Id AVP is present in the PS-Furnish-Charging-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the PS-Furnish-Charging-Information AVP.
|
void |
removePsAppendFreeFormatData()
Removes the PS-Append-Free-Format-Data AVP from the PS-Furnish-Charging-Information AVP.
|
void |
removePsFreeFormatData()
Removes the PS-Free-Format-Data AVP from the PS-Furnish-Charging-Information AVP.
|
void |
removeTgppChargingId()
Removes the TGPP-Charging-Id AVP from the PS-Furnish-Charging-Information AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setPsAppendFreeFormatData(PsAppendFreeFormatData psAppendFreeFormatData)
Sets the value of the PS-Append-Free-Format-Data AVP, of type Enumerated.
|
void |
setPsFreeFormatData(byte[] psFreeFormatData)
Sets the value of the PS-Free-Format-Data AVP, of type OctetString.
|
void |
setTgppChargingId(byte[] tgppChargingId)
Sets the value of the TGPP-Charging-Id AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasTgppChargingId()
byte[] getTgppChargingId()
void setTgppChargingId(byte[] tgppChargingId)
java.lang.NullPointerException
- if tgppChargingId
is null
.void removeTgppChargingId()
boolean hasPsFreeFormatData()
byte[] getPsFreeFormatData()
void setPsFreeFormatData(byte[] psFreeFormatData)
java.lang.NullPointerException
- if psFreeFormatData
is null
.void removePsFreeFormatData()
boolean hasPsAppendFreeFormatData()
PsAppendFreeFormatData getPsAppendFreeFormatData()
void setPsAppendFreeFormatData(PsAppendFreeFormatData psAppendFreeFormatData)
java.lang.NullPointerException
- if psAppendFreeFormatData
is null
.void removePsAppendFreeFormatData()
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()