All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.hosted.controller.api.integration.billing.Plan Maven / Gradle / Ivy

There is a newer version: 8.253.3
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.billing;

/**
 * A Plan knows about the billing calculations and the default quota for any tenant associated with the Plan.
 * The Plan can also enforce transitions from one plan to another.
 *
 * @author ogronnesby
 */
public interface Plan {

    /** Unique ID for the plan */
    PlanId id();

    /** A string to be used for display purposes */
    String displayName();

    /** The cost calculator for this plan */
    CostCalculator calculator();

    /** The quota for this plan */
    QuotaCalculator quota();

    /** Is this a plan that is billed */
    boolean isBilled();

    /** Is this a plan that gets on-call support */
    boolean isSupported();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy