Internal
You should not call this constructor directly. Instead, use the Mozaic main entry point to get access to the SDK classes.
Get the underlying API for direct calls to the Mozaic API.
Creates a Payment Cycle
The name of the payment cycle
Determines who will pay the fees for payments issued from this payment cycle.
A free text field containing user supplied information about the payment cycle.
The starting data of the payment cycle in UTC.
The ending date of the payment cycle in UTC.
Protected
executeRetrieves a specific payment cycle id.
the payment cycle id to retrieve. Note: This is the long format payment cycle id, not the 9 character short version: XXXX-XXXX.
Returns a list of payment cycles using limit for the maximum item count and page to retrieve more than one page.
An integer number between 1 and 100.
An integer number of the page starting at 1.
A list of PaymentCycle objects.
Protected
throwProtected
throwA helper function that will either return the variable's value or throw an exception if the value is null or undefined. Unit testing is simplified by avoiding ??
The name of the variable being checked
The value of the variable being checked
The value of the variable if it is available, otherwise an exception is thrown.
All classes in the resource folder should implement this interface so that they can be instantiated in the main barrel.