Package com.legislate.model
Class CollaboratorFieldsRequestDTO
- java.lang.Object
-
- com.legislate.model.CollaboratorFieldsRequestDTO
-
public class CollaboratorFieldsRequestDTO extends Object
CollaboratorFieldsRequestDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollaboratorFieldsRequestDTO.RoleEnumGets or Sets rolestatic classCollaboratorFieldsRequestDTO.SideEnumThe side of contract collaborator.
-
Constructor Summary
Constructors Constructor Description CollaboratorFieldsRequestDTO()
-
Method Summary
-
-
-
Method Detail
-
email
public CollaboratorFieldsRequestDTO email(String email)
-
getEmail
public String getEmail()
The unique email of the contract collaborator. Deprecated: Will be removed in v2.0.0- Returns:
-
setEmail
public void setEmail(String email)
-
identityFields
public CollaboratorFieldsRequestDTO identityFields(List<CreateCollaboratorIdentityFieldV1DTO> identityFields)
-
addIdentityFieldsItem
public CollaboratorFieldsRequestDTO addIdentityFieldsItem(CreateCollaboratorIdentityFieldV1DTO identityFieldsItem)
-
getIdentityFields
public List<CreateCollaboratorIdentityFieldV1DTO> getIdentityFields()
The identity fields of the contract collaborator.- Returns:
- identityFields
-
setIdentityFields
public void setIdentityFields(List<CreateCollaboratorIdentityFieldV1DTO> identityFields)
-
inviterId
public CollaboratorFieldsRequestDTO inviterId(Long inviterId)
-
getInviterId
public Long getInviterId()
The unique Id of the user who is inviting the collaborator to the contract.- Returns:
- inviterId
-
setInviterId
public void setInviterId(Long inviterId)
-
role
public CollaboratorFieldsRequestDTO role(List<CollaboratorFieldsRequestDTO.RoleEnum> role)
-
addRoleItem
public CollaboratorFieldsRequestDTO addRoleItem(CollaboratorFieldsRequestDTO.RoleEnum roleItem)
-
getRole
public List<CollaboratorFieldsRequestDTO.RoleEnum> getRole()
The role of contract collaborator.- Returns:
- role
-
setRole
public void setRole(List<CollaboratorFieldsRequestDTO.RoleEnum> role)
-
side
public CollaboratorFieldsRequestDTO side(CollaboratorFieldsRequestDTO.SideEnum side)
-
getSide
public CollaboratorFieldsRequestDTO.SideEnum getSide()
The side of contract collaborator.- Returns:
- side
-
setSide
public void setSide(CollaboratorFieldsRequestDTO.SideEnum side)
-
signatoryId
public CollaboratorFieldsRequestDTO signatoryId(Long signatoryId)
-
getSignatoryId
public Long getSignatoryId()
The unique Id of the contract signatory who is going to sign the contract on behalf of the party / company.- Returns:
- signatoryId
-
setSignatoryId
public void setSignatoryId(Long signatoryId)
-
userId
public CollaboratorFieldsRequestDTO userId(Long userId)
-
getUserId
public Long getUserId()
The unique Id of the contract collaborator you are adding to the contract.- Returns:
- userId
-
setUserId
public void setUserId(Long userId)
-
-