Package com.adyen.model.capital
Class Repayment
- java.lang.Object
-
- com.adyen.model.capital.Repayment
-
public class Repayment extends Object
Repayment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepayment.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BASIS_POINTSstatic StringSERIALIZED_NAME_TERMstatic StringSERIALIZED_NAME_THRESHOLD
-
Constructor Summary
Constructors Constructor Description Repayment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepaymentbasisPoints(Integer basisPoints)booleanequals(Object o)static RepaymentfromJson(String jsonString)Create an instance of Repayment given an JSON stringIntegergetBasisPoints()The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).RepaymentTermgetTerm()Get termThresholdRepaymentgetThreshold()Get thresholdinthashCode()voidsetBasisPoints(Integer basisPoints)voidsetTerm(RepaymentTerm term)voidsetThreshold(ThresholdRepayment threshold)Repaymentterm(RepaymentTerm term)Repaymentthreshold(ThresholdRepayment threshold)StringtoJson()Convert an instance of Repayment to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BASIS_POINTS
public static final String SERIALIZED_NAME_BASIS_POINTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TERM
public static final String SERIALIZED_NAME_TERM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THRESHOLD
public static final String SERIALIZED_NAME_THRESHOLD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBasisPoints
public Integer getBasisPoints()
The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).- Returns:
- basisPoints
-
setBasisPoints
public void setBasisPoints(Integer basisPoints)
-
term
public Repayment term(RepaymentTerm term)
-
getTerm
public RepaymentTerm getTerm()
Get term- Returns:
- term
-
setTerm
public void setTerm(RepaymentTerm term)
-
threshold
public Repayment threshold(ThresholdRepayment threshold)
-
getThreshold
public ThresholdRepayment getThreshold()
Get threshold- Returns:
- threshold
-
setThreshold
public void setThreshold(ThresholdRepayment threshold)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Repayment
-
fromJson
public static Repayment fromJson(String jsonString) throws IOException
Create an instance of Repayment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Repayment
- Throws:
IOException- if the JSON string is invalid with respect to Repayment
-
toJson
public String toJson()
Convert an instance of Repayment to an JSON string- Returns:
- JSON string
-
-