Package software.xdev.brevo.model
Enum Class CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum
java.lang.Object
java.lang.Enum<CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum>
software.xdev.brevo.model.CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum
- All Implemented Interfaces:
Serializable,Comparable<CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum>,Constable
- Enclosing class:
- CreateBalanceDefinitionPayload
public static enum CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum
extends Enum<CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum>
Defines whether partial credit is allowed when reaching max balance.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
STRICT
-
PARTIAL
public static final CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum PARTIAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum>
-
fromValue
public static CreateBalanceDefinitionPayload.BalanceOptionAmountOvertakingStrategyEnum fromValue(String value)
-