Package com.adyen.model.management
Class UpdateSplitConfigurationRuleRequest
- java.lang.Object
-
- com.adyen.model.management.UpdateSplitConfigurationRuleRequest
-
public class UpdateSplitConfigurationRuleRequest extends Object
UpdateSplitConfigurationRuleRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_FUNDING_SOURCEstatic StringJSON_PROPERTY_PAYMENT_METHODstatic StringJSON_PROPERTY_SHOPPER_INTERACTION
-
Constructor Summary
Constructors Constructor Description UpdateSplitConfigurationRuleRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSplitConfigurationRuleRequestcurrency(String currency)booleanequals(Object o)Return true if this UpdateSplitConfigurationRuleRequest object is equal to o.static UpdateSplitConfigurationRuleRequestfromJson(String jsonString)Create an instance of UpdateSplitConfigurationRuleRequest given an JSON stringUpdateSplitConfigurationRuleRequestfundingSource(String fundingSource)StringgetCurrency()The currency condition that defines whether the split logic applies.StringgetFundingSource()The funding source condition of the payment method (only for cards).StringgetPaymentMethod()The payment method condition that defines whether the split logic applies.StringgetShopperInteraction()The sales channel condition that defines whether the split logic applies.inthashCode()UpdateSplitConfigurationRuleRequestpaymentMethod(String paymentMethod)voidsetCurrency(String currency)The currency condition that defines whether the split logic applies.voidsetFundingSource(String fundingSource)The funding source condition of the payment method (only for cards).voidsetPaymentMethod(String paymentMethod)The payment method condition that defines whether the split logic applies.voidsetShopperInteraction(String shopperInteraction)The sales channel condition that defines whether the split logic applies.UpdateSplitConfigurationRuleRequestshopperInteraction(String shopperInteraction)StringtoJson()Convert an instance of UpdateSplitConfigurationRuleRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CURRENCY
public static final String JSON_PROPERTY_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FUNDING_SOURCE
public static final String JSON_PROPERTY_FUNDING_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_METHOD
public static final String JSON_PROPERTY_PAYMENT_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_INTERACTION
public static final String JSON_PROPERTY_SHOPPER_INTERACTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
currency
public UpdateSplitConfigurationRuleRequest currency(String currency)
-
getCurrency
public String getCurrency()
The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).- Returns:
- currency
-
setCurrency
public void setCurrency(String currency)
The currency condition that defines whether the split logic applies. Its value must be a three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).- Parameters:
currency-
-
fundingSource
public UpdateSplitConfigurationRuleRequest fundingSource(String fundingSource)
-
getFundingSource
public String getFundingSource()
The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**.- Returns:
- fundingSource
-
setFundingSource
public void setFundingSource(String fundingSource)
The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**.- Parameters:
fundingSource-
-
paymentMethod
public UpdateSplitConfigurationRuleRequest paymentMethod(String paymentMethod)
-
getPaymentMethod
public String getPaymentMethod()
The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods.- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(String paymentMethod)
The payment method condition that defines whether the split logic applies. Possible values: * [Payment method variant](https://docs.adyen.com/development-resources/paymentmethodvariant): Apply the split logic for a specific payment method. * **ANY**: Apply the split logic for all available payment methods.- Parameters:
paymentMethod-
-
shopperInteraction
public UpdateSplitConfigurationRuleRequest shopperInteraction(String shopperInteraction)
-
getShopperInteraction
public String getShopperInteraction()
The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels.- Returns:
- shopperInteraction
-
setShopperInteraction
public void setShopperInteraction(String shopperInteraction)
The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels.- Parameters:
shopperInteraction-
-
equals
public boolean equals(Object o)
Return true if this UpdateSplitConfigurationRuleRequest object is equal to o.
-
fromJson
public static UpdateSplitConfigurationRuleRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdateSplitConfigurationRuleRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateSplitConfigurationRuleRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdateSplitConfigurationRuleRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdateSplitConfigurationRuleRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-