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

com.microsoft.store.partnercenter.agreements.ICustomerAgreementCollection Maven / Gradle / Ivy

There is a newer version: 1.15.3
Show newest version
// -----------------------------------------------------------------------
// 
//      Copyright (c) Microsoft Corporation. All rights reserved.
// 
// -----------------------------------------------------------------------

package com.microsoft.store.partnercenter.agreements;

import com.microsoft.store.partnercenter.IPartnerComponentString;
import com.microsoft.store.partnercenter.genericoperations.IEntireEntityCollectionRetrievalOperations;
import com.microsoft.store.partnercenter.models.ResourceCollection;
import com.microsoft.store.partnercenter.models.agreements.Agreement;

/**
 * Encapsulates the operations on the Agreement collection.
 */
public interface ICustomerAgreementCollection
        extends IPartnerComponentString,
        IEntireEntityCollectionRetrievalOperations>
{
    /**
     * Adds accepted agreement.
     *
     * @param newEntity Agreement to add.
     *
     * @return Agreement entity.
     */
    Agreement create( Agreement newEntity );

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy