Package com.adyen.model.management
Class UpdateSplitConfigurationLogicRequest
- java.lang.Object
-
- com.adyen.model.management.UpdateSplitConfigurationLogicRequest
-
public class UpdateSplitConfigurationLogicRequest extends Object
UpdateSplitConfigurationLogicRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateSplitConfigurationLogicRequest.AcquiringFeesEnumDeducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.static classUpdateSplitConfigurationLogicRequest.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 classUpdateSplitConfigurationLogicRequest.AdyenFeesEnumDeducts the fees due to Adyen (markup or commission) from the specified balance account.static classUpdateSplitConfigurationLogicRequest.AdyenMarkupEnumDeducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.static classUpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnumDeducts the chargeback costs from the specified balance account.static classUpdateSplitConfigurationLogicRequest.ChargebackEnumSpecifies how and from which balance account(s) to deduct the chargeback amount.static classUpdateSplitConfigurationLogicRequest.InterchangeEnumDeducts the interchange fee from specified balance account.static classUpdateSplitConfigurationLogicRequest.PaymentFeeEnumDeducts all transaction fees incurred by the payment from the specified balance account.static classUpdateSplitConfigurationLogicRequest.RefundCostAllocationEnumDeducts the refund costs from the specified balance account.static classUpdateSplitConfigurationLogicRequest.RefundEnumSpecifies how and from which balance account(s) to deduct the refund amount.static classUpdateSplitConfigurationLogicRequest.RemainderEnumBooks the amount left over after currency conversion to the specified balance account.static classUpdateSplitConfigurationLogicRequest.SchemeFeeEnumDeducts the scheme fee from the specified balance account.static classUpdateSplitConfigurationLogicRequest.SurchargeEnumBooks the surcharge amount to the specified balance account.static classUpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSplitConfigurationLogicRequestacquiringFees(UpdateSplitConfigurationLogicRequest.AcquiringFeesEnum acquiringFees)Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.UpdateSplitConfigurationLogicRequestadditionalCommission(AdditionalCommission additionalCommission)additionalCommissionUpdateSplitConfigurationLogicRequestadyenCommission(UpdateSplitConfigurationLogicRequest.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.UpdateSplitConfigurationLogicRequestadyenFees(UpdateSplitConfigurationLogicRequest.AdyenFeesEnum adyenFees)Deducts the fees due to Adyen (markup or commission) from the specified balance account.UpdateSplitConfigurationLogicRequestadyenMarkup(UpdateSplitConfigurationLogicRequest.AdyenMarkupEnum adyenMarkup)Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.UpdateSplitConfigurationLogicRequestchargeback(UpdateSplitConfigurationLogicRequest.ChargebackEnum chargeback)Specifies how and from which balance account(s) to deduct the chargeback amount.UpdateSplitConfigurationLogicRequestchargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)Deducts the chargeback costs from the specified balance account.UpdateSplitConfigurationLogicRequestcommission(Commission commission)commissionbooleanequals(Object o)Return true if this UpdateSplitConfigurationLogicRequest object is equal to o.static UpdateSplitConfigurationLogicRequestfromJson(String jsonString)Create an instance of UpdateSplitConfigurationLogicRequest given an JSON stringUpdateSplitConfigurationLogicRequest.AcquiringFeesEnumgetAcquiringFees()Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.AdditionalCommissiongetAdditionalCommission()additionalCommissionUpdateSplitConfigurationLogicRequest.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.UpdateSplitConfigurationLogicRequest.AdyenFeesEnumgetAdyenFees()Deducts the fees due to Adyen (markup or commission) from the specified balance account.UpdateSplitConfigurationLogicRequest.AdyenMarkupEnumgetAdyenMarkup()Deducts the transaction fee due to Adyen under [Interchange ++ pricing](https://www.adyen.com/what-is-interchange) from the specified balance account.UpdateSplitConfigurationLogicRequest.ChargebackEnumgetChargeback()Specifies how and from which balance account(s) to deduct the chargeback amount.UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnumgetChargebackCostAllocation()Deducts the chargeback costs from the specified balance account.CommissiongetCommission()commissionUpdateSplitConfigurationLogicRequest.InterchangeEnumgetInterchange()Deducts the interchange fee from specified balance account.UpdateSplitConfigurationLogicRequest.PaymentFeeEnumgetPaymentFee()Deducts all transaction fees incurred by the payment from the specified balance account.UpdateSplitConfigurationLogicRequest.RefundEnumgetRefund()Specifies how and from which balance account(s) to deduct the refund amount.UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnumgetRefundCostAllocation()Deducts the refund costs from the specified balance account.UpdateSplitConfigurationLogicRequest.RemainderEnumgetRemainder()Books the amount left over after currency conversion to the specified balance account.UpdateSplitConfigurationLogicRequest.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.UpdateSplitConfigurationLogicRequest.SurchargeEnumgetSurcharge()Books the surcharge amount to the specified balance account.UpdateSplitConfigurationLogicRequest.TipEnumgetTip()Books the tips (gratuity) to the specified balance account.inthashCode()UpdateSplitConfigurationLogicRequestinterchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)Deducts the interchange fee from specified balance account.UpdateSplitConfigurationLogicRequestpaymentFee(UpdateSplitConfigurationLogicRequest.PaymentFeeEnum paymentFee)Deducts all transaction fees incurred by the payment from the specified balance account.UpdateSplitConfigurationLogicRequestrefund(UpdateSplitConfigurationLogicRequest.RefundEnum refund)Specifies how and from which balance account(s) to deduct the refund amount.UpdateSplitConfigurationLogicRequestrefundCostAllocation(UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum refundCostAllocation)Deducts the refund costs from the specified balance account.UpdateSplitConfigurationLogicRequestremainder(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)Books the amount left over after currency conversion to the specified balance account.UpdateSplitConfigurationLogicRequestschemeFee(UpdateSplitConfigurationLogicRequest.SchemeFeeEnum schemeFee)Deducts the scheme fee from the specified balance account.voidsetAcquiringFees(UpdateSplitConfigurationLogicRequest.AcquiringFeesEnum acquiringFees)Deducts the acquiring fees (the aggregated amount of interchange and scheme fee) from the specified balance account.voidsetAdditionalCommission(AdditionalCommission additionalCommission)additionalCommissionvoidsetAdyenCommission(UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.AdyenFeesEnum adyenFees)Deducts the fees due to Adyen (markup or commission) from the specified balance account.voidsetAdyenMarkup(UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.ChargebackEnum chargeback)Specifies how and from which balance account(s) to deduct the chargeback amount.voidsetChargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)Deducts the chargeback costs from the specified balance account.voidsetCommission(Commission commission)commissionvoidsetInterchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)Deducts the interchange fee from specified balance account.voidsetPaymentFee(UpdateSplitConfigurationLogicRequest.PaymentFeeEnum paymentFee)Deducts all transaction fees incurred by the payment from the specified balance account.voidsetRefund(UpdateSplitConfigurationLogicRequest.RefundEnum refund)Specifies how and from which balance account(s) to deduct the refund amount.voidsetRefundCostAllocation(UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum refundCostAllocation)Deducts the refund costs from the specified balance account.voidsetRemainder(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)Books the amount left over after currency conversion to the specified balance account.voidsetSchemeFee(UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)Books the surcharge amount to the specified balance account.voidsetTip(UpdateSplitConfigurationLogicRequest.TipEnum tip)Books the tips (gratuity) to the specified balance account.UpdateSplitConfigurationLogicRequestsplitLogicId(String splitLogicId)Unique identifier of the collection of split instructions that are applied when the rule conditions are met.UpdateSplitConfigurationLogicRequestsurcharge(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)Books the surcharge amount to the specified balance account.UpdateSplitConfigurationLogicRequesttip(UpdateSplitConfigurationLogicRequest.TipEnum tip)Books the tips (gratuity) to the specified balance account.StringtoJson()Convert an instance of UpdateSplitConfigurationLogicRequest 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 UpdateSplitConfigurationLogicRequest acquiringFees(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getAcquiringFees
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest additionalCommission(AdditionalCommission additionalCommission)
additionalCommission- Parameters:
additionalCommission-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getAdditionalCommission
public AdditionalCommission getAdditionalCommission()
additionalCommission- Returns:
- additionalCommission
-
setAdditionalCommission
public void setAdditionalCommission(AdditionalCommission additionalCommission)
additionalCommission- Parameters:
additionalCommission-
-
adyenCommission
public UpdateSplitConfigurationLogicRequest adyenCommission(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getAdyenCommission
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest adyenFees(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getAdyenFees
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.AdyenFeesEnum adyenFees)
Deducts the fees due to Adyen (markup or commission) from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
adyenFees-
-
adyenMarkup
public UpdateSplitConfigurationLogicRequest adyenMarkup(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getAdyenMarkup
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest chargeback(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getChargeback
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.ChargebackEnum chargeback)
Specifies how and from which balance account(s) to deduct the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.- Parameters:
chargeback-
-
chargebackCostAllocation
public UpdateSplitConfigurationLogicRequest chargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
chargebackCostAllocation-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getChargebackCostAllocation
public UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum getChargebackCostAllocation()
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Returns:
- chargebackCostAllocation
-
setChargebackCostAllocation
public void setChargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)
Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
chargebackCostAllocation-
-
commission
public UpdateSplitConfigurationLogicRequest commission(Commission commission)
commission- Parameters:
commission-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getCommission
public Commission getCommission()
commission- Returns:
- commission
-
setCommission
public void setCommission(Commission commission)
commission- Parameters:
commission-
-
interchange
public UpdateSplitConfigurationLogicRequest interchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
interchange-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getInterchange
public UpdateSplitConfigurationLogicRequest.InterchangeEnum getInterchange()
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- interchange
-
setInterchange
public void setInterchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)
Deducts the interchange fee from specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
interchange-
-
paymentFee
public UpdateSplitConfigurationLogicRequest paymentFee(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getPaymentFee
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest refund(UpdateSplitConfigurationLogicRequest.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
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getRefund
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.RefundEnum refund)
Specifies how and from which balance account(s) to deduct the refund amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**- Parameters:
refund-
-
refundCostAllocation
public UpdateSplitConfigurationLogicRequest refundCostAllocation(UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum refundCostAllocation)
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
refundCostAllocation-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getRefundCostAllocation
public UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum getRefundCostAllocation()
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Returns:
- refundCostAllocation
-
setRefundCostAllocation
public void setRefundCostAllocation(UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum refundCostAllocation)
Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Parameters:
refundCostAllocation-
-
remainder
public UpdateSplitConfigurationLogicRequest remainder(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
remainder-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getRemainder
public UpdateSplitConfigurationLogicRequest.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(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
remainder-
-
schemeFee
public UpdateSplitConfigurationLogicRequest schemeFee(UpdateSplitConfigurationLogicRequest.SchemeFeeEnum schemeFee)
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
schemeFee-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getSchemeFee
public UpdateSplitConfigurationLogicRequest.SchemeFeeEnum getSchemeFee()
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- schemeFee
-
setSchemeFee
public void setSchemeFee(UpdateSplitConfigurationLogicRequest.SchemeFeeEnum schemeFee)
Deducts the scheme fee from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Parameters:
schemeFee-
-
splitLogicId
public UpdateSplitConfigurationLogicRequest 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
UpdateSplitConfigurationLogicRequestinstance, 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 UpdateSplitConfigurationLogicRequest surcharge(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Parameters:
surcharge-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getSurcharge
public UpdateSplitConfigurationLogicRequest.SurchargeEnum getSurcharge()
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Returns:
- surcharge
-
setSurcharge
public void setSurcharge(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)
Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Parameters:
surcharge-
-
tip
public UpdateSplitConfigurationLogicRequest tip(UpdateSplitConfigurationLogicRequest.TipEnum tip)
Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Parameters:
tip-- Returns:
- the current
UpdateSplitConfigurationLogicRequestinstance, allowing for method chaining
-
getTip
public UpdateSplitConfigurationLogicRequest.TipEnum getTip()
Books the tips (gratuity) to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Returns:
- tip
-
setTip
public void setTip(UpdateSplitConfigurationLogicRequest.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 UpdateSplitConfigurationLogicRequest object is equal to o.
-
fromJson
public static UpdateSplitConfigurationLogicRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdateSplitConfigurationLogicRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateSplitConfigurationLogicRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdateSplitConfigurationLogicRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdateSplitConfigurationLogicRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-