Coverage for functions \ flipdare \ generated \ schema \ payment \ payment_confirm_request_schema.py: 100%
0 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-05-08 12:22 +1000
« prev ^ index » next coverage.py v7.13.0, created at 2026-05-08 12:22 +1000
1#!/usr/bin/env python
2#
3# Copyright (c) 2026 Flipdare Pty Ltd. All rights reserved.
4#
5# This file is part of Flipdare's proprietary software and contains
6# confidential and copyrighted material. Unauthorised copying,
7# modification, distribution, or use of this file is strictly
8# prohibited without prior written permission from Flipdare Pty Ltd.
9#
10# This software includes third-party components licensed under MIT,
11# BSD, and Apache 2.0 licences. See THIRD_PARTY_NOTICES for details.
12#
13# NOTE: THIS FILE IS AUTO GENERATED. DO NOT EDIT.
14#
15# Generated by codegen_models.py
16#
17# Modify 'codegen_models.py'
18# and re-run the script above to update.
19#
21# pragma: no cover
24from typing import TypedDict
25from enum import StrEnum
28class PaymentConfirmRequestKey(StrEnum):
29 IP_ADDRESS = "ip_address"
30 DEVICE_FINGERPRINT = "device_fingerprint"
31 CUSTOMER_UID = "customer_uid"
32 ACCOUNT_UID = "account_uid"
33 PLEDGE_ID = "pledge_id"
34 DARE_ID = "dare_id"
35 PLEDGE_AMOUNT = "pledge_amount"
36 PAYMENT_INTENT_ID = "payment_intent_id"
39class PaymentConfirmRequestSchema(TypedDict):
40 """Request body for confirming a payment for a pledge."""
42 ip_address: str
43 device_fingerprint: str
44 customer_uid: str
45 account_uid: str
46 pledge_id: str
47 dare_id: str
48 pledge_amount: int
49 payment_intent_id: str