Package com.adyen.model.capital
Class DisbursementRepayment
- java.lang.Object
-
- com.adyen.model.capital.DisbursementRepayment
-
public class DisbursementRepayment extends Object
DisbursementRepayment
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BASIS_POINTSstatic StringJSON_PROPERTY_UPDATE_DESCRIPTION
-
Constructor Summary
Constructors Constructor Description DisbursementRepayment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DisbursementRepaymentbasisPoints(Integer basisPoints)The percentage of your user's incoming net volume that is deducted for repaying the grant.booleanequals(Object o)Return true if this DisbursementRepayment object is equal to o.static DisbursementRepaymentfromJson(String jsonString)Create an instance of DisbursementRepayment given an JSON stringIntegergetBasisPoints()The percentage of your user's incoming net volume that is deducted for repaying the grant.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetUpdateDescription()Get updateDescriptioninthashCode()DisbursementRepaymentincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetBasisPoints(Integer basisPoints)The percentage of your user's incoming net volume that is deducted for repaying the grant.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetUpdateDescription(String updateDescription)updateDescriptionStringtoJson()Convert an instance of DisbursementRepayment to an JSON stringStringtoString()DisbursementRepaymentupdateDescription(String updateDescription)updateDescription
-
-
-
Field Detail
-
JSON_PROPERTY_BASIS_POINTS
public static final String JSON_PROPERTY_BASIS_POINTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATE_DESCRIPTION
public static final String JSON_PROPERTY_UPDATE_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
basisPoints
public DisbursementRepayment basisPoints(Integer basisPoints)
The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).- Parameters:
basisPoints- The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).- Returns:
- the current
DisbursementRepaymentinstance, allowing for method chaining
-
getBasisPoints
public Integer getBasisPoints()
The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp). minimum: 0 maximum: 10000- Returns:
- basisPoints The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).
-
setBasisPoints
public void setBasisPoints(Integer basisPoints)
The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).- Parameters:
basisPoints- The percentage of your user's incoming net volume that is deducted for repaying the grant. The percentage expressed in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).
-
updateDescription
public DisbursementRepayment updateDescription(String updateDescription)
updateDescription- Parameters:
updateDescription-- Returns:
- the current
DisbursementRepaymentinstance, allowing for method chaining
-
getUpdateDescription
public String getUpdateDescription()
Get updateDescription- Returns:
- updateDescription
-
setUpdateDescription
public void setUpdateDescription(String updateDescription)
updateDescription- Parameters:
updateDescription-
-
includeNullValues
public DisbursementRepayment includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this DisbursementRepayment object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static DisbursementRepayment fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DisbursementRepayment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DisbursementRepayment
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DisbursementRepayment
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DisbursementRepayment to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-