Package software.xdev.brevo.model
Class CrmDealsPostRequest
java.lang.Object
software.xdev.brevo.model.CrmDealsPostRequest
CrmDealsPostRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinkedCompaniesIdsItem(String linkedCompaniesIdsItem) addLinkedContactsIdsItem(Long linkedContactsIdsItem) attributes(Object attributes) booleanAttributes for deal creation To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID.Company ids to be linked with dealContact ids to be linked with dealgetName()Name of dealinthashCode()linkedCompaniesIds(List<String> linkedCompaniesIds) linkedContactsIds(List<Long> linkedContactsIds) voidsetAttributes(Object attributes) voidsetLinkedCompaniesIds(List<String> linkedCompaniesIds) voidsetLinkedContactsIds(List<Long> linkedContactsIds) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_LINKED_CONTACTS_IDS
- See Also:
-
JSON_PROPERTY_LINKED_COMPANIES_IDS
- See Also:
-
-
Constructor Details
-
CrmDealsPostRequest
public CrmDealsPostRequest()
-
-
Method Details
-
name
-
getName
Name of deal- Returns:
- name
-
setName
-
attributes
-
getAttributes
Attributes for deal creation To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you want to create a deal on a specific pipeline and stage you can use the following attributes `pipeline` and `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`- Returns:
- attributes
-
setAttributes
-
linkedContactsIds
-
addLinkedContactsIdsItem
-
getLinkedContactsIds
Contact ids to be linked with deal- Returns:
- linkedContactsIds
-
setLinkedContactsIds
-
linkedCompaniesIds
-
addLinkedCompaniesIdsItem
-
getLinkedCompaniesIds
Company ids to be linked with deal- Returns:
- linkedCompaniesIds
-
setLinkedCompaniesIds
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-