Package software.xdev.brevo.model
Class Deal
java.lang.Object
software.xdev.brevo.model.Deal
Deal Details
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinkedCompaniesIdsItem(String linkedCompaniesIdsItem) addLinkedContactsIdsItem(Integer linkedContactsIdsItem) attributes(Object attributes) booleanDeal attributes with valuesgetId()Unique deal idCompanies ids for companies linked to this dealContact ids for contacts linked to this dealinthashCode()linkedCompaniesIds(List<String> linkedCompaniesIds) linkedContactsIds(List<Integer> linkedContactsIds) voidsetAttributes(Object attributes) voidvoidsetLinkedCompaniesIds(List<String> linkedCompaniesIds) voidsetLinkedContactsIds(List<Integer> linkedContactsIds) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_LINKED_CONTACTS_IDS
- See Also:
-
JSON_PROPERTY_LINKED_COMPANIES_IDS
- See Also:
-
-
Constructor Details
-
Deal
public Deal()
-
-
Method Details
-
id
-
getId
Unique deal id- Returns:
- id
-
setId
-
attributes
-
getAttributes
Deal attributes with values- Returns:
- attributes
-
setAttributes
-
linkedContactsIds
-
addLinkedContactsIdsItem
-
getLinkedContactsIds
Contact ids for contacts linked to this deal- Returns:
- linkedContactsIds
-
setLinkedContactsIds
-
linkedCompaniesIds
-
addLinkedCompaniesIdsItem
-
getLinkedCompaniesIds
Companies ids for companies linked to this 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
-