Class Entitlement


public class Entitlement
extends ResourceBaseWithLinks<StandardResourceLinks>
Class that represents an entitlement.
  • Constructor Details

  • Method Details

    • getEntitledArtifacts

      public Iterable<Artifact> getEntitledArtifacts()
      Gets the collection of entitled artifacts.
      Returns:
      The collection of entitled artifacts.
    • setEntitledArtifacts

      public void setEntitledArtifacts​(Iterable<Artifact> value)
      Sets the collection of entitled artifacts.
      Parameters:
      value - The collection of entitled artifacts.
    • getEntitlementType

      public String getEntitlementType()
      Gets the entitlement type.
      Returns:
      The entitlement type.
    • setEntitlementType

      public void setEntitlementType​(String value)
      Sets the entitlement type.
      Parameters:
      value - The entitlement type.
    • getExpiryDate

      public org.joda.time.DateTime getExpiryDate()
      Gets the expiry date for the entitlement.
      Returns:
      The expiry date for the entitlement.
    • setExpiryDate

      public void setExpiryDate​(org.joda.time.DateTime value)
      Sets the expiry date for the entitlement.
      Parameters:
      value - The expiry date for the entitlement.
    • getFulfillmentState

      public String getFulfillmentState()
      Gets the fulfillment state for the entitlement.
      Returns:
      The fulfillment state 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.
    • getIncludedEntitlements

      public Iterable<Entitlement> getIncludedEntitlements()
      Gets the included entitlements.
      Returns:
      The included entitlements.
    • setIncludedEntitlements

      public void setIncludedEntitlements​(Iterable<Entitlement> value)
      Sets the included entitlements.
      Parameters:
      value - The included entitlements.
    • getProductId

      public String getProductId()
      Gets the product identifier.
      Returns:
      The product identifier.
    • setProductId

      public void setProductId​(String value)
      Sets the product identifier.
      Parameters:
      value - The product identifier.
    • getQuantity

      public Integer getQuantity()
      Gets the quantity.
      Returns:
      The quantity.
    • setQuantity

      public void setQuantity​(Integer value)
      Sets the quantity.
      Parameters:
      value - The quantity.
    • getQuantityDetails

      public Iterable<QuantityDetail> getQuantityDetails()
      Gets the quantity details (quantity - state).
      Returns:
      The quantity details (quantity - state).
    • setQuantityDetails

      public void setQuantityDetails​(Iterable<QuantityDetail> value)
      Sets the quantity details (quantity - state).
      Parameters:
      value - 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.
    • setReferenceOrder

      public void setReferenceOrder​(ReferenceOrder value)
      Sets the reference order related to the entitlement.
      Parameters:
      value - The reference order related to the entitlement.
    • getSkuId

      public String getSkuId()
      Gets the SKU identifier.
      Returns:
      The SKU identifier.
    • setSkuId

      public void setSkuId​(String value)
      Sets the SKU identifier.
      Parameters:
      value - The SKU identifier.