Interface BaBillingAccountService
- All Known Implementing Classes:
DefaultBaBillingAccountService
Deprecated.
2208
Service responsible for handling
BaAccountModel related operations.- Since:
- 2105
-
Method Summary
Modifier and TypeMethodDescriptioncreateBillingAccount(Class billingAccountClass) Deprecated.Creates an instance ofBaAccountModelsubtype.getBillingAccount(String billingAccountId) Deprecated.Returns aBaAccountModelfor the given id.getBillingAccounts(BaBillingAccountContext billingAccountContext, Integer offset, Integer limit) Deprecated.Returns a list ofBaAccountModels for the given context.getNumberOfBillingAccountsFor(BaBillingAccountContext billingAccountContext) Deprecated.Retrieves the total number of billing accounts found for a given billingAccountContext.voidremoveBillingAccount(BaAccountModel billingAccount) Deprecated.Removes the givenBaAccountModelvoidsaveBillingAccount(BaAccountModel billingAccountModel) Deprecated.Saves the givenBaAccountModel.
-
Method Details
-
getBillingAccount
Deprecated.Returns aBaAccountModelfor the given id.- Parameters:
billingAccountId- identifier ofBaAccountModel- Returns:
- the
BaAccountModelfound.
-
getBillingAccounts
List<BaAccountModel> getBillingAccounts(BaBillingAccountContext billingAccountContext, Integer offset, Integer limit) Deprecated.Returns a list ofBaAccountModels for the given context.- Parameters:
billingAccountContext- the billing account context, used for filtering of accounts.offset- the offset.limit- the maximum number of returned billing accounts.- Returns:
- the List of
BaAccountModels found for the given context.
-
getNumberOfBillingAccountsFor
Deprecated.Retrieves the total number of billing accounts found for a given billingAccountContext.- Parameters:
billingAccountContext- the billing account context.- Returns:
- the number of products found.
-
saveBillingAccount
Deprecated.Saves the givenBaAccountModel.- Parameters:
billingAccountModel- the given billing account.
-
createBillingAccount
Deprecated.Creates an instance ofBaAccountModelsubtype.- Parameters:
billingAccountClass- the class of theBaAccountModelsubtype.- Returns:
- the newly created model.
-
removeBillingAccount
Deprecated.Removes the givenBaAccountModel- Parameters:
billingAccount- the billingAccount.
-