Availability Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. products. Availability
- com.
- com.
- com.
public class Availability extends ResourceBaseWithLinks<StandardResourceLinks>
Represents a partner's billing profile.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Availability() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String | getCatalogItemId() |
| java.lang.String | getCountry() |
|
Currency |
getDefaultCurrency() |
| java.lang.String | getId() |
| boolean |
getIsPurchasable()
Gets a flag indicating whether the availability is purchasable or not. |
| boolean |
getIsRenewable()
Gets a flag indicating whether the availability is renewable or not. |
| java.lang.String | getProductId() |
| java.lang.String | getSegment() |
| java.lang.String | getSkuId() |
|
java.lang.Iterable<Availability |
getTerms()
Gets the terms if applicable to this availability. |
| void | setCatalogItemId(String value) |
| void | setCountry(String value) |
| void | setDefaultCurrency(CurrencyInfo value) |
| void | setId(String value) |
| void |
setIsPurchasable(boolean value)
Sets a flag indicating whether the availability is purchasable or not. |
| void |
setIsRenewable(boolean value)
Sets a flag indicating whether the availability is renewable or not. |
| void | setProductId(String value) |
| void | setSegment(String value) |
| void | setSkuId(String value) |
| void |
setTerms(Iterable<AvailabilityTerm> value)
Sets the terms if applicable to this availability. |
Inherited Members
Constructor Details
Availability
public Availability()
Method Details
getCatalogItemId
public String getCatalogItemId()
getCountry
public String getCountry()
getDefaultCurrency
public CurrencyInfo getDefaultCurrency()
getId
public String getId()
getIsPurchasable
public boolean getIsPurchasable()
Gets a flag indicating whether the availability is purchasable or not.
Returns:
getIsRenewable
public boolean getIsRenewable()
Gets a flag indicating whether the availability is renewable or not.
Returns:
getProductId
public String getProductId()
getSegment
public String getSegment()
getSkuId
public String getSkuId()
getTerms
public Iterable
Gets the terms if applicable to this availability.
Returns:
setCatalogItemId
public void setCatalogItemId(String value)
Parameters:
setCountry
public void setCountry(String value)
Parameters:
setDefaultCurrency
public void setDefaultCurrency(CurrencyInfo value)
Parameters:
setId
public void setId(String value)
Parameters:
setIsPurchasable
public void setIsPurchasable(boolean value)
Sets a flag indicating whether the availability is purchasable or not.
Parameters:
setIsRenewable
public void setIsRenewable(boolean value)
Sets a flag indicating whether the availability is renewable or not.
Parameters:
setProductId
public void setProductId(String value)
Parameters:
setSegment
public void setSegment(String value)
Parameters:
setSkuId
public void setSkuId(String value)
Parameters:
setTerms
public void setTerms(Iterable
Sets the terms if applicable to this availability.
Parameters: