CustomerAvailabilityCollectionOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. customers. products. CustomerAvailabilityCollectionOperations
- com.
- com.
Implements
public class CustomerAvailabilityCollectionOperations extends BasePartnerComponent<TripletTuple<String,String,String>> implements IAvailabilityCollection
Holds operations that can be performed on products that apply to a given customer.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerAvailabilityCollectionOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId) |
Initializes a new instance of the Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| IAvailability |
byId(String availabilityId)
Retrieves the operations tied with a specific availability. |
|
IAvailability |
byTargetSegment(String targetSegment)
Retrieves the operations that can be applied on availabilities filtered by a specific target segment. |
|
Resource |
get()
Retrieves all the availabilities for the provided SKU. |
Inherited Members
Constructor Details
CustomerAvailabilityCollectionOperations
public CustomerAvailabilityCollectionOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId)
Initializes a new instance of the CustomerAvailabilityCollectionOperations class.
Parameters:
Method Details
byId
public IAvailability byId(String availabilityId)
Retrieves the operations tied with a specific availability.
Parameters:
Returns:
byTargetSegment
public IAvailabilityCollectionByTargetSegment byTargetSegment(String targetSegment)
Retrieves the operations that can be applied on availabilities filtered by a specific target segment.
Parameters:
Returns:
get
public ResourceCollection
Retrieves all the availabilities for the provided SKU.
Returns: