sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment package

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.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].

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.PaymentOrderStatusOrder(
*,
status: Literal['pending', 'processing', 'partially-shipped', 'shipped', 'completed', 'canceled'] | Annotated[str, Strict(strict=True)],
description: Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • status (Literal['pending', 'processing', 'partially-shipped', 'shipped', 'completed', 'canceled'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)])

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

  • extra_data (Any)

status: Literal['pending', 'processing', 'partially-shipped', 'shipped', 'completed', 'canceled'] | Annotated[str, Strict(strict=True)]
description: 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].