From 05be4b71a886365b22bf7b057485ecd1f30d946e Mon Sep 17 00:00:00 2001 From: DX Codefresh Date: Tue, 4 Apr 2023 18:18:05 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- openapi/api.yaml | 11 +++++++---- recurly/resources.py | 8 ++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/openapi/api.yaml b/openapi/api.yaml index f8ab3ede..b41eb369 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -17604,6 +17604,9 @@ components: title: Security code or CVV description: "*STRONGLY RECOMMENDED*" maxLength: 4 + currency: + type: string + description: 3-letter ISO 4217 currency code. vat_number: type: string title: VAT number @@ -23089,8 +23092,8 @@ components: state: "$ref": "#/components/schemas/ExternalInvoiceStateEnum" total: - type: number - format: float + type: string + format: decimal title: Total currency: type: string @@ -23150,8 +23153,8 @@ components: title: Currency description: 3-letter ISO 4217 currency code. unit_amount: - type: number - format: float + type: string + format: decimal title: Unit Amount quantity: type: integer diff --git a/recurly/resources.py b/recurly/resources.py index da2a84ce..c347b75a 100644 --- a/recurly/resources.py +++ b/recurly/resources.py @@ -1145,7 +1145,7 @@ class ExternalInvoice(Resource): purchased_at : datetime When the invoice was created in the external platform. state : str - total : float + total : str Total updated_at : datetime When the external invoice was updated in Recurly. @@ -1162,7 +1162,7 @@ class ExternalInvoice(Resource): "object": str, "purchased_at": datetime, "state": str, - "total": float, + "total": str, "updated_at": datetime, } @@ -1265,7 +1265,7 @@ class ExternalCharge(Resource): object : str Object type quantity : int - unit_amount : float + unit_amount : str Unit Amount updated_at : datetime When the external charge was updated in Recurly. @@ -1280,7 +1280,7 @@ class ExternalCharge(Resource): "id": str, "object": str, "quantity": int, - "unit_amount": float, + "unit_amount": str, "updated_at": datetime, }