Class DefaultTmaBillingAccountService
java.lang.Object
de.hybris.platform.b2ctelcoservices.services.impl.DefaultTmaBillingAccountService
- All Implemented Interfaces:
TmaBillingAccountService
Default implementation of
TmaBillingAccountService.- Since:
- 6.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBillingAccount(String billingSystemId, String billingAccountId) Creates a newTmaBillingAccountModelwith given details.createBillingAccountWithParentAccount(String billingSystemId, String billingAccountId, String parentBillingAccountId) Creates a newTmaBillingAccountModelwith given details and attaches it to the given parent account.voiddeleteBillingAccount(String billingSystemId, String billingAccountId) Deletes theTmaBillingAccountModeland it's assciatedTmaSubscriptionBaseModels.findBillingAccount(String billingSystemId, String billingAccountId) Retrieves theTmaBillingAccountModelassociated to a given billing account id and a billing system id.Creates a newTmaBillingAccountModelwith key generatorsprotected de.hybris.platform.servicelayer.model.ModelServiceprotected TmaBillingAccountDaoprotected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGeneratorprotected TmaSubscriptionBaseServicevoidsetDefaultBillingSystemId(String defaultBillingSystemId) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) voidsetTmaBillingAccountDao(TmaBillingAccountDao tmaBillingAccountDao) voidsetTmaBillingAccountIdGenerator(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator tmaBillingAccountIdGenerator) voidsetTmaSubscriptionBaseService(TmaSubscriptionBaseService tmaSubscriptionBaseService)
-
Constructor Details
-
DefaultTmaBillingAccountService
public DefaultTmaBillingAccountService()
-
-
Method Details
-
findBillingAccount
Description copied from interface:TmaBillingAccountServiceRetrieves theTmaBillingAccountModelassociated to a given billing account id and a billing system id.- Specified by:
findBillingAccountin interfaceTmaBillingAccountService- Parameters:
billingSystemId- the billing system identifierbillingAccountId- the billing account identifier from the billing system- Returns:
- the
TmaBillingAccountModelif any exists
-
createBillingAccount
Description copied from interface:TmaBillingAccountServiceCreates a newTmaBillingAccountModelwith given details.- Specified by:
createBillingAccountin interfaceTmaBillingAccountService- Parameters:
billingSystemId- the billing system identifierbillingAccountId- the billing account identifier from the billing system- Returns:
- the newly created
TmaBillingAccountModel
-
createBillingAccountWithParentAccount
public TmaBillingAccountModel createBillingAccountWithParentAccount(String billingSystemId, String billingAccountId, String parentBillingAccountId) Description copied from interface:TmaBillingAccountServiceCreates a newTmaBillingAccountModelwith given details and attaches it to the given parent account.- Specified by:
createBillingAccountWithParentAccountin interfaceTmaBillingAccountService- Parameters:
billingSystemId- the billing system identifierbillingAccountId- the billing account identifier from the billing systemparentBillingAccountId- 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
Description copied from interface:TmaBillingAccountServiceDeletes theTmaBillingAccountModeland it's assciatedTmaSubscriptionBaseModels. The billing account is identified by the given billing system id and the billing account id.- Specified by:
deleteBillingAccountin interfaceTmaBillingAccountService- Parameters:
billingSystemId- the billing system identifierbillingAccountId- the billing account identifier from the billing system
-
generateBillingAccount
Description copied from interface:TmaBillingAccountServiceCreates a newTmaBillingAccountModelwith key generators- Specified by:
generateBillingAccountin interfaceTmaBillingAccountService- Returns:
- the newly created
TmaBillingAccountModel
-
setDefaultBillingSystemId
-
getTmaBillingAccountIdGenerator
protected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator getTmaBillingAccountIdGenerator() -
setTmaBillingAccountIdGenerator
public void setTmaBillingAccountIdGenerator(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator tmaBillingAccountIdGenerator) -
getTmaBillingAccountDao
-
setTmaBillingAccountDao
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) -
getTmaSubscriptionBaseService
-
setTmaSubscriptionBaseService
-