public class AcquisitionParameters
extends java.lang.Object
Java class represents the data for the batch acquisition operation of a chargeable item or a collection of chargeable items (see
the offline charging services and the acquire(..) methods) in the charging client.
This is an extended chargeable item (XCI). It includes the following information:
properties
Note
The operation result corresponding to the acquisition operation request is the AcquisitionParameters class.
You use this class with the following methods to develop
your charging client:
AsyncBatchServiceClient.acquire(java.util.List, AcquisitionListener) (asynchronous communications)BatchServiceClient.acquire(java.util.List) (synchronous communications)ChargeableItem| Constructor and Description |
|---|
AcquisitionParameters()
Builds an empty instance of
AcquisitionParameters. |
| Modifier and Type | Method and Description |
|---|---|
ChargeableItem |
getChargeableItem()
Gets the
chargeable item which must be acquired for offline charging. |
java.util.Date |
getConsumptionDate()
Gets the consumption date used for the acquisition of the
chargeable item. |
java.lang.String |
getServiceId()
Gets the service identifier (SID) specified for the batch acquisition of the
chargeable item. |
java.lang.String |
getUserId()
Gets the user service identifier (USID) specified for the acquisition of the
chargeable item. |
void |
setChargeableItem(ChargeableItem chargeableItem)
Sets the
chargeable item which must be acquired for offline charging. |
void |
setConsumptionDate(java.util.Date consumptionDate)
Sets the consumption date used for the acquisition of the
chargeable item. |
void |
setServiceId(java.lang.String serviceId)
Sets the service identifier (SID) for the acquisition of the
chargeable item. |
void |
setUserId(java.lang.String userId)
Sets the user service identifier (USID) used for the acquisition of the
chargeable item. |
public AcquisitionParameters()
AcquisitionParameters.public ChargeableItem getChargeableItem()
chargeable item which must be acquired for offline charging.chargeable item to acquirepublic void setChargeableItem(ChargeableItem chargeableItem)
chargeable item which must be acquired for offline charging.chargeableItem - The chargeable item to acquirepublic java.lang.String getServiceId()
chargeable item.chargeable itempublic void setServiceId(java.lang.String serviceId)
chargeable item.serviceId - The service identifier (SID) used for the batch acquisition of the chargeable item;
This is a technical identifier of the customer service.public java.lang.String getUserId()
chargeable item.chargeable item;
This is a technical identifier of the end customer who has consumed the customer service identified by its SID.public void setUserId(java.lang.String userId)
chargeable item.userId - The user service identifier (USID) used for the batch acquisition of the chargeable itempublic java.util.Date getConsumptionDate()
chargeable item.chargeable itempublic void setConsumptionDate(java.util.Date consumptionDate)
chargeable item.consumptionDate - The service consumption date to take into account for the batch acquisition of the chargeable item