public class BatchRatingGroupIdentifier extends 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(Short batchRatingGroupId)
Creates a batch rating group identifier according to a numerical identifier.
|
BatchRatingGroupIdentifier(String batchRatingGroupCode)
Creates an identifier of batch rating group according to a batch rating group code.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchRatingGroupCode()
Gets the code of the batch rating group.
|
Short |
getBatchRatingGroupId()
Gets the numerical identifier of the batch rating group.
|
public static final short DEFAULT_BATCH_RATING_GROUP_ID
public BatchRatingGroupIdentifier(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(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 String getBatchRatingGroupCode()
null when the batch rating group has a defined identifierpublic Short getBatchRatingGroupId()
null when the batch rating group has a defined code