Class CustomerSkuCollectionByTargetSegmentOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<TripletTuple<String,String,String>>
com.microsoft.store.partnercenter.customers.products.CustomerSkuCollectionByTargetSegmentOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>,IPartnerComponent<TripletTuple<String,String,String>>,ISkuCollectionByTargetSegment
public class CustomerSkuCollectionByTargetSegmentOperations extends BasePartnerComponent<TripletTuple<String,String,String>> implements ISkuCollectionByTargetSegment
Implementation of customer sku collection operations by target segment.
-
Constructor Summary
Constructors Constructor Description CustomerSkuCollectionByTargetSegmentOperations(IPartner rootPartnerOperations, String customerId, String productId, String targetSegment)Initializes a new instance of the CustomerSkuCollectionByTargetSegmentOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<Sku>get()Retrieves all the SKUs for the provided product.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
-
CustomerSkuCollectionByTargetSegmentOperations
public CustomerSkuCollectionByTargetSegmentOperations(IPartner rootPartnerOperations, String customerId, String productId, String targetSegment)Initializes a new instance of the CustomerSkuCollectionByTargetSegmentOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer id for which to retrieve the SKUs.productId- The product id for which to retrieve its SKUs.targetSegment- The target segment used for filtering the SKUs.
-
-
Method Details
-
get
Retrieves all the SKUs for the provided product.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>- Specified by:
getin interfaceISkuCollectionByTargetSegment- Returns:
- The SKUs for the provided product.
-