|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RatingContextDescription
RESERVED FOR INTERNAL USE. This interface allows to put/get properties from a rating context.
| Field Summary | |
|---|---|
static java.lang.String |
ACTIVATION_DATE
Constant for default property activation date, that is the activation date for a recurring rate. |
static java.lang.String |
AGREEMENT_CANCELLATION_DATE
Constant for default property agreement cancellation date. |
static java.lang.String |
AGREEMENT_ENDCOMMITMENT_DATE
Constant for default property agreement resumption date. |
static java.lang.String |
AGREEMENT_RESUMPTION_DATE
Constant for default property agreement resumption date. |
static java.lang.String |
AGREEMENT_SUBSCRIPTION_DATE
Constant for default property agreement subscription date. |
static java.lang.String |
AGREEMENT_SUSPENSION_DATE
Constant for default property agreement suspension date. |
static java.lang.String |
BASE_AMOUNT
Constant for the property that represents the amount from a previous rating. |
static java.lang.String |
CHARGE_DESCRIPTION
Constant for the property that represents the description of the charge. |
static java.lang.String |
CI_NAME
Constant for name of the chargeable item. |
static java.lang.String |
CONSUMPTION_DATE
Constant for default property consumption date. |
static java.lang.String |
DEPENDENT_TYPE
Constant for dependent relation type. |
static java.lang.String |
MASTER_TYPE
Constant for master relation type. |
static java.lang.String |
PRICE_PLAN_NAME
Constant for name of the price plan. |
static java.lang.String |
PRICING_MACRO_TYPE
Constant for pricing macro relation type. |
static java.lang.String |
PRODUCT_CODE
Constant for name of the product. |
static java.lang.String |
RECURRING_PRORATA
Constant for the property that tells if the amount was prorated or not. |
static java.lang.String |
RECURRING_REFUND
Constant for the property that tells if the amount was refunded or not. |
static java.lang.String |
RECURRING_START
Constant for the property that represents the period start in case of a recurring rate. |
static java.lang.String |
RECURRING_START_REF
Constant for the property that represents the reference period start in case of a recurring rate. |
static java.lang.String |
RECURRING_STOP
Constant for the property that represents the period end in case of a recurring rate. |
static java.lang.String |
RECURRING_STOP_REF
Constant for the property that represents the reference period end in case of a recurring rate. |
static java.lang.String |
SERVICE_ID
Constant for default property service id. |
static java.lang.String |
UNROUNDED_AMOUNT
Constant for the property that represents the unrounded amount of a transaction. |
static java.lang.String |
USER_SERVICE_ID
Constant for default property user service id. |
| Method Summary | |
|---|---|
java.util.List<QualifiedChargeableItemDescription> |
availableCINamesForCharging(java.lang.String ciName)
Returns all available Chargeable item description of the context. |
java.util.List<QualifiedChargeableItemDescription> |
availableCINamesForRating(java.lang.String ciName)
Returns all available Chargeable item description of the context. |
void |
clean()
Clean the context. |
java.util.List<PropertyDescriptionModel> |
getAllAvailableFullNamedProperties()
Gets all properties from all categories. |
java.util.List<QualifiedChargeableItemDescription> |
getAllCIDescriptions()
|
java.util.List<java.lang.String> |
getAvailableEventNames()
Returns all available event names of the context. |
java.util.List<java.lang.String> |
getAvailablePropertyNames(int propertyType)
Gets all properties of the specified type. |
java.util.List<java.lang.String> |
getAvailablePropertyNames(java.lang.String category)
Gets all property names from a category. |
java.lang.String |
getCurrencyCode()
Gets the currency code. |
java.lang.String |
getRelationType()
Gets the relation type. |
SharedObjectsRetriever |
getSharedObjectsRetriever()
|
boolean |
isCIValid(java.lang.String ciName)
Returns true if the Chargeable item is a valid one. |
boolean |
isEventValid(java.lang.String eventName)
Returns true if the event name is a valid one. |
boolean |
isPropagationSensitive()
|
boolean |
isPropertyValid(java.lang.String propertyName,
DetailCategory category)
Tests if a property from a category is valid. |
boolean |
isPropertyValid(java.lang.String longPropertyName,
int type)
Test if a property from a category is valid. |
void |
setCurrencyCode(java.lang.String code)
Sets the currency code. |
void |
setPropertyDescription(PropertyDescriptionModel pd,
DetailCategory category)
Adds a property with its description to the context. |
void |
setPropertyDescription(java.lang.String name,
int type,
DetailCategory category)
Adds a property with its description to the context. |
void |
setRelationType(java.lang.String type)
Sets the relation type. |
void |
setSharedObjectsRetriever(SharedObjectsRetriever retriever)
|
| Field Detail |
|---|
static final java.lang.String MASTER_TYPE
static final java.lang.String DEPENDENT_TYPE
static final java.lang.String PRICING_MACRO_TYPE
static final java.lang.String AGREEMENT_SUBSCRIPTION_DATE
static final java.lang.String AGREEMENT_CANCELLATION_DATE
static final java.lang.String AGREEMENT_SUSPENSION_DATE
static final java.lang.String AGREEMENT_RESUMPTION_DATE
static final java.lang.String AGREEMENT_ENDCOMMITMENT_DATE
static final java.lang.String PRICE_PLAN_NAME
static final java.lang.String CHARGE_DESCRIPTION
static final java.lang.String BASE_AMOUNT
static final java.lang.String PRODUCT_CODE
static final java.lang.String CI_NAME
static final java.lang.String CONSUMPTION_DATE
static final java.lang.String USER_SERVICE_ID
static final java.lang.String SERVICE_ID
static final java.lang.String RECURRING_START
static final java.lang.String RECURRING_STOP
static final java.lang.String RECURRING_START_REF
static final java.lang.String RECURRING_STOP_REF
static final java.lang.String RECURRING_PRORATA
static final java.lang.String ACTIVATION_DATE
static final java.lang.String RECURRING_REFUND
static final java.lang.String UNROUNDED_AMOUNT
| Method Detail |
|---|
void clean()
java.lang.String getCurrencyCode()
void setCurrencyCode(java.lang.String code)
code - the currency code.
void setPropertyDescription(java.lang.String name,
int type,
DetailCategory category)
agreement_creation_date,
agreement_cancellation_date,
agreement_suspension_date,
agreement_cancellation_date,
agreement_end_commitment_date,
price_plan_name,
charge_description,
base_amount,
product_code,
ci_name,
consumption_date,
access_login,
service_identifier,
recurring_start,
recurring_stop,
recurring_start_ref,
recurring_stop_ref,
recurring_prorata,
activation_date,
unrounded_amountnumber,
string,
date
name - the property name.type - the property type.category - the category of the property.
void setPropertyDescription(PropertyDescriptionModel pd,
DetailCategory category)
setPropertyDescription for allowed categories.
pd - the property description.category - the category of the property.java.util.List<java.lang.String> getAvailablePropertyNames(int propertyType)
setPropertyDescription for allowed types.
propertyType - the type of the property.
java.util.List<java.lang.String> getAvailablePropertyNames(java.lang.String category)
setPropertyDescription for allowed categories.
category - the category of the property.
java.util.List<PropertyDescriptionModel> getAllAvailableFullNamedProperties()
property description model.
boolean isPropertyValid(java.lang.String propertyName,
DetailCategory category)
setPropertyDescription for allowed categories and names.
propertyName - the property name.category - the category of the property.
boolean isPropertyValid(java.lang.String longPropertyName,
int type)
setPropertyDescription for allowed types and names.
longPropertyName - the property name.type - the property type.
java.util.List<QualifiedChargeableItemDescription> getAllCIDescriptions()
java.util.List<QualifiedChargeableItemDescription> availableCINamesForRating(java.lang.String ciName)
ciName - a Chargeable item name if filtering is desired.
Chargeable item description.java.util.List<QualifiedChargeableItemDescription> availableCINamesForCharging(java.lang.String ciName)
ciName - a Chargeable item name if filtering is desired.
Chargeable item description.java.util.List<java.lang.String> getAvailableEventNames()
boolean isEventValid(java.lang.String eventName)
eventName - the name of the event.
boolean isCIValid(java.lang.String ciName)
ciName - a Chargeable item name.
boolean isPropagationSensitive()
void setSharedObjectsRetriever(SharedObjectsRetriever retriever)
SharedObjectsRetriever getSharedObjectsRetriever()
java.lang.String getRelationType()
void setRelationType(java.lang.String type)
type - the relation type.
Allowed values are :
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.