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

com.microsoft.store.partnercenter.models.subscriptions.Upgrade Maven / Gradle / Ivy

There is a newer version: 1.15.3
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.

package com.microsoft.store.partnercenter.models.subscriptions;

import com.microsoft.store.partnercenter.models.ResourceBase;
import com.microsoft.store.partnercenter.models.offers.Offer;

/**
 * Represents a form of upgrade for a subscription
 */
public class Upgrade
    extends ResourceBase
{
    /**
     * Gets or sets the offer.
     */
    private Offer __TargetOffer;

    public Offer getTargetOffer()
    {
        return __TargetOffer;
    }

    public void setTargetOffer(Offer value)
    {
        __TargetOffer = value;
    }

    /**
     * Gets or sets the type of upgrade.
     */
    private UpgradeType __UpgradeType;

    public UpgradeType getUpgradeType()
    {
        return __UpgradeType;
    }

    public void setUpgradeType(UpgradeType value)
    {
        __UpgradeType = value;
    }

    /**
     * Gets or sets a value indicating whether the upgrade can be performed.
     */
    private Boolean __IsEligible;

    public Boolean isEligible()
    {
        return __IsEligible;
    }

    public void setIsEligible(Boolean value)
    {
        __IsEligible = value;
    }

    /**
     * Gets or sets the quantity to be purchased. Defaults to the source subscription quantity.
     */
    private int __Quantity;

    public int getQuantity()
    {
        return __Quantity;
    }

    public void setQuantity(int value)
    {
        __Quantity = value;
    }

    /**
     * Gets or sets the reasons the upgrade cannot be performed, if applicable.
     */
    private Iterable __UpgradeErrors;

    public Iterable getUpgradeErrors()
    {
        return __UpgradeErrors;
    }

    public void setUpgradeErrors(Iterable value)
    {
        __UpgradeErrors = value;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy