Class Product
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.products.Product
public class Product extends ResourceBaseWithLinks<StandardResourceLinks>
Class that represents a product.
-
Constructor Summary
Constructors Constructor Description Product() -
Method Summary
Modifier and Type Method Description StringgetDescription()StringgetId()booleangetIsMicrosoftProduct()Gets a flag indicating whether this is a Microsoft product or not.ItemTypegetProductType()StringgetPublisherName()Gets the name of the publisher.StringgetTitle()voidsetDescription(String value)voidsetId(String value)voidsetIsMicrosoftProduct(boolean value)Sets a flag indicating whether this is a Microsoft product or not.voidsetProductType(ItemType value)voidsetPublisherName(String value)Sets the name of the publisher.voidsetTitle(String value)Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
getIsMicrosoftProduct
public boolean getIsMicrosoftProduct()Gets a flag indicating whether this is a Microsoft product or not.- Returns:
- A flag indicating whether this is a Microsoft product or not.
-
setIsMicrosoftProduct
public void setIsMicrosoftProduct(boolean value)Sets a flag indicating whether this is a Microsoft product or not.- Parameters:
value- A flag indicating whether this is a Microsoft product or not.
-
getPublisherName
Gets the name of the publisher.- Returns:
- The name of the publisher.
-
setPublisherName
Sets the name of the publisher.- Parameters:
value- The name of the publisher.
-
getId
-
setId
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getProductType
-
setProductType
-