Class Addresses
java.lang.Object
com.skava.model.datatransferobjects.Addresses
- All Implemented Interfaces:
Serializable
This class defines the model Addresses (Data transfer Object) holds address details.
Address is an entity that contains the address details of a user and belongs to Shipping category.
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addressEquals
(Addresses userAddressToCompare) This method is used to check whether the address equals.boolean
isEmpty()
This method is used to checks whether the addresses is empty or not.
-
Constructor Details
-
Addresses
public Addresses()Default constructor
-
-
Method Details
-
addressEquals
This method is used to check whether the address equals.- Parameters:
userAddressToCompare
- HoldsAddresses
object for comparing address object.- Returns:
- Boolean value true, if both addresses are equals else return false.
-
isEmpty
public boolean isEmpty()This method is used to checks whether the addresses is empty or not.- Returns:
- Boolean value true, if it is empty else return false.
-