new Interval(length, Unit, weekday)
Creates a new Interval.
Parameters:
| Name | Type | Description |
|---|---|---|
length |
number | length of the interval (in units) |
Unit |
string | Interval.Unit | for the interval |
weekday |
string | Interval.Weekday | on which a charge should occur |
- Source:
Extends
- PaymillObject
Members
-
<static> Unit
-
Units for an Interval.
- Source:
Properties:
Name Type Description DAYstring WEEKstring MONTHstring YEARstring -
<static> Weekday
-
Weekdays for an Interval.
- Source:
Properties:
Name Type Description MONDAYstring TUESDAYstring WEDNESDAYstring THURSDAYstring FRIDAYstring SATURDAYstring SUNDAYstring -
chargeday :Interval.Weekday
-
Charge day in the week
Type:
- Source:
-
length :number
-
Length of the interval (in units)
Type:
- number
- Source:
-
unit :Interval.Unit
-
Unit for the interval
Type:
- Source: