Package com.adyen.model.management
Enum SplitConfigurationLogic.PaymentFeeEnum
- java.lang.Object
-
- java.lang.Enum<SplitConfigurationLogic.PaymentFeeEnum>
-
- com.adyen.model.management.SplitConfigurationLogic.PaymentFeeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SplitConfigurationLogic.PaymentFeeEnum>
- Enclosing class:
- SplitConfigurationLogic
public static enum SplitConfigurationLogic.PaymentFeeEnum extends Enum<SplitConfigurationLogic.PaymentFeeEnum>
Deducts all transaction fees incurred by the payment from the specified balance account. The transaction fees include the acquiring fees (interchange and scheme fee), and the fees due to Adyen (markup or commission). You can book any and all these fees to different balance account by specifying other transaction fee parameters in your split configuration profile: - [`adyenCommission`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenCommission): The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`adyenMarkup`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenMarkup): The transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained#interchange-vs-blended). - [`schemeFee`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-schemeFee): The fee paid to the card scheme for using their network. - [`interchange`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-interchange): The fee paid to the issuer for each payment transaction made with the card network. - [`adyenFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-adyenFees): The aggregated amount of Adyen's commission and markup. - [`acquiringFees`](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/(merchantId)/splitConfigurations#request-rules-splitLogic-acquiringFees): The aggregated amount of the interchange and scheme fees. If you don't include at least one transaction fee type in the `splitLogic` object, Adyen updates the payment request with the `paymentFee` parameter, booking all transaction fees to your platform's liable balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEDUCTFROMLIABLEACCOUNTDEDUCTFROMONEBALANCEACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitConfigurationLogic.PaymentFeeEnumfromValue(String value)StringgetValue()StringtoString()static SplitConfigurationLogic.PaymentFeeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SplitConfigurationLogic.PaymentFeeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEDUCTFROMLIABLEACCOUNT
public static final SplitConfigurationLogic.PaymentFeeEnum DEDUCTFROMLIABLEACCOUNT
-
DEDUCTFROMONEBALANCEACCOUNT
public static final SplitConfigurationLogic.PaymentFeeEnum DEDUCTFROMONEBALANCEACCOUNT
-
-
Method Detail
-
values
public static SplitConfigurationLogic.PaymentFeeEnum[] 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 (SplitConfigurationLogic.PaymentFeeEnum c : SplitConfigurationLogic.PaymentFeeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SplitConfigurationLogic.PaymentFeeEnum 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<SplitConfigurationLogic.PaymentFeeEnum>
-
fromValue
public static SplitConfigurationLogic.PaymentFeeEnum fromValue(String value)
-
-