Class CustomerOfferCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.offers.CustomerOfferCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>,IPartnerComponent<String>,IPartnerComponentString,ICustomerOfferCollection
public class CustomerOfferCollectionOperations extends BasePartnerComponentString implements ICustomerOfferCollection
Customer Offer operations implementation class.
-
Constructor Summary
Constructors Constructor Description CustomerOfferCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerOfferCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<Offer>get()Gets the offers available to customer from partner.ResourceCollection<Offer>get(int offset, int size)Gets a segment of the offers available to customer from partner..Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
CustomerOfferCollectionOperations
Initializes a new instance of the CustomerOfferCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifer.
-
-
Method Details
-
get
Gets the offers available to customer from partner.- Specified by:
getin interfaceICustomerOfferCollection- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Offer,ResourceCollection<Offer>>- Returns:
- The offers for the provided customer.
-
get
Gets a segment of the offers available to customer from partner..- Specified by:
getin interfaceICustomerOfferCollection- Parameters:
offset- The starting index.size- The desired segment size.- Returns:
- The required offers segment.
-