ICustomerAgreementCollection Interface

Implements

public interface ICustomerAgreementCollection extends IPartnerComponentString, IEntireEntityCollectionRetrievalOperations<Agreement,ResourceCollection<Agreement>>

Encapsulates the operations on the Agreement collection.

Method Summary

Modifier and Type Method and Description
abstract ICustomerAgreementCollection byAgreementType(String agreementType)

Retrieves the operations tied with a specified agreement type.

abstract Agreement create(Agreement newEntity)

Creates an agreement between the partner and customer.

abstract ResourceCollection<Agreement> get()

Gets the list of agreements between a partner and customer.

Method Details

byAgreementType

public abstract ICustomerAgreementCollection byAgreementType(String agreementType)

Retrieves the operations tied with a specified agreement type.

Parameters:

agreementType - The agreement type used to filter.

Returns:

The customer agreement collection operations customized for the given type.

create

public abstract Agreement create(Agreement newEntity)

Creates an agreement between the partner and customer.

Parameters:

newEntity - The agreement to be created.

Returns:

The newly created agreement.

get

public abstract ResourceCollection get()

Gets the list of agreements between a partner and customer.

Returns:

The list of the customer's agreements.

Applies to