Class ExistingSubscriptionTerms
java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.subscription.ExistingSubscriptionTerms
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe length of the terms, e.g., if this is 36 anddurationTypeis MONTHS, then the user should be billed for 36 months.The term duration type, e.g.inthashCode()voidsetDurationLength(int durationLength) The length of the terms, e.g., if this is 36 anddurationTypeis MONTHS, then the user should be billed for 36 months.voidsetDurationType(String durationType) The term duration type, e.g.toString()
-
Constructor Details
-
ExistingSubscriptionTerms
public ExistingSubscriptionTerms()
-
-
Method Details
-
getDurationLength
public int getDurationLength()The length of the terms, e.g., if this is 36 anddurationTypeis MONTHS, then the user should be billed for 36 months.- See Also:
-
durationType
-
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 anddurationTypeis MONTHS, then the user should be billed for 36 months.- See Also:
-
durationType
-
setDurationType
The term duration type, e.g. DAYS, WEEKS, MONTHS, YEARS.- See Also:
-
durationLength
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-