Availability Class

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()
CurrencyInfo 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<AvailabilityTerm> 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

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

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:

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.

getProductId

public String getProductId()

getSegment

public String getSegment()

getSkuId

public String getSkuId()

getTerms

public Iterable getTerms()

Gets the terms if applicable to this availability.

Returns:

The terms if applicable to this availability.

setCatalogItemId

public void setCatalogItemId(String value)

Parameters:

value

setCountry

public void setCountry(String value)

Parameters:

value

setDefaultCurrency

public void setDefaultCurrency(CurrencyInfo value)

Parameters:

value

setId

public void setId(String value)

Parameters:

value

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.

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.

setProductId

public void setProductId(String value)

Parameters:

value

setSegment

public void setSegment(String value)

Parameters:

value

setSkuId

public void setSkuId(String value)

Parameters:

value

setTerms

public void setTerms(Iterable value)

Sets the terms if applicable to this availability.

Parameters:

value - The terms if applicable to this availability.

Applies to