public class BatchRatingGroupIdentifier
extends java.lang.Object
Java class represents the identifiers of batch rating groups configured in the connected SAP CC system.
package.| Modifier and Type | Field and Description |
|---|---|
static short |
DEFAULT_BATCH_RATING_GROUP_ID
The default identifier: 0
|
| Constructor and Description |
|---|
BatchRatingGroupIdentifier(java.lang.Short batchRatingGroupId)
Creates a batch rating group identifier according to a numerical identifier.
|
BatchRatingGroupIdentifier(java.lang.String batchRatingGroupCode)
Creates an identifier of batch rating group according to a batch rating group code.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBatchRatingGroupCode()
Gets the code of the batch rating group.
|
java.lang.Short |
getBatchRatingGroupId()
Gets the numerical identifier of the batch rating group.
|
public static final short DEFAULT_BATCH_RATING_GROUP_ID
public BatchRatingGroupIdentifier(java.lang.String batchRatingGroupCode)
throws com.highdeal.util.NullArgumentException
batchRatingGroupCode - The code of the batch rating group ID to createcom.highdeal.util.NullArgumentException - if the specified group code is null or emptypublic BatchRatingGroupIdentifier(java.lang.Short batchRatingGroupId)
throws com.highdeal.util.NullArgumentException
batchRatingGroupId - The numerical identifier of the batch rating group to createcom.highdeal.util.NullArgumentException - if the specified group ID is null or emptypublic java.lang.String getBatchRatingGroupCode()
null when the batch rating group has a defined identifierpublic java.lang.Short getBatchRatingGroupId()
null when the batch rating group has a defined code