diff --git a/lago_python_client/models/subscription.py b/lago_python_client/models/subscription.py index 032b620..538ffe5 100644 --- a/lago_python_client/models/subscription.py +++ b/lago_python_client/models/subscription.py @@ -29,6 +29,8 @@ class SubscriptionResponse(BaseResponseModel): canceled_at: Optional[str] created_at: Optional[str] plan_code: Optional[str] + plan_amount_cents: Optional[str] + plan_amount_currency: Optional[str] started_at: Optional[str] status: Optional[str] name: Optional[str] diff --git a/tests/fixtures/invoice.json b/tests/fixtures/invoice.json index 40ab3f8..5827f93 100644 --- a/tests/fixtures/invoice.json +++ b/tests/fixtures/invoice.json @@ -119,6 +119,8 @@ "canceled_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "plan_code": "eartha lynch", + "plan_amount_cents": 10000, + "plan_amount_currency": "USD", "started_at": "2022-04-29T08:59:51Z", "status": "active", "billing_time": "anniversary", diff --git a/tests/fixtures/one_off_invoice.json b/tests/fixtures/one_off_invoice.json index 074c09d..e491bd1 100644 --- a/tests/fixtures/one_off_invoice.json +++ b/tests/fixtures/one_off_invoice.json @@ -78,6 +78,8 @@ "canceled_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "plan_code": "eartha lynch", + "plan_amount_cents": 10000, + "plan_amount_currency": "USD", "started_at": "2022-04-29T08:59:51Z", "status": "active", "billing_time": "anniversary", diff --git a/tests/fixtures/pending_subscription.json b/tests/fixtures/pending_subscription.json index ffbbfb4..c22fa22 100644 --- a/tests/fixtures/pending_subscription.json +++ b/tests/fixtures/pending_subscription.json @@ -6,6 +6,8 @@ "canceled_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "plan_code": "eartha lynch", + "plan_amount_cents": 10000, + "plan_amount_currency": "USD", "started_at": "2022-04-29T08:59:51Z", "status": "pending", "billing_time": "anniversary", diff --git a/tests/fixtures/subscription.json b/tests/fixtures/subscription.json index 6b0b3ed..1e93880 100644 --- a/tests/fixtures/subscription.json +++ b/tests/fixtures/subscription.json @@ -6,6 +6,8 @@ "canceled_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "plan_code": "eartha lynch", + "plan_amount_cents": 10000, + "plan_amount_currency": "USD", "started_at": "2022-04-29T08:59:51Z", "ending_at": "2022-08-29T08:59:51Z", "status": "active", diff --git a/tests/fixtures/voided_invoice.json b/tests/fixtures/voided_invoice.json index 9f59fa9..a937c39 100644 --- a/tests/fixtures/voided_invoice.json +++ b/tests/fixtures/voided_invoice.json @@ -118,6 +118,8 @@ "canceled_at": "2022-04-29T08:59:51Z", "created_at": "2022-04-29T08:59:51Z", "plan_code": "eartha lynch", + "plan_amount_cents": 10000, + "plan_amount_currency": "USD", "started_at": "2022-04-29T08:59:51Z", "status": "active", "billing_time": "anniversary",