Defines the duration of a term for a given subscription.
| Name | Type | Tags | Description | Getter |
|---|---|---|---|---|
interval |
TermInterval |
Required | Specifies subscription term length. Either day, week, month or year. | String getInterval() |
intervalCount |
Integer |
Required | The number of intervals in a term. For example, interval=year and interval_count=1 represents a 1 year term. | String getIntervalCount() |
type |
TermType |
Optional | The term type, one of EVERGREEN or TERMED |
TermType getType() |
startDate |
LocalDate |
Optional | Date on which the subscription becomes active. | LocalDate getStartDate() |
endDate |
LocalDate |
Optional | Date on which the subscription is no longer active. | LocalDate getEndDate() |