Class ExistingSubscriptionTerms

java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.subscription.ExistingSubscriptionTerms
All Implemented Interfaces:
Serializable

public class ExistingSubscriptionTerms extends Object implements Serializable
Object describing the terms present on an existing subscription.
Since:
Catalog Browse Service 2.2.0, Release Train 2.3.0
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

    • ExistingSubscriptionTerms

      public ExistingSubscriptionTerms()
  • Method Details

    • getDurationLength

      public int getDurationLength()
      The length of the terms, e.g., if this is 36 and durationType is MONTHS, then the user should be billed for 36 months.
      See Also:
      • durationType
    • getDurationType

      public String getDurationType()
      The term duration type, e.g. DAYS, WEEKS, MONTHS, YEARS.
      See Also:
      • durationLength
    • setDurationLength

      public void setDurationLength(int durationLength)
      The length of the terms, e.g., if this is 36 and durationType is MONTHS, then the user should be billed for 36 months.
      See Also:
      • durationType
    • setDurationType

      public void setDurationType(String durationType)
      The term duration type, e.g. DAYS, WEEKS, MONTHS, YEARS.
      See Also:
      • durationLength
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object