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.AcquiringFeesEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.AdyenCommissionEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.AdyenFeesEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.AdyenMarkupEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnumSpecifies the logic to apply when allocating the chargeback costs.static classUpdateSplitConfigurationLogicRequest.ChargebackEnumSpecifies the logic to apply when booking the chargeback amount.static classUpdateSplitConfigurationLogicRequest.InterchangeEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.PaymentFeeEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.RemainderEnumSpecifies the logic to apply when booking the amount left over after currency conversion.static classUpdateSplitConfigurationLogicRequest.SchemeFeeEnumSpecifies the logic to apply when booking the transaction fees.static classUpdateSplitConfigurationLogicRequest.SurchargeEnumSpecifies the logic to apply when booking the surcharge amount.static classUpdateSplitConfigurationLogicRequest.TipEnumSpecifies the logic to apply when booking tips (gratuity).
-
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_REMAINDERstatic StringJSON_PROPERTY_SCHEME_FEEstatic StringJSON_PROPERTY_SPLIT_LOGIC_IDstatic StringJSON_PROPERTY_SURCHARGEstatic StringJSON_PROPERTY_TIP
-
Constructor Summary
Constructors Constructor Description UpdateSplitConfigurationLogicRequest()
-
Method Summary
-
-
-
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_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)
-
getAcquiringFees
public UpdateSplitConfigurationLogicRequest.AcquiringFeesEnum getAcquiringFees()
Specifies the logic to apply when booking the transaction fees. Should be combined with adyenFees. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- acquiringFees
-
setAcquiringFees
public void setAcquiringFees(UpdateSplitConfigurationLogicRequest.AcquiringFeesEnum acquiringFees)
-
additionalCommission
public UpdateSplitConfigurationLogicRequest additionalCommission(AdditionalCommission additionalCommission)
-
getAdditionalCommission
public AdditionalCommission getAdditionalCommission()
Get additionalCommission- Returns:
- additionalCommission
-
setAdditionalCommission
public void setAdditionalCommission(AdditionalCommission additionalCommission)
-
adyenCommission
public UpdateSplitConfigurationLogicRequest adyenCommission(UpdateSplitConfigurationLogicRequest.AdyenCommissionEnum adyenCommission)
-
getAdyenCommission
public UpdateSplitConfigurationLogicRequest.AdyenCommissionEnum getAdyenCommission()
Specifies the logic to apply when booking the transaction fees. Should be combined with schemeFee, interchange & adyenMarkup. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenCommission
-
setAdyenCommission
public void setAdyenCommission(UpdateSplitConfigurationLogicRequest.AdyenCommissionEnum adyenCommission)
-
adyenFees
public UpdateSplitConfigurationLogicRequest adyenFees(UpdateSplitConfigurationLogicRequest.AdyenFeesEnum adyenFees)
-
getAdyenFees
public UpdateSplitConfigurationLogicRequest.AdyenFeesEnum getAdyenFees()
Specifies the logic to apply when booking the transaction fees. Should be combined with acquiringFees. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenFees
-
setAdyenFees
public void setAdyenFees(UpdateSplitConfigurationLogicRequest.AdyenFeesEnum adyenFees)
-
adyenMarkup
public UpdateSplitConfigurationLogicRequest adyenMarkup(UpdateSplitConfigurationLogicRequest.AdyenMarkupEnum adyenMarkup)
-
getAdyenMarkup
public UpdateSplitConfigurationLogicRequest.AdyenMarkupEnum getAdyenMarkup()
Specifies the logic to apply when booking the transaction fees. Should be combined with schemeFee, adyenCommission & interchange. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- adyenMarkup
-
setAdyenMarkup
public void setAdyenMarkup(UpdateSplitConfigurationLogicRequest.AdyenMarkupEnum adyenMarkup)
-
chargeback
public UpdateSplitConfigurationLogicRequest chargeback(UpdateSplitConfigurationLogicRequest.ChargebackEnum chargeback)
-
getChargeback
public UpdateSplitConfigurationLogicRequest.ChargebackEnum getChargeback()
Specifies the logic to apply when booking the chargeback amount. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**, **deductAccordingToSplitRatio**.- Returns:
- chargeback
-
setChargeback
public void setChargeback(UpdateSplitConfigurationLogicRequest.ChargebackEnum chargeback)
-
chargebackCostAllocation
public UpdateSplitConfigurationLogicRequest chargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)
-
getChargebackCostAllocation
public UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum getChargebackCostAllocation()
Specifies the logic to apply when allocating the chargeback costs. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**- Returns:
- chargebackCostAllocation
-
setChargebackCostAllocation
public void setChargebackCostAllocation(UpdateSplitConfigurationLogicRequest.ChargebackCostAllocationEnum chargebackCostAllocation)
-
commission
public UpdateSplitConfigurationLogicRequest commission(Commission commission)
-
getCommission
public Commission getCommission()
Get commission- Returns:
- commission
-
setCommission
public void setCommission(Commission commission)
-
interchange
public UpdateSplitConfigurationLogicRequest interchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)
-
getInterchange
public UpdateSplitConfigurationLogicRequest.InterchangeEnum getInterchange()
Specifies the logic to apply when booking the transaction fees. Should be combined with schemeFee, adyenCommission & adyenMarkup. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- interchange
-
setInterchange
public void setInterchange(UpdateSplitConfigurationLogicRequest.InterchangeEnum interchange)
-
paymentFee
public UpdateSplitConfigurationLogicRequest paymentFee(UpdateSplitConfigurationLogicRequest.PaymentFeeEnum paymentFee)
-
getPaymentFee
public UpdateSplitConfigurationLogicRequest.PaymentFeeEnum getPaymentFee()
Specifies the logic to apply when booking the transaction fees. Cannot be combined with other fees. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- paymentFee
-
setPaymentFee
public void setPaymentFee(UpdateSplitConfigurationLogicRequest.PaymentFeeEnum paymentFee)
-
remainder
public UpdateSplitConfigurationLogicRequest remainder(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)
-
getRemainder
public UpdateSplitConfigurationLogicRequest.RemainderEnum getRemainder()
Specifies the logic to apply when booking the amount left over after currency conversion. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Returns:
- remainder
-
setRemainder
public void setRemainder(UpdateSplitConfigurationLogicRequest.RemainderEnum remainder)
-
schemeFee
public UpdateSplitConfigurationLogicRequest schemeFee(UpdateSplitConfigurationLogicRequest.SchemeFeeEnum schemeFee)
-
getSchemeFee
public UpdateSplitConfigurationLogicRequest.SchemeFeeEnum getSchemeFee()
Specifies the logic to apply when booking the transaction fees. Should be combined with interchange, adyenCommission & adyenMarkup. Possible values: **deductFromLiableAccount**, **deductFromOneBalanceAccount**.- Returns:
- schemeFee
-
setSchemeFee
public void setSchemeFee(UpdateSplitConfigurationLogicRequest.SchemeFeeEnum schemeFee)
-
splitLogicId
public UpdateSplitConfigurationLogicRequest splitLogicId(String splitLogicId)
-
getSplitLogicId
public String getSplitLogicId()
Unique identifier of the split logic that is applied when the split configuration conditions are met.- Returns:
- splitLogicId
-
setSplitLogicId
public void setSplitLogicId(String splitLogicId)
-
surcharge
public UpdateSplitConfigurationLogicRequest surcharge(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)
-
getSurcharge
public UpdateSplitConfigurationLogicRequest.SurchargeEnum getSurcharge()
Specifies the logic to apply when booking the surcharge amount. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**- Returns:
- surcharge
-
setSurcharge
public void setSurcharge(UpdateSplitConfigurationLogicRequest.SurchargeEnum surcharge)
-
tip
public UpdateSplitConfigurationLogicRequest tip(UpdateSplitConfigurationLogicRequest.TipEnum tip)
-
getTip
public UpdateSplitConfigurationLogicRequest.TipEnum getTip()
Specifies the logic to apply when booking tips (gratuity). Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.- Returns:
- tip
-
setTip
public void setTip(UpdateSplitConfigurationLogicRequest.TipEnum 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
-
-