sinch.domains.conversation.models.v1.messages.shared.product_item module

class sinch.domains.conversation.models.v1.messages.shared.product_item.ProductItem(
*,
id: Annotated[str, Strict(strict=True)],
marketplace: Annotated[str, Strict(strict=True)],
quantity: Annotated[int, Strict(strict=True)] | None = None,
item_price: Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None = None,
currency: Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • id (Annotated[str, Strict(strict=True)])

  • marketplace (Annotated[str, Strict(strict=True)])

  • quantity (Annotated[int, Strict(strict=True)] | None)

  • item_price (Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None)

  • currency (Annotated[str, Strict(strict=True)] | None)

  • extra_data (Any)

id: Annotated[str, Strict(strict=True)]
marketplace: Annotated[str, Strict(strict=True)]
quantity: Annotated[int, Strict(strict=True)] | None
item_price: Annotated[float, Strict(strict=True)] | Annotated[int, Strict(strict=True)] | None
currency: Annotated[str, Strict(strict=True)] | None
model_config = {'extra': 'allow', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].