sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_discount_rate_commerce module
- class sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_discount_rate_commerce.KakaoTalkDiscountRateCommerce(
- *,
- type: Literal['PERCENTAGE_DISCOUNT_COMMERCE'] = 'PERCENTAGE_DISCOUNT_COMMERCE',
- title: Annotated[str, Strict(strict=True)],
- regular_price: Annotated[int, Strict(strict=True)],
- discount_price: Annotated[int, Strict(strict=True)],
- discount_rate: Annotated[int, Strict(strict=True)],
- **extra_data: Any,
Bases:
KakaoTalkRegularPriceCommerce- Parameters:
type (Literal['PERCENTAGE_DISCOUNT_COMMERCE'])
title (Annotated[str, Strict(strict=True)])
regular_price (Annotated[int, Strict(strict=True)])
discount_price (Annotated[int, Strict(strict=True)])
discount_rate (Annotated[int, Strict(strict=True)])
extra_data (Any)
- type: Literal['PERCENTAGE_DISCOUNT_COMMERCE']
- discount_price: Annotated[int, Strict(strict=True)]
- discount_rate: Annotated[int, Strict(strict=True)]
- 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].