IOfferCollection Interface
Implements
public interface IOfferCollection extends IPartnerComponentString
Encapsulates the basic offers behavior.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
ICategory |
byCategory(String categoryId)
Retrieves the operations that can be applied on offers that belong to an offer category. |
| abstract IOffer |
byId(String offerId)
Retrieves the operations tied with a specific offer. |
|
abstract
Resource |
get()
Retrieves all the offers for the provided country. |
|
abstract
Resource |
get(int offset, int size)
Retrieves all the offers for the provided country. |
Method Details
byCategory
public abstract ICategoryOffersCollection byCategory(String categoryId)
Retrieves the operations that can be applied on offers that belong to an offer category.
Parameters:
Returns:
byId
public abstract IOffer byId(String offerId)
Retrieves the operations tied with a specific offer.
Parameters:
Returns:
get
public abstract ResourceCollection
Retrieves all the offers for the provided country.
Returns:
get
public abstract ResourceCollection
Retrieves all the offers for the provided country.
Parameters:
Returns: