Class Repayment


  • public class Repayment
    extends Object
    Repayment
    • Constructor Detail

      • Repayment

        public Repayment()
    • 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)
        The repayment that is deducted daily from incoming net volume, in [basis points](https://www.investopedia.com/terms/b/basispoint.asp).
        Parameters:
        basisPoints -
      • getTerm

        public RepaymentTerm getTerm()
        Get term
        Returns:
        term
      • setTerm

        public void setTerm​(RepaymentTerm term)
        term
        Parameters:
        term -
      • getThreshold

        public ThresholdRepayment getThreshold()
        Get threshold
        Returns:
        threshold
      • setThreshold

        public void setThreshold​(ThresholdRepayment threshold)
        threshold
        Parameters:
        threshold -
      • equals

        public boolean equals​(Object o)
        Return true if this Repayment object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Repayment fromJson​(String jsonString)
                                  throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Repayment given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Repayment
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Repayment
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Repayment to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException