sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.payment_order_details_content module
- class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.payment_order_details_content.PaymentOrderDetailsContent(*, type: ~typing.Literal['br', 'sg'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)], reference_id: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)], type_of_goods: ~typing.Literal['digital-goods', 'physical-goods'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)], total_amount_value: ~typing.Annotated[int, ~pydantic.types.Strict(strict=True)], order: ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.payment.payment_order.PaymentOrder, payment_buttons: ~typing.Annotated[list[~typing.Annotated[~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.buttons.whatsapp_payment_settings_pix_button.WhatsAppPaymentSettingsPixButton | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.buttons.whatsapp_payment_settings_payment_link_button.WhatsAppPaymentSettingsPaymentLinkButton | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.buttons.whatsapp_payment_settings_boleto_button.WhatsAppPaymentSettingsBoletoButton, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4b26050>]], ~annotated_types.Len(min_length=0, max_length=None)] | None = None, **extra_data: ~typing.Any)[source]
Bases:
SnakeCaseExtrasModel- Parameters:
type (Literal['br', 'sg'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)])
reference_id (Annotated[str, Strict(strict=True)])
type_of_goods (Literal['digital-goods', 'physical-goods'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)])
total_amount_value (Annotated[int, Strict(strict=True)])
order (PaymentOrder)
payment_buttons (Annotated[list[Annotated[WhatsAppPaymentSettingsPixButton | WhatsAppPaymentSettingsPaymentLinkButton | WhatsAppPaymentSettingsBoletoButton, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4b26050>]], Len(min_length=0, max_length=None)] | None)
extra_data (Any)
- type: Literal['br', 'sg'] | Annotated[str, Strict(strict=True)]
- reference_id: Annotated[str, Strict(strict=True)]
- type_of_goods: Literal['digital-goods', 'physical-goods'] | Annotated[str, Strict(strict=True)]
- total_amount_value: Annotated[int, Strict(strict=True)]
- order: PaymentOrder
- payment_buttons: Len(min_length=0, max_length=None)] | None
- model_config = {'extra': 'allow', 'populate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(
- _SnakifyExtrasOnInit__context: Any,
Marks applied non-
Nonedefaults as set.- Parameters:
_SnakifyExtrasOnInit__context (Any)
- Return type:
None