Interface TuaBillingCycleSpecificationService
- All Known Implementing Classes:
DefaultTuaBillingCycleSpecificationService
public interface TuaBillingCycleSpecificationService
Service responsible for handling
TuaBillingCycleSpecificationModel related operations.- Since:
- 2302
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance ofTuaBillingCycleSpecificationModel.getBillingCycleSpecification(String billingCycleSpecificationId) Returns aTuaBillingCycleSpecificationModelfor the given billing cycle specification id.getBillingCycleSpecifications(Integer offset, Integer limit) Returns a list ofTuaBillingCycleSpecificationModels for the given context.Retrieves the total number of billing cycle specifications.voidremoveBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Removes the givenTuaBillingCycleSpecificationModelvoidsaveBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Saves the givenTuaBillingCycleSpecificationModel.
-
Method Details
-
getBillingCycleSpecifications
List<TuaBillingCycleSpecificationModel> getBillingCycleSpecifications(Integer offset, Integer limit) Returns a list ofTuaBillingCycleSpecificationModels for the given context.- Parameters:
offset- the offset.limit- the maximum number of returned billing cycle specifications.- Returns:
- the List of
TuaBillingCycleSpecificationModels found for the given context.
-
getNumberOfBillingCycleSpecifications
Integer getNumberOfBillingCycleSpecifications()Retrieves the total number of billing cycle specifications.- Returns:
- the number of billing cycle specifications found.
-
getBillingCycleSpecification
Returns aTuaBillingCycleSpecificationModelfor the given billing cycle specification id.- Parameters:
billingCycleSpecificationId- billing cycle specification id ofTuaBillingCycleSpecificationModel- Returns:
- the
TuaBillingCycleSpecificationModelfound.
-
createBillingCycleSpecification
TuaBillingCycleSpecificationModel createBillingCycleSpecification()Creates an instance ofTuaBillingCycleSpecificationModel.- Returns:
- the newly created model.
-
removeBillingCycleSpecification
Removes the givenTuaBillingCycleSpecificationModel- Parameters:
billingCycleSpecification- the billingCycleSpecification.
-
saveBillingCycleSpecification
Saves the givenTuaBillingCycleSpecificationModel.- Parameters:
billingCycleSpecification- the billingCycleSpecification.
-