public interface MultipleServicesCreditControl extends GroupedAvp
7.1.9 Multiple-Services-Credit-Control AVP The Multiple-Services-Credit-Control AVP (AVP code 456) is of type grouped as specified in RFC 4006 [402]. It contains additional 3GPP specific charging parameters. It has the following ABNF grammar: <Multiple-Services-Credit-Control> ::= < AVP Header: 456 > [ Granted-Service-Unit ] [ Requested-Service-Unit ] * [ Used-Service-Unit ] * [ Service-Identifier ] [ Rating-Group ] * [ G-S-U-Pool-Reference ] [ Validity-Time ] [ Result-Code ] [ Final-Unit-Indication ] [ Time-Quota-Threshold ] [ Volume-Quota-Threshold ] [ Unit-Quota-Threshold ] [ Quota-Holding-Time ] [ Quota-Consumption-Time ] * [ Reporting-Reason ] [ Trigger ] [ PS-Furnish-Charging-Information ] [ Refund-Information ] * [ AF-Correlation-Information] * [ Envelope ] [ Envelope-Reporting ] [ Time-Quota-Mechanism ] * [ Service-Specific-Info ] [ QoS-Information ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
AfCorrelationInformation[] |
getAfCorrelationInformations()
Returns the set of AF-Correlation-Information AVPs.
|
EnvelopeReporting |
getEnvelopeReporting()
Returns the value of the Envelope-Reporting AVP, of type Enumerated.
|
Envelope[] |
getEnvelopes()
Returns the set of Envelope AVPs.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
FinalUnitIndication |
getFinalUnitIndication()
Returns the value of the Final-Unit-Indication AVP, of type Grouped.
|
GrantedServiceUnit |
getGrantedServiceUnit()
Returns the value of the Granted-Service-Unit AVP, of type Grouped.
|
GsuPoolReference[] |
getGsuPoolReferences()
Returns the set of G-S-U-Pool-Reference AVPs.
|
PsFurnishChargingInformation |
getPsFurnishChargingInformation()
Returns the value of the PS-Furnish-Charging-Information AVP, of type Grouped.
|
QosInformation |
getQosInformation()
Returns the value of the QoS-Information AVP, of type Grouped.
|
long |
getQuotaConsumptionTime()
Returns the value of the Quota-Consumption-Time AVP, of type Unsigned32.
|
long |
getQuotaHoldingTime()
Returns the value of the Quota-Holding-Time AVP, of type Unsigned32.
|
long |
getRatingGroup()
Returns the value of the Rating-Group AVP, of type Unsigned32.
|
byte[] |
getRefundInformation()
Returns the value of the Refund-Information AVP, of type OctetString.
|
ReportingReason[] |
getReportingReasons()
Returns the set of Reporting-Reason AVPs.
|
RequestedServiceUnit |
getRequestedServiceUnit()
Returns the value of the Requested-Service-Unit AVP, of type Grouped.
|
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32.
|
long[] |
getServiceIdentifiers()
Returns the set of Service-Identifier AVPs.
|
ServiceSpecificInfo[] |
getServiceSpecificInfos()
Returns the set of Service-Specific-Info AVPs.
|
TimeQuotaMechanism |
getTimeQuotaMechanism()
Returns the value of the Time-Quota-Mechanism AVP, of type Grouped.
|
long |
getTimeQuotaThreshold()
Returns the value of the Time-Quota-Threshold AVP, of type Unsigned32.
|
Trigger |
getTrigger()
Returns the value of the Trigger AVP, of type Grouped.
|
long |
getUnitQuotaThreshold()
Returns the value of the Unit-Quota-Threshold AVP, of type Unsigned32.
|
UsedServiceUnit[] |
getUsedServiceUnits()
Returns the set of Used-Service-Unit AVPs.
|
long |
getValidityTime()
Returns the value of the Validity-Time AVP, of type Unsigned32.
|
long |
getVolumeQuotaThreshold()
Returns the value of the Volume-Quota-Threshold AVP, of type Unsigned32.
|
boolean |
hasEnvelopeReporting()
Returns true if the Envelope-Reporting AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasFinalUnitIndication()
Returns true if the Final-Unit-Indication AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasGrantedServiceUnit()
Returns true if the Granted-Service-Unit AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasPsFurnishChargingInformation()
Returns true if the PS-Furnish-Charging-Information AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasQosInformation()
Returns true if the QoS-Information AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasQuotaConsumptionTime()
Returns true if the Quota-Consumption-Time AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasQuotaHoldingTime()
Returns true if the Quota-Holding-Time AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasRatingGroup()
Returns true if the Rating-Group AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasRefundInformation()
Returns true if the Refund-Information AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasRequestedServiceUnit()
Returns true if the Requested-Service-Unit AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasTimeQuotaMechanism()
Returns true if the Time-Quota-Mechanism AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasTimeQuotaThreshold()
Returns true if the Time-Quota-Threshold AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasTrigger()
Returns true if the Trigger AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasUnitQuotaThreshold()
Returns true if the Unit-Quota-Threshold AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasValidityTime()
Returns true if the Validity-Time AVP is present in the Multiple-Services-Credit-Control AVP.
|
boolean |
hasVolumeQuotaThreshold()
Returns true if the Volume-Quota-Threshold AVP is present in the Multiple-Services-Credit-Control AVP.
|
void |
removeAfCorrelationInformations()
Removes all AF-Correlation-Information AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeEnvelopeReporting()
Removes the Envelope-Reporting AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeEnvelopes()
Removes all Envelope AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeFinalUnitIndication()
Removes the Final-Unit-Indication AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeGrantedServiceUnit()
Removes the Granted-Service-Unit AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeGsuPoolReferences()
Removes all G-S-U-Pool-Reference AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removePsFurnishChargingInformation()
Removes the PS-Furnish-Charging-Information AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeQosInformation()
Removes the QoS-Information AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeQuotaConsumptionTime()
Removes the Quota-Consumption-Time AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeQuotaHoldingTime()
Removes the Quota-Holding-Time AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeRatingGroup()
Removes the Rating-Group AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeRefundInformation()
Removes the Refund-Information AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeReportingReasons()
Removes all Reporting-Reason AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeRequestedServiceUnit()
Removes the Requested-Service-Unit AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeResultCode()
Removes the Result-Code AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeServiceIdentifiers()
Removes all Service-Identifier AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeServiceSpecificInfos()
Removes all Service-Specific-Info AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeTimeQuotaMechanism()
Removes the Time-Quota-Mechanism AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeTimeQuotaThreshold()
Removes the Time-Quota-Threshold AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeTrigger()
Removes the Trigger AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeUnitQuotaThreshold()
Removes the Unit-Quota-Threshold AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeUsedServiceUnits()
Removes all Used-Service-Unit AVPs from the Multiple-Services-Credit-Control AVP.
|
void |
removeValidityTime()
Removes the Validity-Time AVP from the Multiple-Services-Credit-Control AVP.
|
void |
removeVolumeQuotaThreshold()
Removes the Volume-Quota-Threshold AVP from the Multiple-Services-Credit-Control AVP.
|
void |
setAfCorrelationInformation(AfCorrelationInformation afCorrelationInformation)
Sets a single AF-Correlation-Information AVP in the Multiple-Services-Credit-Control AVP, of type Grouped.
|
void |
setAfCorrelationInformations(AfCorrelationInformation[] afCorrelationInformations)
Sets the set of AF-Correlation-Information AVPs, with all the values in the given array.
|
void |
setEnvelope(Envelope envelope)
Sets a single Envelope AVP in the Multiple-Services-Credit-Control AVP, of type Grouped.
|
void |
setEnvelopeReporting(EnvelopeReporting envelopeReporting)
Sets the value of the Envelope-Reporting AVP, of type Enumerated.
|
void |
setEnvelopes(Envelope[] envelopes)
Sets the set of Envelope AVPs, with all the values in the given array.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setFinalUnitIndication(FinalUnitIndication finalUnitIndication)
Sets the value of the Final-Unit-Indication AVP, of type Grouped.
|
void |
setGrantedServiceUnit(GrantedServiceUnit grantedServiceUnit)
Sets the value of the Granted-Service-Unit AVP, of type Grouped.
|
void |
setGsuPoolReference(GsuPoolReference gsuPoolReference)
Sets a single G-S-U-Pool-Reference AVP in the Multiple-Services-Credit-Control AVP, of type Grouped.
|
void |
setGsuPoolReferences(GsuPoolReference[] gsuPoolReferences)
Sets the set of G-S-U-Pool-Reference AVPs, with all the values in the given array.
|
void |
setPsFurnishChargingInformation(PsFurnishChargingInformation psFurnishChargingInformation)
Sets the value of the PS-Furnish-Charging-Information AVP, of type Grouped.
|
void |
setQosInformation(QosInformation qosInformation)
Sets the value of the QoS-Information AVP, of type Grouped.
|
void |
setQuotaConsumptionTime(long quotaConsumptionTime)
Sets the value of the Quota-Consumption-Time AVP, of type Unsigned32.
|
void |
setQuotaHoldingTime(long quotaHoldingTime)
Sets the value of the Quota-Holding-Time AVP, of type Unsigned32.
|
void |
setRatingGroup(long ratingGroup)
Sets the value of the Rating-Group AVP, of type Unsigned32.
|
void |
setRefundInformation(byte[] refundInformation)
Sets the value of the Refund-Information AVP, of type OctetString.
|
void |
setReportingReason(ReportingReason reportingReason)
Sets a single Reporting-Reason AVP in the Multiple-Services-Credit-Control AVP, of type Enumerated.
|
void |
setReportingReasons(ReportingReason[] reportingReasons)
Sets the set of Reporting-Reason AVPs, with all the values in the given array.
|
void |
setRequestedServiceUnit(RequestedServiceUnit requestedServiceUnit)
Sets the value of the Requested-Service-Unit AVP, of type Grouped.
|
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32.
|
void |
setServiceIdentifier(long serviceIdentifier)
Sets a single Service-Identifier AVP in the Multiple-Services-Credit-Control AVP, of type Unsigned32.
|
void |
setServiceIdentifiers(long[] serviceIdentifiers)
Sets the set of Service-Identifier AVPs, with all the values in the given array.
|
void |
setServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)
Sets a single Service-Specific-Info AVP in the Multiple-Services-Credit-Control AVP, of type Grouped.
|
void |
setServiceSpecificInfos(ServiceSpecificInfo[] serviceSpecificInfos)
Sets the set of Service-Specific-Info AVPs, with all the values in the given array.
|
void |
setTimeQuotaMechanism(TimeQuotaMechanism timeQuotaMechanism)
Sets the value of the Time-Quota-Mechanism AVP, of type Grouped.
|
void |
setTimeQuotaThreshold(long timeQuotaThreshold)
Sets the value of the Time-Quota-Threshold AVP, of type Unsigned32.
|
void |
setTrigger(Trigger trigger)
Sets the value of the Trigger AVP, of type Grouped.
|
void |
setUnitQuotaThreshold(long unitQuotaThreshold)
Sets the value of the Unit-Quota-Threshold AVP, of type Unsigned32.
|
void |
setUsedServiceUnit(UsedServiceUnit usedServiceUnit)
Sets a single Used-Service-Unit AVP in the Multiple-Services-Credit-Control AVP, of type Grouped.
|
void |
setUsedServiceUnits(UsedServiceUnit[] usedServiceUnits)
Sets the set of Used-Service-Unit AVPs, with all the values in the given array.
|
void |
setValidityTime(long validityTime)
Sets the value of the Validity-Time AVP, of type Unsigned32.
|
void |
setVolumeQuotaThreshold(long volumeQuotaThreshold)
Sets the value of the Volume-Quota-Threshold AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasGrantedServiceUnit()
GrantedServiceUnit getGrantedServiceUnit()
void setGrantedServiceUnit(GrantedServiceUnit grantedServiceUnit)
java.lang.NullPointerException
- if grantedServiceUnit
is null
.void removeGrantedServiceUnit()
boolean hasRequestedServiceUnit()
RequestedServiceUnit getRequestedServiceUnit()
void setRequestedServiceUnit(RequestedServiceUnit requestedServiceUnit)
java.lang.NullPointerException
- if requestedServiceUnit
is null
.void removeRequestedServiceUnit()
UsedServiceUnit[] getUsedServiceUnits()
void setUsedServiceUnit(UsedServiceUnit usedServiceUnit)
java.lang.NullPointerException
- if usedServiceUnit
is null
.void setUsedServiceUnits(UsedServiceUnit[] usedServiceUnits)
java.lang.NullPointerException
- if usedServiceUnits
is null
.void removeUsedServiceUnits()
long[] getServiceIdentifiers()
void setServiceIdentifier(long serviceIdentifier)
void setServiceIdentifiers(long[] serviceIdentifiers)
java.lang.NullPointerException
- if serviceIdentifiers
is null
.void removeServiceIdentifiers()
boolean hasRatingGroup()
long getRatingGroup()
hasRatingGroup()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Rating-Group AVP has not been set.void setRatingGroup(long ratingGroup)
void removeRatingGroup()
GsuPoolReference[] getGsuPoolReferences()
void setGsuPoolReference(GsuPoolReference gsuPoolReference)
java.lang.NullPointerException
- if gsuPoolReference
is null
.void setGsuPoolReferences(GsuPoolReference[] gsuPoolReferences)
java.lang.NullPointerException
- if gsuPoolReferences
is null
.void removeGsuPoolReferences()
boolean hasValidityTime()
long getValidityTime()
hasValidityTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Validity-Time AVP has not been set.void setValidityTime(long validityTime)
void removeValidityTime()
boolean hasResultCode()
long getResultCode()
hasResultCode()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Result-Code AVP has not been set.void setResultCode(long resultCode)
void removeResultCode()
boolean hasFinalUnitIndication()
FinalUnitIndication getFinalUnitIndication()
void setFinalUnitIndication(FinalUnitIndication finalUnitIndication)
java.lang.NullPointerException
- if finalUnitIndication
is null
.void removeFinalUnitIndication()
boolean hasTimeQuotaThreshold()
long getTimeQuotaThreshold()
hasTimeQuotaThreshold()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Time-Quota-Threshold AVP has not been set.void setTimeQuotaThreshold(long timeQuotaThreshold)
void removeTimeQuotaThreshold()
boolean hasVolumeQuotaThreshold()
long getVolumeQuotaThreshold()
hasVolumeQuotaThreshold()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Volume-Quota-Threshold AVP has not been set.void setVolumeQuotaThreshold(long volumeQuotaThreshold)
void removeVolumeQuotaThreshold()
boolean hasUnitQuotaThreshold()
long getUnitQuotaThreshold()
hasUnitQuotaThreshold()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Unit-Quota-Threshold AVP has not been set.void setUnitQuotaThreshold(long unitQuotaThreshold)
void removeUnitQuotaThreshold()
boolean hasQuotaHoldingTime()
long getQuotaHoldingTime()
hasQuotaHoldingTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Quota-Holding-Time AVP has not been set.void setQuotaHoldingTime(long quotaHoldingTime)
void removeQuotaHoldingTime()
boolean hasQuotaConsumptionTime()
long getQuotaConsumptionTime()
hasQuotaConsumptionTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Quota-Consumption-Time AVP has not been set.void setQuotaConsumptionTime(long quotaConsumptionTime)
void removeQuotaConsumptionTime()
ReportingReason[] getReportingReasons()
void setReportingReason(ReportingReason reportingReason)
java.lang.NullPointerException
- if reportingReason
is null
.void setReportingReasons(ReportingReason[] reportingReasons)
java.lang.NullPointerException
- if reportingReasons
is null
.void removeReportingReasons()
boolean hasTrigger()
Trigger getTrigger()
void setTrigger(Trigger trigger)
java.lang.NullPointerException
- if trigger
is null
.void removeTrigger()
boolean hasPsFurnishChargingInformation()
PsFurnishChargingInformation getPsFurnishChargingInformation()
void setPsFurnishChargingInformation(PsFurnishChargingInformation psFurnishChargingInformation)
java.lang.NullPointerException
- if psFurnishChargingInformation
is null
.void removePsFurnishChargingInformation()
boolean hasRefundInformation()
byte[] getRefundInformation()
void setRefundInformation(byte[] refundInformation)
java.lang.NullPointerException
- if refundInformation
is null
.void removeRefundInformation()
AfCorrelationInformation[] getAfCorrelationInformations()
void setAfCorrelationInformation(AfCorrelationInformation afCorrelationInformation)
java.lang.NullPointerException
- if afCorrelationInformation
is null
.void setAfCorrelationInformations(AfCorrelationInformation[] afCorrelationInformations)
java.lang.NullPointerException
- if afCorrelationInformations
is null
.void removeAfCorrelationInformations()
Envelope[] getEnvelopes()
void setEnvelope(Envelope envelope)
java.lang.NullPointerException
- if envelope
is null
.void setEnvelopes(Envelope[] envelopes)
java.lang.NullPointerException
- if envelopes
is null
.void removeEnvelopes()
boolean hasEnvelopeReporting()
EnvelopeReporting getEnvelopeReporting()
void setEnvelopeReporting(EnvelopeReporting envelopeReporting)
java.lang.NullPointerException
- if envelopeReporting
is null
.void removeEnvelopeReporting()
boolean hasTimeQuotaMechanism()
TimeQuotaMechanism getTimeQuotaMechanism()
void setTimeQuotaMechanism(TimeQuotaMechanism timeQuotaMechanism)
java.lang.NullPointerException
- if timeQuotaMechanism
is null
.void removeTimeQuotaMechanism()
ServiceSpecificInfo[] getServiceSpecificInfos()
void setServiceSpecificInfo(ServiceSpecificInfo serviceSpecificInfo)
java.lang.NullPointerException
- if serviceSpecificInfo
is null
.void setServiceSpecificInfos(ServiceSpecificInfo[] serviceSpecificInfos)
java.lang.NullPointerException
- if serviceSpecificInfos
is null
.void removeServiceSpecificInfos()
boolean hasQosInformation()
QosInformation getQosInformation()
void setQosInformation(QosInformation qosInformation)
java.lang.NullPointerException
- if qosInformation
is null
.void removeQosInformation()
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()