|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CcMoneyAvp
8.22. CC-Money AVP
The CC-Money AVP (AVP Code 413) is of type Grouped and specifies the
monetary amount in the given currency. The Currency-Code AVP SHOULD
be included. It is defined as follows (per the grouped-avp-def of
RFC 3588 [DIAMBASE]):
CC-Money ::= < AVP Header: 413 >
{ Unit-Value }
[ Currency-Code ]
| Field Summary |
|---|
| Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT |
| Method Summary | |
|---|---|
long |
getCurrencyCode()
Returns Currency-Code avp (Unsigned32) value in use, if present value is greater than 0. |
UnitValueAvp |
getUnitValue()
Return value of Unit-Value avp. |
boolean |
hasCurrencyCode()
Returns true if Currency-Code avp is present. |
boolean |
hasUnitValue()
Returns true if Unit-Value avp is present |
void |
setCurrencyCode(long code)
Sets Currency-Code avp of type Unsigned32 |
void |
setUnitValue(UnitValueAvp unitValue)
Sets value of Init-Value avp of type Grouped AVP. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp |
|---|
getExtensionAvps, setExtensionAvps |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue |
| Method Detail |
|---|
void setUnitValue(UnitValueAvp unitValue)
UnitValueAvp .
unitValue - UnitValueAvp getUnitValue()
UnitValueAvp .
boolean hasUnitValue()
long getCurrencyCode()
void setCurrencyCode(long code)
code - boolean hasCurrencyCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||