Enum CronSweepSchedule.TypeEnum
- java.lang.Object
-
- java.lang.Enum<CronSweepSchedule.TypeEnum>
-
- com.adyen.model.configurationwebhooks.CronSweepSchedule.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CronSweepSchedule.TypeEnum>
- Enclosing class:
- CronSweepSchedule
public static enum CronSweepSchedule.TypeEnum extends Enum<CronSweepSchedule.TypeEnum>
The schedule type. Possible values: * **cron**: push out funds based on a cron expression. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`.If the source is transferInstrument, merchant account identifier is still required, with which you want to process the transaction.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CronSweepSchedule.TypeEnumfromValue(String value)StringgetValue()StringtoString()static CronSweepSchedule.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CronSweepSchedule.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAILY
public static final CronSweepSchedule.TypeEnum DAILY
-
WEEKLY
public static final CronSweepSchedule.TypeEnum WEEKLY
-
MONTHLY
public static final CronSweepSchedule.TypeEnum MONTHLY
-
BALANCE
public static final CronSweepSchedule.TypeEnum BALANCE
-
CRON
public static final CronSweepSchedule.TypeEnum CRON
-
-
Method Detail
-
values
public static CronSweepSchedule.TypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CronSweepSchedule.TypeEnum c : CronSweepSchedule.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CronSweepSchedule.TypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CronSweepSchedule.TypeEnum>
-
fromValue
public static CronSweepSchedule.TypeEnum fromValue(String value)
-
-