Package com.adyen.model.payment
Enum Split.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Split.TypeEnum>
-
- com.adyen.model.payment.Split.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Split.TypeEnum>
- Enclosing class:
- Split
public static enum Split.TypeEnum extends Enum<Split.TypeEnum>
The type of the split item. Possible values: * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): **BalanceAccount**, **Commission**, **Default**, **PaymentFee**, **Remainder**, **Surcharge**, **Tip**, **VAT**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACQUIRINGFEESADYENCOMMISSIONADYENFEESADYENMARKUPBALANCEACCOUNTCOMMISSIONDEFAULTINTERCHANGEMARKETPLACEPAYMENTFEEREMAINDERSCHEMEFEESURCHARGETIPVAT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Split.TypeEnumfromValue(String value)StringgetValue()StringtoString()static Split.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Split.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACQUIRINGFEES
public static final Split.TypeEnum ACQUIRINGFEES
-
ADYENCOMMISSION
public static final Split.TypeEnum ADYENCOMMISSION
-
ADYENFEES
public static final Split.TypeEnum ADYENFEES
-
ADYENMARKUP
public static final Split.TypeEnum ADYENMARKUP
-
BALANCEACCOUNT
public static final Split.TypeEnum BALANCEACCOUNT
-
COMMISSION
public static final Split.TypeEnum COMMISSION
-
DEFAULT
public static final Split.TypeEnum DEFAULT
-
INTERCHANGE
public static final Split.TypeEnum INTERCHANGE
-
MARKETPLACE
public static final Split.TypeEnum MARKETPLACE
-
PAYMENTFEE
public static final Split.TypeEnum PAYMENTFEE
-
REMAINDER
public static final Split.TypeEnum REMAINDER
-
SCHEMEFEE
public static final Split.TypeEnum SCHEMEFEE
-
SURCHARGE
public static final Split.TypeEnum SURCHARGE
-
TIP
public static final Split.TypeEnum TIP
-
VAT
public static final Split.TypeEnum VAT
-
-
Method Detail
-
values
public static Split.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 (Split.TypeEnum c : Split.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 Split.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<Split.TypeEnum>
-
fromValue
public static Split.TypeEnum fromValue(String value)
-
-