sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.payment_order module
- class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.payment_order.PaymentOrder(
- *,
- items: Annotated[list[OrderItem], Len(min_length=0, max_length=None)],
- subtotal_value: Annotated[int, Strict(strict=True)],
- tax_value: Annotated[int, Strict(strict=True)],
- catalog_id: Annotated[str, Strict(strict=True)] | None = None,
- expiration_time: datetime | None = None,
- expiration_description: Annotated[str, Strict(strict=True)] | None = None,
- tax_description: Annotated[str, Strict(strict=True)] | None = None,
- shipping_value: Annotated[int, Strict(strict=True)] | None = None,
- shipping_description: Annotated[str, Strict(strict=True)] | None = None,
- discount_value: Annotated[int, Strict(strict=True)] | None = None,
- discount_description: Annotated[str, Strict(strict=True)] | None = None,
- discount_program_name: Annotated[str, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
SnakeCaseExtrasModel- Parameters:
items (Annotated[list[OrderItem], Len(min_length=0, max_length=None)])
subtotal_value (Annotated[int, Strict(strict=True)])
tax_value (Annotated[int, Strict(strict=True)])
catalog_id (Annotated[str, Strict(strict=True)] | None)
expiration_time (datetime | None)
expiration_description (Annotated[str, Strict(strict=True)] | None)
tax_description (Annotated[str, Strict(strict=True)] | None)
shipping_value (Annotated[int, Strict(strict=True)] | None)
shipping_description (Annotated[str, Strict(strict=True)] | None)
discount_value (Annotated[int, Strict(strict=True)] | None)
discount_description (Annotated[str, Strict(strict=True)] | None)
discount_program_name (Annotated[str, Strict(strict=True)] | None)
extra_data (Any)
- subtotal_value: Annotated[int, Strict(strict=True)]
- tax_value: Annotated[int, Strict(strict=True)]
- catalog_id: Annotated[str, Strict(strict=True)] | None
- expiration_time: datetime | None
- expiration_description: Annotated[str, Strict(strict=True)] | None
- tax_description: Annotated[str, Strict(strict=True)] | None
- shipping_value: Annotated[int, Strict(strict=True)] | None
- shipping_description: Annotated[str, Strict(strict=True)] | None
- discount_value: Annotated[int, Strict(strict=True)] | None
- discount_description: Annotated[str, Strict(strict=True)] | None
- discount_program_name: 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].