Interface ItemSnapshot

interface ItemSnapshot {
    name: string;
    nameAr?: string;
    price: number;
    image?: string;
    reference?: string;
}

Properties

name: string

Display name (English)

nameAr?: string

Display name (Arabic) — optional

price: number

Line-item price in the currency's smallest unit (halalas for SAR). The intent totalAmount must equal the sum of all item prices.

image?: string

Product image URL

reference?: string

Merchant's internal product reference / SKU