Coverage for functions \ flipdare \ payments \ data \ stripe_expand_params.py: 90%

10 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-05-08 12:22 +1000

1#!/usr/bin/env python 

2# Copyright (c) 2026 Flipdare Pty Ltd. All rights reserved. 

3# 

4# This file is part of Flipdare's proprietary software and contains 

5# confidential and copyrighted material. Unauthorised copying, 

6# modification, distribution, or use of this file is strictly 

7# prohibited without prior written permission from Flipdare Pty Ltd. 

8# 

9# This software includes third-party components licensed under MIT, 

10# BSD, and Apache 2.0 licences. See THIRD_PARTY_NOTICES for details. 

11# 

12from typing import Final 

13from stripe.params.v2.core import AccountRetrieveParams 

14 

15__all__ = ["StripeExpandParams"] 

16 

17 

18class StripeExpandParams: 

19 __slots__ = () 

20 

21 PAYMENT_INTENT: Final[list[str]] = ["payment_method", "latest_charge"] 

22 

23 CHARGE: Final[list[str]] = ["balance_transaction", "application_fee"] 

24 

25 # stripe v2 has replaced extend with a TypedDict include. 

26 ACCOUNT: Final[AccountRetrieveParams] = { 

27 "include": [ 

28 "configuration.merchant", 

29 "configuration.customer", 

30 "configuration.recipient", 

31 "identity", 

32 "defaults", 

33 ] 

34 } 

35 

36 def __init__(self) -> None: 

37 pass