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

com.microsoft.store.partnercenter.subscriptions.ISubscriptionUpgradeCollection 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.subscriptions;

import com.microsoft.store.partnercenter.IPartnerComponent;
import com.microsoft.store.partnercenter.genericoperations.IEntireEntityCollectionRetrievalOperations;
import com.microsoft.store.partnercenter.genericoperations.IEntityCreateOperations;
import com.microsoft.store.partnercenter.models.ResourceCollection;
import com.microsoft.store.partnercenter.models.subscriptions.Upgrade;
import com.microsoft.store.partnercenter.models.subscriptions.UpgradeResult;
import com.microsoft.store.partnercenter.models.utils.Tuple;

/**
 * This interface defines the upgrade operations available on a customer's subscription.
 */
public interface ISubscriptionUpgradeCollection
    extends IPartnerComponent>,
    IEntireEntityCollectionRetrievalOperations>,
    IEntityCreateOperations
{
	/**
	 * Submits a subscription upgrade.
     * 
	 * @param upgrade The new subscription upgrade information.
	 * @return The subscription upgrade results.
	 */
    UpgradeResult create(Upgrade upgrade);

    /**
     * Retrieves all subscription upgrades.
     * @return The subscription upgrades.
     */
    ResourceCollection get();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy