pub struct Product {
pub id: ProductID,
pub name: String,
pub description: Option<String>,
pub type: CatalogType,
pub tax_category: TaxCategory,
pub image_url: Option<String>,
pub custom_data: Option<Value>,
pub status: Status,
pub import_meta: Option<ImportMeta>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Expand description
Represents a product entity.
Fields§
§id: ProductID
Unique Paddle ID for this product, prefixed with pro_
.
name: String
Name of this product.
description: Option<String>
Short description for this product.
type: CatalogType
Type of item. Standard items are considered part of your catalog and are shown on the Paddle dashboard.
tax_category: TaxCategory
Tax category for this product. Used for charging the correct rate of tax. Selected tax category must be enabled on your Paddle account.
image_url: Option<String>
Image for this product. Included in the checkout and on some customer documents.
custom_data: Option<Value>
Your own structured key-value data.
status: Status
Whether this entity can be used in Paddle.
import_meta: Option<ImportMeta>
Import information for this entity. null
if this entity is not imported.
created_at: DateTime<Utc>
RFC 3339 datetime string of when this entity was created. Set automatically by Paddle.
updated_at: DateTime<Utc>
RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.