Class CapitalGrantInfo


  • public class CapitalGrantInfo
    extends Object
    CapitalGrantInfo
    • Constructor Detail

      • CapitalGrantInfo

        public CapitalGrantInfo()
    • Method Detail

      • counterparty

        public CapitalGrantInfo counterparty​(Counterparty counterparty)
        counterparty
        Parameters:
        counterparty -
        Returns:
        the current CapitalGrantInfo instance, allowing for method chaining
      • getCounterparty

        public Counterparty getCounterparty()
        Get counterparty
        Returns:
        counterparty
      • setCounterparty

        public void setCounterparty​(Counterparty counterparty)
        counterparty
        Parameters:
        counterparty -
      • grantAccountId

        public CapitalGrantInfo grantAccountId​(String grantAccountId)
        The identifier of the grant account used for the grant.
        Parameters:
        grantAccountId - The identifier of the grant account used for the grant.
        Returns:
        the current CapitalGrantInfo instance, allowing for method chaining
      • getGrantAccountId

        public String getGrantAccountId()
        The identifier of the grant account used for the grant.
        Returns:
        grantAccountId The identifier of the grant account used for the grant.
      • setGrantAccountId

        public void setGrantAccountId​(String grantAccountId)
        The identifier of the grant account used for the grant.
        Parameters:
        grantAccountId - The identifier of the grant account used for the grant.
      • grantOfferId

        public CapitalGrantInfo grantOfferId​(String grantOfferId)
        The identifier of the grant offer that has been selected and from which the grant details will be used.
        Parameters:
        grantOfferId - The identifier of the grant offer that has been selected and from which the grant details will be used.
        Returns:
        the current CapitalGrantInfo instance, allowing for method chaining
      • getGrantOfferId

        public String getGrantOfferId()
        The identifier of the grant offer that has been selected and from which the grant details will be used.
        Returns:
        grantOfferId The identifier of the grant offer that has been selected and from which the grant details will be used.
      • setGrantOfferId

        public void setGrantOfferId​(String grantOfferId)
        The identifier of the grant offer that has been selected and from which the grant details will be used.
        Parameters:
        grantOfferId - The identifier of the grant offer that has been selected and from which the grant details will be used.
      • includeNullValues

        public CapitalGrantInfo 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 CapitalGrantInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 CapitalGrantInfo fromJson​(String jsonString)
                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CapitalGrantInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CapitalGrantInfo
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CapitalGrantInfo
      • toJson

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