CustomerOfferCollectionOperations Class

Implements

public class CustomerOfferCollectionOperations extends BasePartnerComponentString implements ICustomerOfferCollection

Customer Offer operations implementation class.

Constructor Summary

Constructor Description
CustomerOfferCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerOfferCollectionOperations class.

Method Summary

Modifier and Type Method and Description
ResourceCollection<Offer> get()

Gets the offers available to customer from partner.

ResourceCollection<Offer> get(int offset, int size)

Gets a segment of the offers available to customer from partner..

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

CustomerOfferCollectionOperations

public CustomerOfferCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerOfferCollectionOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - The customer identifer.

Method Details

get

public ResourceCollection get()

Gets the offers available to customer from partner.

get

public ResourceCollection get(int offset, int size)

Gets a segment of the offers available to customer from partner..

Parameters:

offset - The starting index.
size - The desired segment size.

Returns:

The required offers segment.

Applies to