Common SAP CC UDRs
ChargedItemFieldTypeUDR
This is a constant UDR, where value returns either "String", "Date", "Number" or "Boolean", depending on if the field type is STRING
, DATE
, NUMBER
, or BOOLEAN
.
For an example that describes how to get the value, see the section below, OperationTypeUDR.
Field | Description |
---|---|
| Constant value "Number" |
| Constant value "String" |
| Constant value "Boolean" |
| Constant value "Date" |
| The property type value, can be "String", "Date", "Number", or "Boolean". This is a read-only field. |
ChargedItemFieldUDR
Field | Description |
---|---|
| The name of the field |
| The type of the field |
| The value of the field which must be cast to the right type, based on the type field. Note that numbers are represented as strings. |
ChargedItemUDR
Field | Description |
---|---|
| The numeric key of the charged item |
| The class identifier corresponding to the charged item |
| A list of all the fields in the corresponding charged item |
ChargeExecutionContextUDR
This UDR is used to limit what is included in the response of a charge or blank charge operation.
Info!
The Execution Context in the UDR name is not related to the execution context.
Note!
The SAP CC APIs that the SAP CC agents depend on does not support setting the itemImmediatelyLoaded
flag for ChargingOutputContext
. As a result, the SAP CC agents are unable to support scenarios such as CIT creation via charging requests.
Field | Description |
---|---|
| This boolean field determines whether chargeable items must be exported in the output of the charging operation. |
| This boolean field determines if the account information is returned in the result of the charging operation. |
| This boolean field determines if the account operations is returned in the result of the charging operation. |
| This boolean field determines if all available information is returned in the result of the charging operation. |
| This boolean field determines if the chargeable item information is returned in the result of the charging operation. |
| This boolean field determines if the charged item is returned in the result of the charging operation. |
| This boolean field determines if the charging contract information is returned in the result of the charging operation. |
| This boolean field determines if the charging process information is returned in the result of the charging operation. |
| This boolean field determines if the notifications is returned in the result of the charging operation. |
| This boolean field determines if the response items is returned in the result of the charging operation. |
TransactionSetUDR
This UDR represents the TransactionSet associated with a charging request result. The transaction set may be empty.
Field | Description |
---|---|
| This list offers a shortcut to the generated Notification contained in all generated transactions (master and dependents). For further information, see Notification UDRs. |
| This list contains the transactions generated by the associated dependent charges (if they exist). For further information, see the section below, TransactionUDR. |
| This field contains the transaction generated by the master charge. For further information, see the section below, TransactionUDR. |
| The name |
| The origin of the transaction set. It corresponds to the origin of the master transaction which can be:
|
| The snapshot identifier used to rate event |
| The transaction set owner id |
ServiceSessionUDR
This UDR represents the services associated with a Charging Request.
Field | Description |
---|---|
|
|
| A ChargeableItem represents the information that the client needs to send to perform the charge process. It consists of a name and a list of properties. |
| The name of the property used by the inverse rating process. This property must be contained in the |
| This field contains a unique identifier for the service. |
| A ChargeableItem represents the information that the client needs to send to perform the charge process. It consist of a name and a list of properties. |
| This optional field can be used to pass over the default agent configuration. If set, it defines the session termination to apply if this particular session has reached its 'time to live'. The session can be either cancelled (cancel) or confirmed (confirm). |
| This optional field can be used to pass over the default agent configuration. If set, it defines the 'time to live' for this particular charging session. Note!This field will only work on SAP CC 5.0 SP1 and later. For older versions, this field will be present but it will not have any effect on the TTL. |
TransactionUDR
This UDR represents the Transaction associated with a Charging Request Result. A transaction corresponds to the details of the price computation by the rating engine. It may be empty.
Field | Description |
---|---|
| A string representation of the currency. The currency value respects the SAP Convergent Charging |
| This field contains the list of the transaction details produced during the price plan execution. It may be empty. For further information, see the section below, TransactionDetailUDR. |
| This field contains the value of the “dispatch code”. |
| This field contains the value of the “dispatch code2”. |
| This field contains the value of the “dispatch code3”. |
| This field contains the label of the transaction. |
| A string representation of the charged amount. The toConfirmMoneyAmount value respects the SAP Convergent Charging |
| This list contains the notification produced during the price plan execution. For further information, see Notification UDRs. |
| This field contains the offer code of the subscription. |
| This field contains the charge code of the subscription which leads to this transaction. |
| This field contains the operation type of the transaction. It can be:
|
| This field contains the origin of the transaction. It can be:
|
| This field contains the relationship type of the transaction. It can be:
|
| When the transaction is produced during a session based rating, this field contains the corresponding session id. |
| This field contains the subscription code against which the transaction was produced. |
| The date of the transaction |
TransactionDetailUDR
This UDR represents a transaction detail. It corresponds to a property produced during the price plan computation.
TransactionDetailUDR
is an instance of a PropertyUDR
.
For more details, refer to the section below, PropertyUDR.
PropertyUDR
This UDR is the base representation of a name-value property. In addition, a type can be added to specify how to cast the value.
Field | Description |
---|---|
| The type of property. This field is read only. The ccType will be populated when the properties are returned while retrieving charged items. When it comes to submitting chargeable items, it can be left empty. The property types can be:
|
| The name of the property |
| The value of the property |
OperationTypeUDR
This is a constant UDR, where value
returns either "1" or "0", depending on if the operation type is CREDIT or DEBIT.
This is an APL code example for how to get the operation type value:
OperationTypeUDR rt = (OperationTypeUDR) input;
if( rt.value == rt.DEBIT.value ) {
...
...
} else if ( rt.value == rt.CREDIT.value ) {
...
...
}
Field | Description |
---|---|
| Constant value 1 |
| Constant value 0 |
| The operation type value, which can be "1" or "0". This is a read-only field. |
OrderStateUDR
This is a constant UDR, where value
returns either "2" or "1", depending on if the order state is FREE or PAID.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value 2 |
| Constant value 1 |
| The order state value, which can be "2" or "1". This is a read-only field. |
OriginUDR
This is a constant UDR, where value
returns either "2", "1" or "0", depending on if the origin is ONE_SHOT
, RECURRING
or USAGE
.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value 2 |
| Constant value 1 |
| Constant value 0 |
| The origin value, which can be "2", "1" or "0". This is a read-only field. |
PropertyTypeUDR
This is a constant UDR, where value
returns either "String", "Date", "Number" or "BigDecimal", depending on if the property type is BIG_DECIMAL
, DATE, NUMBER
or STRING
.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value x |
| Constant value x |
| Constant value x |
| Constant value x |
| The property type value, which can be "String", "Date", "Number" or "BigDecimal". This is a read-only field. |
RelationshipTypeUDR
This is a constant UDR, where value
returns either "1" or "0", depending on if the relationship type is PARTNER
or CLIENT
.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value 0 |
| Constant value 1 |
| The relationship type value, which can be "1" or "0". This is a read-only field. |
ResolutionModeUDR
This is a constant UDR, where value
returns either "-1", "1" or "0", depending on if the resolution mode is USE_DEFAULT
, CANCEL,
or CONFIRM
.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value -1 |
| Constant value 1 |
| Constant value 0 |
| The resolution mode value, which can be "-1", "1" or "0". This is a read-only field. |
ResponseItemUDR
Field | Description |
---|---|
| The numeric key of the response item |
| The class identifier corresponding to the response item |
| A list of all the fields in the corresponding response item |
ResultTypeUDR
This is a constant UDR, where value
returns either "-1", "0" or "1", "2" or "3" depending on if the result type is USE_DEFAULT
, NO_TRANSACTIONS
, MASTER_TRANSACTION
, ALL_TRANSACTIONS,
or ALL_TRANSACTIONS_AND_RECURRING
.
For an APL code example describing how to get the value, see the section above, OperationTypeUDR.
Field | Description |
---|---|
| Constant value -1 |
| Constant value 0 |
| Constant value 1 |
| Constant value 2 |
| Constant value 3 |
| The result type value, which can be "-1", "0" or "1", "2" or "3". This is a read-only field. |