Package com.adyen.model.management
Enum UpdateSplitConfigurationLogicRequest.ChargebackEnum
- java.lang.Object
-
- java.lang.Enum<UpdateSplitConfigurationLogicRequest.ChargebackEnum>
-
- com.adyen.model.management.UpdateSplitConfigurationLogicRequest.ChargebackEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UpdateSplitConfigurationLogicRequest.ChargebackEnum>
- Enclosing class:
- UpdateSplitConfigurationLogicRequest
public static enum UpdateSplitConfigurationLogicRequest.ChargebackEnum extends Enum<UpdateSplitConfigurationLogicRequest.ChargebackEnum>
Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEDUCTACCORDINGTOSPLITRATIODEDUCTFROMLIABLEACCOUNTDEDUCTFROMONEBALANCEACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSplitConfigurationLogicRequest.ChargebackEnumfromValue(String value)StringgetValue()StringtoString()static UpdateSplitConfigurationLogicRequest.ChargebackEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UpdateSplitConfigurationLogicRequest.ChargebackEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEDUCTFROMLIABLEACCOUNT
public static final UpdateSplitConfigurationLogicRequest.ChargebackEnum DEDUCTFROMLIABLEACCOUNT
-
DEDUCTFROMONEBALANCEACCOUNT
public static final UpdateSplitConfigurationLogicRequest.ChargebackEnum DEDUCTFROMONEBALANCEACCOUNT
-
DEDUCTACCORDINGTOSPLITRATIO
public static final UpdateSplitConfigurationLogicRequest.ChargebackEnum DEDUCTACCORDINGTOSPLITRATIO
-
-
Method Detail
-
values
public static UpdateSplitConfigurationLogicRequest.ChargebackEnum[] 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 (UpdateSplitConfigurationLogicRequest.ChargebackEnum c : UpdateSplitConfigurationLogicRequest.ChargebackEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateSplitConfigurationLogicRequest.ChargebackEnum 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<UpdateSplitConfigurationLogicRequest.ChargebackEnum>
-
fromValue
public static UpdateSplitConfigurationLogicRequest.ChargebackEnum fromValue(String value)
-
-