Update api spec (#140)

* YOYO NEW API SPEC!

* bump version

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-09-06 11:27:00 -07:00
committed by GitHub
parent f63509a1eb
commit 01a73859d4
66 changed files with 682 additions and 639 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
UU = TypeVar("UU", bound="PaymentMethod")
MB = TypeVar("MB", bound="PaymentMethod")
@attr.s(auto_attribs=True)
@ -58,7 +58,7 @@ class PaymentMethod:
return field_dict
@classmethod
def from_dict(cls: Type[UU], src_dict: Dict[str, Any]) -> UU:
def from_dict(cls: Type[MB], src_dict: Dict[str, Any]) -> MB:
d = src_dict.copy()
_billing_info = d.pop("billing_info", UNSET)
billing_info: Union[Unset, BillingInfo]