From dffa12a1e8ba670fb0a673be8e8e1452d77bbff0 Mon Sep 17 00:00:00 2001 From: DX Codefresh Date: Thu, 8 Sep 2022 22:39:27 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- openapi/api.yaml | 4 +++- subscription_ramp_interval_response.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openapi/api.yaml b/openapi/api.yaml index e01a1ad..93513e3 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -21302,7 +21302,9 @@ components: type: integer description: Represents how many billing cycles are left in a ramp interval. unit_amount: - type: integer + type: number + format: float + title: Unit price description: Represents the price for the ramp interval. TaxInfo: type: object diff --git a/subscription_ramp_interval_response.go b/subscription_ramp_interval_response.go index 6f549ea..6b9a298 100644 --- a/subscription_ramp_interval_response.go +++ b/subscription_ramp_interval_response.go @@ -19,7 +19,7 @@ type SubscriptionRampIntervalResponse struct { RemainingBillingCycles int `json:"remaining_billing_cycles,omitempty"` // Represents the price for the ramp interval. - UnitAmount int `json:"unit_amount,omitempty"` + UnitAmount float64 `json:"unit_amount,omitempty"` } // GetResponse returns the ResponseMetadata that generated this resource