Interface BaBillingAccountService

All Known Implementing Classes:
DefaultBaBillingAccountService

@Deprecated(since="2208") public interface BaBillingAccountService
Deprecated.
2208
Service responsible for handling BaAccountModel related operations.
Since:
2105
  • Method Details

    • getBillingAccount

      BaAccountModel getBillingAccount(String billingAccountId)
      Deprecated.
      Returns a BaAccountModel for the given id.
      Parameters:
      billingAccountId - identifier of BaAccountModel
      Returns:
      the BaAccountModel found.
    • getBillingAccounts

      List<BaAccountModel> getBillingAccounts(BaBillingAccountContext billingAccountContext, Integer offset, Integer limit)
      Deprecated.
      Returns a list of BaAccountModels 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

      Integer getNumberOfBillingAccountsFor(BaBillingAccountContext billingAccountContext)
      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

      void saveBillingAccount(BaAccountModel billingAccountModel)
      Deprecated.
      Saves the given BaAccountModel.
      Parameters:
      billingAccountModel - the given billing account.
    • createBillingAccount

      BaAccountModel createBillingAccount(Class billingAccountClass)
      Deprecated.
      Creates an instance of BaAccountModel subtype.
      Parameters:
      billingAccountClass - the class of the BaAccountModel subtype.
      Returns:
      the newly created model.
    • removeBillingAccount

      void removeBillingAccount(BaAccountModel billingAccount)
      Deprecated.
      Removes the given BaAccountModel
      Parameters:
      billingAccount - the billingAccount.