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 part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **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)
-
-