Uses of Enum Class
org.strassburger.subscriptionmanager.model.entity.BillingPeriod
Packages that use BillingPeriod
Package
Description
-
Uses of BillingPeriod in org.strassburger.subscriptionmanager.model.entity
Methods in org.strassburger.subscriptionmanager.model.entity that return BillingPeriodModifier and TypeMethodDescriptionstatic BillingPeriodBillingPeriod.fromDisplayName(String displayName) Subscription.getBillingPeriod()static BillingPeriodReturns the enum constant of this class with the specified name.static BillingPeriod[]BillingPeriod.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.strassburger.subscriptionmanager.model.entity with parameters of type BillingPeriodModifier and TypeMethodDescriptionvoidSubscription.setBillingPeriod(BillingPeriod billingPeriod) Constructors in org.strassburger.subscriptionmanager.model.entity with parameters of type BillingPeriodModifierConstructorDescriptionSubscription(int id, int profileId, String name, double price, BillingPeriod billingPeriod, Long startDate, String category) -
Uses of BillingPeriod in org.strassburger.subscriptionmanager.model.repositories
Methods in org.strassburger.subscriptionmanager.model.repositories with parameters of type BillingPeriodModifier and TypeMethodDescriptionbooleanSubscriptionRepository.addSubscription(int profileId, String name, double price, BillingPeriod billingPeriod, Long startDate, String category) Add a new subscription to the database. -
Uses of BillingPeriod in org.strassburger.subscriptionmanager.util
Methods in org.strassburger.subscriptionmanager.util with parameters of type BillingPeriodModifier and TypeMethodDescriptionstatic doublePriceNormalizer.convertPrice(double price, BillingPeriod fromPeriod, BillingPeriod toPeriod) Convert a price from one billing period to another.static LongDateCalculator.getNextBillingDate(BillingPeriod billingPeriod, Long startDateMillis) Calculate the next billing date for a subscription.static doublePriceNormalizer.normalizePrice(double price, BillingPeriod billingPeriod) Normalize the price of a subscription to a monthly price. -
Uses of BillingPeriod in org.strassburger.subscriptionmanager.view.subscriptions
Methods in org.strassburger.subscriptionmanager.view.subscriptions that return BillingPeriodModifier and TypeMethodDescriptionSubscriptionBase.readBillingPeriod()Reads the billing period from the UI