Entitlement Class

public class Entitlement extends ResourceBaseWithLinks<StandardResourceLinks>

Class that represents an entitlement.

Constructor Summary

Constructor Description
Entitlement()

Method Summary

Modifier and Type Method and Description
java.lang.Iterable<Artifact> getEntitledArtifacts()

Gets the collection of entitled artifacts.

java.lang.String getEntitlementType()

Gets the entitlement type.

org.joda.time.DateTime getExpiryDate()

Gets the expiry date for the entitlement.

java.lang.String getFulfillmentState()

Gets the fulfillment state for the entitlement.

java.lang.Iterable<Entitlement> getIncludedEntitlements()

Gets the included entitlements.

java.lang.String getProductId()

Gets the product identifier.

java.lang.Integer getQuantity()

Gets the quantity.

java.lang.Iterable<QuantityDetail> getQuantityDetails()

Gets the quantity details (quantity - state).

ReferenceOrder getReferenceOrder()

Gets the reference order related to the entitlement.

java.lang.String getSkuId()

Gets the SKU identifier.

void setEntitledArtifacts(Iterable<Artifact> value)

Sets the collection of entitled artifacts.

void setEntitlementType(String value)

Sets the entitlement type.

void setExpiryDate(DateTime value)

Sets the expiry date for the entitlement.

void setFulfillmentState(String value)

Sets the fulfillment state for the entitlement.

void setIncludedEntitlements(Iterable<Entitlement> value)

Sets the included entitlements.

void setProductId(String value)

Sets the product identifier.

void setQuantity(Integer value)

Sets the quantity.

void setQuantityDetails(Iterable<QuantityDetail> value)

Sets the quantity details (quantity - state).

void setReferenceOrder(ReferenceOrder value)

Sets the reference order related to the entitlement.

void setSkuId(String value)

Sets the SKU identifier.

Inherited Members

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) 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

Entitlement

public Entitlement()

Method Details

getEntitledArtifacts

public Iterable getEntitledArtifacts()

Gets the collection of entitled artifacts.

Returns:

The collection of entitled artifacts.

getEntitlementType

public String getEntitlementType()

Gets the entitlement type.

Returns:

The entitlement type.

getExpiryDate

public DateTime getExpiryDate()

Gets the expiry date for the entitlement.

Returns:

The expiry date for the entitlement.

getFulfillmentState

public String getFulfillmentState()

Gets the fulfillment state for the entitlement.

Returns:

The fulfillment state for the entitlement.

getIncludedEntitlements

public Iterable getIncludedEntitlements()

Gets the included entitlements.

Returns:

The included entitlements.

getProductId

public String getProductId()

Gets the product identifier.

Returns:

The product identifier.

getQuantity

public Integer getQuantity()

Gets the quantity.

Returns:

The quantity.

getQuantityDetails

public Iterable getQuantityDetails()

Gets the quantity details (quantity - state).

Returns:

The quantity details (quantity - state).

getReferenceOrder

public ReferenceOrder getReferenceOrder()

Gets the reference order related to the entitlement.

Returns:

The reference order related to the entitlement.

getSkuId

public String getSkuId()

Gets the SKU identifier.

Returns:

The SKU identifier.

setEntitledArtifacts

public void setEntitledArtifacts(Iterable value)

Sets the collection of entitled artifacts.

Parameters:

value - The collection of entitled artifacts.

setEntitlementType

public void setEntitlementType(String value)

Sets the entitlement type.

Parameters:

value - The entitlement type.

setExpiryDate

public void setExpiryDate(DateTime value)

Sets the expiry date for the entitlement.

Parameters:

value - The expiry date for the entitlement.

setFulfillmentState

public void setFulfillmentState(String value)

Sets the fulfillment state for the entitlement.

Parameters:

value - The the fulfillment state for the entitlement.

setIncludedEntitlements

public void setIncludedEntitlements(Iterable value)

Sets the included entitlements.

Parameters:

value - The included entitlements.

setProductId

public void setProductId(String value)

Sets the product identifier.

Parameters:

value - The product identifier.

setQuantity

public void setQuantity(Integer value)

Sets the quantity.

Parameters:

value - The quantity.

setQuantityDetails

public void setQuantityDetails(Iterable value)

Sets the quantity details (quantity - state).

Parameters:

value - The quantity details (quantity - state).

setReferenceOrder

public void setReferenceOrder(ReferenceOrder value)

Sets the reference order related to the entitlement.

Parameters:

value - The reference order related to the entitlement.

setSkuId

public void setSkuId(String value)

Sets the SKU identifier.

Parameters:

value - The SKU identifier.

Applies to