Interface BillUnitModule
- All Superinterfaces:
BaseModule
- All Known Implementing Classes:
PCMBillUnitModule
Interface for BillUnit functions
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdateBillUnitHierarchy(BillUnitHierarchy billUnitHierarchy, String billUnitId) add or updates the Parent BillUnit for given bill unit.voidchangeValidity(String id, ChangeValidity changeValidity) This method changes the validity non currency resourcecreateBillUnit(BillUnit billUnit) Creates a new bill unitcreateTransferBalance(TransferBalance transferBalance) Transfer the currency/non currency balances between source and destination balance_group.Retrieves consolidated summary of all bill unit for account with ID summary contains dueNow, pendingDue, unallocatedPayments and disputedgetAllChildBillUnits(String billUnitID, String expandFlag) Retrieves the all child for given bill unit.getBalanceGroups(String id, boolean includeBalanceMonitor) Get List of balance groups with balances in a given bill unitgetBillUnits(String id) Retrieves the bill unit(s) of the accountgetBillUnitsFromAcctId(String accountId) Get bill info data from accountIdgetBillUnitSummary(String billUnitID, String arBillUnitID, boolean isParentBillUnit) Retrieves the summary for given bill unit.Get the details of the currency/non currency balance transfer for the specified transfer eventgetTransferBalanceList(String id, String sourceId, String targetId, String sourceRefType, String targetRefType) Get the details of the currency/non currency balance transfer for the specified balance_groupmoveBalanceGroup(List<NewBillUnit> billUnits) This method will move Balance group between Bill UnitsvoidremoveBillUnitHierarchy(BillUnitHierarchy billUnitHierarchy, String billUnitId) removes the Parent BillUnit for given bill unit.voidsetCreditLimit(String id, CreditLimit creditLimit) This method sets credit limit for currency/non currency balance groupupdateBillUnit(BillUnit billUnit, Boolean billNow) Updates the Bill unit details for the given AccountMethods inherited from interface com.oracle.communications.brm.cc.modules.BaseModule
getBaseOps, getURIContext, getUserContext, setBaseOps, setURIContext, setUserContext
-
Method Details
-
getAccountSummary
Retrieves consolidated summary of all bill unit for account with ID summary contains dueNow, pendingDue, unallocatedPayments and disputed- Parameters:
id- Account number for which balance needs to be retrieved- Returns:
- instance of AccountSummary
-
getBillUnitSummary
Retrieves the summary for given bill unit. Summary contains data like Past Due, Current Due, Bill In Progress and Due Date *- Parameters:
billUnitID- The bill unit ID for witch summary is retrievedarBillUnitID- The AR bill unit ID for bill unitisParentBillUnit-- Returns:
- AccountSummary
-
updateBillUnit
Updates the Bill unit details for the given Account- Parameters:
billUnit- Bill Unit Object with data to updatebillNow- true if the due is paid by current parent and want to do Bill now- Returns:
-
getBalanceGroups
Get List of balance groups with balances in a given bill unit- Parameters:
id- Bill Unit IdincludeBalanceMonitor-- Returns:
- BillUnit Object with balance group details
-
moveBalanceGroup
This method will move Balance group between Bill Units- Parameters:
billUnits-- Returns:
-
addOrUpdateBillUnitHierarchy
add or updates the Parent BillUnit for given bill unit.- Parameters:
billUnitHierarchy-billUnitId- Bill Unit Id
-
removeBillUnitHierarchy
removes the Parent BillUnit for given bill unit.- Parameters:
billUnitHierarchy-billUnitId- Bill Unit Id
-
createBillUnit
Creates a new bill unit- Parameters:
billUnit- Bill Unit Object with data to be created- Returns:
-
getBillUnits
Retrieves the bill unit(s) of the account- Parameters:
id- Account ID to retrieve the bill units- Returns:
- list of 'BillUnit' payloads corresponding to 'billUnit' schema
-
getBillUnitsFromAcctId
Get bill info data from accountId- Parameters:
accountId-- Returns:
-
setCreditLimit
This method sets credit limit for currency/non currency balance group- Parameters:
id- of balance groupcreditLimit-
-
changeValidity
This method changes the validity non currency resource- Parameters:
id- resource idchangeValidity-
-
getAllChildBillUnits
Retrieves the all child for given bill unit.- Parameters:
billUnitID- The bill unit ID for witch all children are retrievedexpandFlag- Flag to retrieve children details- Returns:
- BillingHierarchy
-
createTransferBalance
Transfer the currency/non currency balances between source and destination balance_group.- Parameters:
transferBalance- payload representing TransferBalance schema.- Returns:
- TransferBalanceCreateResponse
-
getTransferBalanceList
List<TransferBalanceDetails> getTransferBalanceList(String id, String sourceId, String targetId, String sourceRefType, String targetRefType) Get the details of the currency/non currency balance transfer for the specified balance_group- Parameters:
id- The balance_group id for which the balance transfer details needs to be fetched.sourceId- source IdtargetId- target IdsourceRefType- type of the sourceIdtargetRefType- type of the targetId- Returns:
List<TransferBalanceDetails>
-
getTransferBalance
Get the details of the currency/non currency balance transfer for the specified transfer event- Parameters:
id- The transfer event id for which the balance transfer details needs to be fetched.- Returns:
- TransferBalanceDetails
-