Class AmountNonZeroDecimalsRequirement


  • public class AmountNonZeroDecimalsRequirement
    extends Object
    AmountNonZeroDecimalsRequirement
    • Constructor Detail

      • AmountNonZeroDecimalsRequirement

        public AmountNonZeroDecimalsRequirement()
    • Method Detail

      • description

        public AmountNonZeroDecimalsRequirement description​(String description)
        Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.
        Parameters:
        description -
        Returns:
        the current AmountNonZeroDecimalsRequirement instance, allowing for method chaining
      • getDescription

        public String getDescription()
        Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.
        Parameters:
        description -
      • equals

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

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

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

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