Class Financier


  • public class Financier
    extends Object
    Financier
    • Constructor Detail

      • Financier

        public Financier()
    • Method Detail

      • amount

        public Financier amount​(Amount amount)
        amount
        Parameters:
        amount -
        Returns:
        the current Financier instance, allowing for method chaining
      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
        amount
        Parameters:
        amount -
      • firstName

        public Financier firstName​(String firstName)
        The financier's first name.
        Parameters:
        firstName - The financier's first name.
        Returns:
        the current Financier instance, allowing for method chaining
      • getFirstName

        public String getFirstName()
        The financier's first name.
        Returns:
        firstName The financier's first name.
      • setFirstName

        public void setFirstName​(String firstName)
        The financier's first name.
        Parameters:
        firstName - The financier's first name.
      • lastName

        public Financier lastName​(String lastName)
        The financier's last name.
        Parameters:
        lastName - The financier's last name.
        Returns:
        the current Financier instance, allowing for method chaining
      • getLastName

        public String getLastName()
        The financier's last name.
        Returns:
        lastName The financier's last name.
      • setLastName

        public void setLastName​(String lastName)
        The financier's last name.
        Parameters:
        lastName - The financier's last name.
      • location

        public Financier location​(String location)
        The city and country/region where the financier is currently located. For example: Chicago, USA
        Parameters:
        location - The city and country/region where the financier is currently located. For example: Chicago, USA
        Returns:
        the current Financier instance, allowing for method chaining
      • getLocation

        public String getLocation()
        The city and country/region where the financier is currently located. For example: Chicago, USA
        Returns:
        location The city and country/region where the financier is currently located. For example: Chicago, USA
      • setLocation

        public void setLocation​(String location)
        The city and country/region where the financier is currently located. For example: Chicago, USA
        Parameters:
        location - The city and country/region where the financier is currently located. For example: Chicago, USA
      • equals

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

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

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

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