public class Vendor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Vendor.Builder
Class to build instances of
Vendor. |
| Constructor and Description |
|---|
Vendor(String id,
String createdAt,
String updatedAt,
String name,
Address address,
List<VendorContact> contacts,
String accountNumber,
String note,
Integer version,
String status)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccountNumber()
Getter for AccountNumber.
|
Address |
getAddress()
Getter for Address.
|
List<VendorContact> |
getContacts()
Getter for Contacts.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getId()
Getter for Id.
|
String |
getName()
Getter for Name.
|
String |
getNote()
Getter for Note.
|
String |
getStatus()
Getter for Status.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Integer |
getVersion()
Getter for Version.
|
int |
hashCode() |
Vendor.Builder |
toBuilder()
Builds a new
Vendor.Builder object. |
String |
toString()
Converts this Vendor into string format.
|
public Vendor(String id, String createdAt, String updatedAt, String name, Address address, List<VendorContact> contacts, String accountNumber, String note, Integer version, String status)
id - String value for id.createdAt - String value for createdAt.updatedAt - String value for updatedAt.name - String value for name.address - Address value for address.contacts - List of VendorContact value for contacts.accountNumber - String value for accountNumber.note - String value for note.version - Integer value for version.status - String value for status.public String getId()
public String getCreatedAt()
public String getUpdatedAt()
public String getName()
public Address getAddress()
public List<VendorContact> getContacts()
public String getAccountNumber()
public String getNote()
public Integer getVersion()
public String getStatus()
public String toString()
public Vendor.Builder toBuilder()
Vendor.Builder object.
Creates the instance with the state of the current model.Vendor.Builder objectCopyright © 2022. All rights reserved.