OfferCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. offers. OfferCollectionOperations
- com.
- com.
- com.
Implements
public class OfferCollectionOperations extends BasePartnerComponentString implements IOfferCollection
Offer Collection operations implementation.
Constructor Summary
| Constructor | Description |
|---|---|
| OfferCollectionOperations(IPartner rootPartnerOperations, String country) |
Initializes a new instance of the Offer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
ICategory |
byCategory(String categoryId)
Retrieves the operations that can be applied on offers the belong to an offer category. |
| IOffer |
byId(String offerId)
Retrieves the operations tied with a specific offer. |
|
Resource |
get()
Retrieves all the offers for the provided country. |
|
Resource |
get(int offset, int size)
Retrieves all the offers for the provided country. |
Inherited Members
Constructor Details
OfferCollectionOperations
public OfferCollectionOperations(IPartner rootPartnerOperations, String country)
Initializes a new instance of the OfferCollectionOperations class.
Parameters:
Method Details
byCategory
public ICategoryOffersCollection byCategory(String categoryId)
Retrieves the operations that can be applied on offers the belong to an offer category.
Parameters:
Returns:
byId
public IOffer byId(String offerId)
Retrieves the operations tied with a specific offer.
Parameters:
Returns:
get
public ResourceCollection
Retrieves all the offers for the provided country.
Returns:
get
public ResourceCollection
Retrieves all the offers for the provided country.
Parameters:
Returns: