Package com.adyen.model.balanceplatform
Enum SweepSchedule.TypeEnum
- java.lang.Object
-
- java.lang.Enum<SweepSchedule.TypeEnum>
-
- com.adyen.model.balanceplatform.SweepSchedule.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SweepSchedule.TypeEnum>
- Enclosing class:
- SweepSchedule
public static enum SweepSchedule.TypeEnum extends Enum<SweepSchedule.TypeEnum>
The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **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**: execute the sweep instantly if the `triggerAmount` is reached.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SweepSchedule.TypeEnumfromValue(String value)StringgetValue()StringtoString()static SweepSchedule.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SweepSchedule.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 SweepSchedule.TypeEnum DAILY
-
WEEKLY
public static final SweepSchedule.TypeEnum WEEKLY
-
MONTHLY
public static final SweepSchedule.TypeEnum MONTHLY
-
BALANCE
public static final SweepSchedule.TypeEnum BALANCE
-
CRON
public static final SweepSchedule.TypeEnum CRON
-
-
Method Detail
-
values
public static SweepSchedule.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 (SweepSchedule.TypeEnum c : SweepSchedule.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 SweepSchedule.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<SweepSchedule.TypeEnum>
-
fromValue
public static SweepSchedule.TypeEnum fromValue(String value)
-
-