Package software.xdev.brevo.model
Class MainProduct
java.lang.Object
software.xdev.brevo.model.MainProduct
MainProduct
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTimestamp when the product was createdURL of the product imageUnique identifier for the productgetValue()stringinthashCode()voidsetCreatedAt(String createdAt) voidsetImageRef(String imageRef) voidsetProductId(String productId) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_IMAGE_REF
- See Also:
-
JSON_PROPERTY_PRODUCT_ID
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
MainProduct
public MainProduct()
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp when the product was created- Returns:
- createdAt
-
setCreatedAt
-
imageRef
-
getImageRef
URL of the product image- Returns:
- imageRef
-
setImageRef
-
productId
-
getProductId
Unique identifier for the product- Returns:
- productId
-
setProductId
-
value
-
getValue
string- Returns:
- value
-
setValue
-
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
-