Class: ProductSubscriptionTerm

Model~ProductSubscriptionTerm(data) → {void}

ProductSubscriptionTerm data model.

Constructor

new ProductSubscriptionTerm(data) → {void}

ProductSubscriptionTerm Constructor.

ProductSubscriptionTerm Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Members

(static, constant) TERM_FREQUENCY_ANNUALLY

Constant TERM_FREQUENCY_ANNUALLY

.

Constant TERM_FREQUENCY_ANNUALLY

Source:

(static, constant) TERM_FREQUENCY_BIWEEKLY

Constant TERM_FREQUENCY_BIWEEKLY

.

Constant TERM_FREQUENCY_BIWEEKLY

Source:

(static, constant) TERM_FREQUENCY_DAILY

Constant TERM_FREQUENCY_DAILY

.

Constant TERM_FREQUENCY_DAILY

Source:

(static, constant) TERM_FREQUENCY_DATES

Constant TERM_FREQUENCY_DATES

.

Constant TERM_FREQUENCY_DATES

Source:

(static, constant) TERM_FREQUENCY_FIXED_MONTHLY

Constant TERM_FREQUENCY_FIXED_MONTHLY

.

Constant TERM_FREQUENCY_FIXED_MONTHLY

Source:

(static, constant) TERM_FREQUENCY_FIXED_WEEKLY

Constant TERM_FREQUENCY_FIXED_WEEKLY

.

Constant TERM_FREQUENCY_FIXED_WEEKLY

Source:

(static, constant) TERM_FREQUENCY_N_DAYS

Constant TERM_FREQUENCY_N_DAYS

.

Constant TERM_FREQUENCY_N_DAYS

Source:

(static, constant) TERM_FREQUENCY_N_MONTHS

Constant TERM_FREQUENCY_N_MONTHS

.

Constant TERM_FREQUENCY_N_MONTHS

Source:

(static, constant) TERM_FREQUENCY_QUARTERLY

Constant TERM_FREQUENCY_QUARTERLY

.

Constant TERM_FREQUENCY_QUARTERLY

Source:

(static, constant) TERM_FREQUENCY_SEMIANNUALLY

Constant TERM_FREQUENCY_SEMIANNUALLY

.

Constant TERM_FREQUENCY_SEMIANNUALLY

Source:

(static, constant) TERM_FREQUENCY_WEEKLY

Constant TERM_FREQUENCY_WEEKLY

.

Constant TERM_FREQUENCY_WEEKLY

Source:

Methods

getDescription() → {string}

Get descrip.

Get descrip.

Source:
Returns:
Type
string

getFixedDayOfMonth() → {number}

Get fixed_dom.

Get fixed_dom.

Source:
Returns:
Type
number

getFixedDayOfWeek() → {number}

Get fixed_dow.

Get fixed_dow.

Source:
Returns:
Type
number

getFrequency() → {string}

Get frequency.

Get frequency.

Source:
Returns:
Type
string

getId() → {number}

Get id.

Get id.

Source:
Returns:
Type
number

getN() → {number}

Get n.

Get n.

Source:
Returns:
Type
number

getProductId() → {number}

Get product_id.

Get product_id.

Source:
Returns:
Type
number

getSubscriptionCount() → {number}

Get sub_count.

Get sub_count.

Source:
Returns:
Type
number

getTerm() → {number}

Get term.

Get term.

Source:
Returns:
Type
number