Class Availability
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.products.Availability
public class Availability extends ResourceBaseWithLinks<StandardResourceLinks>
Represents a partner's billing profile.
-
Constructor Summary
Constructors Constructor Description Availability() -
Method Summary
Modifier and Type Method Description StringgetCatalogItemId()StringgetCountry()CurrencyInfogetDefaultCurrency()StringgetId()booleangetIsPurchasable()Gets a flag indicating whether the availability is purchasable or not.booleangetIsRenewable()Gets a flag indicating whether the availability is renewable or not.StringgetProductId()StringgetSegment()StringgetSkuId()Iterable<AvailabilityTerm>getTerms()Gets the terms if applicable to this availability.voidsetCatalogItemId(String value)voidsetCountry(String value)voidsetDefaultCurrency(CurrencyInfo value)voidsetId(String value)voidsetIsPurchasable(boolean value)Sets a flag indicating whether the availability is purchasable or not.voidsetIsRenewable(boolean value)Sets a flag indicating whether the availability is renewable or not.voidsetProductId(String value)voidsetSegment(String value)voidsetSkuId(String value)voidsetTerms(Iterable<AvailabilityTerm> value)Sets the terms if applicable to this availability.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
Availability
public Availability()
-
-
Method Details
-
getIsPurchasable
public boolean getIsPurchasable()Gets a flag indicating whether the availability is purchasable or not.- Returns:
- A flag indicating whether the availability is purchasable or not.
-
setIsPurchasable
public void setIsPurchasable(boolean value)Sets a flag indicating whether the availability is purchasable or not.- Parameters:
value- A flag indicating whether the availability is purchasable or not.
-
getIsRenewable
public boolean getIsRenewable()Gets a flag indicating whether the availability is renewable or not.- Returns:
- A flag indicating whether the availability is renewable or not.
-
setIsRenewable
public void setIsRenewable(boolean value)Sets a flag indicating whether the availability is renewable or not.- Parameters:
value- A flag indicating whether the availability is renewable or not.
-
getTerms
Gets the terms if applicable to this availability.- Returns:
- The terms if applicable to this availability.
-
setTerms
Sets the terms if applicable to this availability.- Parameters:
value- The terms if applicable to this availability.
-
getId
-
setId
-
getProductId
-
setProductId
-
getSkuId
-
setSkuId
-
getCatalogItemId
-
setCatalogItemId
-
getDefaultCurrency
-
setDefaultCurrency
-
getSegment
-
setSegment
-
getCountry
-
setCountry
-