Package software.xdev.brevo.model
Class GetProductDetails
java.lang.Object
software.xdev.brevo.model.GetProductDetails
GetProductDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(String categoriesItem) categories(List<String> categories) booleanCategory ID-s of the productCreation UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)getId()Product ID for which you requested the detailsAbsolute URL to the cover image of the productproduct deleted from the shop's databaseMeta data of product such as description, vendor, producer, stock level, etc.Last modification UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)getName()Name of the product for which you requested the detailsParent product id of the productgetPrice()Price of the productS3 url of original imageS3 thumbnail url of original image in 120x120 dimension for analytics sectionS3 thumbnail url of original image in 600x400 dimension for editor sectiongetSku()Product identifier from the shopgetStock()Current stock value of the product from the shop's databasegetUrl()URL to the productinthashCode()modifiedAt(String modifiedAt) s3Original(String s3Original) s3ThumbAnalytics(String s3ThumbAnalytics) s3ThumbEditor(String s3ThumbEditor) voidsetCategories(List<String> categories) voidsetCreatedAt(String createdAt) voidvoidsetImageUrl(String imageUrl) voidsetIsDeleted(Boolean isDeleted) voidsetMetaInfo(Object metaInfo) voidsetModifiedAt(String modifiedAt) voidvoidsetParentId(String parentId) voidvoidsetS3Original(String s3Original) voidsetS3ThumbAnalytics(String s3ThumbAnalytics) voidsetS3ThumbEditor(String s3ThumbEditor) voidvoidsetStock(BigDecimal stock) voidstock(BigDecimal stock) 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_NAME
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_IMAGE_URL
- See Also:
-
JSON_PROPERTY_SKU
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_PARENT_ID
- See Also:
-
JSON_PROPERTY_S3_ORIGINAL
- See Also:
-
JSON_PROPERTY_S3_THUMB_ANALYTICS
- See Also:
-
JSON_PROPERTY_S3_THUMB_EDITOR
- See Also:
-
JSON_PROPERTY_META_INFO
- See Also:
-
JSON_PROPERTY_IS_DELETED
- See Also:
-
JSON_PROPERTY_STOCK
- See Also:
-
-
Constructor Details
-
GetProductDetails
public GetProductDetails()
-
-
Method Details
-
id
-
getId
Product ID for which you requested the details- Returns:
- id
-
setId
-
name
-
getName
Name of the product for which you requested the details- Returns:
- name
-
setName
-
createdAt
-
getCreatedAt
Creation UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)- Returns:
- createdAt
-
setCreatedAt
-
modifiedAt
-
getModifiedAt
Last modification UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)- Returns:
- modifiedAt
-
setModifiedAt
-
url
-
getUrl
URL to the product- Returns:
- url
-
setUrl
-
imageUrl
-
getImageUrl
Absolute URL to the cover image of the product- Returns:
- imageUrl
-
setImageUrl
-
sku
-
getSku
Product identifier from the shop- Returns:
- sku
-
setSku
-
price
-
getPrice
Price of the product- Returns:
- price
-
setPrice
-
categories
-
addCategoriesItem
-
getCategories
Category ID-s of the product- Returns:
- categories
-
setCategories
-
parentId
-
getParentId
Parent product id of the product- Returns:
- parentId
-
setParentId
-
s3Original
-
getS3Original
S3 url of original image- Returns:
- s3Original
-
setS3Original
-
s3ThumbAnalytics
-
getS3ThumbAnalytics
S3 thumbnail url of original image in 120x120 dimension for analytics section- Returns:
- s3ThumbAnalytics
-
setS3ThumbAnalytics
-
s3ThumbEditor
-
getS3ThumbEditor
S3 thumbnail url of original image in 600x400 dimension for editor section- Returns:
- s3ThumbEditor
-
setS3ThumbEditor
-
metaInfo
-
getMetaInfo
Meta data of product such as description, vendor, producer, stock level, etc.- Returns:
- metaInfo
-
setMetaInfo
-
isDeleted
-
getIsDeleted
product deleted from the shop's database- Returns:
- isDeleted
-
setIsDeleted
-
stock
-
getStock
Current stock value of the product from the shop's database- Returns:
- stock
-
setStock
-
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
-