Class AvailabilityTerm
java.lang.Object
com.microsoft.store.partnercenter.models.products.AvailabilityTerm
public class AvailabilityTerm extends Object
Represents the terms for an availability.
-
Constructor Summary
Constructors Constructor Description AvailabilityTerm() -
Method Summary
Modifier and Type Method Description Iterable<CancellationPolicy>getCancellationPolicies()Gets the cancellation policies that can apply to this term.StringgetDescription()Gets the description for the term.StringgetDuration()Gets the ISO standard representation of this term's duration.Iterable<RenewalOption>getRenewalOptions()Gets the renewal options.voidsetCancellationPolicies(Iterable<CancellationPolicy> value)Sets the cancellation policies that can apply to this term.voidsetDescription(String value)Sets the description for the term.voidsetDuration(String value)Sets the ISO standard representation of this term's duration.voidsetRenewalOptions(Iterable<RenewalOption> value)Sets the renewal options.
-
Constructor Details
-
AvailabilityTerm
public AvailabilityTerm()
-
-
Method Details
-
getCancellationPolicies
Gets the cancellation policies that can apply to this term.- Returns:
- The cancellation policies that can apply to this term.
-
setCancellationPolicies
Sets the cancellation policies that can apply to this term.- Parameters:
value- The cancellation policies that can apply to this term.
-
getDescription
Gets the description for the term.- Returns:
- The description for the term.
-
setDescription
Sets the description for the term.- Parameters:
value- The description for the term.
-
getDuration
Gets the ISO standard representation of this term's duration.- Returns:
- The ISO standard representation of this term's duration.
-
setDuration
Sets the ISO standard representation of this term's duration.- Parameters:
value- The ISO standard representation of this term's duration.
-
getRenewalOptions
Gets the renewal options.- Returns:
- The renewal options.
-
setRenewalOptions
Sets the renewal options.- Parameters:
value- The renewal options.
-