Interface CatalogItem.Builder

  • Method Details

    • id

      The unique identifier for the catalog item.

      Parameters:
      id - The unique identifier for the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The display name of the catalog item.

      Parameters:
      name - The display name of the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      The product code or SKU of the catalog item.

      Parameters:
      code - The product code or SKU of the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type classification of the catalog item.

      Parameters:
      type - The type classification of the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • category

      CatalogItem.Builder category(String category)

      The category to which the catalog item belongs.

      Parameters:
      category - The category to which the catalog item belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CatalogItem.Builder description(String description)

      A detailed description of the catalog item.

      Parameters:
      description - A detailed description of the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalInformation

      CatalogItem.Builder additionalInformation(String additionalInformation)

      Supplementary information about the catalog item beyond the basic description.

      Parameters:
      additionalInformation - Supplementary information about the catalog item beyond the basic description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageLink

      CatalogItem.Builder imageLink(String imageLink)

      The URL link to the item's image.

      Parameters:
      imageLink - The URL link to the item's image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • link

      The URL link to the item's detailed page or external resource.

      Parameters:
      link - The URL link to the item's detailed page or external resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      CatalogItem.Builder createdAt(Instant createdAt)

      The timestamp when the catalog item was created.

      Parameters:
      createdAt - The timestamp when the catalog item was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      CatalogItem.Builder updatedAt(Instant updatedAt)

      The timestamp when the catalog item was last updated.

      Parameters:
      updatedAt - The timestamp when the catalog item was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The price of the catalog item.

      Parameters:
      price - The price of the catalog item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      CatalogItem.Builder attributes(Map<String,String> attributes)

      Additional attributes or properties associated with the catalog item stored as key-value pairs.

      Parameters:
      attributes - Additional attributes or properties associated with the catalog item stored as key-value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.