> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# ProductSnapshot

> Protobuf class ProductSnapshot generated from WAProto.

Defined in: [WAProto/index.d.ts:8532](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8532)

## Implements

* [`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot)

## Constructors

### new ProductSnapshot()

> **new ProductSnapshot**(`p`?): [`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

Defined in: [WAProto/index.d.ts:8533](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8533)

#### Parameters

##### p?

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot)

#### Returns

[`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

## Properties

### currencyCode?

> `optional` **currencyCode**: `null` | `string`

Defined in: [WAProto/index.d.ts:8538](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8538)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`currencyCode`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#currencycode)

***

### description?

> `optional` **description**: `null` | `string`

Defined in: [WAProto/index.d.ts:8537](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8537)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`description`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#description)

***

### firstImageId?

> `optional` **firstImageId**: `null` | `string`

Defined in: [WAProto/index.d.ts:8543](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8543)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`firstImageId`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#firstimageid)

***

### priceAmount1000?

> `optional` **priceAmount1000**: `null` | `number` | `Long`

Defined in: [WAProto/index.d.ts:8539](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8539)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`priceAmount1000`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#priceamount1000)

***

### productId?

> `optional` **productId**: `null` | `string`

Defined in: [WAProto/index.d.ts:8535](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8535)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`productId`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#productid)

***

### productImage?

> `optional` **productImage**: `null` | [`IImageMessage`](/proto-reference/Message/interfaces/IImageMessage)

Defined in: [WAProto/index.d.ts:8534](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8534)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`productImage`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#productimage)

***

### productImageCount?

> `optional` **productImageCount**: `null` | `number`

Defined in: [WAProto/index.d.ts:8542](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8542)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`productImageCount`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#productimagecount)

***

### retailerId?

> `optional` **retailerId**: `null` | `string`

Defined in: [WAProto/index.d.ts:8540](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8540)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`retailerId`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#retailerid)

***

### salePriceAmount1000?

> `optional` **salePriceAmount1000**: `null` | `number` | `Long`

Defined in: [WAProto/index.d.ts:8544](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8544)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`salePriceAmount1000`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#salepriceamount1000)

***

### signedUrl?

> `optional` **signedUrl**: `null` | `string`

Defined in: [WAProto/index.d.ts:8545](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8545)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`signedUrl`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#signedurl)

***

### title?

> `optional` **title**: `null` | `string`

Defined in: [WAProto/index.d.ts:8536](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8536)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`title`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#title)

***

### url?

> `optional` **url**: `null` | `string`

Defined in: [WAProto/index.d.ts:8541](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8541)

#### Implementation of

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot).[`url`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot#url)

## Methods

### create()

> `static` **create**(`properties`?): [`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

Defined in: [WAProto/index.d.ts:8546](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8546)

#### Parameters

##### properties?

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot)

#### Returns

[`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

***

### decode()

> `static` **decode**(`r`, `l`?): [`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

Defined in: [WAProto/index.d.ts:8548](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8548)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:8547](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8547)

#### Parameters

##### m

[`IProductSnapshot`](/proto-reference/Message/ProductMessage/interfaces/IProductSnapshot)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

Defined in: [WAProto/index.d.ts:8549](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8549)

#### Parameters

##### d

#### Returns

[`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:8552](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8552)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:8551](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8551)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:8550](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L8550)

#### Parameters

##### m

[`ProductSnapshot`](/proto-reference/Message/ProductMessage/classes/ProductSnapshot)

##### o?

`IConversionOptions`

#### Returns

`object`
