Package com.adyen.model.management
Class SplitConfigurationLogic
- java.lang.Object
-
- com.adyen.model.management.SplitConfigurationLogic
-
public class SplitConfigurationLogic extends Object
SplitConfigurationLogic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSplitConfigurationLogic.AcquiringFeesEnumDeducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.static classSplitConfigurationLogic.AdyenCommissionEnumDeducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account.static classSplitConfigurationLogic.AdyenFeesEnumDeducts the fees due to Adyen (markup or commission) from the specified balance account.static classSplitConfigurationLogic.AdyenMarkupEnumDeducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.static classSplitConfigurationLogic.ChargebackCostAllocationEnumDeducts the chargeback costs from the specified balance account.static classSplitConfigurationLogic.ChargebackEnumSpecifies how and from which balance account(s) to deduct the chargeback amount.static classSplitConfigurationLogic.InterchangeEnumDeducts the interchange fee from specified balance account.static classSplitConfigurationLogic.PaymentFeeEnumDeducts all transaction fees incurred by the payment from the specified balance account.static classSplitConfigurationLogic.RefundCostAllocationEnumDeducts the refund costs from the specified balance account.static classSplitConfigurationLogic.RefundEnumSpecifies how and from which balance account(s) to deduct the refund amount.static classSplitConfigurationLogic.RemainderEnumBooks the amount left over after currency conversion to the specified balance account.static classSplitConfigurationLogic.SchemeFeeEnumDeducts the scheme fee from the specified balance account.static classSplitConfigurationLogic.SurchargeEnumBooks the surcharge amount to the specified balance account.static classSplitConfigurationLogic.TipEnumBooks the tips (gratuity) to the specified balance account.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACQUIRING_FEESstatic StringJSON_PROPERTY_ADDITIONAL_COMMISSIONstatic StringJSON_PROPERTY_ADYEN_COMMISSIONstatic StringJSON_PROPERTY_ADYEN_FEESstatic StringJSON_PROPERTY_ADYEN_MARKUPstatic StringJSON_PROPERTY_CHARGEBACKstatic StringJSON_PROPERTY_CHARGEBACK_COST_ALLOCATIONstatic StringJSON_PROPERTY_COMMISSIONstatic StringJSON_PROPERTY_INTERCHANGEstatic StringJSON_PROPERTY_PAYMENT_FEEstatic StringJSON_PROPERTY_REFUNDstatic StringJSON_PROPERTY_REFUND_COST_ALLOCATIONstatic StringJSON_PROPERTY_REMAINDERstatic StringJSON_PROPERTY_SCHEME_FEEstatic StringJSON_PROPERTY_SPLIT_LOGIC_IDstatic StringJSON_PROPERTY_SURCHARGEstatic StringJSON_PROPERTY_TIP
-
Constructor Summary
Constructors Constructor Description SplitConfigurationLogic()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SplitConfigurationLogicacquiringFees(SplitConfigurationLogic.AcquiringFeesEnum acquiringFees)Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.SplitConfigurationLogicadditionalCommission(AdditionalCommission additionalCommission)additionalCommissionSplitConfigurationLogicadyenCommission(SplitConfigurationLogic.AdyenCommissionEnum adyenCommission)Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account.SplitConfigurationLogicadyenFees(SplitConfigurationLogic.AdyenFeesEnum adyenFees)Deducts the fees due to Adyen (markup or commission) from the specified balance account.SplitConfigurationLogicadyenMarkup(SplitConfigurationLogic.AdyenMarkupEnum adyenMarkup)Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.SplitConfigurationLogicchargeback(SplitConfigurationLogic.ChargebackEnum chargeback)Specifies how and from which balance account(s) to deduct the chargeback amount.SplitConfigurationLogicchargebackCostAllocation(SplitConfigurationLogic.ChargebackCostAllocationEnum chargebackCostAllocation)Deducts the chargeback costs from the specified balance account.SplitConfigurationLogiccommission(Commission commission)commissionbooleanequals(Object o)Return true if this SplitConfigurationLogic object is equal to o.static SplitConfigurationLogicfromJson(String jsonString)Create an instance of SplitConfigurationLogic given an JSON stringSplitConfigurationLogic.AcquiringFeesEnumgetAcquiringFees()Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.AdditionalCommissiongetAdditionalCommission()additionalCommissionSplitConfigurationLogic.AdyenCommissionEnumgetAdyenCommission()Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account.SplitConfigurationLogic.AdyenFeesEnumgetAdyenFees()Deducts the fees due to Adyen (markup or commission) from the specified balance account.SplitConfigurationLogic.AdyenMarkupEnumgetAdyenMarkup()Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.SplitConfigurationLogic.ChargebackEnumgetChargeback()Specifies how and from which balance account(s) to deduct the chargeback amount.SplitConfigurationLogic.ChargebackCostAllocationEnumgetChargebackCostAllocation()Deducts the chargeback costs from the specified balance account.CommissiongetCommission()commissionSplitConfigurationLogic.InterchangeEnumgetInterchange()Deducts the interchange fee from specified balance account.SplitConfigurationLogic.PaymentFeeEnumgetPaymentFee()Deducts all transaction fees incurred by the payment from the specified balance account.SplitConfigurationLogic.RefundEnumgetRefund()Specifies how and from which balance account(s) to deduct the refund amount.SplitConfigurationLogic.RefundCostAllocationEnumgetRefundCostAllocation()Deducts the refund costs from the specified balance account.SplitConfigurationLogic.RemainderEnumgetRemainder()Books the amount left over after currency conversion to the specified balance account.SplitConfigurationLogic.SchemeFeeEnumgetSchemeFee()Deducts the scheme fee from the specified balance account.StringgetSplitLogicId()Unique identifier of the collection of split instructions that are applied when the rule conditions are met.SplitConfigurationLogic.SurchargeEnumgetSurcharge()Books the surcharge amount to the specified balance account.SplitConfigurationLogic.TipEnumgetTip()Books the tips (gratuity) to the specified balance account.inthashCode()SplitConfigurationLogicinterchange(SplitConfigurationLogic.InterchangeEnum interchange)Deducts the interchange fee from specified balance account.SplitConfigurationLogicpaymentFee(SplitConfigurationLogic.PaymentFeeEnum paymentFee)Deducts all transaction fees incurred by the payment from the specified balance account.SplitConfigurationLogicrefund(SplitConfigurationLogic.RefundEnum refund)Specifies how and from which balance account(s) to deduct the refund amount.SplitConfigurationLogicrefundCostAllocation(SplitConfigurationLogic.RefundCostAllocationEnum refundCostAllocation)Deducts the refund costs from the specified balance account.SplitConfigurationLogicremainder(SplitConfigurationLogic.RemainderEnum remainder)Books the amount left over after currency conversion to the specified balance account.SplitConfigurationLogicschemeFee(SplitConfigurationLogic.SchemeFeeEnum schemeFee)Deducts the scheme fee from the specified balance account.voidsetAcquiringFees(SplitConfigurationLogic.AcquiringFeesEnum acquiringFees)Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.voidsetAdditionalCommission(AdditionalCommission additionalCommission)additionalCommissionvoidsetAdyenCommission(SplitConfigurationLogic.AdyenCommissionEnum adyenCommission)Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account.voidsetAdyenFees(SplitConfigurationLogic.AdyenFeesEnum adyenFees)Deducts the fees due to Adyen (markup or commission) from the specified balance account.voidsetAdyenMarkup(SplitConfigurationLogic.AdyenMarkupEnum adyenMarkup)Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.voidsetChargeback(SplitConfigurationLogic.ChargebackEnum chargeback)Specifies how and from which balance account(s) to deduct the chargeback amount.voidsetChargebackCostAllocation(SplitConfigurationLogic.ChargebackCostAllocationEnum chargebackCostAllocation)Deducts the chargeback costs from the specified balance account.voidsetCommission(Commission commission)commissionvoidsetInterchange(SplitConfigurationLogic.InterchangeEnum interchange)Deducts the interchange fee from specified balance account.voidsetPaymentFee(SplitConfigurationLogic.PaymentFeeEnum paymentFee)Deducts all transaction fees incurred by the payment from the specified balance account.voidsetRefund(SplitConfigurationLogic.RefundEnum refund)Specifies how and from which balance account(s) to deduct the refund amount.voidsetRefundCostAllocation(SplitConfigurationLogic.RefundCostAllocationEnum refundCostAllocation)Deducts the refund costs from the specified balance account.voidsetRemainder(SplitConfigurationLogic.RemainderEnum remainder)Books the amount left over after currency conversion to the specified balance account.voidsetSchemeFee(SplitConfigurationLogic.SchemeFeeEnum schemeFee)Deducts the scheme fee from the specified balance account.voidsetSplitLogicId(String splitLogicId)Unique identifier of the collection of split instructions that are applied when the rule conditions are met.voidsetSurcharge(SplitConfigurationLogic.SurchargeEnum surcharge)Books the surcharge amount to the specified balance account.voidsetTip(SplitConfigurationLogic.TipEnum tip)Books the tips (gratuity) to the specified balance account.SplitConfigurationLogicsplitLogicId(String splitLogicId)Unique identifier of the collection of split instructions that are applied when the rule conditions are met.SplitConfigurationLogicsurcharge(SplitConfigurationLogic.SurchargeEnum surcharge)Books the surcharge amount to the specified balance account.SplitConfigurationLogictip(SplitConfigurationLogic.TipEnum tip)Books the tips (gratuity) to the specified balance account.StringtoJson()Convert an instance of SplitConfigurationLogic to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACQUIRING_FEES
public static final String JSON_PROPERTY_ACQUIRING_FEES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDITIONAL_COMMISSION
public static final String JSON_PROPERTY_ADDITIONAL_COMMISSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADYEN_COMMISSION
public static final String JSON_PROPERTY_ADYEN_COMMISSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADYEN_FEES
public static final String JSON_PROPERTY_ADYEN_FEES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADYEN_MARKUP
public static final String JSON_PROPERTY_ADYEN_MARKUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHARGEBACK
public static final String JSON_PROPERTY_CHARGEBACK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION
public static final String JSON_PROPERTY_CHARGEBACK_COST_ALLOCATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMMISSION
public static final String JSON_PROPERTY_COMMISSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTERCHANGE
public static final String JSON_PROPERTY_INTERCHANGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_FEE
public static final String JSON_PROPERTY_PAYMENT_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFUND
public static final String JSON_PROPERTY_REFUND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFUND_COST_ALLOCATION
public static final String JSON_PROPERTY_REFUND_COST_ALLOCATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REMAINDER
public static final String JSON_PROPERTY_REMAINDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME_FEE
public static final String JSON_PROPERTY_SCHEME_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SPLIT_LOGIC_ID
public static final String JSON_PROPERTY_SPLIT_LOGIC_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SURCHARGE
public static final String JSON_PROPERTY_SURCHARGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIP
public static final String JSON_PROPERTY_TIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
acquiringFees
public SplitConfigurationLogic acquiringFees(SplitConfigurationLogic.AcquiringFeesEnum acquiringFees)
Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
acquiringFees-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getAcquiringFees
public SplitConfigurationLogic.AcquiringFeesEnum getAcquiringFees()
Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- acquiringFees
-
setAcquiringFees
public void setAcquiringFees(SplitConfigurationLogic.AcquiringFeesEnum acquiringFees)
Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
acquiringFees-
-
additionalCommission
public SplitConfigurationLogic additionalCommission(AdditionalCommission additionalCommission)
additionalCommission- Parameters:
additionalCommission-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getAdditionalCommission
public AdditionalCommission getAdditionalCommission()
additionalCommission- Returns:
- additionalCommission
-
setAdditionalCommission
public void setAdditionalCommission(AdditionalCommission additionalCommission)
additionalCommission- Parameters:
additionalCommission-
-
adyenCommission
public SplitConfigurationLogic adyenCommission(SplitConfigurationLogic.AdyenCommissionEnum adyenCommission)
Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenCommission-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getAdyenCommission
public SplitConfigurationLogic.AdyenCommissionEnum getAdyenCommission()
Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenCommission
-
setAdyenCommission
public void setAdyenCommission(SplitConfigurationLogic.AdyenCommissionEnum adyenCommission)
Deducts the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenCommission-
-
adyenFees
public SplitConfigurationLogic adyenFees(SplitConfigurationLogic.AdyenFeesEnum adyenFees)
Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenFees-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getAdyenFees
public SplitConfigurationLogic.AdyenFeesEnum getAdyenFees()
Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenFees
-
setAdyenFees
public void setAdyenFees(SplitConfigurationLogic.AdyenFeesEnum adyenFees)
Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenFees-
-
adyenMarkup
public SplitConfigurationLogic adyenMarkup(SplitConfigurationLogic.AdyenMarkupEnum adyenMarkup)
Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenMarkup-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getAdyenMarkup
public SplitConfigurationLogic.AdyenMarkupEnum getAdyenMarkup()
Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenMarkup
-
setAdyenMarkup
public void setAdyenMarkup(SplitConfigurationLogic.AdyenMarkupEnum adyenMarkup)
Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenMarkup-
-
chargeback
public SplitConfigurationLogic chargeback(SplitConfigurationLogic.ChargebackEnum chargeback)
Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.- Parameters:
chargeback-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getChargeback
public SplitConfigurationLogic.ChargebackEnum getChargeback()
Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.- Returns:
- chargeback
-
setChargeback
public void setChargeback(SplitConfigurationLogic.ChargebackEnum chargeback)
Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.- Parameters:
chargeback-
-
chargebackCostAllocation
public SplitConfigurationLogic chargebackCostAllocation(SplitConfigurationLogic.ChargebackCostAllocationEnum chargebackCostAllocation)
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
chargebackCostAllocation-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getChargebackCostAllocation
public SplitConfigurationLogic.ChargebackCostAllocationEnum getChargebackCostAllocation()
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Returns:
- chargebackCostAllocation
-
setChargebackCostAllocation
public void setChargebackCostAllocation(SplitConfigurationLogic.ChargebackCostAllocationEnum chargebackCostAllocation)
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
chargebackCostAllocation-
-
commission
public SplitConfigurationLogic commission(Commission commission)
commission- Parameters:
commission-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getCommission
public Commission getCommission()
commission- Returns:
- commission
-
setCommission
public void setCommission(Commission commission)
commission- Parameters:
commission-
-
interchange
public SplitConfigurationLogic interchange(SplitConfigurationLogic.InterchangeEnum interchange)
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
interchange-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getInterchange
public SplitConfigurationLogic.InterchangeEnum getInterchange()
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- interchange
-
setInterchange
public void setInterchange(SplitConfigurationLogic.InterchangeEnum interchange)
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
interchange-
-
paymentFee
public SplitConfigurationLogic paymentFee(SplitConfigurationLogic.PaymentFeeEnum paymentFee)
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**.- Parameters:
paymentFee-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getPaymentFee
public SplitConfigurationLogic.PaymentFeeEnum getPaymentFee()
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**.- Returns:
- paymentFee
-
setPaymentFee
public void setPaymentFee(SplitConfigurationLogic.PaymentFeeEnum paymentFee)
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**.- Parameters:
paymentFee-
-
refund
public SplitConfigurationLogic refund(SplitConfigurationLogic.RefundEnum refund)
Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**- Parameters:
refund-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getRefund
public SplitConfigurationLogic.RefundEnum getRefund()
Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**- Returns:
- refund
-
setRefund
public void setRefund(SplitConfigurationLogic.RefundEnum refund)
Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**- Parameters:
refund-
-
refundCostAllocation
public SplitConfigurationLogic refundCostAllocation(SplitConfigurationLogic.RefundCostAllocationEnum refundCostAllocation)
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
refundCostAllocation-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getRefundCostAllocation
public SplitConfigurationLogic.RefundCostAllocationEnum getRefundCostAllocation()
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Returns:
- refundCostAllocation
-
setRefundCostAllocation
public void setRefundCostAllocation(SplitConfigurationLogic.RefundCostAllocationEnum refundCostAllocation)
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
refundCostAllocation-
-
remainder
public SplitConfigurationLogic remainder(SplitConfigurationLogic.RemainderEnum remainder)
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
remainder-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getRemainder
public SplitConfigurationLogic.RemainderEnum getRemainder()
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Returns:
- remainder
-
setRemainder
public void setRemainder(SplitConfigurationLogic.RemainderEnum remainder)
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
remainder-
-
schemeFee
public SplitConfigurationLogic schemeFee(SplitConfigurationLogic.SchemeFeeEnum schemeFee)
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
schemeFee-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getSchemeFee
public SplitConfigurationLogic.SchemeFeeEnum getSchemeFee()
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- schemeFee
-
setSchemeFee
public void setSchemeFee(SplitConfigurationLogic.SchemeFeeEnum schemeFee)
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
schemeFee-
-
splitLogicId
public SplitConfigurationLogic splitLogicId(String splitLogicId)
Unique identifier of the collection of split instructions that are applied when the rule conditions are met.- Parameters:
splitLogicId-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getSplitLogicId
public String getSplitLogicId()
Unique identifier of the collection of split instructions that are applied when the rule conditions are met.- Returns:
- splitLogicId
-
setSplitLogicId
public void setSplitLogicId(String splitLogicId)
Unique identifier of the collection of split instructions that are applied when the rule conditions are met.- Parameters:
splitLogicId-
-
surcharge
public SplitConfigurationLogic surcharge(SplitConfigurationLogic.SurchargeEnum surcharge)
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Parameters:
surcharge-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getSurcharge
public SplitConfigurationLogic.SurchargeEnum getSurcharge()
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Returns:
- surcharge
-
setSurcharge
public void setSurcharge(SplitConfigurationLogic.SurchargeEnum surcharge)
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Parameters:
surcharge-
-
tip
public SplitConfigurationLogic tip(SplitConfigurationLogic.TipEnum tip)
Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
tip-- Returns:
- the current
SplitConfigurationLogicinstance, allowing for method chaining
-
getTip
public SplitConfigurationLogic.TipEnum getTip()
Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Returns:
- tip
-
setTip
public void setTip(SplitConfigurationLogic.TipEnum tip)
Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
tip-
-
equals
public boolean equals(Object o)
Return true if this SplitConfigurationLogic object is equal to o.
-
fromJson
public static SplitConfigurationLogic fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SplitConfigurationLogic given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SplitConfigurationLogic
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SplitConfigurationLogic
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SplitConfigurationLogic to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-