Class OfferTermInfoAutoGenerated

java.lang.Object
com.azure.resourcemanager.commerce.models.OfferTermInfoAutoGenerated
Direct Known Subclasses:
MonetaryCommitment, MonetaryCredit, RecurringCharge

public class OfferTermInfoAutoGenerated extends Object
Describes the offer term.
  • Constructor Details

    • OfferTermInfoAutoGenerated

      public OfferTermInfoAutoGenerated()
      Creates an instance of OfferTermInfoAutoGenerated class.
  • Method Details

    • effectiveDate

      public OffsetDateTime effectiveDate()
      Get the effectiveDate property: Indicates the date from which the offer term is effective.
      Returns:
      the effectiveDate value.
    • withEffectiveDate

      public OfferTermInfoAutoGenerated withEffectiveDate(OffsetDateTime effectiveDate)
      Set the effectiveDate property: Indicates the date from which the offer term is effective.
      Parameters:
      effectiveDate - the effectiveDate value to set.
      Returns:
      the OfferTermInfoAutoGenerated object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.