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: 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: Annotated[list[WhatsAppPaymentSettingsPixButton | WhatsAppPaymentSettingsPaymentLinkButton | WhatsAppPaymentSettingsBoletoButton], Len(min_length=0, max_length=None)] | None = None,
- **extra_data: Any,
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[WhatsAppPaymentSettingsPixButton | WhatsAppPaymentSettingsPaymentLinkButton | WhatsAppPaymentSettingsBoletoButton], 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: Annotated[list[WhatsAppPaymentSettingsPixButton | WhatsAppPaymentSettingsPaymentLinkButton | WhatsAppPaymentSettingsBoletoButton], Len(min_length=0, max_length=None)] | 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].