AvailabilityTerm Class

  • java.lang.Object
    • com.microsoft.store.partnercenter.models.products.AvailabilityTerm

public class AvailabilityTerm

Represents the terms for an availability.

Constructor Summary

Constructor Description
AvailabilityTerm()

Method Summary

Modifier and Type Method and Description
java.lang.Iterable<CancellationPolicy> getCancellationPolicies()

Gets the cancellation policies that can apply to this term.

java.lang.String getDescription()

Gets the description for the term.

java.lang.String getDuration()

Gets the ISO standard representation of this term's duration.

java.lang.Iterable<RenewalOption> getRenewalOptions()

Gets the renewal options.

void setCancellationPolicies(Iterable<CancellationPolicy> value)

Sets the cancellation policies that can apply to this term.

void setDescription(String value)

Sets the description for the term.

void setDuration(String value)

Sets the ISO standard representation of this term's duration.

void setRenewalOptions(Iterable<RenewalOption> value)

Sets the renewal options.

Inherited Members

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

AvailabilityTerm

public AvailabilityTerm()

Method Details

getCancellationPolicies

public Iterable getCancellationPolicies()

Gets the cancellation policies that can apply to this term.

Returns:

The cancellation policies that can apply to this term.

getDescription

public String getDescription()

Gets the description for the term.

Returns:

The description for the term.

getDuration

public String getDuration()

Gets the ISO standard representation of this term's duration.

Returns:

The ISO standard representation of this term's duration.

getRenewalOptions

public Iterable getRenewalOptions()

Gets the renewal options.

Returns:

The renewal options.

setCancellationPolicies

public void setCancellationPolicies(Iterable value)

Sets the cancellation policies that can apply to this term.

Parameters:

value - The cancellation policies that can apply to this term.

setDescription

public void setDescription(String value)

Sets the description for the term.

Parameters:

value - The description for the term.

setDuration

public void setDuration(String value)

Sets the ISO standard representation of this term's duration.

Parameters:

value - The ISO standard representation of this term's duration.

setRenewalOptions

public void setRenewalOptions(Iterable value)

Sets the renewal options.

Parameters:

value - The renewal options.

Applies to