Share via


IOfferCollection Interface

Definition

Holds operations that can be performed on offers.

public interface IOfferCollection : Microsoft.Store.PartnerCenter.GenericOperations.IEntireEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.Offers.Offer,Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.Offers.Offer,Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>>, Microsoft.Store.PartnerCenter.GenericOperations.IEntitySelector<Microsoft.Store.PartnerCenter.Offers.IOffer>, Microsoft.Store.PartnerCenter.IPagedEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.Offers.Offer,Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>>, Microsoft.Store.PartnerCenter.IPartnerComponent, Microsoft.Store.PartnerCenter.IPartnerComponent<string>
type IOfferCollection = interface
    interface IPartnerComponent
    interface IPartnerComponent<string>
    interface IEntityCollectionRetrievalOperations<Offer, ResourceCollection<Offer>>
    interface IEntireEntityCollectionRetrievalOperations<Offer, ResourceCollection<Offer>>
    interface IPagedEntityCollectionRetrievalOperations<Offer, ResourceCollection<Offer>>
    interface IEntitySelector<IOffer>
Public Interface IOfferCollection
Implements IEntireEntityCollectionRetrievalOperations(Of Offer, ResourceCollection(Of Offer)), IEntityCollectionRetrievalOperations(Of Offer, ResourceCollection(Of Offer)), IEntitySelector(Of IOffer), IPagedEntityCollectionRetrievalOperations(Of Offer, ResourceCollection(Of Offer)), IPartnerComponent, IPartnerComponent(Of String)
Implements

Properties

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Item[String]

Gets the operations tied with a specific offer.

Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)

Methods

ByCategory(String)

Retrieves the operations that can be applied on offers that belong to an offer category.

ById(String)

Retrieves the operations tied with a specific offer.

Get()

Retrieves all the offers for the provided country.

Get(Int32, Int32)

Retrieves a subset of offers for the provided country.

GetAsync()

Asynchronously retrieves all the offers for the provided country.

GetAsync(Int32, Int32)

Asynchronously retrieves a subset of offers for the provided country.

Applies to