public class ReminderScheduleBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DAYS_BETWEEN_REMINDERS |
static int |
DEFAULT_DAYS_UNTIL_FIRST_REMINDER |
static int |
DEFAULT_NUMBER_OF_REPETITIONS |
| Modifier and Type | Method and Description |
|---|---|
ReminderSchedule |
build()
Builds the actual ReminderSchedule with the values specified.
|
static ReminderScheduleBuilder |
forPackageWithId(PackageId packageId)
Defines a new email reminder schedule for a given package.
|
static ReminderScheduleBuilder |
forPackageWithId(String packageId)
Defines a new email reminder schedule for a given package.
|
ReminderScheduleBuilder |
withDaysBetweenReminders(int daysBetweenReminders)
Set the number of days between sending of reminders.
|
ReminderScheduleBuilder |
withDaysUntilFirstReminder(int daysUntilFirstReminder)
Set the number of days after the package is created and its status is set
to SENT when the first email reminder should be sent to signers who have
not completed signing their documents.
|
ReminderScheduleBuilder |
withNumberOfRepetitions(int numberOfRepetitions)
Set the maximum number of reminders that should be sent if a signer has
not completed his signing process.
|
public static final int DEFAULT_DAYS_UNTIL_FIRST_REMINDER
public static final int DEFAULT_DAYS_BETWEEN_REMINDERS
public static final int DEFAULT_NUMBER_OF_REPETITIONS
public static ReminderScheduleBuilder forPackageWithId(String packageId)
packageId - id of the package for which to apply the reminder schedule.public static ReminderScheduleBuilder forPackageWithId(PackageId packageId)
packageId - id of the package for which to apply the reminder schedule.ReminderScheduleBuilder(PackageId)public ReminderScheduleBuilder withDaysUntilFirstReminder(int daysUntilFirstReminder)
daysUntilFirstReminder - @min="1" @max="65535"public ReminderScheduleBuilder withDaysBetweenReminders(int daysBetweenReminders)
daysBetweenReminders - @min="1"" @max="65535"public ReminderScheduleBuilder withNumberOfRepetitions(int numberOfRepetitions)
numberOfRepetitions - @min="1"" @max="65535"public ReminderSchedule build()
Copyright 2022 OneSpan All rights reserved.