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