Class Entitlement
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.entitlements.Entitlement
public class Entitlement extends ResourceBaseWithLinks<StandardResourceLinks>
Class that represents an entitlement.
-
Constructor Summary
Constructors Constructor Description Entitlement() -
Method Summary
Modifier and Type Method Description Iterable<Artifact>getEntitledArtifacts()Gets the collection of entitled artifacts.StringgetEntitlementType()Gets the entitlement type.org.joda.time.DateTimegetExpiryDate()Gets the expiry date for the entitlement.StringgetFulfillmentState()Gets the fulfillment state for the entitlement.Iterable<Entitlement>getIncludedEntitlements()Gets the included entitlements.StringgetProductId()Gets the product identifier.IntegergetQuantity()Gets the quantity.Iterable<QuantityDetail>getQuantityDetails()Gets the quantity details (quantity - state).ReferenceOrdergetReferenceOrder()Gets the reference order related to the entitlement.StringgetSkuId()Gets the SKU identifier.voidsetEntitledArtifacts(Iterable<Artifact> value)Sets the collection of entitled artifacts.voidsetEntitlementType(String value)Sets the entitlement type.voidsetExpiryDate(org.joda.time.DateTime value)Sets the expiry date for the entitlement.voidsetFulfillmentState(String value)Sets the fulfillment state for the entitlement.voidsetIncludedEntitlements(Iterable<Entitlement> value)Sets the included entitlements.voidsetProductId(String value)Sets the product identifier.voidsetQuantity(Integer value)Sets the quantity.voidsetQuantityDetails(Iterable<QuantityDetail> value)Sets the quantity details (quantity - state).voidsetReferenceOrder(ReferenceOrder value)Sets the reference order related to the entitlement.voidsetSkuId(String value)Sets the SKU identifier.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
Entitlement
public Entitlement()
-
-
Method Details
-
getEntitledArtifacts
Gets the collection of entitled artifacts.- Returns:
- The collection of entitled artifacts.
-
setEntitledArtifacts
Sets the collection of entitled artifacts.- Parameters:
value- The collection of entitled artifacts.
-
getEntitlementType
Gets the entitlement type.- Returns:
- The entitlement type.
-
setEntitlementType
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
Gets the fulfillment state for the entitlement.- Returns:
- The fulfillment state for the entitlement.
-
setFulfillmentState
Sets the fulfillment state for the entitlement.- Parameters:
value- The the fulfillment state for the entitlement.
-
getIncludedEntitlements
Gets the included entitlements.- Returns:
- The included entitlements.
-
setIncludedEntitlements
Sets the included entitlements.- Parameters:
value- The included entitlements.
-
getProductId
Gets the product identifier.- Returns:
- The product identifier.
-
setProductId
Sets the product identifier.- Parameters:
value- The product identifier.
-
getQuantity
Gets the quantity.- Returns:
- The quantity.
-
setQuantity
Sets the quantity.- Parameters:
value- The quantity.
-
getQuantityDetails
Gets the quantity details (quantity - state).- Returns:
- The quantity details (quantity - state).
-
setQuantityDetails
Sets the quantity details (quantity - state).- Parameters:
value- The quantity details (quantity - state).
-
getReferenceOrder
Gets the reference order related to the entitlement.- Returns:
- The reference order related to the entitlement.
-
setReferenceOrder
Sets the reference order related to the entitlement.- Parameters:
value- The reference order related to the entitlement.
-
getSkuId
Gets the SKU identifier.- Returns:
- The SKU identifier.
-
setSkuId
Sets the SKU identifier.- Parameters:
value- The SKU identifier.
-