com.microsoft.store.partnercenter.subscriptions.ISubscriptionUpgradeCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of partnercenter Show documentation
Show all versions of partnercenter Show documentation
SDK for accessing Microsoft Partner Center API.
// 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