Share via


ProductInfo Class

Product information (entity type: "productInfo").

Constructor

pydantic model ProductInfo

Parameters

Name Description
type
Required
str

The type of the entity, always "productInfo".

id
Required
str

The unique identifier for the product.

Keyword-Only Parameters

Name Description
type
Default value: EntityTypes.PRODUCT_INFO
id
Default value: None

Methods

to_camel_for_all
to_snake_for_all

to_camel_for_all

to_camel_for_all(config)

Parameters

Name Description
config
Required

to_snake_for_all

validator to_snake_for_all  ยป  all fields

Parameters

Name Description
data
Required

Attributes

additional_properties

Returns the set of properties that are not None.

id

field id: str = None

type

field type: PRODUCT_INFO: 'ProductInfo'>] = EntityTypes.PRODUCT_INFO