Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-28 14:29:16 -08:00
parent 6b8807feea
commit 373b5ef4ae
123 changed files with 1858 additions and 1955 deletions

View File

@ -9,7 +9,7 @@ from ..models.card_details import CardDetails
from ..models.payment_method_type import PaymentMethodType
from ..types import UNSET, Unset
ZB = TypeVar("ZB", bound="PaymentMethod")
CT = TypeVar("CT", bound="PaymentMethod")
@attr.s(auto_attribs=True)
@ -58,7 +58,7 @@ class PaymentMethod:
return field_dict
@classmethod
def from_dict(cls: Type[ZB], src_dict: Dict[str, Any]) -> ZB:
def from_dict(cls: Type[CT], src_dict: Dict[str, Any]) -> CT:
d = src_dict.copy()
_billing_info = d.pop("billing_info", UNSET)
billing_info: Union[Unset, BillingInfo]