CustomerAvailabilityCollectionByTargetSegmentOperations Class

Implements

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

Constructor Description
CustomerAvailabilityCollectionByTargetSegmentOperations(IPartner rootPartnerOperations, String customerId, String productId, String skuId, String targetSegment)

Initializes a new instance of the CustomerAvailabilityCollectionByTargetSegmentOperations class.

Method Summary

Modifier and Type Method and Description
IAvailabilityCollectionByTargetSegmentByReservationScopeOperations byReservationScope(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.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

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.

Parameters:

reservationScope - The reservation scope filter.

Returns:

The availability collection operations by target segment by reservation scope.

get

public ResourceCollection get()

Gets all the availabilities for the provided sku on a specific target segment.

Returns:

The availability for the provided sku on a specific target segment.

Applies to