sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.order_item module

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.order_item.OrderItem(
*,
retailer_id: Annotated[str, Strict(strict=True)],
name: Annotated[str, Strict(strict=True)],
amount_value: Annotated[int, Strict(strict=True)],
quantity: Annotated[int, Strict(strict=True)],
sale_amount_value: Annotated[int, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

  • amount_value (Annotated[int, Strict(strict=True)])

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

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

  • extra_data (Any)

retailer_id: Annotated[str, Strict(strict=True)]
name: Annotated[str, Strict(strict=True)]
amount_value: Annotated[int, Strict(strict=True)]
quantity: Annotated[int, Strict(strict=True)]
sale_amount_value: Annotated[int, 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].