Class UpdateSplitConfigurationLogicRequest


  • public class UpdateSplitConfigurationLogicRequest
    extends Object
    UpdateSplitConfigurationLogicRequest
    • Constructor Detail

      • UpdateSplitConfigurationLogicRequest

        public UpdateSplitConfigurationLogicRequest()
    • 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 UpdateSplitConfigurationLogicRequest instance, 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 UpdateSplitConfigurationLogicRequest instance, 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 UpdateSplitConfigurationLogicRequest instance, 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 -
      • 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 UpdateSplitConfigurationLogicRequest instance, 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 UpdateSplitConfigurationLogicRequest instance, 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 -
      • setChargebackCostAllocation

        public void setChargebackCostAllocation​(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)
        Deducts the chargeback costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**
        Parameters:
        chargebackCostAllocation -
      • getCommission

        public Commission getCommission()
        commission
        Returns:
        commission
      • setCommission

        public void setCommission​(Commission commission)
        commission
        Parameters:
        commission -
      • 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 UpdateSplitConfigurationLogicRequest instance, 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 UpdateSplitConfigurationLogicRequest instance, 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 -
      • setRefundCostAllocation

        public void setRefundCostAllocation​(UpdateSplitConfigurationLogicRequest.RefundCostAllocationEnum refundCostAllocation)
        Deducts the refund costs from the specified balance account. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**
        Parameters:
        refundCostAllocation -
      • 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 -
      • 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 UpdateSplitConfigurationLogicRequest instance, 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 -
      • setSurcharge

        public void setSurcharge​(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)
        Books the surcharge amount to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**
        Parameters:
        surcharge -
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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