Package com.adyen.model.capital
Class DisbursementRepaymentInfoUpdate
- java.lang.Object
-
- com.adyen.model.capital.DisbursementRepaymentInfoUpdate
-
public class DisbursementRepaymentInfoUpdate extends Object
DisbursementRepaymentInfoUpdate
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BASIS_POINTSstatic StringJSON_PROPERTY_UPDATE_DESCRIPTION
-
Constructor Summary
Constructors Constructor Description DisbursementRepaymentInfoUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DisbursementRepaymentInfoUpdatebasisPoints(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 DisbursementRepaymentInfoUpdate object is equal to o.static DisbursementRepaymentInfoUpdatefromJson(String jsonString)Create an instance of DisbursementRepaymentInfoUpdate 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()DisbursementRepaymentInfoUpdateincludeNullValues(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 DisbursementRepaymentInfoUpdate to an JSON stringStringtoString()DisbursementRepaymentInfoUpdateupdateDescription(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 DisbursementRepaymentInfoUpdate 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
DisbursementRepaymentInfoUpdateinstance, 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 DisbursementRepaymentInfoUpdate updateDescription(String updateDescription)
updateDescription- Parameters:
updateDescription-- Returns:
- the current
DisbursementRepaymentInfoUpdateinstance, allowing for method chaining
-
getUpdateDescription
public String getUpdateDescription()
Get updateDescription- Returns:
- updateDescription
-
setUpdateDescription
public void setUpdateDescription(String updateDescription)
updateDescription- Parameters:
updateDescription-
-
includeNullValues
public DisbursementRepaymentInfoUpdate 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 DisbursementRepaymentInfoUpdate 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 DisbursementRepaymentInfoUpdate fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DisbursementRepaymentInfoUpdate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DisbursementRepaymentInfoUpdate
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DisbursementRepaymentInfoUpdate
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DisbursementRepaymentInfoUpdate to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-