CustomerSkuCollectionOperations Class

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 CustomerSkuCollectionOperations class.

Method Summary

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

Retrieves the operations tied with a specific SKU.

ISkuCollectionByTargetSegment byTargetSegment(String targetSegment)

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

ResourceCollection<Sku> get()

Retrieves all the SKUs for the provided product.

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

CustomerSkuCollectionOperations

public CustomerSkuCollectionOperations(IPartner rootPartnerOperations, String customerId, String productId)

Initializes a new instance of the CustomerSkuCollectionOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - Identifier for the customer.
productId - Identifier for the product.

Method Details

byId

public 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 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 ResourceCollection get()

Retrieves all the SKUs for the provided product.

Returns:

The SKUs for the provided product.

Applies to