All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silanis.esl.sdk.builder.AccountEmailReminderSettingsBuilder Maven / Gradle / Ivy

There is a newer version: 11.59.0
Show newest version
package com.silanis.esl.sdk.builder;

import com.silanis.esl.sdk.AccountEmailReminderSettings;

public class AccountEmailReminderSettingsBuilder {

    protected Integer startInDaysDelay = null;
    protected Integer intervalInDays = null;
    protected Integer repetitionsCount = null;

    public AccountEmailReminderSettingsBuilder() {
        /*
        Empty constructor
         */
    }

    /**
     * Creates a new Account Email Reminder Settings builder.
     *
     * @return This
     */
    public static AccountEmailReminderSettingsBuilder newEmailReminderSettings() {
        return new AccountEmailReminderSettingsBuilder();
    }

    /**
     * Set startInDaysDelay in AccountEmailReminderSettings.
     * 

* DEFAULT: 0 *

* * @return This */ public AccountEmailReminderSettingsBuilder withStartInDaysDelay(Integer value) { startInDaysDelay = value; return this; } /** * Set intervalInDays in AccountEmailReminderSettings. *

* DEFAULT: 0 *

* * @return This */ public AccountEmailReminderSettingsBuilder withIntervalInDays(Integer value) { intervalInDays = value; return this; } /** * Set repetitionsCount in AccountEmailReminderSettings. *

* DEFAULT: 0 *

* * @return This */ public AccountEmailReminderSettingsBuilder withRepetitionsCount(Integer value) { repetitionsCount = value; return this; } public AccountEmailReminderSettings build() { AccountEmailReminderSettings result = new AccountEmailReminderSettings(); result.setStartInDaysDelay(startInDaysDelay); result.setRepetitionsCount(repetitionsCount); result.setIntervalInDays(intervalInDays); return result; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy