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

com.microsoft.store.partnercenter.subscriptions.ISubscriptionConversionCollection 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.Conversion;
import com.microsoft.store.partnercenter.models.subscriptions.ConversionResult;
import com.microsoft.store.partnercenter.models.utils.Tuple;

/**
 * This interface defines the conversion operations available on a customer's trial subscription.
 */
public interface ISubscriptionConversionCollection
    extends IPartnerComponent>,
    IEntireEntityCollectionRetrievalOperations>, IEntityCreateOperations
{
    /**
     * Submits a trial subscription conversion.
     *
     * @param conversion The new subscription conversion information
     * @return The customer subscription usage record.
     */
	ConversionResult create(Conversion conversion);
  
    /**
     * Retrieves all conversions for the trial subscription.
     * @return The subscription conversions.
     */
    ResourceCollection get();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy