ProductItem

class ProductItem(val id: String, val title: String, val brand: String, val imageUrls: List<String>, val price: ProductPrice? = null)

Represents a product item in the SDK's product catalog.

This immutable data class encapsulates all essential information about a product, including its identification, description, images, pricing, and store information. It is used throughout the SDK for product display and try-on generation.

Constructors

Link copied to clipboard
constructor(id: String, title: String, brand: String, imageUrls: List<String>, price: ProductPrice? = null)

Properties

Link copied to clipboard

Brand associated with the product

Link copied to clipboard
val id: String

Unique identifier for the product

Link copied to clipboard

List of URLs to product images

Link copied to clipboard

Price information for the product, if available

Link copied to clipboard

Name of the product