Entitlement Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. entitlements. Entitlement
- com.
- com.
- com.
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<Quantity |
getQuantityDetails()
Gets the quantity details (quantity - state). |
|
Reference |
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
Constructor Details
Entitlement
public Entitlement()
Method Details
getEntitledArtifacts
public Iterable
Gets the collection of entitled artifacts.
Returns:
getEntitlementType
public String getEntitlementType()
Gets the entitlement type.
Returns:
getExpiryDate
public DateTime getExpiryDate()
Gets the expiry date for the entitlement.
Returns:
getFulfillmentState
public String getFulfillmentState()
Gets the fulfillment state for the entitlement.
Returns:
getIncludedEntitlements
public Iterable
Gets the included entitlements.
Returns:
getProductId
public String getProductId()
Gets the product identifier.
Returns:
getQuantity
public Integer getQuantity()
Gets the quantity.
Returns:
getQuantityDetails
public Iterable
Gets the quantity details (quantity - state).
Returns:
getReferenceOrder
public ReferenceOrder getReferenceOrder()
Gets the reference order related to the entitlement.
Returns:
getSkuId
public String getSkuId()
Gets the SKU identifier.
Returns:
setEntitledArtifacts
public void setEntitledArtifacts(Iterable
Sets the collection of entitled artifacts.
Parameters:
setEntitlementType
public void setEntitlementType(String value)
Sets the entitlement type.
Parameters:
setExpiryDate
public void setExpiryDate(DateTime value)
Sets the expiry date for the entitlement.
Parameters:
setFulfillmentState
public void setFulfillmentState(String value)
Sets the fulfillment state for the entitlement.
Parameters:
setIncludedEntitlements
public void setIncludedEntitlements(Iterable
Sets the included entitlements.
Parameters:
setProductId
public void setProductId(String value)
Sets the product identifier.
Parameters:
setQuantity
public void setQuantity(Integer value)
Sets the quantity.
Parameters:
setQuantityDetails
public void setQuantityDetails(Iterable
Sets the quantity details (quantity - state).
Parameters:
setReferenceOrder
public void setReferenceOrder(ReferenceOrder value)
Sets the reference order related to the entitlement.
Parameters:
setSkuId
public void setSkuId(String value)
Sets the SKU identifier.
Parameters: