ISkuCollection Interface

Implements

public interface ISkuCollection extends IPartnerComponent<Tuple<String,String>>, IEntitySelector<String,ISku>, IEntireEntityCollectionRetrievalOperations<Sku,ResourceCollection<Sku>>

Holds operations that can be performed on SKUs.

Method Summary

Modifier and Type Method and Description
abstract ISku byId(String skuId)

Retrieves the operations tied with a specific SKU.

abstract ISkuCollectionByTargetSegment byTargetSegment(String targetSegment)

Retrieves the operations that can be applied on SKUs that belong to a segment.

abstract ResourceCollection<Sku> get()

Retrieves all the SKUs for the provided product.

Method Details

byId

public abstract ISku byId(String skuId)

Retrieves the operations tied with a specific SKU.

Parameters:

skuId - Identifier for the SKU.

Returns:

The available SKU operations.

byTargetSegment

public abstract ISkuCollectionByTargetSegment byTargetSegment(String targetSegment)

Retrieves the operations that can be applied on SKUs that belong to a segment.

Parameters:

targetSegment - The SKU segment filter.

Returns:

The SKU collection operations by target segment.

get

public abstract ResourceCollection get()

Retrieves all the SKUs for the provided product.

Returns:

The SKUs for the provided product.

Applies to