Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 875 Bytes

File metadata and controls

14 lines (10 loc) · 875 Bytes

Term

Defines the duration of a term for a given subscription.

Fields

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()