Class GetProductDetails

java.lang.Object
software.xdev.brevo.model.GetProductDetails

public class GetProductDetails extends Object
GetProductDetails
  • Field Details

  • Constructor Details

    • GetProductDetails

      public GetProductDetails()
  • Method Details

    • id

      public GetProductDetails id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Product ID for which you requested the details
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • name

      public GetProductDetails name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name of the product for which you requested the details
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • createdAt

      public GetProductDetails createdAt(@Nonnull String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Creation UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull String createdAt)
    • modifiedAt

      public GetProductDetails modifiedAt(@Nonnull String modifiedAt)
    • getModifiedAt

      @Nonnull public String getModifiedAt()
      Last modification UTC date-time of the product (YYYY-MM-DDTHH:mm:ss.SSSZ)
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(@Nonnull String modifiedAt)
    • url

      public GetProductDetails url(@Nullable String url)
    • getUrl

      @Nullable public String getUrl()
      URL to the product
      Returns:
      url
    • setUrl

      public void setUrl(@Nullable String url)
    • imageUrl

      public GetProductDetails imageUrl(@Nullable String imageUrl)
    • getImageUrl

      @Nullable public String getImageUrl()
      Absolute URL to the cover image of the product
      Returns:
      imageUrl
    • setImageUrl

      public void setImageUrl(@Nullable String imageUrl)
    • sku

      public GetProductDetails sku(@Nullable String sku)
    • getSku

      @Nullable public String getSku()
      Product identifier from the shop
      Returns:
      sku
    • setSku

      public void setSku(@Nullable String sku)
    • price

      public GetProductDetails price(@Nullable Float price)
    • getPrice

      @Nullable public Float getPrice()
      Price of the product
      Returns:
      price
    • setPrice

      public void setPrice(@Nullable Float price)
    • categories

      public GetProductDetails categories(@Nullable List<String> categories)
    • addCategoriesItem

      public GetProductDetails addCategoriesItem(String categoriesItem)
    • getCategories

      @Nullable public List<String> getCategories()
      Category ID-s of the product
      Returns:
      categories
    • setCategories

      public void setCategories(@Nullable List<String> categories)
    • parentId

      public GetProductDetails parentId(@Nullable String parentId)
    • getParentId

      @Nullable public String getParentId()
      Parent product id of the product
      Returns:
      parentId
    • setParentId

      public void setParentId(@Nullable String parentId)
    • s3Original

      public GetProductDetails s3Original(@Nullable String s3Original)
    • getS3Original

      @Nullable public String getS3Original()
      S3 url of original image
      Returns:
      s3Original
    • setS3Original

      public void setS3Original(@Nullable String s3Original)
    • s3ThumbAnalytics

      public GetProductDetails s3ThumbAnalytics(@Nonnull String s3ThumbAnalytics)
    • getS3ThumbAnalytics

      @Nonnull public String getS3ThumbAnalytics()
      S3 thumbnail url of original image in 120x120 dimension for analytics section
      Returns:
      s3ThumbAnalytics
    • setS3ThumbAnalytics

      public void setS3ThumbAnalytics(@Nonnull String s3ThumbAnalytics)
    • s3ThumbEditor

      public GetProductDetails s3ThumbEditor(@Nonnull String s3ThumbEditor)
    • getS3ThumbEditor

      @Nonnull public String getS3ThumbEditor()
      S3 thumbnail url of original image in 600x400 dimension for editor section
      Returns:
      s3ThumbEditor
    • setS3ThumbEditor

      public void setS3ThumbEditor(@Nonnull String s3ThumbEditor)
    • metaInfo

      public GetProductDetails metaInfo(@Nullable Object metaInfo)
    • getMetaInfo

      @Nullable public Object getMetaInfo()
      Meta data of product such as description, vendor, producer, stock level, etc.
      Returns:
      metaInfo
    • setMetaInfo

      public void setMetaInfo(@Nullable Object metaInfo)
    • isDeleted

      public GetProductDetails isDeleted(@Nullable Boolean isDeleted)
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      product deleted from the shop's database
      Returns:
      isDeleted
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
    • stock

      public GetProductDetails stock(@Nullable BigDecimal stock)
    • getStock

      @Nullable public BigDecimal getStock()
      Current stock value of the product from the shop's database
      Returns:
      stock
    • setStock

      public void setStock(@Nullable BigDecimal stock)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string