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

com.microsoft.store.partnercenter.offers.ICustomerOfferCollection 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.offers;

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.offers.Offer;

public interface ICustomerOfferCollection
	extends IPartnerComponentString, IEntireEntityCollectionRetrievalOperations>
{
    /**
     * Retrieves all the offers for the provided Customer.
     * 
     * @return The offers for the provided customer.
     */
    ResourceCollection get();
    
    /**
     *  Retrieves a subset of offers for the provided customer.
     *  
	 *  @param offset The starting index.
     *  @param size The maximum number of offers to return.
     *  @return The requested segment of the offers for the provided customer.
     */
    ResourceCollection get(int offset, int size);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy