IOfferAddOns Interface

Implements

public interface IOfferAddOns extends IPartnerComponent<Tuple<String,String>>, IEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>

Defines the behavior of an offer's add-ons.

Method Summary

Modifier and Type Method and Description
abstract ResourceCollection<Offer> get()

Retrieves all the offers for the provided country.

abstract ResourceCollection<Offer> get(int offset, int size)

Retrieves a subset of offers for the provided country.

Method Details

get

public abstract ResourceCollection get()

Retrieves all the offers for the provided country.

Returns:

The offers for the provided country.

get

public abstract ResourceCollection get(int offset, int size)

Retrieves a subset of offers for the provided country.

Parameters:

offset - The starting index.
size - The maximum number of offers to return.

Returns:

The requested segment of the offers for the given country.

Applies to