Package com.adyen.model.balanceplatform
Class AmountNonZeroDecimalsRequirement
- java.lang.Object
-
- com.adyen.model.balanceplatform.AmountNonZeroDecimalsRequirement
-
public class AmountNonZeroDecimalsRequirement extends Object
AmountNonZeroDecimalsRequirement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAmountNonZeroDecimalsRequirement.TypeEnum**amountNonZeroDecimalsRequirement**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AmountNonZeroDecimalsRequirement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountNonZeroDecimalsRequirementdescription(String description)Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.booleanequals(Object o)Return true if this AmountNonZeroDecimalsRequirement object is equal to o.static AmountNonZeroDecimalsRequirementfromJson(String jsonString)Create an instance of AmountNonZeroDecimalsRequirement given an JSON stringStringgetDescription()Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.AmountNonZeroDecimalsRequirement.TypeEnumgetType()**amountNonZeroDecimalsRequirement**inthashCode()voidsetDescription(String description)Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.voidsetType(AmountNonZeroDecimalsRequirement.TypeEnum type)**amountNonZeroDecimalsRequirement**StringtoJson()Convert an instance of AmountNonZeroDecimalsRequirement to an JSON stringStringtoString()AmountNonZeroDecimalsRequirementtype(AmountNonZeroDecimalsRequirement.TypeEnum type)**amountNonZeroDecimalsRequirement**
-
-
-
Field Detail
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public AmountNonZeroDecimalsRequirement description(String description)
Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.- Parameters:
description-- Returns:
- the current
AmountNonZeroDecimalsRequirementinstance, allowing for method chaining
-
getDescription
public String getDescription()
Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.- Returns:
- description
-
setDescription
public void setDescription(String description)
Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.- Parameters:
description-
-
type
public AmountNonZeroDecimalsRequirement type(AmountNonZeroDecimalsRequirement.TypeEnum type)
**amountNonZeroDecimalsRequirement**- Parameters:
type-- Returns:
- the current
AmountNonZeroDecimalsRequirementinstance, allowing for method chaining
-
getType
public AmountNonZeroDecimalsRequirement.TypeEnum getType()
**amountNonZeroDecimalsRequirement**- Returns:
- type
-
setType
public void setType(AmountNonZeroDecimalsRequirement.TypeEnum type)
**amountNonZeroDecimalsRequirement**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this AmountNonZeroDecimalsRequirement object is equal to o.
-
fromJson
public static AmountNonZeroDecimalsRequirement fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AmountNonZeroDecimalsRequirement given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AmountNonZeroDecimalsRequirement
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AmountNonZeroDecimalsRequirement
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AmountNonZeroDecimalsRequirement to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-