Class CustomerDto

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomerDto()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCity()
      Returns the city of the customer
      java.lang.String getCustomerId()
      Returns id of customer
      java.lang.String getFirstName()
      Returns the first name of the customer
      java.lang.String getLastName()
      Returns the customer's last name
      java.lang.String getStreet()
      Returns the street address of customer
      java.lang.String getZipCode()
      Returns the zip-code of the customer
      void setCity​(java.lang.String city)
      Sets the city of the customer
      void setCustomerId​(java.lang.String customerId)
      Sets the id of customer
      void setFirstName​(java.lang.String firstName)
      Sets the first name of the customer
      void setLastName​(java.lang.String lastName)
      Sets the last name of customer
      void setStreet​(java.lang.String street)
      Sets the street of the customer
      void setZipCode​(java.lang.String zipCode)
      Sets the zip-code of the customer
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setCustomerId

        public void setCustomerId​(java.lang.String customerId)
        Description copied from interface: Customer
        Sets the id of customer
        Specified by:
        setCustomerId in interface Customer
        Parameters:
        customerId - identifier
      • getLastName

        public java.lang.String getLastName()
        Description copied from interface: Customer
        Returns the customer's last name
        Specified by:
        getLastName in interface Customer
        Returns:
        last name of customer
      • setLastName

        public void setLastName​(java.lang.String lastName)
        Description copied from interface: Customer
        Sets the last name of customer
        Specified by:
        setLastName in interface Customer
        Parameters:
        lastName - person's last name
      • getFirstName

        public java.lang.String getFirstName()
        Description copied from interface: Customer
        Returns the first name of the customer
        Specified by:
        getFirstName in interface Customer
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(java.lang.String firstName)
        Description copied from interface: Customer
        Sets the first name of the customer
        Specified by:
        setFirstName in interface Customer
        Parameters:
        firstName - person's first name
      • getStreet

        public java.lang.String getStreet()
        Description copied from interface: Customer
        Returns the street address of customer
        Specified by:
        getStreet in interface Customer
        Returns:
        street
      • setStreet

        public void setStreet​(java.lang.String street)
        Description copied from interface: Customer
        Sets the street of the customer
        Specified by:
        setStreet in interface Customer
        Parameters:
        street - address field
      • getZipCode

        public java.lang.String getZipCode()
        Description copied from interface: Customer
        Returns the zip-code of the customer
        Specified by:
        getZipCode in interface Customer
        Returns:
        zipCode address field
      • setZipCode

        public void setZipCode​(java.lang.String zipCode)
        Description copied from interface: Customer
        Sets the zip-code of the customer
        Specified by:
        setZipCode in interface Customer
        Parameters:
        zipCode - address field
      • getCity

        public java.lang.String getCity()
        Description copied from interface: Customer
        Returns the city of the customer
        Specified by:
        getCity in interface Customer
        Returns:
        city address field
      • setCity

        public void setCity​(java.lang.String city)
        Description copied from interface: Customer
        Sets the city of the customer
        Specified by:
        setCity in interface Customer
        Parameters:
        city - address field
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object