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 TypeMethodDescriptionattributes(Object attributes) booleanAttributes for deal creation If you want to create a deal on a specific pipeline and stage you can use the following attributes `pipeline` and `deal_stage`.getName()Name of dealinthashCode()voidsetAttributes(Object attributes) 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:
-
-
Constructor Details
-
CrmDealsPostRequest
public CrmDealsPostRequest()
-
-
Method Details
-
name
-
getName
Name of deal- Returns:
- name
-
setName
-
attributes
-
getAttributes
Attributes for deal creation 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
-
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
-