public class AllowanceBlob
extends java.lang.Object
This Java class allows you to interpret the binary representation of an allowance in a provider contract and stored in the back-end database system.
You implement this class to understand and view the content of the ALLO_DATA column of the ALLO table in SAP CC Core Database.
Consult the Core Database Reference for more information about customer master data stored in the SAP CC back-end database for each service provider. See the ALLO table.
| Modifier and Type | Class and Description |
|---|---|
static class |
AllowanceBlob.AllowanceParameter
This
Java class represents a parameter defined in an allowance. |
| Modifier and Type | Method and Description |
|---|---|
static AllowanceBlob |
create(byte[] allowanceBlob)
Creates an
AllowanceBlob object from a byte array. |
static AllowanceBlob |
create(java.lang.String hexadecimalValue)
Creates an
AllowanceBlob object from a hexadecimal string. |
java.lang.String |
getAllowanceAccountId()
Gets the identifier of the account in the
subscriber account that is assigned to the allowance. |
AccountType |
getAllowanceAccountType()
Gets the
type of the account that is assigned to the allowance. |
java.lang.String |
getAllowanceCurrencyCode()
Gets the
currency code of the allowance. |
java.util.List<AllowanceBlob.AllowanceParameter> |
getAllowanceParameterList()
Gets the list of the
parameters defined the allowance. |
java.lang.String |
getAllowanceParentContractId()
Gets the identifier of the
charging contract that created the allowance (Only available from the version 3). |
long |
getAllowanceParentId()
Gets the unique identifier of the
charge activation that created the allowance. |
java.lang.String |
getAllowanceShareId()
Gets the identifier of the share group of the allowance, or null if the allowance is not shared (Only available from the version 3).
|
java.lang.String |
getChargingContractItemExternalId()
Gets the external identifier of the charging contract item that creates this allowance.
|
short |
getVersion()
Gets the version used to serialize the allowance blob in the back-end database system.
|
public short getVersion()
public long getAllowanceParentId()
charge activation that created the allowance.public java.lang.String getAllowanceParentContractId()
charging contract that created the allowance (Only available from the version 3).public java.lang.String getAllowanceShareId()
public java.lang.String getChargingContractItemExternalId()
public java.lang.String getAllowanceCurrencyCode()
currency code of the allowance.Currency defined in the allowancepublic java.lang.String getAllowanceAccountId()
subscriber account that is assigned to the allowance.public AccountType getAllowanceAccountType()
type of the account that is assigned to the allowance.type of the account that is assigned to the allowancepublic java.util.List<AllowanceBlob.AllowanceParameter> getAllowanceParameterList()
parameters defined the allowance.parameters of the allowancepublic static final AllowanceBlob create(java.lang.String hexadecimalValue) throws java.lang.IllegalArgumentException
AllowanceBlob object from a hexadecimal string.
The hexadecimal string must contain only digits or characters from 'A' to 'F', in lower case or upper case. It may start with the prefix '0x'.
hexadecimalValue - The hexadecimal string from which the allowance information must be extractedAllowanceBlob object which contains the data extracted from the specified hexadecimal stringjava.lang.IllegalArgumentException - if the specified hexadecimal string is invalidpublic static final AllowanceBlob create(byte[] allowanceBlob) throws java.lang.IllegalArgumentException
AllowanceBlob object from a byte array.allowanceBlob - The byte array from which the allowance information must be extractedAllowanceBlob object which contains the data extracted from the specified byte arrayjava.lang.IllegalArgumentException - if the specified byte array is invalid