CustomerSkuCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. customers. products. CustomerSkuCollectionOperations
- com.
- com.
Implements
public class CustomerSkuCollectionOperations extends BasePartnerComponent<Tuple<String,String>> implements ISkuCollection
Implementation of customer sku collection operations.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerSkuCollectionOperations(IPartner rootPartnerOperations, String customerId, String productId) |
Initializes a new instance of the Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| ISku |
byId(String skuId)
Retrieves the operations tied with a specific SKU. |
|
ISku |
byTargetSegment(String targetSegment)
Retrieves the operations that can be applied on skus that belong to a segment. |
|
Resource |
get()
Retrieves all the SKUs for the provided product. |
Inherited Members
Constructor Details
CustomerSkuCollectionOperations
public CustomerSkuCollectionOperations(IPartner rootPartnerOperations, String customerId, String productId)
Initializes a new instance of the CustomerSkuCollectionOperations class.
Parameters:
Method Details
byId
public ISku byId(String skuId)
Retrieves the operations tied with a specific SKU.
Parameters:
Returns:
byTargetSegment
public ISkuCollectionByTargetSegment byTargetSegment(String targetSegment)
Retrieves the operations that can be applied on skus that belong to a segment.
Parameters:
Returns:
get
public ResourceCollection
Retrieves all the SKUs for the provided product.
Returns: