|
16 | 16 | from .card_type import CardType |
17 | 17 | from .amount import Amount |
18 | 18 | from .card_merchant_details import CardMerchantDetails |
| 19 | +from .address import Address |
19 | 20 | from .tag import Tag |
20 | 21 | from ..core.pydantic_utilities import IS_PYDANTIC_V2 |
21 | 22 | import pydantic |
22 | | -from .address import Address |
23 | 23 | from .mpesa_transaction_type import MpesaTransactionType |
24 | 24 | from .wallet_network import WalletNetwork |
25 | 25 | from .check_delivery_status import CheckDeliveryStatus |
@@ -57,6 +57,7 @@ class BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Card(UniversalBase |
57 | 57 | network_provider_risk_score: typing_extensions.Annotated[ |
58 | 58 | typing.Optional[float], FieldMetadata(alias="networkProviderRiskScore") |
59 | 59 | ] = None |
| 60 | + address: typing.Optional[Address] = None |
60 | 61 | tags: typing.Optional[typing.List[Tag]] = None |
61 | 62 |
|
62 | 63 | if IS_PYDANTIC_V2: |
@@ -182,6 +183,8 @@ class BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Mpesa(UniversalBas |
182 | 183 | transaction_type: typing_extensions.Annotated[MpesaTransactionType, FieldMetadata(alias="transactionType")] |
183 | 184 | phone_number: typing_extensions.Annotated[str, FieldMetadata(alias="phoneNumber")] |
184 | 185 | email_id: typing_extensions.Annotated[typing.Optional[EmailId], FieldMetadata(alias="emailId")] = None |
| 186 | + name: typing.Optional[str] = None |
| 187 | + address: typing.Optional[Address] = None |
185 | 188 | tags: typing.Optional[typing.List[Tag]] = None |
186 | 189 |
|
187 | 190 | if IS_PYDANTIC_V2: |
@@ -271,6 +274,8 @@ class Config: |
271 | 274 | class BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Cash(UniversalBaseModel): |
272 | 275 | method: typing.Literal["CASH"] = "CASH" |
273 | 276 | identifier: typing.Optional[str] = None |
| 277 | + address: typing.Optional[Address] = None |
| 278 | + name: typing.Optional[str] = None |
274 | 279 |
|
275 | 280 | if IS_PYDANTIC_V2: |
276 | 281 | model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 |
|
0 commit comments