Class DefaultTmaBillingAccountService

    • Constructor Detail

      • DefaultTmaBillingAccountService

        public DefaultTmaBillingAccountService()
    • Method Detail

      • createBillingAccountWithParentAccount

        public TmaBillingAccountModel createBillingAccountWithParentAccount​(java.lang.String billingSystemId,
                                                                            java.lang.String billingAccountId,
                                                                            java.lang.String parentBillingAccountId)
        Description copied from interface: TmaBillingAccountService
        Creates a new TmaBillingAccountModel with given details and attaches it to the given parent account.
        Specified by:
        createBillingAccountWithParentAccount in interface TmaBillingAccountService
        Parameters:
        billingSystemId - the billing system identifier
        billingAccountId - the billing account identifier from the billing system
        parentBillingAccountId - the billing account identifier of the parent billing account from the billing system, to which the newly created billing account is associated
        Returns:
        the newly created TmaBillingAccountModel
      • deleteBillingAccount

        @Transactional
        public void deleteBillingAccount​(java.lang.String billingSystemId,
                                         java.lang.String billingAccountId)
        Description copied from interface: TmaBillingAccountService
        Deletes the TmaBillingAccountModel and it's assciated TmaSubscriptionBaseModels. The billing account is identified by the given billing system id and the billing account id.
        Specified by:
        deleteBillingAccount in interface TmaBillingAccountService
        Parameters:
        billingSystemId - the billing system identifier
        billingAccountId - the billing account identifier from the billing system
      • setDefaultBillingSystemId

        public void setDefaultBillingSystemId​(java.lang.String defaultBillingSystemId)
      • getTmaBillingAccountIdGenerator

        protected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator getTmaBillingAccountIdGenerator()
      • setTmaBillingAccountIdGenerator

        public void setTmaBillingAccountIdGenerator​(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator tmaBillingAccountIdGenerator)
      • setTmaBillingAccountDao

        public void setTmaBillingAccountDao​(TmaBillingAccountDao tmaBillingAccountDao)
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)
      • setTmaSubscriptionBaseService

        public void setTmaSubscriptionBaseService​(TmaSubscriptionBaseService tmaSubscriptionBaseService)