AvailabilityTerm Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. products. AvailabilityTerm
- com.
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<Cancellation |
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<Renewal |
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
Constructor Details
AvailabilityTerm
public AvailabilityTerm()
Method Details
getCancellationPolicies
public Iterable
Gets the cancellation policies that can apply to this term.
Returns:
getDescription
public String getDescription()
Gets the description for the term.
Returns:
getDuration
public String getDuration()
Gets the ISO standard representation of this term's duration.
Returns:
getRenewalOptions
public Iterable
Gets the renewal options.
Returns:
setCancellationPolicies
public void setCancellationPolicies(Iterable
Sets the cancellation policies that can apply to this term.
Parameters:
setDescription
public void setDescription(String value)
Sets the description for the term.
Parameters:
setDuration
public void setDuration(String value)
Sets the ISO standard representation of this term's duration.
Parameters:
setRenewalOptions
public void setRenewalOptions(Iterable
Sets the renewal options.
Parameters: