Class CustomerAvailabilityCollectionByTargetSegmentOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<QuadrupleTuple<String,String,String,String>>
com.microsoft.store.partnercenter.customers.products.CustomerAvailabilityCollectionByTargetSegmentOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<Availability,ResourceCollection<Availability>>,IPartnerComponent<QuadrupleTuple<String,String,String,String>>,IAvailabilityCollectionByTargetSegment
public class CustomerAvailabilityCollectionByTargetSegmentOperations extends BasePartnerComponent<QuadrupleTuple<String,String,String,String>> implements IAvailabilityCollectionByTargetSegment
Implements the available operations that can be performed on products that apply to a given customer.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description IAvailabilityCollectionByTargetSegmentByReservationScopeOperationsbyReservationScope(String reservationScope)Gets the operations that can be applied on products that belong to a given target segment, and reservation scope.ResourceCollection<Availability>get()Gets all the availabilities for the provided sku on a specific 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
-
CustomerAvailabilityCollectionByTargetSegmentOperations
public CustomerAvailabilityCollectionByTargetSegmentOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId, String targetSegment)Initializes a new instance of the CustomerAvailabilityCollectionByTargetSegmentOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.productId- Identifier for the product.skuId- Identifier for the SKU.targetSegment- The target segment used for filtering the availabilities.
-
-
Method Details
-
byReservationScope
public IAvailabilityCollectionByTargetSegmentByReservationScopeOperations byReservationScope(String reservationScope)Gets the operations that can be applied on products that belong to a given target segment, and reservation scope.- Specified by:
byReservationScopein interfaceIAvailabilityCollectionByTargetSegment- Parameters:
reservationScope- The reservation scope filter.- Returns:
- The availability collection operations by target segment by reservation scope.
-
get
Gets all the availabilities for the provided sku on a specific target segment.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Availability,ResourceCollection<Availability>>- Returns:
- The availability for the provided sku on a specific target segment.
-