Class AvailabilityTerm

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

public class AvailabilityTerm
extends Object
Represents the terms for an availability.
  • Constructor Details

  • Method Details

    • getCancellationPolicies

      public Iterable<CancellationPolicy> getCancellationPolicies()
      Gets the cancellation policies that can apply to this term.
      Returns:
      The cancellation policies that can apply to this term.
    • setCancellationPolicies

      public void setCancellationPolicies​(Iterable<CancellationPolicy> value)
      Sets the cancellation policies that can apply to this term.
      Parameters:
      value - 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.
    • setDescription

      public void setDescription​(String value)
      Sets the description for the term.
      Parameters:
      value - 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.
    • 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.
    • getRenewalOptions

      public Iterable<RenewalOption> getRenewalOptions()
      Gets the renewal options.
      Returns:
      The renewal options.
    • setRenewalOptions

      public void setRenewalOptions​(Iterable<RenewalOption> value)
      Sets the renewal options.
      Parameters:
      value - The renewal options.