From 62925461abc2710b778bbc5eb2f3d431bdbfda51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Denquin?= Date: Wed, 17 Jan 2024 14:22:21 +0100 Subject: [PATCH] Bump 0.53.0 (#7) * misc(version): bump to 0.53.0-beta * add files --- .openapi-generator/FILES | 214 +------------ .openapi-generator/VERSION | 2 +- .travis.yml | 22 ++ README.md | 14 +- api/openapi.yaml | 169 +++++++++- build.gradle | 14 +- docs/CouponUpdateInput.md | 2 +- docs/FeeObjectAmountDetails.md | 4 +- ...ailsAllOfGraduatedPercentageRangesInner.md | 19 ++ docs/InvoicesApi.md | 74 +++++ docs/OrganizationObject.md | 11 + docs/OrganizationUpdateInputOrganization.md | 11 + docs/TaxUpdateInput.md | 2 +- .../java/org/getlago/client/ApiClient.java | 4 +- .../org/getlago/client/JavaTimeFormatter.java | 4 +- .../org/getlago/client/RFC3339DateFormat.java | 2 +- .../java/org/getlago/client/StringUtil.java | 4 +- .../org/getlago/client/api/AddOnsApi.java | 2 +- .../org/getlago/client/api/AnalyticsApi.java | 2 +- .../client/api/BillableMetricsApi.java | 2 +- .../org/getlago/client/api/CouponsApi.java | 2 +- .../getlago/client/api/CreditNotesApi.java | 2 +- .../org/getlago/client/api/CustomersApi.java | 2 +- .../org/getlago/client/api/EventsApi.java | 2 +- .../java/org/getlago/client/api/FeesApi.java | 2 +- .../org/getlago/client/api/InvoicesApi.java | 84 ++++- .../getlago/client/api/OrganizationsApi.java | 2 +- .../java/org/getlago/client/api/PlansApi.java | 2 +- .../getlago/client/api/SubscriptionsApi.java | 2 +- .../java/org/getlago/client/api/TaxesApi.java | 2 +- .../org/getlago/client/api/WalletsApi.java | 2 +- .../client/api/WebhookEndpointsApi.java | 2 +- .../org/getlago/client/api/WebhooksApi.java | 2 +- .../org/getlago/client/auth/ApiKeyAuth.java | 2 +- .../getlago/client/auth/HttpBasicAuth.java | 2 +- .../getlago/client/auth/HttpBearerAuth.java | 2 +- .../org/openapitools/client/model/AddOn.java | 4 +- .../client/model/AddOnBaseInput.java | 5 +- .../client/model/AddOnCreateInput.java | 4 +- .../client/model/AddOnCreateInputAddOn.java | 5 +- .../client/model/AddOnObject.java | 5 +- .../client/model/AddOnUpdateInput.java | 4 +- .../client/model/AddOnsPaginated.java | 5 +- .../client/model/ApiErrorBadRequest.java | 4 +- .../client/model/ApiErrorForbidden.java | 4 +- .../client/model/ApiErrorNotAllowed.java | 4 +- .../client/model/ApiErrorNotFound.java | 4 +- .../client/model/ApiErrorUnauthorized.java | 4 +- .../model/ApiErrorUnprocessableEntity.java | 4 +- .../client/model/AppliedCoupon.java | 4 +- .../client/model/AppliedCouponInput.java | 4 +- .../AppliedCouponInputAppliedCoupon.java | 4 +- .../client/model/AppliedCouponObject.java | 4 +- .../model/AppliedCouponObjectExtended.java | 5 +- .../client/model/AppliedCouponsPaginated.java | 5 +- .../client/model/BaseAppliedTax.java | 4 +- .../client/model/BillableMetric.java | 4 +- .../client/model/BillableMetricBaseInput.java | 4 +- .../model/BillableMetricCreateInput.java | 4 +- ...llableMetricCreateInputBillableMetric.java | 4 +- .../client/model/BillableMetricGroup.java | 5 +- .../model/BillableMetricGroupValuesInner.java | 5 +- .../BillableMetricGroupValuesInnerOneOf.java | 5 +- .../client/model/BillableMetricObject.java | 4 +- .../model/BillableMetricUpdateInput.java | 4 +- .../model/BillableMetricsPaginated.java | 5 +- .../client/model/ChargeObject.java | 5 +- .../client/model/ChargeObjectProperties.java | 5 +- .../client/model/ChargeProperties.java | 5 +- ...pertiesGraduatedPercentageRangesInner.java | 4 +- .../ChargePropertiesGraduatedRangesInner.java | 4 +- .../ChargePropertiesVolumeRangesInner.java | 4 +- .../openapitools/client/model/Country.java | 2 +- .../org/openapitools/client/model/Coupon.java | 4 +- .../client/model/CouponBaseInput.java | 4 +- .../model/CouponBaseInputAppliesTo.java | 5 +- .../client/model/CouponCreateInput.java | 4 +- .../client/model/CouponCreateInputCoupon.java | 4 +- .../client/model/CouponObject.java | 5 +- .../client/model/CouponUpdateInput.java | 14 +- .../client/model/CouponsPaginated.java | 5 +- .../openapitools/client/model/CreditNote.java | 4 +- .../model/CreditNoteAppliedTaxObject.java | 4 +- .../client/model/CreditNoteCreateInput.java | 4 +- .../CreditNoteCreateInputCreditNote.java | 5 +- .../client/model/CreditNoteEstimateInput.java | 4 +- .../CreditNoteEstimateInputCreditNote.java | 5 +- ...NoteEstimateInputCreditNoteItemsInner.java | 4 +- .../client/model/CreditNoteEstimated.java | 4 +- ...reditNoteEstimatedEstimatedCreditNote.java | 5 +- ...dEstimatedCreditNoteAppliedTaxesInner.java | 4 +- ...stimatedEstimatedCreditNoteItemsInner.java | 4 +- .../client/model/CreditNoteItemObject.java | 4 +- .../client/model/CreditNoteItemObjectFee.java | 5 +- .../client/model/CreditNoteObject.java | 5 +- .../client/model/CreditNoteUpdateInput.java | 4 +- .../CreditNoteUpdateInputCreditNote.java | 4 +- .../client/model/CreditNotes.java | 5 +- .../client/model/CreditObject.java | 4 +- .../client/model/CreditObjectInvoice.java | 4 +- .../client/model/CreditObjectItem.java | 4 +- .../openapitools/client/model/Currency.java | 2 +- .../openapitools/client/model/Customer.java | 4 +- .../model/CustomerBillingConfiguration.java | 5 +- .../model/CustomerChargeUsageObject.java | 5 +- ...stomerChargeUsageObjectBillableMetric.java | 4 +- .../CustomerChargeUsageObjectCharge.java | 4 +- .../CustomerChargeUsageObjectGroupsInner.java | 4 +- .../client/model/CustomerCreateInput.java | 4 +- .../model/CustomerCreateInputCustomer.java | 5 +- ...tomerCreateInputCustomerMetadataInner.java | 4 +- .../client/model/CustomerMetadata.java | 4 +- .../client/model/CustomerObject.java | 5 +- .../client/model/CustomerObjectExtended.java | 5 +- .../client/model/CustomerPastUsage.java | 5 +- .../client/model/CustomerUsage.java | 4 +- .../client/model/CustomerUsageObject.java | 5 +- .../client/model/CustomersPaginated.java | 5 +- .../org/openapitools/client/model/Event.java | 4 +- .../client/model/EventBatchInput.java | 4 +- .../client/model/EventBatchInputEvent.java | 5 +- .../model/EventBatchInputEventProperties.java | 4 +- .../client/model/EventEstimateFeesInput.java | 4 +- .../model/EventEstimateFeesInputEvent.java | 4 +- .../openapitools/client/model/EventInput.java | 4 +- .../client/model/EventInputEvent.java | 4 +- .../model/EventInputEventTimestamp.java | 4 +- .../client/model/EventObject.java | 4 +- .../client/model/EventObjectProperties.java | 4 +- .../org/openapitools/client/model/Fee.java | 4 +- .../client/model/FeeAppliedTaxObject.java | 4 +- .../openapitools/client/model/FeeObject.java | 5 +- .../client/model/FeeObjectAmountDetails.java | 48 +-- ...lsAllOfGraduatedPercentageRangesInner.java | 296 ++++++++++++++++++ ...mountDetailsAllOfGraduatedRangesInner.java | 4 +- ...ctAmountDetailsAllOfVolumeRangesInner.java | 4 +- .../client/model/FeeObjectItem.java | 4 +- .../client/model/FeeUpdateInput.java | 4 +- .../client/model/FeeUpdateInputFee.java | 4 +- .../org/openapitools/client/model/Fees.java | 5 +- .../client/model/FeesPaginated.java | 5 +- ...enerateCustomerCheckoutURL200Response.java | 4 +- .../GetCustomerPortalUrl200Response.java | 4 +- ...tCustomerPortalUrl200ResponseCustomer.java | 4 +- .../client/model/GrossRevenueObject.java | 4 +- .../client/model/GrossRevenues.java | 5 +- .../client/model/GroupObject.java | 4 +- .../client/model/GroupPropertiesObject.java | 4 +- .../model/GroupPropertiesObjectValues.java | 5 +- .../client/model/GroupsPaginated.java | 5 +- .../openapitools/client/model/Invoice.java | 4 +- .../client/model/InvoiceAppliedTaxObject.java | 4 +- .../client/model/InvoiceCollectionObject.java | 4 +- .../client/model/InvoiceCollections.java | 5 +- .../client/model/InvoiceMetadataObject.java | 4 +- .../client/model/InvoiceObject.java | 5 +- .../client/model/InvoiceObjectCustomer.java | 5 +- .../client/model/InvoiceObjectExtended.java | 5 +- .../model/InvoiceOneOffCreateInput.java | 4 +- .../InvoiceOneOffCreateInputInvoice.java | 5 +- ...oiceOneOffCreateInputInvoiceFeesInner.java | 5 +- .../client/model/InvoiceUpdateInput.java | 4 +- .../model/InvoiceUpdateInputInvoice.java | 5 +- ...nvoiceUpdateInputInvoiceMetadataInner.java | 4 +- .../client/model/InvoicedUsageObject.java | 4 +- .../client/model/InvoicedUsages.java | 5 +- .../client/model/InvoicesPaginated.java | 5 +- .../openapitools/client/model/MrrObject.java | 4 +- .../org/openapitools/client/model/Mrrs.java | 5 +- .../client/model/Organization.java | 4 +- .../OrganizationBillingConfiguration.java | 4 +- .../client/model/OrganizationObject.java | 106 ++++++- .../client/model/OrganizationUpdateInput.java | 4 +- .../OrganizationUpdateInputOrganization.java | 106 ++++++- .../client/model/PaginationMeta.java | 4 +- .../org/openapitools/client/model/Plan.java | 4 +- .../client/model/PlanCreateInput.java | 4 +- .../client/model/PlanCreateInputPlan.java | 5 +- .../PlanCreateInputPlanChargesInner.java | 5 +- ...tPlanChargesInnerGroupPropertiesInner.java | 4 +- .../openapitools/client/model/PlanObject.java | 5 +- .../client/model/PlanOverridesObject.java | 5 +- .../PlanOverridesObjectChargesInner.java | 5 +- .../client/model/PlanUpdateInput.java | 4 +- .../client/model/PlanUpdateInputPlan.java | 5 +- .../PlanUpdateInputPlanChargesInner.java | 5 +- .../client/model/PlansPaginated.java | 5 +- .../client/model/Subscription.java | 4 +- .../client/model/SubscriptionCreateInput.java | 4 +- .../SubscriptionCreateInputSubscription.java | 4 +- .../client/model/SubscriptionObject.java | 4 +- .../model/SubscriptionObjectExtended.java | 4 +- .../client/model/SubscriptionUpdateInput.java | 4 +- .../SubscriptionUpdateInputSubscription.java | 4 +- .../client/model/SubscriptionsPaginated.java | 5 +- .../org/openapitools/client/model/Tax.java | 4 +- .../client/model/TaxBaseInput.java | 4 +- .../client/model/TaxCreateInput.java | 4 +- .../client/model/TaxCreateInputTax.java | 4 +- .../openapitools/client/model/TaxObject.java | 4 +- .../client/model/TaxUpdateInput.java | 14 +- .../client/model/TaxesPaginated.java | 5 +- .../openapitools/client/model/Timezone.java | 2 +- .../org/openapitools/client/model/Wallet.java | 4 +- .../client/model/WalletCreateInput.java | 4 +- .../client/model/WalletCreateInputWallet.java | 5 +- ...tWalletRecurringTransactionRulesInner.java | 4 +- .../client/model/WalletObject.java | 5 +- ...tObjectRecurringTransactionRulesInner.java | 4 +- .../model/WalletTransactionCreateInput.java | 4 +- ...ansactionCreateInputWalletTransaction.java | 4 +- .../client/model/WalletTransactionObject.java | 4 +- .../client/model/WalletTransactions.java | 5 +- .../model/WalletTransactionsPaginated.java | 5 +- .../client/model/WalletUpdateInput.java | 4 +- .../client/model/WalletUpdateInputWallet.java | 5 +- ...tWalletRecurringTransactionRulesInner.java | 4 +- .../client/model/WalletsPaginated.java | 5 +- .../client/model/WebhookEndpoint.java | 4 +- .../model/WebhookEndpointCreateInput.java | 4 +- ...ookEndpointCreateInputWebhookEndpoint.java | 4 +- .../client/model/WebhookEndpointObject.java | 4 +- .../model/WebhookEndpointUpdateInput.java | 4 +- .../model/WebhookEndpointsPaginated.java | 5 +- ...lOfGraduatedPercentageRangesInnerTest.java | 95 ++++++ 225 files changed, 1482 insertions(+), 675 deletions(-) create mode 100644 .travis.yml create mode 100644 docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md create mode 100644 src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.java create mode 100644 src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f69367d..b418735 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -52,7 +52,6 @@ docs/CouponCreateInput.md docs/CouponCreateInputCoupon.md docs/CouponObject.md docs/CouponUpdateInput.md -docs/CouponUpdateInputCoupon.md docs/CouponsApi.md docs/CouponsPaginated.md docs/CreditNote.md @@ -110,6 +109,7 @@ docs/Fee.md docs/FeeAppliedTaxObject.md docs/FeeObject.md docs/FeeObjectAmountDetails.md +docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md docs/FeeObjectAmountDetailsAllOfGraduatedRangesInner.md docs/FeeObjectAmountDetailsAllOfVolumeRangesInner.md docs/FeeObjectItem.md @@ -182,7 +182,6 @@ docs/TaxCreateInput.md docs/TaxCreateInputTax.md docs/TaxObject.md docs/TaxUpdateInput.md -docs/TaxUpdateInputTax.md docs/TaxesApi.md docs/TaxesPaginated.md docs/Timezone.md @@ -210,13 +209,11 @@ docs/WebhookEndpointUpdateInput.md docs/WebhookEndpointsApi.md docs/WebhookEndpointsPaginated.md docs/WebhooksApi.md -git_push.sh gradle.properties gradle/wrapper/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.properties gradlew gradlew.bat -pom.xml settings.gradle src/main/AndroidManifest.xml src/main/java/org/getlago/client/ApiClient.java @@ -289,7 +286,6 @@ src/main/java/org/openapitools/client/model/CouponCreateInput.java src/main/java/org/openapitools/client/model/CouponCreateInputCoupon.java src/main/java/org/openapitools/client/model/CouponObject.java src/main/java/org/openapitools/client/model/CouponUpdateInput.java -src/main/java/org/openapitools/client/model/CouponUpdateInputCoupon.java src/main/java/org/openapitools/client/model/CouponsPaginated.java src/main/java/org/openapitools/client/model/CreditNote.java src/main/java/org/openapitools/client/model/CreditNoteAppliedTaxObject.java @@ -343,6 +339,7 @@ src/main/java/org/openapitools/client/model/Fee.java src/main/java/org/openapitools/client/model/FeeAppliedTaxObject.java src/main/java/org/openapitools/client/model/FeeObject.java src/main/java/org/openapitools/client/model/FeeObjectAmountDetails.java +src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.java src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInner.java src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInner.java src/main/java/org/openapitools/client/model/FeeObjectItem.java @@ -410,7 +407,6 @@ src/main/java/org/openapitools/client/model/TaxCreateInput.java src/main/java/org/openapitools/client/model/TaxCreateInputTax.java src/main/java/org/openapitools/client/model/TaxObject.java src/main/java/org/openapitools/client/model/TaxUpdateInput.java -src/main/java/org/openapitools/client/model/TaxUpdateInputTax.java src/main/java/org/openapitools/client/model/TaxesPaginated.java src/main/java/org/openapitools/client/model/Timezone.java src/main/java/org/openapitools/client/model/Wallet.java @@ -434,208 +430,4 @@ src/main/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEnd src/main/java/org/openapitools/client/model/WebhookEndpointObject.java src/main/java/org/openapitools/client/model/WebhookEndpointUpdateInput.java src/main/java/org/openapitools/client/model/WebhookEndpointsPaginated.java -src/test/java/org/getlago/client/api/AddOnsApiTest.java -src/test/java/org/getlago/client/api/AnalyticsApiTest.java -src/test/java/org/getlago/client/api/BillableMetricsApiTest.java -src/test/java/org/getlago/client/api/CouponsApiTest.java -src/test/java/org/getlago/client/api/CreditNotesApiTest.java -src/test/java/org/getlago/client/api/CustomersApiTest.java -src/test/java/org/getlago/client/api/EventsApiTest.java -src/test/java/org/getlago/client/api/FeesApiTest.java -src/test/java/org/getlago/client/api/InvoicesApiTest.java -src/test/java/org/getlago/client/api/OrganizationsApiTest.java -src/test/java/org/getlago/client/api/PlansApiTest.java -src/test/java/org/getlago/client/api/SubscriptionsApiTest.java -src/test/java/org/getlago/client/api/TaxesApiTest.java -src/test/java/org/getlago/client/api/WalletsApiTest.java -src/test/java/org/getlago/client/api/WebhookEndpointsApiTest.java -src/test/java/org/getlago/client/api/WebhooksApiTest.java -src/test/java/org/openapitools/client/model/AddOnBaseInputTest.java -src/test/java/org/openapitools/client/model/AddOnCreateInputAddOnTest.java -src/test/java/org/openapitools/client/model/AddOnCreateInputTest.java -src/test/java/org/openapitools/client/model/AddOnObjectTest.java -src/test/java/org/openapitools/client/model/AddOnTest.java -src/test/java/org/openapitools/client/model/AddOnUpdateInputTest.java -src/test/java/org/openapitools/client/model/AddOnsPaginatedTest.java -src/test/java/org/openapitools/client/model/ApiErrorBadRequestTest.java -src/test/java/org/openapitools/client/model/ApiErrorForbiddenTest.java -src/test/java/org/openapitools/client/model/ApiErrorNotAllowedTest.java -src/test/java/org/openapitools/client/model/ApiErrorNotFoundTest.java -src/test/java/org/openapitools/client/model/ApiErrorUnauthorizedTest.java -src/test/java/org/openapitools/client/model/ApiErrorUnprocessableEntityTest.java -src/test/java/org/openapitools/client/model/AppliedCouponInputAppliedCouponTest.java -src/test/java/org/openapitools/client/model/AppliedCouponInputTest.java -src/test/java/org/openapitools/client/model/AppliedCouponObjectExtendedTest.java -src/test/java/org/openapitools/client/model/AppliedCouponObjectTest.java -src/test/java/org/openapitools/client/model/AppliedCouponTest.java -src/test/java/org/openapitools/client/model/AppliedCouponsPaginatedTest.java -src/test/java/org/openapitools/client/model/BaseAppliedTaxTest.java -src/test/java/org/openapitools/client/model/BillableMetricBaseInputTest.java -src/test/java/org/openapitools/client/model/BillableMetricCreateInputBillableMetricTest.java -src/test/java/org/openapitools/client/model/BillableMetricCreateInputTest.java -src/test/java/org/openapitools/client/model/BillableMetricGroupTest.java -src/test/java/org/openapitools/client/model/BillableMetricGroupValuesInnerOneOfTest.java -src/test/java/org/openapitools/client/model/BillableMetricGroupValuesInnerTest.java -src/test/java/org/openapitools/client/model/BillableMetricObjectTest.java -src/test/java/org/openapitools/client/model/BillableMetricTest.java -src/test/java/org/openapitools/client/model/BillableMetricUpdateInputTest.java -src/test/java/org/openapitools/client/model/BillableMetricsPaginatedTest.java -src/test/java/org/openapitools/client/model/ChargeObjectPropertiesTest.java -src/test/java/org/openapitools/client/model/ChargeObjectTest.java -src/test/java/org/openapitools/client/model/ChargePropertiesGraduatedPercentageRangesInnerTest.java -src/test/java/org/openapitools/client/model/ChargePropertiesGraduatedRangesInnerTest.java -src/test/java/org/openapitools/client/model/ChargePropertiesTest.java -src/test/java/org/openapitools/client/model/ChargePropertiesVolumeRangesInnerTest.java -src/test/java/org/openapitools/client/model/CountryTest.java -src/test/java/org/openapitools/client/model/CouponBaseInputAppliesToTest.java -src/test/java/org/openapitools/client/model/CouponBaseInputTest.java -src/test/java/org/openapitools/client/model/CouponCreateInputCouponTest.java -src/test/java/org/openapitools/client/model/CouponCreateInputTest.java -src/test/java/org/openapitools/client/model/CouponObjectTest.java -src/test/java/org/openapitools/client/model/CouponTest.java -src/test/java/org/openapitools/client/model/CouponUpdateInputCouponTest.java -src/test/java/org/openapitools/client/model/CouponUpdateInputTest.java -src/test/java/org/openapitools/client/model/CouponsPaginatedTest.java -src/test/java/org/openapitools/client/model/CreditNoteAppliedTaxObjectTest.java -src/test/java/org/openapitools/client/model/CreditNoteCreateInputCreditNoteTest.java -src/test/java/org/openapitools/client/model/CreditNoteCreateInputTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteItemsInnerTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimateInputTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInnerTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteItemsInnerTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteTest.java -src/test/java/org/openapitools/client/model/CreditNoteEstimatedTest.java -src/test/java/org/openapitools/client/model/CreditNoteItemObjectFeeTest.java -src/test/java/org/openapitools/client/model/CreditNoteItemObjectTest.java -src/test/java/org/openapitools/client/model/CreditNoteObjectTest.java -src/test/java/org/openapitools/client/model/CreditNoteTest.java -src/test/java/org/openapitools/client/model/CreditNoteUpdateInputCreditNoteTest.java -src/test/java/org/openapitools/client/model/CreditNoteUpdateInputTest.java -src/test/java/org/openapitools/client/model/CreditNotesTest.java -src/test/java/org/openapitools/client/model/CreditObjectInvoiceTest.java -src/test/java/org/openapitools/client/model/CreditObjectItemTest.java -src/test/java/org/openapitools/client/model/CreditObjectTest.java -src/test/java/org/openapitools/client/model/CurrencyTest.java -src/test/java/org/openapitools/client/model/CustomerBillingConfigurationTest.java -src/test/java/org/openapitools/client/model/CustomerChargeUsageObjectBillableMetricTest.java -src/test/java/org/openapitools/client/model/CustomerChargeUsageObjectChargeTest.java -src/test/java/org/openapitools/client/model/CustomerChargeUsageObjectGroupsInnerTest.java -src/test/java/org/openapitools/client/model/CustomerChargeUsageObjectTest.java -src/test/java/org/openapitools/client/model/CustomerCreateInputCustomerMetadataInnerTest.java -src/test/java/org/openapitools/client/model/CustomerCreateInputCustomerTest.java -src/test/java/org/openapitools/client/model/CustomerCreateInputTest.java -src/test/java/org/openapitools/client/model/CustomerMetadataTest.java -src/test/java/org/openapitools/client/model/CustomerObjectExtendedTest.java -src/test/java/org/openapitools/client/model/CustomerObjectTest.java -src/test/java/org/openapitools/client/model/CustomerPastUsageTest.java -src/test/java/org/openapitools/client/model/CustomerTest.java -src/test/java/org/openapitools/client/model/CustomerUsageObjectTest.java -src/test/java/org/openapitools/client/model/CustomerUsageTest.java -src/test/java/org/openapitools/client/model/CustomersPaginatedTest.java -src/test/java/org/openapitools/client/model/EventBatchInputEventPropertiesTest.java -src/test/java/org/openapitools/client/model/EventBatchInputEventTest.java -src/test/java/org/openapitools/client/model/EventBatchInputTest.java -src/test/java/org/openapitools/client/model/EventEstimateFeesInputEventTest.java -src/test/java/org/openapitools/client/model/EventEstimateFeesInputTest.java -src/test/java/org/openapitools/client/model/EventInputEventTest.java -src/test/java/org/openapitools/client/model/EventInputEventTimestampTest.java -src/test/java/org/openapitools/client/model/EventInputTest.java -src/test/java/org/openapitools/client/model/EventObjectPropertiesTest.java -src/test/java/org/openapitools/client/model/EventObjectTest.java -src/test/java/org/openapitools/client/model/EventTest.java -src/test/java/org/openapitools/client/model/FeeAppliedTaxObjectTest.java -src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInnerTest.java -src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInnerTest.java -src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsTest.java -src/test/java/org/openapitools/client/model/FeeObjectItemTest.java -src/test/java/org/openapitools/client/model/FeeObjectTest.java -src/test/java/org/openapitools/client/model/FeeTest.java -src/test/java/org/openapitools/client/model/FeeUpdateInputFeeTest.java -src/test/java/org/openapitools/client/model/FeeUpdateInputTest.java -src/test/java/org/openapitools/client/model/FeesPaginatedTest.java -src/test/java/org/openapitools/client/model/FeesTest.java -src/test/java/org/openapitools/client/model/GenerateCustomerCheckoutURL200ResponseTest.java -src/test/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseCustomerTest.java -src/test/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseTest.java -src/test/java/org/openapitools/client/model/GrossRevenueObjectTest.java -src/test/java/org/openapitools/client/model/GrossRevenuesTest.java -src/test/java/org/openapitools/client/model/GroupObjectTest.java -src/test/java/org/openapitools/client/model/GroupPropertiesObjectTest.java -src/test/java/org/openapitools/client/model/GroupPropertiesObjectValuesTest.java -src/test/java/org/openapitools/client/model/GroupsPaginatedTest.java -src/test/java/org/openapitools/client/model/InvoiceAppliedTaxObjectTest.java -src/test/java/org/openapitools/client/model/InvoiceCollectionObjectTest.java -src/test/java/org/openapitools/client/model/InvoiceCollectionsTest.java -src/test/java/org/openapitools/client/model/InvoiceMetadataObjectTest.java -src/test/java/org/openapitools/client/model/InvoiceObjectCustomerTest.java -src/test/java/org/openapitools/client/model/InvoiceObjectExtendedTest.java -src/test/java/org/openapitools/client/model/InvoiceObjectTest.java -src/test/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceFeesInnerTest.java -src/test/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceTest.java -src/test/java/org/openapitools/client/model/InvoiceOneOffCreateInputTest.java -src/test/java/org/openapitools/client/model/InvoiceTest.java -src/test/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceMetadataInnerTest.java -src/test/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceTest.java -src/test/java/org/openapitools/client/model/InvoiceUpdateInputTest.java -src/test/java/org/openapitools/client/model/InvoicedUsageObjectTest.java -src/test/java/org/openapitools/client/model/InvoicedUsagesTest.java -src/test/java/org/openapitools/client/model/InvoicesPaginatedTest.java -src/test/java/org/openapitools/client/model/MrrObjectTest.java -src/test/java/org/openapitools/client/model/MrrsTest.java -src/test/java/org/openapitools/client/model/OrganizationBillingConfigurationTest.java -src/test/java/org/openapitools/client/model/OrganizationObjectTest.java -src/test/java/org/openapitools/client/model/OrganizationTest.java -src/test/java/org/openapitools/client/model/OrganizationUpdateInputOrganizationTest.java -src/test/java/org/openapitools/client/model/OrganizationUpdateInputTest.java -src/test/java/org/openapitools/client/model/PaginationMetaTest.java -src/test/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerGroupPropertiesInnerTest.java -src/test/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerTest.java -src/test/java/org/openapitools/client/model/PlanCreateInputPlanTest.java -src/test/java/org/openapitools/client/model/PlanCreateInputTest.java -src/test/java/org/openapitools/client/model/PlanObjectTest.java -src/test/java/org/openapitools/client/model/PlanOverridesObjectChargesInnerTest.java -src/test/java/org/openapitools/client/model/PlanOverridesObjectTest.java -src/test/java/org/openapitools/client/model/PlanTest.java -src/test/java/org/openapitools/client/model/PlanUpdateInputPlanChargesInnerTest.java -src/test/java/org/openapitools/client/model/PlanUpdateInputPlanTest.java -src/test/java/org/openapitools/client/model/PlanUpdateInputTest.java -src/test/java/org/openapitools/client/model/PlansPaginatedTest.java -src/test/java/org/openapitools/client/model/SubscriptionCreateInputSubscriptionTest.java -src/test/java/org/openapitools/client/model/SubscriptionCreateInputTest.java -src/test/java/org/openapitools/client/model/SubscriptionObjectExtendedTest.java -src/test/java/org/openapitools/client/model/SubscriptionObjectTest.java -src/test/java/org/openapitools/client/model/SubscriptionTest.java -src/test/java/org/openapitools/client/model/SubscriptionUpdateInputSubscriptionTest.java -src/test/java/org/openapitools/client/model/SubscriptionUpdateInputTest.java -src/test/java/org/openapitools/client/model/SubscriptionsPaginatedTest.java -src/test/java/org/openapitools/client/model/TaxBaseInputTest.java -src/test/java/org/openapitools/client/model/TaxCreateInputTaxTest.java -src/test/java/org/openapitools/client/model/TaxCreateInputTest.java -src/test/java/org/openapitools/client/model/TaxObjectTest.java -src/test/java/org/openapitools/client/model/TaxTest.java -src/test/java/org/openapitools/client/model/TaxUpdateInputTaxTest.java -src/test/java/org/openapitools/client/model/TaxUpdateInputTest.java -src/test/java/org/openapitools/client/model/TaxesPaginatedTest.java -src/test/java/org/openapitools/client/model/TimezoneTest.java -src/test/java/org/openapitools/client/model/WalletCreateInputTest.java -src/test/java/org/openapitools/client/model/WalletCreateInputWalletRecurringTransactionRulesInnerTest.java -src/test/java/org/openapitools/client/model/WalletCreateInputWalletTest.java -src/test/java/org/openapitools/client/model/WalletObjectRecurringTransactionRulesInnerTest.java -src/test/java/org/openapitools/client/model/WalletObjectTest.java -src/test/java/org/openapitools/client/model/WalletTest.java -src/test/java/org/openapitools/client/model/WalletTransactionCreateInputTest.java -src/test/java/org/openapitools/client/model/WalletTransactionCreateInputWalletTransactionTest.java -src/test/java/org/openapitools/client/model/WalletTransactionObjectTest.java -src/test/java/org/openapitools/client/model/WalletTransactionsPaginatedTest.java -src/test/java/org/openapitools/client/model/WalletTransactionsTest.java -src/test/java/org/openapitools/client/model/WalletUpdateInputTest.java -src/test/java/org/openapitools/client/model/WalletUpdateInputWalletRecurringTransactionRulesInnerTest.java -src/test/java/org/openapitools/client/model/WalletUpdateInputWalletTest.java -src/test/java/org/openapitools/client/model/WalletsPaginatedTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointCreateInputTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEndpointTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointObjectTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointUpdateInputTest.java -src/test/java/org/openapitools/client/model/WebhookEndpointsPaginatedTest.java +src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 757e674..0f78c31 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.0.0-SNAPSHOT \ No newline at end of file +7.2.0-SNAPSHOT \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1b6741c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +# +# Generated by OpenAPI Generator: https://openapi-generator.tech +# +# Ref: https://docs.travis-ci.com/user/languages/java/ +# +language: java +jdk: + - openjdk12 + - openjdk11 + - openjdk10 + - openjdk9 + - openjdk8 +before_install: + # ensure gradlew has proper permission + - chmod a+x ./gradlew +script: + # test using maven + #- mvn test + # test using gradle + - gradle test + # test using sbt + # - sbt test diff --git a/README.md b/README.md index 02f5bff..c7b9ab8 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ Lago API documentation -- API version: 0.52.2-beta +- API version: 0.53.0-beta -- Build date: 2023-12-07T16:08:18.203563Z[Etc/UTC] +- Build date: 2023-12-27T14:12:55.372025191Z[Etc/UTC] Lago API allows your application to push customer information and metrics (events) from your application to the billing application. @@ -42,7 +42,7 @@ Add this dependency to your project's POM: org.openapitools lago-java-client - 0.52.2-beta + 0.53.0-beta compile ``` @@ -58,7 +58,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "org.openapitools:lago-java-client:0.52.2-beta" + implementation "org.openapitools:lago-java-client:0.53.0-beta" } ``` @@ -72,7 +72,7 @@ mvn clean package Then manually install the following JARs: -- `target/lago-java-client-0.52.2-beta.jar` +- `target/lago-java-client-0.53.0-beta.jar` - `target/lib/*.jar` ## Getting Started @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description *InvoicesApi* | [**refreshInvoice**](docs/InvoicesApi.md#refreshInvoice) | **PUT** /invoices/{lago_id}/refresh | Refresh a draft invoice *InvoicesApi* | [**retryPayment**](docs/InvoicesApi.md#retryPayment) | **POST** /invoices/{lago_id}/retry_payment | Retry an invoice payment *InvoicesApi* | [**updateInvoice**](docs/InvoicesApi.md#updateInvoice) | **PUT** /invoices/{lago_id} | Update an invoice +*InvoicesApi* | [**voidInvoice**](docs/InvoicesApi.md#voidInvoice) | **POST** /invoices/{lago_id}/void | Void an invoice *OrganizationsApi* | [**updateOrganization**](docs/OrganizationsApi.md#updateOrganization) | **PUT** /organizations | Update your organization *PlansApi* | [**createPlan**](docs/PlansApi.md#createPlan) | **POST** /plans | Create a plan *PlansApi* | [**destroyPlan**](docs/PlansApi.md#destroyPlan) | **DELETE** /plans/{code} | Delete a plan @@ -250,7 +251,6 @@ Class | Method | HTTP request | Description - [CouponCreateInputCoupon](docs/CouponCreateInputCoupon.md) - [CouponObject](docs/CouponObject.md) - [CouponUpdateInput](docs/CouponUpdateInput.md) - - [CouponUpdateInputCoupon](docs/CouponUpdateInputCoupon.md) - [CouponsPaginated](docs/CouponsPaginated.md) - [CreditNote](docs/CreditNote.md) - [CreditNoteAppliedTaxObject](docs/CreditNoteAppliedTaxObject.md) @@ -304,6 +304,7 @@ Class | Method | HTTP request | Description - [FeeAppliedTaxObject](docs/FeeAppliedTaxObject.md) - [FeeObject](docs/FeeObject.md) - [FeeObjectAmountDetails](docs/FeeObjectAmountDetails.md) + - [FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner](docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md) - [FeeObjectAmountDetailsAllOfGraduatedRangesInner](docs/FeeObjectAmountDetailsAllOfGraduatedRangesInner.md) - [FeeObjectAmountDetailsAllOfVolumeRangesInner](docs/FeeObjectAmountDetailsAllOfVolumeRangesInner.md) - [FeeObjectItem](docs/FeeObjectItem.md) @@ -371,7 +372,6 @@ Class | Method | HTTP request | Description - [TaxCreateInputTax](docs/TaxCreateInputTax.md) - [TaxObject](docs/TaxObject.md) - [TaxUpdateInput](docs/TaxUpdateInput.md) - - [TaxUpdateInputTax](docs/TaxUpdateInputTax.md) - [TaxesPaginated](docs/TaxesPaginated.md) - [Timezone](docs/Timezone.md) - [Wallet](docs/Wallet.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 7036aeb..31c7cfc 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -7,7 +7,7 @@ info: license: name: AGPLv3 title: Lago API documentation - version: 0.52.2-beta + version: 0.53.0-beta externalDocs: description: Lago Github url: https://github.com/getlago @@ -2670,6 +2670,48 @@ paths: tags: - invoices x-accepts: application/json + /invoices/{lago_id}/void: + post: + description: "This endpoint is used for voiding an invoice. You can void an\ + \ invoice only when it's in a `finalized` status, and the payment status is\ + \ not `succeeded`." + operationId: voidInvoice + parameters: + - description: Unique identifier assigned to the invoice within the Lago application. + This ID is exclusively created by Lago and serves as a unique identifier + for the invoice’s record within the Lago system. + explode: false + in: path + name: lago_id + required: true + schema: + example: 1a901a90-1a90-1a90-1a90-1a901a901a90 + format: uuid + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/Invoice' + description: Invoice voided + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorUnauthorized' + description: Unauthorized error + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ApiErrorNotFound' + description: Not Found error + summary: Void an invoice + tags: + - invoices + x-accepts: application/json /organizations: put: description: This endpoint is used to update your own organization's settings. @@ -5927,10 +5969,11 @@ components: type: object CouponUpdateInput: example: - coupon: null + coupon: "" properties: coupon: - $ref: '#/components/schemas/CouponUpdateInput_coupon' + allOf: + - $ref: '#/components/schemas/CouponBaseInput' required: - coupon type: object @@ -8648,6 +8691,8 @@ components: zipcode: "10000" address_line2: address_line2 address_line1: 100 Brex Street + document_numbering: per_customer + document_number_prefix: ORG-1234 name: Name1 net_payment_term: 30 lago_id: 1a901a90-1a90-1a90-1a90-1a901a901a90 @@ -8730,6 +8775,8 @@ components: zipcode: "10000" address_line2: address_line2 address_line1: 100 Brex Street + document_numbering: per_customer + document_number_prefix: ORG-1234 name: Name1 net_payment_term: 30 lago_id: 1a901a90-1a90-1a90-1a90-1a901a901a90 @@ -8831,6 +8878,26 @@ components: nullable: true type: string example: null + document_numbering: + description: |- + This parameter configures the method of incrementing invoice numbers for your customers. + + - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. + - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. + + The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + enum: + - per_customer + - per_organization + example: per_customer + type: string + document_number_prefix: + description: "Sets the prefix for invoices and credit notes. Default is\ + \ the first three letters of your organization name plus the last four\ + \ digits of your organization ID. Customizable within 1-10 characters,\ + \ and automatically capitalized by Lago." + example: ORG-1234 + type: string net_payment_term: description: "The net payment term, expressed in days, specifies the duration\ \ within which a customer is expected to remit payment after the invoice\ @@ -8858,6 +8925,8 @@ components: required: - billing_configuration - created_at + - document_number_prefix + - document_numbering - email_settings - lago_id - name @@ -8880,6 +8949,8 @@ components: zipcode: "10000" address_line2: address_line2 address_line1: 100 Brex Street + document_numbering: per_customer + document_number_prefix: ORG-1234 net_payment_term: 30 state: NYC legal_name: legal_name @@ -10519,10 +10590,11 @@ components: type: object TaxUpdateInput: example: - tax: null + tax: "" properties: tax: - $ref: '#/components/schemas/TaxUpdateInput_tax' + allOf: + - $ref: '#/components/schemas/TaxBaseInput' required: - tax type: object @@ -11496,9 +11568,6 @@ components: - coupon_type - frequency - name - CouponUpdateInput_coupon: - allOf: - - $ref: '#/components/schemas/CouponBaseInput' CreditNoteEstimateInput_credit_note_items_inner: properties: fee_id: @@ -12391,6 +12460,54 @@ components: - total_with_flat_amount - units type: object + FeeObject_amount_details_allOf_graduated_percentage_ranges_inner: + properties: + units: + description: Total units received in Lago. + example: "10.0" + pattern: "^[0-9]+.?[0-9]*$" + type: string + from_value: + description: Lower value of a tier. It is either 0 or the previous range's + `to_value + 1`. + example: 0 + type: integer + to_value: + description: |- + Highest value of a tier. + - This value is higher than the from_value of the same tier. + - This value is null for the last tier. + example: 10 + nullable: true + type: integer + flat_unit_amount: + description: Flat unit amount within a specified tier. + example: "1.0" + type: string + rate: + description: Percentage rate applied within a specified tier. + example: "1.0" + format: "^[0-9]+.?[0-9]*$" + type: string + per_unit_total_amount: + description: Total amount of received units to be charged within a specified + tier. + example: "10.0" + type: string + total_with_flat_amount: + description: "Total amount to be charged for a specific tier, taking into\ + \ account the flat_unit_amount and the per_unit_total_amount." + example: "11.0" + type: string + required: + - flat_unit_amount + - from_value + - per_unit_total_amount + - rate + - to_value + - total_with_flat_amount + - units + type: object FeeObject_amount_details_allOf_volume_ranges_inner: properties: per_unit_amount: @@ -12427,7 +12544,7 @@ components: description: "Graduated percentage ranges, used for a `graduated_percentage`\ \ charge model." items: - $ref: '#/components/schemas/FeeObject_amount_details_allOf_graduated_ranges_inner' + $ref: '#/components/schemas/FeeObject_amount_details_allOf_graduated_percentage_ranges_inner' type: array free_units: description: The quantity of units that are provided free of charge for @@ -12463,9 +12580,10 @@ components: model. example: 10 type: integer - per_unit_amount: - description: Amount per unit for the Percentage charge model. + rate: + description: Percentage rate applied for the Percentage charge model. example: "1.0" + format: "^[0-9]+.?[0-9]*$" type: string per_unit_total_amount: description: Total amount of received units to be charged for the Percentage @@ -12746,6 +12864,8 @@ components: zipcode: "10000" address_line2: address_line2 address_line1: 100 Brex Street + document_numbering: per_customer + document_number_prefix: ORG-1234 net_payment_term: 30 state: NYC legal_name: legal_name @@ -12814,6 +12934,26 @@ components: nullable: true type: string example: null + document_numbering: + description: |- + This parameter configures the method of incrementing invoice numbers for your customers. + + - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. + - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. + + The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + enum: + - per_customer + - per_organization + example: per_customer + type: string + document_number_prefix: + description: "Sets the prefix for invoices and credit notes. Default is\ + \ the first three letters of your organization name plus the last four\ + \ digits of your organization ID. Customizable within 1-10 characters,\ + \ and automatically capitalized by Lago." + example: ORG-1234 + type: string net_payment_term: description: "The net payment term, expressed in days, specifies the duration\ \ within which a customer is expected to remit payment after the invoice\ @@ -13766,9 +13906,6 @@ components: - code - name - rate - TaxUpdateInput_tax: - allOf: - - $ref: '#/components/schemas/TaxBaseInput' WalletCreateInput_wallet_recurring_transaction_rules_inner: description: Object that represents rule for wallet recurring transactions. example: @@ -14071,6 +14208,10 @@ components: \ one recurring rule per wallet." items: $ref: '#/components/schemas/WalletUpdateInput_wallet_recurring_transaction_rules_inner' + required: + - granted_credits + - paid_credits + - rule_type type: array type: object WebhookEndpointCreateInput_webhook_endpoint: diff --git a/build.gradle b/build.gradle index 3c2c30b..a390801 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'org.openapitools' -version = '0.52.2-beta' +version = '0.53.0-beta' buildscript { repositories { @@ -57,9 +57,9 @@ if(hasProperty('target') && target == 'android') { def task = project.tasks.create "jar${variant.name.capitalize()}", Jar task.description = "Create jar artifact for ${variant.name}" task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDir - task.destinationDir = project.file("${project.buildDir}/outputs/jar") - task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" + task.from variant.javaCompile.destinationDirectory + task.destinationDirectory = project.file("${project.buildDir}/outputs/jar") + task.archiveFileName = "${project.name}-${variant.baseName}-${version}.jar" artifacts.add('archives', task); } } @@ -112,10 +112,10 @@ if(hasProperty('target') && target == 'android') { } ext { - spring_boot_version = "2.6.6" + spring_boot_version = "2.7.17" jakarta_annotation_version = "1.3.5" - reactor_version = "3.4.3" - reactor_netty_version = "1.0.4" + reactor_version = "3.4.34" + reactor_netty_version = "1.0.39" jackson_version = "2.13.4" jackson_databind_version = "2.13.4.2" jackson_databind_nullable_version = "0.2.6" diff --git a/docs/CouponUpdateInput.md b/docs/CouponUpdateInput.md index 6379212..b743bb4 100644 --- a/docs/CouponUpdateInput.md +++ b/docs/CouponUpdateInput.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**coupon** | [**CouponUpdateInputCoupon**](CouponUpdateInputCoupon.md) | | | +|**coupon** | [**CouponBaseInput**](CouponBaseInput.md) | | | diff --git a/docs/FeeObjectAmountDetails.md b/docs/FeeObjectAmountDetails.md index 8115733..5235c3c 100644 --- a/docs/FeeObjectAmountDetails.md +++ b/docs/FeeObjectAmountDetails.md @@ -8,14 +8,14 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**graduatedRanges** | [**List<FeeObjectAmountDetailsAllOfGraduatedRangesInner>**](FeeObjectAmountDetailsAllOfGraduatedRangesInner.md) | Graduated ranges, used for a `graduated` charge model. | [optional] | -|**graduatedPercentageRanges** | [**List<FeeObjectAmountDetailsAllOfGraduatedRangesInner>**](FeeObjectAmountDetailsAllOfGraduatedRangesInner.md) | Graduated percentage ranges, used for a `graduated_percentage` charge model. | [optional] | +|**graduatedPercentageRanges** | [**List<FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner>**](FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md) | Graduated percentage ranges, used for a `graduated_percentage` charge model. | [optional] | |**freeUnits** | **String** | The quantity of units that are provided free of charge for each billing period in a `package` charge model. | [optional] | |**paidUnits** | **String** | The quantity of units that are not provided free of charge for each billing period in a `package` charge model. | [optional] | |**perPackageSize** | **Integer** | The quantity of units included, defined for Package or Percentage charge model. | [optional] | |**perPackageUnitAmount** | **String** | Total amount to charge for received paid_units, defined for Package or Percentage charge model. | [optional] | |**units** | **String** | The total units received in Lago for the Percentage charge model. | [optional] | |**freeEvents** | **Integer** | Total number of free events allowed for the Percentage charge model. | [optional] | -|**perUnitAmount** | **String** | Amount per unit for the Percentage charge model. | [optional] | +|**rate** | **String** | Percentage rate applied for the Percentage charge model. | [optional] | |**perUnitTotalAmount** | **String** | Total amount of received units to be charged for the Percentage charge model. | [optional] | |**paidEvents** | **Integer** | Total number of paid events for the Percentage charge model. | [optional] | |**fixedFeeUnitAmount** | **String** | Fixed fee unit price per received paid_event for the Percentage charge model. | [optional] | diff --git a/docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md b/docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md new file mode 100644 index 0000000..17fa8c5 --- /dev/null +++ b/docs/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.md @@ -0,0 +1,19 @@ + + +# FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**units** | **String** | Total units received in Lago. | | +|**fromValue** | **Integer** | Lower value of a tier. It is either 0 or the previous range's `to_value + 1`. | | +|**toValue** | **Integer** | Highest value of a tier. - This value is higher than the from_value of the same tier. - This value is null for the last tier. | | +|**flatUnitAmount** | **String** | Flat unit amount within a specified tier. | | +|**rate** | **String** | Percentage rate applied within a specified tier. | | +|**perUnitTotalAmount** | **String** | Total amount of received units to be charged within a specified tier. | | +|**totalWithFlatAmount** | **String** | Total amount to be charged for a specific tier, taking into account the flat_unit_amount and the per_unit_total_amount. | | + + + diff --git a/docs/InvoicesApi.md b/docs/InvoicesApi.md index ad3ddd4..aacbecb 100644 --- a/docs/InvoicesApi.md +++ b/docs/InvoicesApi.md @@ -12,6 +12,7 @@ All URIs are relative to *https://api.getlago.com/api/v1* | [**refreshInvoice**](InvoicesApi.md#refreshInvoice) | **PUT** /invoices/{lago_id}/refresh | Refresh a draft invoice | | [**retryPayment**](InvoicesApi.md#retryPayment) | **POST** /invoices/{lago_id}/retry_payment | Retry an invoice payment | | [**updateInvoice**](InvoicesApi.md#updateInvoice) | **PUT** /invoices/{lago_id} | Update an invoice | +| [**voidInvoice**](InvoicesApi.md#voidInvoice) | **POST** /invoices/{lago_id}/void | Void an invoice | @@ -614,3 +615,76 @@ public class Example { | **404** | Not Found error | - | | **422** | Unprocessable entity error | - | + +## voidInvoice + +> Invoice voidInvoice(lagoId) + +Void an invoice + +This endpoint is used for voiding an invoice. You can void an invoice only when it's in a `finalized` status, and the payment status is not `succeeded`. + +### Example + +```java +// Import classes: +import org.getlago.client.ApiClient; +import org.getlago.client.ApiException; +import org.getlago.client.Configuration; +import org.getlago.client.auth.*; +import org.getlago.client.models.*; +import org.getlago.client.api.InvoicesApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.getlago.com/api/v1"); + + // Configure HTTP bearer authorization: bearerAuth + HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth"); + bearerAuth.setBearerToken("BEARER TOKEN"); + + InvoicesApi apiInstance = new InvoicesApi(defaultClient); + UUID lagoId = UUID.fromString("1a901a90-1a90-1a90-1a90-1a901a901a90"); // UUID | Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. + try { + Invoice result = apiInstance.voidInvoice(lagoId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InvoicesApi#voidInvoice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **lagoId** | **UUID**| Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. | | + +### Return type + +[**Invoice**](Invoice.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Invoice voided | - | +| **401** | Unauthorized error | - | +| **404** | Not Found error | - | + diff --git a/docs/OrganizationObject.md b/docs/OrganizationObject.md index 500af04..ef3f5ce 100644 --- a/docs/OrganizationObject.md +++ b/docs/OrganizationObject.md @@ -22,6 +22,8 @@ |**city** | **String** | The city of your organization’s billing address. | [optional] | |**legalName** | **String** | The legal name of your organization. | [optional] | |**legalNumber** | **String** | The legal number of your organization. | [optional] | +|**documentNumbering** | [**DocumentNumberingEnum**](#DocumentNumberingEnum) | This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. | | +|**documentNumberPrefix** | **String** | Sets the prefix for invoices and credit notes. Default is the first three letters of your organization name plus the last four digits of your organization ID. Customizable within 1-10 characters, and automatically capitalized by Lago. | | |**netPaymentTerm** | **Integer** | The net payment term, expressed in days, specifies the duration within which a customer is expected to remit payment after the invoice is finalized. | [optional] | |**taxIdentificationNumber** | **String** | The tax identification number of your organization. | [optional] | |**timezone** | [**Timezone**](Timezone.md) | | [optional] | @@ -30,3 +32,12 @@ +## Enum: DocumentNumberingEnum + +| Name | Value | +|---- | -----| +| CUSTOMER | "per_customer" | +| ORGANIZATION | "per_organization" | + + + diff --git a/docs/OrganizationUpdateInputOrganization.md b/docs/OrganizationUpdateInputOrganization.md index 1ad5bad..aa1df37 100644 --- a/docs/OrganizationUpdateInputOrganization.md +++ b/docs/OrganizationUpdateInputOrganization.md @@ -18,6 +18,8 @@ |**city** | **String** | The city of your organization’s billing address. | [optional] | |**legalName** | **String** | The legal name of your organization. | [optional] | |**legalNumber** | **String** | The legal number of your organization. | [optional] | +|**documentNumbering** | [**DocumentNumberingEnum**](#DocumentNumberingEnum) | This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. | [optional] | +|**documentNumberPrefix** | **String** | Sets the prefix for invoices and credit notes. Default is the first three letters of your organization name plus the last four digits of your organization ID. Customizable within 1-10 characters, and automatically capitalized by Lago. | [optional] | |**netPaymentTerm** | **Integer** | The net payment term, expressed in days, specifies the duration within which a customer is expected to remit payment after the invoice is finalized. | [optional] | |**taxIdentificationNumber** | **String** | The tax identification number of your organization. | [optional] | |**timezone** | [**Timezone**](Timezone.md) | | [optional] | @@ -26,6 +28,15 @@ +## Enum: DocumentNumberingEnum + +| Name | Value | +|---- | -----| +| CUSTOMER | "per_customer" | +| ORGANIZATION | "per_organization" | + + + ## Enum: List<EmailSettingsEnum> | Name | Value | diff --git a/docs/TaxUpdateInput.md b/docs/TaxUpdateInput.md index 067d663..f4b1dc0 100644 --- a/docs/TaxUpdateInput.md +++ b/docs/TaxUpdateInput.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**tax** | [**TaxUpdateInputTax**](TaxUpdateInputTax.md) | | | +|**tax** | [**TaxBaseInput**](TaxBaseInput.md) | | | diff --git a/src/main/java/org/getlago/client/ApiClient.java b/src/main/java/org/getlago/client/ApiClient.java index a498f3e..e7047a5 100644 --- a/src/main/java/org/getlago/client/ApiClient.java +++ b/src/main/java/org/getlago/client/ApiClient.java @@ -4,8 +4,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import org.openapitools.jackson.nullable.JsonNullableModule; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; @@ -69,7 +67,7 @@ import org.getlago.client.auth.HttpBearerAuth; import org.getlago.client.auth.ApiKeyAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/src/main/java/org/getlago/client/JavaTimeFormatter.java b/src/main/java/org/getlago/client/JavaTimeFormatter.java index 6a17222..9204fa9 100644 --- a/src/main/java/org/getlago/client/JavaTimeFormatter.java +++ b/src/main/java/org/getlago/client/JavaTimeFormatter.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/getlago/client/RFC3339DateFormat.java b/src/main/java/org/getlago/client/RFC3339DateFormat.java index 6074720..28c8ca8 100644 --- a/src/main/java/org/getlago/client/RFC3339DateFormat.java +++ b/src/main/java/org/getlago/client/RFC3339DateFormat.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/org/getlago/client/StringUtil.java b/src/main/java/org/getlago/client/StringUtil.java index 69edbde..348f124 100644 --- a/src/main/java/org/getlago/client/StringUtil.java +++ b/src/main/java/org/getlago/client/StringUtil.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/getlago/client/api/AddOnsApi.java b/src/main/java/org/getlago/client/api/AddOnsApi.java index d056820..53a9dd5 100644 --- a/src/main/java/org/getlago/client/api/AddOnsApi.java +++ b/src/main/java/org/getlago/client/api/AddOnsApi.java @@ -32,7 +32,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/AnalyticsApi.java b/src/main/java/org/getlago/client/api/AnalyticsApi.java index 4ccc6c8..1515d68 100644 --- a/src/main/java/org/getlago/client/api/AnalyticsApi.java +++ b/src/main/java/org/getlago/client/api/AnalyticsApi.java @@ -30,7 +30,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AnalyticsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/BillableMetricsApi.java b/src/main/java/org/getlago/client/api/BillableMetricsApi.java index 4258b72..dfae3a2 100644 --- a/src/main/java/org/getlago/client/api/BillableMetricsApi.java +++ b/src/main/java/org/getlago/client/api/BillableMetricsApi.java @@ -33,7 +33,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/CouponsApi.java b/src/main/java/org/getlago/client/api/CouponsApi.java index cded8b1..9a6c655 100644 --- a/src/main/java/org/getlago/client/api/CouponsApi.java +++ b/src/main/java/org/getlago/client/api/CouponsApi.java @@ -36,7 +36,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/CreditNotesApi.java b/src/main/java/org/getlago/client/api/CreditNotesApi.java index 15e30e8..ffe73f5 100644 --- a/src/main/java/org/getlago/client/api/CreditNotesApi.java +++ b/src/main/java/org/getlago/client/api/CreditNotesApi.java @@ -36,7 +36,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNotesApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/CustomersApi.java b/src/main/java/org/getlago/client/api/CustomersApi.java index 4d896f3..ebd351e 100644 --- a/src/main/java/org/getlago/client/api/CustomersApi.java +++ b/src/main/java/org/getlago/client/api/CustomersApi.java @@ -38,7 +38,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomersApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/EventsApi.java b/src/main/java/org/getlago/client/api/EventsApi.java index 6b82989..f278582 100644 --- a/src/main/java/org/getlago/client/api/EventsApi.java +++ b/src/main/java/org/getlago/client/api/EventsApi.java @@ -33,7 +33,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/FeesApi.java b/src/main/java/org/getlago/client/api/FeesApi.java index ba09722..1ba36ab 100644 --- a/src/main/java/org/getlago/client/api/FeesApi.java +++ b/src/main/java/org/getlago/client/api/FeesApi.java @@ -34,7 +34,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeesApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/InvoicesApi.java b/src/main/java/org/getlago/client/api/InvoicesApi.java index 48246a3..70625e9 100644 --- a/src/main/java/org/getlago/client/api/InvoicesApi.java +++ b/src/main/java/org/getlago/client/api/InvoicesApi.java @@ -35,7 +35,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoicesApi { private ApiClient apiClient; @@ -757,4 +757,86 @@ public Mono> updateInvoiceWithHttpInfo(UUID lagoId, Invo public ResponseSpec updateInvoiceWithResponseSpec(UUID lagoId, InvoiceUpdateInput invoiceUpdateInput) throws WebClientResponseException { return updateInvoiceRequestCreation(lagoId, invoiceUpdateInput); } + /** + * Void an invoice + * This endpoint is used for voiding an invoice. You can void an invoice only when it's in a `finalized` status, and the payment status is not `succeeded`. + *

200 - Invoice voided + *

401 - Unauthorized error + *

404 - Not Found error + * @param lagoId Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. + * @return Invoice + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ + private ResponseSpec voidInvoiceRequestCreation(UUID lagoId) throws WebClientResponseException { + Object postBody = null; + // verify the required parameter 'lagoId' is set + if (lagoId == null) { + throw new WebClientResponseException("Missing the required parameter 'lagoId' when calling voidInvoice", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); + } + // create path and map variables + final Map pathParams = new HashMap(); + + pathParams.put("lago_id", lagoId); + + final MultiValueMap queryParams = new LinkedMultiValueMap(); + final HttpHeaders headerParams = new HttpHeaders(); + final MultiValueMap cookieParams = new LinkedMultiValueMap(); + final MultiValueMap formParams = new LinkedMultiValueMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + final String[] localVarContentTypes = { }; + final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { "bearerAuth" }; + + ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; + return apiClient.invokeAPI("/invoices/{lago_id}/void", HttpMethod.POST, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); + } + + /** + * Void an invoice + * This endpoint is used for voiding an invoice. You can void an invoice only when it's in a `finalized` status, and the payment status is not `succeeded`. + *

200 - Invoice voided + *

401 - Unauthorized error + *

404 - Not Found error + * @param lagoId Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. + * @return Invoice + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ + public Mono voidInvoice(UUID lagoId) throws WebClientResponseException { + ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; + return voidInvoiceRequestCreation(lagoId).bodyToMono(localVarReturnType); + } + + /** + * Void an invoice + * This endpoint is used for voiding an invoice. You can void an invoice only when it's in a `finalized` status, and the payment status is not `succeeded`. + *

200 - Invoice voided + *

401 - Unauthorized error + *

404 - Not Found error + * @param lagoId Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. + * @return ResponseEntity<Invoice> + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ + public Mono> voidInvoiceWithHttpInfo(UUID lagoId) throws WebClientResponseException { + ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; + return voidInvoiceRequestCreation(lagoId).toEntity(localVarReturnType); + } + + /** + * Void an invoice + * This endpoint is used for voiding an invoice. You can void an invoice only when it's in a `finalized` status, and the payment status is not `succeeded`. + *

200 - Invoice voided + *

401 - Unauthorized error + *

404 - Not Found error + * @param lagoId Unique identifier assigned to the invoice within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the invoice’s record within the Lago system. + * @return ResponseSpec + * @throws WebClientResponseException if an error occurs while attempting to invoke the API + */ + public ResponseSpec voidInvoiceWithResponseSpec(UUID lagoId) throws WebClientResponseException { + return voidInvoiceRequestCreation(lagoId); + } } diff --git a/src/main/java/org/getlago/client/api/OrganizationsApi.java b/src/main/java/org/getlago/client/api/OrganizationsApi.java index 46e49fc..bc09a81 100644 --- a/src/main/java/org/getlago/client/api/OrganizationsApi.java +++ b/src/main/java/org/getlago/client/api/OrganizationsApi.java @@ -29,7 +29,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class OrganizationsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/PlansApi.java b/src/main/java/org/getlago/client/api/PlansApi.java index d03913c..ab088c4 100644 --- a/src/main/java/org/getlago/client/api/PlansApi.java +++ b/src/main/java/org/getlago/client/api/PlansApi.java @@ -32,7 +32,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlansApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/SubscriptionsApi.java b/src/main/java/org/getlago/client/api/SubscriptionsApi.java index 7acb7e7..9cdce53 100644 --- a/src/main/java/org/getlago/client/api/SubscriptionsApi.java +++ b/src/main/java/org/getlago/client/api/SubscriptionsApi.java @@ -33,7 +33,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/TaxesApi.java b/src/main/java/org/getlago/client/api/TaxesApi.java index a54810f..b194ea5 100644 --- a/src/main/java/org/getlago/client/api/TaxesApi.java +++ b/src/main/java/org/getlago/client/api/TaxesApi.java @@ -32,7 +32,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxesApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/WalletsApi.java b/src/main/java/org/getlago/client/api/WalletsApi.java index cde3d10..102350f 100644 --- a/src/main/java/org/getlago/client/api/WalletsApi.java +++ b/src/main/java/org/getlago/client/api/WalletsApi.java @@ -37,7 +37,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/WebhookEndpointsApi.java b/src/main/java/org/getlago/client/api/WebhookEndpointsApi.java index 9806466..204640e 100644 --- a/src/main/java/org/getlago/client/api/WebhookEndpointsApi.java +++ b/src/main/java/org/getlago/client/api/WebhookEndpointsApi.java @@ -34,7 +34,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointsApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/api/WebhooksApi.java b/src/main/java/org/getlago/client/api/WebhooksApi.java index 866ae2e..9f077a8 100644 --- a/src/main/java/org/getlago/client/api/WebhooksApi.java +++ b/src/main/java/org/getlago/client/api/WebhooksApi.java @@ -25,7 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhooksApi { private ApiClient apiClient; diff --git a/src/main/java/org/getlago/client/auth/ApiKeyAuth.java b/src/main/java/org/getlago/client/auth/ApiKeyAuth.java index 4f59627..6c23c34 100644 --- a/src/main/java/org/getlago/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/getlago/client/auth/ApiKeyAuth.java @@ -3,7 +3,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/getlago/client/auth/HttpBasicAuth.java b/src/main/java/org/getlago/client/auth/HttpBasicAuth.java index 40a9220..1023c88 100644 --- a/src/main/java/org/getlago/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/getlago/client/auth/HttpBasicAuth.java @@ -7,7 +7,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/getlago/client/auth/HttpBearerAuth.java b/src/main/java/org/getlago/client/auth/HttpBearerAuth.java index 5351d31..aa32398 100644 --- a/src/main/java/org/getlago/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/getlago/client/auth/HttpBearerAuth.java @@ -6,7 +6,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/org/openapitools/client/model/AddOn.java b/src/main/java/org/openapitools/client/model/AddOn.java index cec5f65..961d1a3 100644 --- a/src/main/java/org/openapitools/client/model/AddOn.java +++ b/src/main/java/org/openapitools/client/model/AddOn.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ AddOn.JSON_PROPERTY_ADD_ON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOn { public static final String JSON_PROPERTY_ADD_ON = "add_on"; private AddOnObject addOn; diff --git a/src/main/java/org/openapitools/client/model/AddOnBaseInput.java b/src/main/java/org/openapitools/client/model/AddOnBaseInput.java index b30f847..0abbca0 100644 --- a/src/main/java/org/openapitools/client/model/AddOnBaseInput.java +++ b/src/main/java/org/openapitools/client/model/AddOnBaseInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.jackson.nullable.JsonNullable; @@ -42,7 +43,7 @@ AddOnBaseInput.JSON_PROPERTY_DESCRIPTION, AddOnBaseInput.JSON_PROPERTY_TAX_CODES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnBaseInput { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/AddOnCreateInput.java b/src/main/java/org/openapitools/client/model/AddOnCreateInput.java index d90a6c3..cec5ff1 100644 --- a/src/main/java/org/openapitools/client/model/AddOnCreateInput.java +++ b/src/main/java/org/openapitools/client/model/AddOnCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ AddOnCreateInput.JSON_PROPERTY_ADD_ON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnCreateInput { public static final String JSON_PROPERTY_ADD_ON = "add_on"; private AddOnCreateInputAddOn addOn; diff --git a/src/main/java/org/openapitools/client/model/AddOnCreateInputAddOn.java b/src/main/java/org/openapitools/client/model/AddOnCreateInputAddOn.java index fc03ace..d3a9696 100644 --- a/src/main/java/org/openapitools/client/model/AddOnCreateInputAddOn.java +++ b/src/main/java/org/openapitools/client/model/AddOnCreateInputAddOn.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.jackson.nullable.JsonNullable; @@ -43,7 +44,7 @@ AddOnCreateInputAddOn.JSON_PROPERTY_TAX_CODES }) @JsonTypeName("AddOnCreateInput_add_on") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnCreateInputAddOn { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/AddOnObject.java b/src/main/java/org/openapitools/client/model/AddOnObject.java index e1dfeeb..2c8e977 100644 --- a/src/main/java/org/openapitools/client/model/AddOnObject.java +++ b/src/main/java/org/openapitools/client/model/AddOnObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -47,7 +48,7 @@ AddOnObject.JSON_PROPERTY_CREATED_AT, AddOnObject.JSON_PROPERTY_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/AddOnUpdateInput.java b/src/main/java/org/openapitools/client/model/AddOnUpdateInput.java index c0dd887..e779c91 100644 --- a/src/main/java/org/openapitools/client/model/AddOnUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/AddOnUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ AddOnUpdateInput.JSON_PROPERTY_ADD_ON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnUpdateInput { public static final String JSON_PROPERTY_ADD_ON = "add_on"; private AddOnBaseInput addOn; diff --git a/src/main/java/org/openapitools/client/model/AddOnsPaginated.java b/src/main/java/org/openapitools/client/model/AddOnsPaginated.java index 805bf58..e01cdaf 100644 --- a/src/main/java/org/openapitools/client/model/AddOnsPaginated.java +++ b/src/main/java/org/openapitools/client/model/AddOnsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.AddOnObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ AddOnsPaginated.JSON_PROPERTY_ADD_ONS, AddOnsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AddOnsPaginated { public static final String JSON_PROPERTY_ADD_ONS = "add_ons"; private List addOns = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/ApiErrorBadRequest.java b/src/main/java/org/openapitools/client/model/ApiErrorBadRequest.java index 1a20fe0..a9d4314 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorBadRequest.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorBadRequest.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ ApiErrorBadRequest.JSON_PROPERTY_STATUS, ApiErrorBadRequest.JSON_PROPERTY_ERROR }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorBadRequest { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/ApiErrorForbidden.java b/src/main/java/org/openapitools/client/model/ApiErrorForbidden.java index fcc094f..179e7c6 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorForbidden.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorForbidden.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ ApiErrorForbidden.JSON_PROPERTY_ERROR, ApiErrorForbidden.JSON_PROPERTY_CODE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorForbidden { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/ApiErrorNotAllowed.java b/src/main/java/org/openapitools/client/model/ApiErrorNotAllowed.java index 1015025..5012532 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorNotAllowed.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorNotAllowed.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ ApiErrorNotAllowed.JSON_PROPERTY_ERROR, ApiErrorNotAllowed.JSON_PROPERTY_CODE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorNotAllowed { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/ApiErrorNotFound.java b/src/main/java/org/openapitools/client/model/ApiErrorNotFound.java index 01c3302..9ca7877 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorNotFound.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorNotFound.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ ApiErrorNotFound.JSON_PROPERTY_ERROR, ApiErrorNotFound.JSON_PROPERTY_CODE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorNotFound { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/ApiErrorUnauthorized.java b/src/main/java/org/openapitools/client/model/ApiErrorUnauthorized.java index f3f4d4c..5672456 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorUnauthorized.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorUnauthorized.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ ApiErrorUnauthorized.JSON_PROPERTY_STATUS, ApiErrorUnauthorized.JSON_PROPERTY_ERROR }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorUnauthorized { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/ApiErrorUnprocessableEntity.java b/src/main/java/org/openapitools/client/model/ApiErrorUnprocessableEntity.java index 73a72a5..cf54099 100644 --- a/src/main/java/org/openapitools/client/model/ApiErrorUnprocessableEntity.java +++ b/src/main/java/org/openapitools/client/model/ApiErrorUnprocessableEntity.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ ApiErrorUnprocessableEntity.JSON_PROPERTY_CODE, ApiErrorUnprocessableEntity.JSON_PROPERTY_ERROR_DETAILS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ApiErrorUnprocessableEntity { public static final String JSON_PROPERTY_STATUS = "status"; private Integer status; diff --git a/src/main/java/org/openapitools/client/model/AppliedCoupon.java b/src/main/java/org/openapitools/client/model/AppliedCoupon.java index c574011..5a77d68 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCoupon.java +++ b/src/main/java/org/openapitools/client/model/AppliedCoupon.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ AppliedCoupon.JSON_PROPERTY_APPLIED_COUPON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCoupon { public static final String JSON_PROPERTY_APPLIED_COUPON = "applied_coupon"; private AppliedCouponObject appliedCoupon; diff --git a/src/main/java/org/openapitools/client/model/AppliedCouponInput.java b/src/main/java/org/openapitools/client/model/AppliedCouponInput.java index 764aef6..8c6e1da 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCouponInput.java +++ b/src/main/java/org/openapitools/client/model/AppliedCouponInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ AppliedCouponInput.JSON_PROPERTY_APPLIED_COUPON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCouponInput { public static final String JSON_PROPERTY_APPLIED_COUPON = "applied_coupon"; private AppliedCouponInputAppliedCoupon appliedCoupon; diff --git a/src/main/java/org/openapitools/client/model/AppliedCouponInputAppliedCoupon.java b/src/main/java/org/openapitools/client/model/AppliedCouponInputAppliedCoupon.java index 6f9bd3e..d0b5c28 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCouponInputAppliedCoupon.java +++ b/src/main/java/org/openapitools/client/model/AppliedCouponInputAppliedCoupon.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -41,7 +41,7 @@ AppliedCouponInputAppliedCoupon.JSON_PROPERTY_PERCENTAGE_RATE }) @JsonTypeName("AppliedCouponInput_applied_coupon") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCouponInputAppliedCoupon { public static final String JSON_PROPERTY_EXTERNAL_CUSTOMER_ID = "external_customer_id"; private String externalCustomerId; diff --git a/src/main/java/org/openapitools/client/model/AppliedCouponObject.java b/src/main/java/org/openapitools/client/model/AppliedCouponObject.java index 40afdb6..c5425b8 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCouponObject.java +++ b/src/main/java/org/openapitools/client/model/AppliedCouponObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ AppliedCouponObject.JSON_PROPERTY_CREATED_AT, AppliedCouponObject.JSON_PROPERTY_TERMINATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCouponObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/AppliedCouponObjectExtended.java b/src/main/java/org/openapitools/client/model/AppliedCouponObjectExtended.java index 5a8c72a..73bf14c 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCouponObjectExtended.java +++ b/src/main/java/org/openapitools/client/model/AppliedCouponObjectExtended.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditObject; @@ -56,7 +57,7 @@ AppliedCouponObjectExtended.JSON_PROPERTY_TERMINATED_AT, AppliedCouponObjectExtended.JSON_PROPERTY_CREDITS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCouponObjectExtended { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/AppliedCouponsPaginated.java b/src/main/java/org/openapitools/client/model/AppliedCouponsPaginated.java index 72d0d77..6b8deec 100644 --- a/src/main/java/org/openapitools/client/model/AppliedCouponsPaginated.java +++ b/src/main/java/org/openapitools/client/model/AppliedCouponsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.AppliedCouponObjectExtended; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ AppliedCouponsPaginated.JSON_PROPERTY_APPLIED_COUPONS, AppliedCouponsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class AppliedCouponsPaginated { public static final String JSON_PROPERTY_APPLIED_COUPONS = "applied_coupons"; private List appliedCoupons = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/BaseAppliedTax.java b/src/main/java/org/openapitools/client/model/BaseAppliedTax.java index 2f36223..c41e7f8 100644 --- a/src/main/java/org/openapitools/client/model/BaseAppliedTax.java +++ b/src/main/java/org/openapitools/client/model/BaseAppliedTax.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -41,7 +41,7 @@ BaseAppliedTax.JSON_PROPERTY_AMOUNT_CURRENCY, BaseAppliedTax.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BaseAppliedTax { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/BillableMetric.java b/src/main/java/org/openapitools/client/model/BillableMetric.java index 5218683..e1063b5 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetric.java +++ b/src/main/java/org/openapitools/client/model/BillableMetric.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ BillableMetric.JSON_PROPERTY_BILLABLE_METRIC }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetric { public static final String JSON_PROPERTY_BILLABLE_METRIC = "billable_metric"; private BillableMetricObject billableMetric; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricBaseInput.java b/src/main/java/org/openapitools/client/model/BillableMetricBaseInput.java index 6577a18..ce4fbab 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricBaseInput.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricBaseInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -41,7 +41,7 @@ BillableMetricBaseInput.JSON_PROPERTY_WEIGHTED_INTERVAL, BillableMetricBaseInput.JSON_PROPERTY_GROUP }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricBaseInput { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricCreateInput.java b/src/main/java/org/openapitools/client/model/BillableMetricCreateInput.java index 4c6128c..6c30883 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricCreateInput.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ BillableMetricCreateInput.JSON_PROPERTY_BILLABLE_METRIC }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricCreateInput { public static final String JSON_PROPERTY_BILLABLE_METRIC = "billable_metric"; private BillableMetricCreateInputBillableMetric billableMetric; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricCreateInputBillableMetric.java b/src/main/java/org/openapitools/client/model/BillableMetricCreateInputBillableMetric.java index cf21feb..12ba68a 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricCreateInputBillableMetric.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricCreateInputBillableMetric.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,7 +42,7 @@ BillableMetricCreateInputBillableMetric.JSON_PROPERTY_GROUP }) @JsonTypeName("BillableMetricCreateInput_billable_metric") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricCreateInputBillableMetric { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricGroup.java b/src/main/java/org/openapitools/client/model/BillableMetricGroup.java index 73164e7..d9d4fff 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricGroup.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricGroup.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.BillableMetricGroupValuesInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -33,7 +34,7 @@ BillableMetricGroup.JSON_PROPERTY_KEY, BillableMetricGroup.JSON_PROPERTY_VALUES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricGroup { public static final String JSON_PROPERTY_KEY = "key"; private String key; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInner.java b/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInner.java index 341c51e..dde5253 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInner.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.BillableMetricGroupValuesInnerOneOf; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -34,7 +35,7 @@ BillableMetricGroupValuesInner.JSON_PROPERTY_VALUES }) @JsonTypeName("BillableMetricGroup_values_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricGroupValuesInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInnerOneOf.java b/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInnerOneOf.java index 8c70185..22e0132 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInnerOneOf.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricGroupValuesInnerOneOf.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -33,7 +34,7 @@ BillableMetricGroupValuesInnerOneOf.JSON_PROPERTY_VALUES }) @JsonTypeName("BillableMetricGroup_values_inner_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricGroupValuesInnerOneOf { public static final String JSON_PROPERTY_KEY = "key"; private String key; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricObject.java b/src/main/java/org/openapitools/client/model/BillableMetricObject.java index 8d10a63..44cf67e 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricObject.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ BillableMetricObject.JSON_PROPERTY_DRAFT_INVOICES_COUNT, BillableMetricObject.JSON_PROPERTY_PLANS_COUNT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricUpdateInput.java b/src/main/java/org/openapitools/client/model/BillableMetricUpdateInput.java index 65810e7..7704e40 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ BillableMetricUpdateInput.JSON_PROPERTY_BILLABLE_METRIC }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricUpdateInput { public static final String JSON_PROPERTY_BILLABLE_METRIC = "billable_metric"; private BillableMetricBaseInput billableMetric; diff --git a/src/main/java/org/openapitools/client/model/BillableMetricsPaginated.java b/src/main/java/org/openapitools/client/model/BillableMetricsPaginated.java index 42d5de7..0ed8c0f 100644 --- a/src/main/java/org/openapitools/client/model/BillableMetricsPaginated.java +++ b/src/main/java/org/openapitools/client/model/BillableMetricsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.BillableMetricObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ BillableMetricsPaginated.JSON_PROPERTY_BILLABLE_METRICS, BillableMetricsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class BillableMetricsPaginated { public static final String JSON_PROPERTY_BILLABLE_METRICS = "billable_metrics"; private List billableMetrics = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/ChargeObject.java b/src/main/java/org/openapitools/client/model/ChargeObject.java index 4969f91..b5eeadd 100644 --- a/src/main/java/org/openapitools/client/model/ChargeObject.java +++ b/src/main/java/org/openapitools/client/model/ChargeObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.ChargeObjectProperties; @@ -48,7 +49,7 @@ ChargeObject.JSON_PROPERTY_GROUP_PROPERTIES, ChargeObject.JSON_PROPERTY_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargeObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/ChargeObjectProperties.java b/src/main/java/org/openapitools/client/model/ChargeObjectProperties.java index 7d1225b..c6597db 100644 --- a/src/main/java/org/openapitools/client/model/ChargeObjectProperties.java +++ b/src/main/java/org/openapitools/client/model/ChargeObjectProperties.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ChargePropertiesGraduatedPercentageRangesInner; import org.openapitools.client.model.ChargePropertiesGraduatedRangesInner; @@ -50,7 +51,7 @@ ChargeObjectProperties.JSON_PROPERTY_VOLUME_RANGES }) @JsonTypeName("ChargeObject_properties") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargeObjectProperties { public static final String JSON_PROPERTY_GRADUATED_RANGES = "graduated_ranges"; private List graduatedRanges; diff --git a/src/main/java/org/openapitools/client/model/ChargeProperties.java b/src/main/java/org/openapitools/client/model/ChargeProperties.java index 6de7545..39f3ca3 100644 --- a/src/main/java/org/openapitools/client/model/ChargeProperties.java +++ b/src/main/java/org/openapitools/client/model/ChargeProperties.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ChargePropertiesGraduatedPercentageRangesInner; import org.openapitools.client.model.ChargePropertiesGraduatedRangesInner; @@ -49,7 +50,7 @@ ChargeProperties.JSON_PROPERTY_PER_TRANSACTION_MIN_AMOUNT, ChargeProperties.JSON_PROPERTY_VOLUME_RANGES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargeProperties { public static final String JSON_PROPERTY_GRADUATED_RANGES = "graduated_ranges"; private List graduatedRanges; diff --git a/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedPercentageRangesInner.java b/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedPercentageRangesInner.java index d4bc103..81e965a 100644 --- a/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedPercentageRangesInner.java +++ b/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedPercentageRangesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ ChargePropertiesGraduatedPercentageRangesInner.JSON_PROPERTY_FLAT_AMOUNT }) @JsonTypeName("ChargeProperties_graduated_percentage_ranges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargePropertiesGraduatedPercentageRangesInner { public static final String JSON_PROPERTY_FROM_VALUE = "from_value"; private Integer fromValue; diff --git a/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedRangesInner.java b/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedRangesInner.java index 24f9567..301a983 100644 --- a/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedRangesInner.java +++ b/src/main/java/org/openapitools/client/model/ChargePropertiesGraduatedRangesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ ChargePropertiesGraduatedRangesInner.JSON_PROPERTY_PER_UNIT_AMOUNT }) @JsonTypeName("ChargeProperties_graduated_ranges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargePropertiesGraduatedRangesInner { public static final String JSON_PROPERTY_FROM_VALUE = "from_value"; private Integer fromValue; diff --git a/src/main/java/org/openapitools/client/model/ChargePropertiesVolumeRangesInner.java b/src/main/java/org/openapitools/client/model/ChargePropertiesVolumeRangesInner.java index 4a659b9..7c90fb5 100644 --- a/src/main/java/org/openapitools/client/model/ChargePropertiesVolumeRangesInner.java +++ b/src/main/java/org/openapitools/client/model/ChargePropertiesVolumeRangesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ ChargePropertiesVolumeRangesInner.JSON_PROPERTY_PER_UNIT_AMOUNT }) @JsonTypeName("ChargeProperties_volume_ranges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class ChargePropertiesVolumeRangesInner { public static final String JSON_PROPERTY_FROM_VALUE = "from_value"; private Integer fromValue; diff --git a/src/main/java/org/openapitools/client/model/Country.java b/src/main/java/org/openapitools/client/model/Country.java index f5f8314..7910a11 100644 --- a/src/main/java/org/openapitools/client/model/Country.java +++ b/src/main/java/org/openapitools/client/model/Country.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/org/openapitools/client/model/Coupon.java b/src/main/java/org/openapitools/client/model/Coupon.java index bb9ae1f..a6aee4c 100644 --- a/src/main/java/org/openapitools/client/model/Coupon.java +++ b/src/main/java/org/openapitools/client/model/Coupon.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Coupon.JSON_PROPERTY_COUPON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Coupon { public static final String JSON_PROPERTY_COUPON = "coupon"; private CouponObject coupon; diff --git a/src/main/java/org/openapitools/client/model/CouponBaseInput.java b/src/main/java/org/openapitools/client/model/CouponBaseInput.java index 3462b10..2f62952 100644 --- a/src/main/java/org/openapitools/client/model/CouponBaseInput.java +++ b/src/main/java/org/openapitools/client/model/CouponBaseInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ CouponBaseInput.JSON_PROPERTY_EXPIRATION_AT, CouponBaseInput.JSON_PROPERTY_APPLIES_TO }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponBaseInput { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CouponBaseInputAppliesTo.java b/src/main/java/org/openapitools/client/model/CouponBaseInputAppliesTo.java index a658bab..8be5066 100644 --- a/src/main/java/org/openapitools/client/model/CouponBaseInputAppliesTo.java +++ b/src/main/java/org/openapitools/client/model/CouponBaseInputAppliesTo.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -37,7 +38,7 @@ CouponBaseInputAppliesTo.JSON_PROPERTY_BILLABLE_METRIC_CODES }) @JsonTypeName("CouponBaseInput_applies_to") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponBaseInputAppliesTo { public static final String JSON_PROPERTY_PLAN_CODES = "plan_codes"; private JsonNullable> planCodes = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/CouponCreateInput.java b/src/main/java/org/openapitools/client/model/CouponCreateInput.java index d181dd0..bb84583 100644 --- a/src/main/java/org/openapitools/client/model/CouponCreateInput.java +++ b/src/main/java/org/openapitools/client/model/CouponCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CouponCreateInput.JSON_PROPERTY_COUPON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponCreateInput { public static final String JSON_PROPERTY_COUPON = "coupon"; private CouponCreateInputCoupon coupon; diff --git a/src/main/java/org/openapitools/client/model/CouponCreateInputCoupon.java b/src/main/java/org/openapitools/client/model/CouponCreateInputCoupon.java index a0cf9dd..348df20 100644 --- a/src/main/java/org/openapitools/client/model/CouponCreateInputCoupon.java +++ b/src/main/java/org/openapitools/client/model/CouponCreateInputCoupon.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ CouponCreateInputCoupon.JSON_PROPERTY_APPLIES_TO }) @JsonTypeName("CouponCreateInput_coupon") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponCreateInputCoupon { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CouponObject.java b/src/main/java/org/openapitools/client/model/CouponObject.java index 982f528..5b35662 100644 --- a/src/main/java/org/openapitools/client/model/CouponObject.java +++ b/src/main/java/org/openapitools/client/model/CouponObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -56,7 +57,7 @@ CouponObject.JSON_PROPERTY_CREATED_AT, CouponObject.JSON_PROPERTY_TERMINATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CouponUpdateInput.java b/src/main/java/org/openapitools/client/model/CouponUpdateInput.java index 7fdfd00..5a8af18 100644 --- a/src/main/java/org/openapitools/client/model/CouponUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/CouponUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.CouponUpdateInputCoupon; +import org.openapitools.client.model.CouponBaseInput; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -30,15 +30,15 @@ @JsonPropertyOrder({ CouponUpdateInput.JSON_PROPERTY_COUPON }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponUpdateInput { public static final String JSON_PROPERTY_COUPON = "coupon"; - private CouponUpdateInputCoupon coupon; + private CouponBaseInput coupon; public CouponUpdateInput() { } - public CouponUpdateInput coupon(CouponUpdateInputCoupon coupon) { + public CouponUpdateInput coupon(CouponBaseInput coupon) { this.coupon = coupon; return this; @@ -52,14 +52,14 @@ public CouponUpdateInput coupon(CouponUpdateInputCoupon coupon) { @JsonProperty(JSON_PROPERTY_COUPON) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public CouponUpdateInputCoupon getCoupon() { + public CouponBaseInput getCoupon() { return coupon; } @JsonProperty(JSON_PROPERTY_COUPON) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setCoupon(CouponUpdateInputCoupon coupon) { + public void setCoupon(CouponBaseInput coupon) { this.coupon = coupon; } diff --git a/src/main/java/org/openapitools/client/model/CouponsPaginated.java b/src/main/java/org/openapitools/client/model/CouponsPaginated.java index 38343be..df218c7 100644 --- a/src/main/java/org/openapitools/client/model/CouponsPaginated.java +++ b/src/main/java/org/openapitools/client/model/CouponsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.CouponObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ CouponsPaginated.JSON_PROPERTY_COUPONS, CouponsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CouponsPaginated { public static final String JSON_PROPERTY_COUPONS = "coupons"; private List coupons = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/CreditNote.java b/src/main/java/org/openapitools/client/model/CreditNote.java index db5b005..7f6ef01 100644 --- a/src/main/java/org/openapitools/client/model/CreditNote.java +++ b/src/main/java/org/openapitools/client/model/CreditNote.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CreditNote.JSON_PROPERTY_CREDIT_NOTE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNote { public static final String JSON_PROPERTY_CREDIT_NOTE = "credit_note"; private CreditNoteObject creditNote; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteAppliedTaxObject.java b/src/main/java/org/openapitools/client/model/CreditNoteAppliedTaxObject.java index 65a6be4..55a10c9 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteAppliedTaxObject.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteAppliedTaxObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -43,7 +43,7 @@ CreditNoteAppliedTaxObject.JSON_PROPERTY_AMOUNT_CURRENCY, CreditNoteAppliedTaxObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteAppliedTaxObject { public static final String JSON_PROPERTY_LAGO_CREDIT_NOTE_ID = "lago_credit_note_id"; private UUID lagoCreditNoteId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteCreateInput.java b/src/main/java/org/openapitools/client/model/CreditNoteCreateInput.java index 17b8c99..463cfa4 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteCreateInput.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CreditNoteCreateInput.JSON_PROPERTY_CREDIT_NOTE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteCreateInput { public static final String JSON_PROPERTY_CREDIT_NOTE = "credit_note"; private CreditNoteCreateInputCreditNote creditNote; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteCreateInputCreditNote.java b/src/main/java/org/openapitools/client/model/CreditNoteCreateInputCreditNote.java index 431da52..aa202c0 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteCreateInputCreditNote.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteCreateInputCreditNote.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditNoteEstimateInputCreditNoteItemsInner; @@ -43,7 +44,7 @@ CreditNoteCreateInputCreditNote.JSON_PROPERTY_ITEMS }) @JsonTypeName("CreditNoteCreateInput_credit_note") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteCreateInputCreditNote { public static final String JSON_PROPERTY_INVOICE_ID = "invoice_id"; private UUID invoiceId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInput.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInput.java index cb7fc2b..e85de18 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInput.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CreditNoteEstimateInput.JSON_PROPERTY_CREDIT_NOTE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimateInput { public static final String JSON_PROPERTY_CREDIT_NOTE = "credit_note"; private CreditNoteEstimateInputCreditNote creditNote; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNote.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNote.java index f72b7ee..30a12e0 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNote.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNote.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditNoteEstimateInputCreditNoteItemsInner; @@ -35,7 +36,7 @@ CreditNoteEstimateInputCreditNote.JSON_PROPERTY_ITEMS }) @JsonTypeName("CreditNoteEstimateInput_credit_note") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimateInputCreditNote { public static final String JSON_PROPERTY_INVOICE_ID = "invoice_id"; private UUID invoiceId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteItemsInner.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteItemsInner.java index e11c90a..0b1e623 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteItemsInner.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimateInputCreditNoteItemsInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ CreditNoteEstimateInputCreditNoteItemsInner.JSON_PROPERTY_AMOUNT_CENTS }) @JsonTypeName("CreditNoteEstimateInput_credit_note_items_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimateInputCreditNoteItemsInner { public static final String JSON_PROPERTY_FEE_ID = "fee_id"; private UUID feeId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimated.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimated.java index 2a8d3d6..4cf3108 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimated.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CreditNoteEstimated.JSON_PROPERTY_ESTIMATED_CREDIT_NOTE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimated { public static final String JSON_PROPERTY_ESTIMATED_CREDIT_NOTE = "estimated_credit_note"; private CreditNoteEstimatedEstimatedCreditNote estimatedCreditNote; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNote.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNote.java index 9928ec6..3f8d92d 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNote.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNote.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner; @@ -47,7 +48,7 @@ CreditNoteEstimatedEstimatedCreditNote.JSON_PROPERTY_APPLIED_TAXES }) @JsonTypeName("CreditNoteEstimated_estimated_credit_note") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimatedEstimatedCreditNote { public static final String JSON_PROPERTY_LAGO_INVOICE_ID = "lago_invoice_id"; private UUID lagoInvoiceId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.java index 5adb934..c7d4c7e 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -40,7 +40,7 @@ CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner.JSON_PROPERTY_AMOUNT_CURRENCY }) @JsonTypeName("CreditNoteEstimated_estimated_credit_note_applied_taxes_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimatedEstimatedCreditNoteAppliedTaxesInner { public static final String JSON_PROPERTY_LAGO_TAX_ID = "lago_tax_id"; private UUID lagoTaxId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteItemsInner.java b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteItemsInner.java index ed836cb..55e914d 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteItemsInner.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteEstimatedEstimatedCreditNoteItemsInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ CreditNoteEstimatedEstimatedCreditNoteItemsInner.JSON_PROPERTY_LAGO_FEE_ID }) @JsonTypeName("CreditNoteEstimated_estimated_credit_note_items_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteEstimatedEstimatedCreditNoteItemsInner { public static final String JSON_PROPERTY_AMOUNT_CENTS = "amount_cents"; private Integer amountCents; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteItemObject.java b/src/main/java/org/openapitools/client/model/CreditNoteItemObject.java index dff6bf6..cf46ea5 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteItemObject.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteItemObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,7 @@ CreditNoteItemObject.JSON_PROPERTY_AMOUNT_CURRENCY, CreditNoteItemObject.JSON_PROPERTY_FEE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteItemObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteItemObjectFee.java b/src/main/java/org/openapitools/client/model/CreditNoteItemObjectFee.java index 67b747f..1e14bdd 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteItemObjectFee.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteItemObjectFee.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.math.BigDecimal; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -74,7 +75,7 @@ CreditNoteItemObjectFee.JSON_PROPERTY_APPLIED_TAXES }) @JsonTypeName("CreditNoteItemObject_fee") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteItemObjectFee { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private JsonNullable lagoId = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/CreditNoteObject.java b/src/main/java/org/openapitools/client/model/CreditNoteObject.java index b08b411..f42ff2b 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteObject.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,6 +24,7 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditNoteAppliedTaxObject; @@ -65,7 +66,7 @@ CreditNoteObject.JSON_PROPERTY_ITEMS, CreditNoteObject.JSON_PROPERTY_APPLIED_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteUpdateInput.java b/src/main/java/org/openapitools/client/model/CreditNoteUpdateInput.java index 8591b8e..edbb2b4 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CreditNoteUpdateInput.JSON_PROPERTY_CREDIT_NOTE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteUpdateInput { public static final String JSON_PROPERTY_CREDIT_NOTE = "credit_note"; private CreditNoteUpdateInputCreditNote creditNote; diff --git a/src/main/java/org/openapitools/client/model/CreditNoteUpdateInputCreditNote.java b/src/main/java/org/openapitools/client/model/CreditNoteUpdateInputCreditNote.java index f97fcf4..de3f69e 100644 --- a/src/main/java/org/openapitools/client/model/CreditNoteUpdateInputCreditNote.java +++ b/src/main/java/org/openapitools/client/model/CreditNoteUpdateInputCreditNote.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ CreditNoteUpdateInputCreditNote.JSON_PROPERTY_REFUND_STATUS }) @JsonTypeName("CreditNoteUpdateInput_credit_note") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNoteUpdateInputCreditNote { /** * The status of the refund portion of the credit note. It indicates the current state or condition of the refund associated with the credit note. The possible values for this field are: - `pending`: this status indicates that the refund is pending execution. The refund request has been initiated but has not been processed or completed yet. - `succeeded`: this status indicates that the refund has been successfully executed. The refund amount has been processed and returned to the customer or the designated recipient. - `failed`: this status indicates that the refund failed to execute. The refund request encountered an error or unsuccessful processing, and the refund amount could not be returned. diff --git a/src/main/java/org/openapitools/client/model/CreditNotes.java b/src/main/java/org/openapitools/client/model/CreditNotes.java index 2630f0c..722a5c3 100644 --- a/src/main/java/org/openapitools/client/model/CreditNotes.java +++ b/src/main/java/org/openapitools/client/model/CreditNotes.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.CreditNoteObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ CreditNotes.JSON_PROPERTY_CREDIT_NOTES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditNotes { public static final String JSON_PROPERTY_CREDIT_NOTES = "credit_notes"; private List creditNotes = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/CreditObject.java b/src/main/java/org/openapitools/client/model/CreditObject.java index 4a4f034..42c93d7 100644 --- a/src/main/java/org/openapitools/client/model/CreditObject.java +++ b/src/main/java/org/openapitools/client/model/CreditObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ CreditObject.JSON_PROPERTY_ITEM, CreditObject.JSON_PROPERTY_INVOICE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CreditObjectInvoice.java b/src/main/java/org/openapitools/client/model/CreditObjectInvoice.java index a77a770..6a4f14c 100644 --- a/src/main/java/org/openapitools/client/model/CreditObjectInvoice.java +++ b/src/main/java/org/openapitools/client/model/CreditObjectInvoice.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ CreditObjectInvoice.JSON_PROPERTY_PAYMENT_STATUS }) @JsonTypeName("CreditObject_invoice") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditObjectInvoice { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CreditObjectItem.java b/src/main/java/org/openapitools/client/model/CreditObjectItem.java index 3a83433..311c58d 100644 --- a/src/main/java/org/openapitools/client/model/CreditObjectItem.java +++ b/src/main/java/org/openapitools/client/model/CreditObjectItem.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,7 +34,7 @@ CreditObjectItem.JSON_PROPERTY_NAME }) @JsonTypeName("CreditObject_item") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CreditObjectItem { public static final String JSON_PROPERTY_LAGO_ITEM_ID = "lago_item_id"; private UUID lagoItemId; diff --git a/src/main/java/org/openapitools/client/model/Currency.java b/src/main/java/org/openapitools/client/model/Currency.java index 2ec0341..c93a7ad 100644 --- a/src/main/java/org/openapitools/client/model/Currency.java +++ b/src/main/java/org/openapitools/client/model/Currency.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/org/openapitools/client/model/Customer.java b/src/main/java/org/openapitools/client/model/Customer.java index 13af9ed..30b66fd 100644 --- a/src/main/java/org/openapitools/client/model/Customer.java +++ b/src/main/java/org/openapitools/client/model/Customer.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Customer.JSON_PROPERTY_CUSTOMER }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Customer { public static final String JSON_PROPERTY_CUSTOMER = "customer"; private CustomerObjectExtended customer; diff --git a/src/main/java/org/openapitools/client/model/CustomerBillingConfiguration.java b/src/main/java/org/openapitools/client/model/CustomerBillingConfiguration.java index d2d20e5..5bd8b45 100644 --- a/src/main/java/org/openapitools/client/model/CustomerBillingConfiguration.java +++ b/src/main/java/org/openapitools/client/model/CustomerBillingConfiguration.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -41,7 +42,7 @@ CustomerBillingConfiguration.JSON_PROPERTY_DOCUMENT_LOCALE, CustomerBillingConfiguration.JSON_PROPERTY_PROVIDER_PAYMENT_METHODS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerBillingConfiguration { public static final String JSON_PROPERTY_INVOICE_GRACE_PERIOD = "invoice_grace_period"; private Integer invoiceGracePeriod; diff --git a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObject.java b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObject.java index c12f11d..f61fa8f 100644 --- a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObject.java +++ b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.CustomerChargeUsageObjectBillableMetric; @@ -41,7 +42,7 @@ CustomerChargeUsageObject.JSON_PROPERTY_BILLABLE_METRIC, CustomerChargeUsageObject.JSON_PROPERTY_GROUPS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerChargeUsageObject { public static final String JSON_PROPERTY_UNITS = "units"; private String units; diff --git a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectBillableMetric.java b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectBillableMetric.java index 6501009..492eabc 100644 --- a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectBillableMetric.java +++ b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectBillableMetric.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,7 +34,7 @@ CustomerChargeUsageObjectBillableMetric.JSON_PROPERTY_AGGREGATION_TYPE }) @JsonTypeName("CustomerChargeUsageObject_billable_metric") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerChargeUsageObjectBillableMetric { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectCharge.java b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectCharge.java index 3db8ac0..c3cb7d6 100644 --- a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectCharge.java +++ b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectCharge.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ CustomerChargeUsageObjectCharge.JSON_PROPERTY_INVOICE_DISPLAY_NAME }) @JsonTypeName("CustomerChargeUsageObject_charge") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerChargeUsageObjectCharge { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectGroupsInner.java b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectGroupsInner.java index ddfe4b0..8b5d2e8 100644 --- a/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectGroupsInner.java +++ b/src/main/java/org/openapitools/client/model/CustomerChargeUsageObjectGroupsInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -40,7 +40,7 @@ CustomerChargeUsageObjectGroupsInner.JSON_PROPERTY_AMOUNT_CENTS }) @JsonTypeName("CustomerChargeUsageObject_groups_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerChargeUsageObjectGroupsInner { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerCreateInput.java b/src/main/java/org/openapitools/client/model/CustomerCreateInput.java index 200529b..71aa252 100644 --- a/src/main/java/org/openapitools/client/model/CustomerCreateInput.java +++ b/src/main/java/org/openapitools/client/model/CustomerCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CustomerCreateInput.JSON_PROPERTY_CUSTOMER }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerCreateInput { public static final String JSON_PROPERTY_CUSTOMER = "customer"; private CustomerCreateInputCustomer customer; diff --git a/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomer.java b/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomer.java index 80b8269..167f724 100644 --- a/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomer.java +++ b/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomer.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Country; import org.openapitools.client.model.Currency; @@ -61,7 +62,7 @@ CustomerCreateInputCustomer.JSON_PROPERTY_METADATA }) @JsonTypeName("CustomerCreateInput_customer") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerCreateInputCustomer { public static final String JSON_PROPERTY_EXTERNAL_ID = "external_id"; private String externalId; diff --git a/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomerMetadataInner.java b/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomerMetadataInner.java index 6d525d5..674879d 100644 --- a/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomerMetadataInner.java +++ b/src/main/java/org/openapitools/client/model/CustomerCreateInputCustomerMetadataInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,7 +34,7 @@ CustomerCreateInputCustomerMetadataInner.JSON_PROPERTY_DISPLAY_IN_INVOICE }) @JsonTypeName("CustomerCreateInput_customer_metadata_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerCreateInputCustomerMetadataInner { public static final String JSON_PROPERTY_ID = "id"; private UUID id; diff --git a/src/main/java/org/openapitools/client/model/CustomerMetadata.java b/src/main/java/org/openapitools/client/model/CustomerMetadata.java index a629db6..45b58ed 100644 --- a/src/main/java/org/openapitools/client/model/CustomerMetadata.java +++ b/src/main/java/org/openapitools/client/model/CustomerMetadata.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,7 @@ CustomerMetadata.JSON_PROPERTY_DISPLAY_IN_INVOICE, CustomerMetadata.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerMetadata { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerObject.java b/src/main/java/org/openapitools/client/model/CustomerObject.java index 1d94858..fd7b321 100644 --- a/src/main/java/org/openapitools/client/model/CustomerObject.java +++ b/src/main/java/org/openapitools/client/model/CustomerObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Country; @@ -67,7 +68,7 @@ CustomerObject.JSON_PROPERTY_BILLING_CONFIGURATION, CustomerObject.JSON_PROPERTY_METADATA }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerObjectExtended.java b/src/main/java/org/openapitools/client/model/CustomerObjectExtended.java index e390af5..df2d6ff 100644 --- a/src/main/java/org/openapitools/client/model/CustomerObjectExtended.java +++ b/src/main/java/org/openapitools/client/model/CustomerObjectExtended.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Country; @@ -69,7 +70,7 @@ CustomerObjectExtended.JSON_PROPERTY_METADATA, CustomerObjectExtended.JSON_PROPERTY_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerObjectExtended { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/CustomerPastUsage.java b/src/main/java/org/openapitools/client/model/CustomerPastUsage.java index 55ad99f..371b530 100644 --- a/src/main/java/org/openapitools/client/model/CustomerPastUsage.java +++ b/src/main/java/org/openapitools/client/model/CustomerPastUsage.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.CustomerUsage; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ CustomerPastUsage.JSON_PROPERTY_USAGE_PERIODS, CustomerPastUsage.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerPastUsage { public static final String JSON_PROPERTY_USAGE_PERIODS = "usage_periods"; private List usagePeriods = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/CustomerUsage.java b/src/main/java/org/openapitools/client/model/CustomerUsage.java index 83103c2..2b19373 100644 --- a/src/main/java/org/openapitools/client/model/CustomerUsage.java +++ b/src/main/java/org/openapitools/client/model/CustomerUsage.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ CustomerUsage.JSON_PROPERTY_CUSTOMER_USAGE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerUsage { public static final String JSON_PROPERTY_CUSTOMER_USAGE = "customer_usage"; private CustomerUsageObject customerUsage; diff --git a/src/main/java/org/openapitools/client/model/CustomerUsageObject.java b/src/main/java/org/openapitools/client/model/CustomerUsageObject.java index fe2ae49..333058c 100644 --- a/src/main/java/org/openapitools/client/model/CustomerUsageObject.java +++ b/src/main/java/org/openapitools/client/model/CustomerUsageObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -47,7 +48,7 @@ CustomerUsageObject.JSON_PROPERTY_TOTAL_AMOUNT_CENTS, CustomerUsageObject.JSON_PROPERTY_CHARGES_USAGE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomerUsageObject { public static final String JSON_PROPERTY_FROM_DATETIME = "from_datetime"; private OffsetDateTime fromDatetime; diff --git a/src/main/java/org/openapitools/client/model/CustomersPaginated.java b/src/main/java/org/openapitools/client/model/CustomersPaginated.java index ca2e8b5..76e7667 100644 --- a/src/main/java/org/openapitools/client/model/CustomersPaginated.java +++ b/src/main/java/org/openapitools/client/model/CustomersPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.CustomerObjectExtended; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ CustomersPaginated.JSON_PROPERTY_CUSTOMERS, CustomersPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class CustomersPaginated { public static final String JSON_PROPERTY_CUSTOMERS = "customers"; private List customers = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Event.java b/src/main/java/org/openapitools/client/model/Event.java index ff5e070..ec0a2c4 100644 --- a/src/main/java/org/openapitools/client/model/Event.java +++ b/src/main/java/org/openapitools/client/model/Event.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Event.JSON_PROPERTY_EVENT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Event { public static final String JSON_PROPERTY_EVENT = "event"; private EventObject event; diff --git a/src/main/java/org/openapitools/client/model/EventBatchInput.java b/src/main/java/org/openapitools/client/model/EventBatchInput.java index 813fadd..bb27d63 100644 --- a/src/main/java/org/openapitools/client/model/EventBatchInput.java +++ b/src/main/java/org/openapitools/client/model/EventBatchInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ EventBatchInput.JSON_PROPERTY_EVENT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventBatchInput { public static final String JSON_PROPERTY_EVENT = "event"; private EventBatchInputEvent event; diff --git a/src/main/java/org/openapitools/client/model/EventBatchInputEvent.java b/src/main/java/org/openapitools/client/model/EventBatchInputEvent.java index 9f22986..f7a2b6a 100644 --- a/src/main/java/org/openapitools/client/model/EventBatchInputEvent.java +++ b/src/main/java/org/openapitools/client/model/EventBatchInputEvent.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.EventBatchInputEventProperties; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -38,7 +39,7 @@ EventBatchInputEvent.JSON_PROPERTY_PROPERTIES }) @JsonTypeName("EventBatchInput_event") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventBatchInputEvent { public static final String JSON_PROPERTY_TRANSACTION_ID = "transaction_id"; private String transactionId; diff --git a/src/main/java/org/openapitools/client/model/EventBatchInputEventProperties.java b/src/main/java/org/openapitools/client/model/EventBatchInputEventProperties.java index 13a9699..f8d6adf 100644 --- a/src/main/java/org/openapitools/client/model/EventBatchInputEventProperties.java +++ b/src/main/java/org/openapitools/client/model/EventBatchInputEventProperties.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ EventBatchInputEventProperties.JSON_PROPERTY_OPERATION_TYPE }) @JsonTypeName("EventBatchInput_event_properties") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventBatchInputEventProperties extends HashMap { /** * The `operation_type` field is only necessary when adding or removing a specific unit when the targeted billable metric adopts a `unique_count_agg` aggregation method. In other cases, the `operation_type` field is not required. The valid values for the `operation_type` field are `add` or `remove`, which indicate whether the unit is being added or removed from the unique count aggregation, respectively. diff --git a/src/main/java/org/openapitools/client/model/EventEstimateFeesInput.java b/src/main/java/org/openapitools/client/model/EventEstimateFeesInput.java index 3a80f1f..915e910 100644 --- a/src/main/java/org/openapitools/client/model/EventEstimateFeesInput.java +++ b/src/main/java/org/openapitools/client/model/EventEstimateFeesInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ EventEstimateFeesInput.JSON_PROPERTY_EVENT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventEstimateFeesInput { public static final String JSON_PROPERTY_EVENT = "event"; private EventEstimateFeesInputEvent event; diff --git a/src/main/java/org/openapitools/client/model/EventEstimateFeesInputEvent.java b/src/main/java/org/openapitools/client/model/EventEstimateFeesInputEvent.java index ae3c006..4bcb88b 100644 --- a/src/main/java/org/openapitools/client/model/EventEstimateFeesInputEvent.java +++ b/src/main/java/org/openapitools/client/model/EventEstimateFeesInputEvent.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ EventEstimateFeesInputEvent.JSON_PROPERTY_PROPERTIES }) @JsonTypeName("EventEstimateFeesInput_event") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventEstimateFeesInputEvent { public static final String JSON_PROPERTY_CODE = "code"; private String code; diff --git a/src/main/java/org/openapitools/client/model/EventInput.java b/src/main/java/org/openapitools/client/model/EventInput.java index 7b13632..432e8f6 100644 --- a/src/main/java/org/openapitools/client/model/EventInput.java +++ b/src/main/java/org/openapitools/client/model/EventInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ EventInput.JSON_PROPERTY_EVENT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventInput { public static final String JSON_PROPERTY_EVENT = "event"; private EventInputEvent event; diff --git a/src/main/java/org/openapitools/client/model/EventInputEvent.java b/src/main/java/org/openapitools/client/model/EventInputEvent.java index ef975fa..1c8e552 100644 --- a/src/main/java/org/openapitools/client/model/EventInputEvent.java +++ b/src/main/java/org/openapitools/client/model/EventInputEvent.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ EventInputEvent.JSON_PROPERTY_PROPERTIES }) @JsonTypeName("EventInput_event") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventInputEvent { public static final String JSON_PROPERTY_TRANSACTION_ID = "transaction_id"; private String transactionId; diff --git a/src/main/java/org/openapitools/client/model/EventInputEventTimestamp.java b/src/main/java/org/openapitools/client/model/EventInputEventTimestamp.java index 27457ee..a7e2b43 100644 --- a/src/main/java/org/openapitools/client/model/EventInputEventTimestamp.java +++ b/src/main/java/org/openapitools/client/model/EventInputEventTimestamp.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,7 +25,7 @@ @JsonPropertyOrder({ }) @JsonTypeName("EventInput_event_timestamp") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventInputEventTimestamp { public EventInputEventTimestamp() { } diff --git a/src/main/java/org/openapitools/client/model/EventObject.java b/src/main/java/org/openapitools/client/model/EventObject.java index 942498e..1c62575 100644 --- a/src/main/java/org/openapitools/client/model/EventObject.java +++ b/src/main/java/org/openapitools/client/model/EventObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -41,7 +41,7 @@ EventObject.JSON_PROPERTY_EXTERNAL_SUBSCRIPTION_ID, EventObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/EventObjectProperties.java b/src/main/java/org/openapitools/client/model/EventObjectProperties.java index 6231254..a2f7424 100644 --- a/src/main/java/org/openapitools/client/model/EventObjectProperties.java +++ b/src/main/java/org/openapitools/client/model/EventObjectProperties.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ EventObjectProperties.JSON_PROPERTY_OPERATION_TYPE }) @JsonTypeName("EventObject_properties") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class EventObjectProperties extends HashMap { /** * The `operation_type` field is only necessary when adding or removing a specific unit when the targeted billable metric adopts a `unique_count_agg` aggregation method. In other cases, the `operation_type` field is not required. The valid values for the `operation_type` field are `add` or `remove`, which indicate whether the unit is being added or removed from the unique count aggregation, respectively. diff --git a/src/main/java/org/openapitools/client/model/Fee.java b/src/main/java/org/openapitools/client/model/Fee.java index e013c45..ffbe128 100644 --- a/src/main/java/org/openapitools/client/model/Fee.java +++ b/src/main/java/org/openapitools/client/model/Fee.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Fee.JSON_PROPERTY_FEE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Fee { public static final String JSON_PROPERTY_FEE = "fee"; private FeeObject fee; diff --git a/src/main/java/org/openapitools/client/model/FeeAppliedTaxObject.java b/src/main/java/org/openapitools/client/model/FeeAppliedTaxObject.java index e060273..ef2acac 100644 --- a/src/main/java/org/openapitools/client/model/FeeAppliedTaxObject.java +++ b/src/main/java/org/openapitools/client/model/FeeAppliedTaxObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,7 +42,7 @@ FeeAppliedTaxObject.JSON_PROPERTY_AMOUNT_CURRENCY, FeeAppliedTaxObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeAppliedTaxObject { public static final String JSON_PROPERTY_LAGO_FEE_ID = "lago_fee_id"; private UUID lagoFeeId; diff --git a/src/main/java/org/openapitools/client/model/FeeObject.java b/src/main/java/org/openapitools/client/model/FeeObject.java index 24dec15..2487146 100644 --- a/src/main/java/org/openapitools/client/model/FeeObject.java +++ b/src/main/java/org/openapitools/client/model/FeeObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.math.BigDecimal; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -73,7 +74,7 @@ FeeObject.JSON_PROPERTY_ITEM, FeeObject.JSON_PROPERTY_APPLIED_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private JsonNullable lagoId = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetails.java b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetails.java index 4581c11..b187bbf 100644 --- a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetails.java +++ b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetails.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,9 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; +import org.openapitools.client.model.FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner; import org.openapitools.client.model.FeeObjectAmountDetailsAllOfGraduatedRangesInner; import org.openapitools.client.model.FeeObjectAmountDetailsAllOfVolumeRangesInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -39,7 +41,7 @@ FeeObjectAmountDetails.JSON_PROPERTY_PER_PACKAGE_UNIT_AMOUNT, FeeObjectAmountDetails.JSON_PROPERTY_UNITS, FeeObjectAmountDetails.JSON_PROPERTY_FREE_EVENTS, - FeeObjectAmountDetails.JSON_PROPERTY_PER_UNIT_AMOUNT, + FeeObjectAmountDetails.JSON_PROPERTY_RATE, FeeObjectAmountDetails.JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT, FeeObjectAmountDetails.JSON_PROPERTY_PAID_EVENTS, FeeObjectAmountDetails.JSON_PROPERTY_FIXED_FEE_UNIT_AMOUNT, @@ -48,13 +50,13 @@ FeeObjectAmountDetails.JSON_PROPERTY_VOLUME_RANGES }) @JsonTypeName("FeeObject_amount_details") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeObjectAmountDetails { public static final String JSON_PROPERTY_GRADUATED_RANGES = "graduated_ranges"; private List graduatedRanges; public static final String JSON_PROPERTY_GRADUATED_PERCENTAGE_RANGES = "graduated_percentage_ranges"; - private List graduatedPercentageRanges; + private List graduatedPercentageRanges; public static final String JSON_PROPERTY_FREE_UNITS = "free_units"; private String freeUnits; @@ -74,8 +76,8 @@ public class FeeObjectAmountDetails { public static final String JSON_PROPERTY_FREE_EVENTS = "free_events"; private Integer freeEvents; - public static final String JSON_PROPERTY_PER_UNIT_AMOUNT = "per_unit_amount"; - private String perUnitAmount; + public static final String JSON_PROPERTY_RATE = "rate"; + private String rate; public static final String JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT = "per_unit_total_amount"; private String perUnitTotalAmount; @@ -132,13 +134,13 @@ public void setGraduatedRanges(List graduatedPercentageRanges) { + public FeeObjectAmountDetails graduatedPercentageRanges(List graduatedPercentageRanges) { this.graduatedPercentageRanges = graduatedPercentageRanges; return this; } - public FeeObjectAmountDetails addGraduatedPercentageRangesItem(FeeObjectAmountDetailsAllOfGraduatedRangesInner graduatedPercentageRangesItem) { + public FeeObjectAmountDetails addGraduatedPercentageRangesItem(FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner graduatedPercentageRangesItem) { if (this.graduatedPercentageRanges == null) { this.graduatedPercentageRanges = new ArrayList<>(); } @@ -154,14 +156,14 @@ public FeeObjectAmountDetails addGraduatedPercentageRangesItem(FeeObjectAmountDe @JsonProperty(JSON_PROPERTY_GRADUATED_PERCENTAGE_RANGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGraduatedPercentageRanges() { + public List getGraduatedPercentageRanges() { return graduatedPercentageRanges; } @JsonProperty(JSON_PROPERTY_GRADUATED_PERCENTAGE_RANGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setGraduatedPercentageRanges(List graduatedPercentageRanges) { + public void setGraduatedPercentageRanges(List graduatedPercentageRanges) { this.graduatedPercentageRanges = graduatedPercentageRanges; } @@ -322,29 +324,29 @@ public void setFreeEvents(Integer freeEvents) { } - public FeeObjectAmountDetails perUnitAmount(String perUnitAmount) { + public FeeObjectAmountDetails rate(String rate) { - this.perUnitAmount = perUnitAmount; + this.rate = rate; return this; } /** - * Amount per unit for the Percentage charge model. - * @return perUnitAmount + * Percentage rate applied for the Percentage charge model. + * @return rate **/ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PER_UNIT_AMOUNT) + @JsonProperty(JSON_PROPERTY_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPerUnitAmount() { - return perUnitAmount; + public String getRate() { + return rate; } - @JsonProperty(JSON_PROPERTY_PER_UNIT_AMOUNT) + @JsonProperty(JSON_PROPERTY_RATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPerUnitAmount(String perUnitAmount) { - this.perUnitAmount = perUnitAmount; + public void setRate(String rate) { + this.rate = rate; } @@ -528,7 +530,7 @@ public boolean equals(Object o) { Objects.equals(this.perPackageUnitAmount, feeObjectAmountDetails.perPackageUnitAmount) && Objects.equals(this.units, feeObjectAmountDetails.units) && Objects.equals(this.freeEvents, feeObjectAmountDetails.freeEvents) && - Objects.equals(this.perUnitAmount, feeObjectAmountDetails.perUnitAmount) && + Objects.equals(this.rate, feeObjectAmountDetails.rate) && Objects.equals(this.perUnitTotalAmount, feeObjectAmountDetails.perUnitTotalAmount) && Objects.equals(this.paidEvents, feeObjectAmountDetails.paidEvents) && Objects.equals(this.fixedFeeUnitAmount, feeObjectAmountDetails.fixedFeeUnitAmount) && @@ -539,7 +541,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(graduatedRanges, graduatedPercentageRanges, freeUnits, paidUnits, perPackageSize, perPackageUnitAmount, units, freeEvents, perUnitAmount, perUnitTotalAmount, paidEvents, fixedFeeUnitAmount, fixedFeeTotalAmount, minMaxAdjustmentTotalAmount, volumeRanges); + return Objects.hash(graduatedRanges, graduatedPercentageRanges, freeUnits, paidUnits, perPackageSize, perPackageUnitAmount, units, freeEvents, rate, perUnitTotalAmount, paidEvents, fixedFeeUnitAmount, fixedFeeTotalAmount, minMaxAdjustmentTotalAmount, volumeRanges); } @Override @@ -554,7 +556,7 @@ public String toString() { sb.append(" perPackageUnitAmount: ").append(toIndentedString(perPackageUnitAmount)).append("\n"); sb.append(" units: ").append(toIndentedString(units)).append("\n"); sb.append(" freeEvents: ").append(toIndentedString(freeEvents)).append("\n"); - sb.append(" perUnitAmount: ").append(toIndentedString(perUnitAmount)).append("\n"); + sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); sb.append(" perUnitTotalAmount: ").append(toIndentedString(perUnitTotalAmount)).append("\n"); sb.append(" paidEvents: ").append(toIndentedString(paidEvents)).append("\n"); sb.append(" fixedFeeUnitAmount: ").append(toIndentedString(fixedFeeUnitAmount)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.java b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.java new file mode 100644 index 0000000..5845497 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.java @@ -0,0 +1,296 @@ +/* + * Lago API documentation + * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. + * + * The version of the OpenAPI document: 0.53.0-beta + * Contact: tech@getlago.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner + */ +@JsonPropertyOrder({ + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_UNITS, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_FROM_VALUE, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_TO_VALUE, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_FLAT_UNIT_AMOUNT, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_RATE, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT, + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.JSON_PROPERTY_TOTAL_WITH_FLAT_AMOUNT +}) +@JsonTypeName("FeeObject_amount_details_allOf_graduated_percentage_ranges_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") +public class FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner { + public static final String JSON_PROPERTY_UNITS = "units"; + private String units; + + public static final String JSON_PROPERTY_FROM_VALUE = "from_value"; + private Integer fromValue; + + public static final String JSON_PROPERTY_TO_VALUE = "to_value"; + private Integer toValue; + + public static final String JSON_PROPERTY_FLAT_UNIT_AMOUNT = "flat_unit_amount"; + private String flatUnitAmount; + + public static final String JSON_PROPERTY_RATE = "rate"; + private String rate; + + public static final String JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT = "per_unit_total_amount"; + private String perUnitTotalAmount; + + public static final String JSON_PROPERTY_TOTAL_WITH_FLAT_AMOUNT = "total_with_flat_amount"; + private String totalWithFlatAmount; + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner() { + } + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner units(String units) { + + this.units = units; + return this; + } + + /** + * Total units received in Lago. + * @return units + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_UNITS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUnits() { + return units; + } + + + @JsonProperty(JSON_PROPERTY_UNITS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUnits(String units) { + this.units = units; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner fromValue(Integer fromValue) { + + this.fromValue = fromValue; + return this; + } + + /** + * Lower value of a tier. It is either 0 or the previous range's `to_value + 1`. + * @return fromValue + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FROM_VALUE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Integer getFromValue() { + return fromValue; + } + + + @JsonProperty(JSON_PROPERTY_FROM_VALUE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFromValue(Integer fromValue) { + this.fromValue = fromValue; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner toValue(Integer toValue) { + + this.toValue = toValue; + return this; + } + + /** + * Highest value of a tier. - This value is higher than the from_value of the same tier. - This value is null for the last tier. + * @return toValue + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TO_VALUE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Integer getToValue() { + return toValue; + } + + + @JsonProperty(JSON_PROPERTY_TO_VALUE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setToValue(Integer toValue) { + this.toValue = toValue; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner flatUnitAmount(String flatUnitAmount) { + + this.flatUnitAmount = flatUnitAmount; + return this; + } + + /** + * Flat unit amount within a specified tier. + * @return flatUnitAmount + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FLAT_UNIT_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getFlatUnitAmount() { + return flatUnitAmount; + } + + + @JsonProperty(JSON_PROPERTY_FLAT_UNIT_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFlatUnitAmount(String flatUnitAmount) { + this.flatUnitAmount = flatUnitAmount; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner rate(String rate) { + + this.rate = rate; + return this; + } + + /** + * Percentage rate applied within a specified tier. + * @return rate + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_RATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getRate() { + return rate; + } + + + @JsonProperty(JSON_PROPERTY_RATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setRate(String rate) { + this.rate = rate; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner perUnitTotalAmount(String perUnitTotalAmount) { + + this.perUnitTotalAmount = perUnitTotalAmount; + return this; + } + + /** + * Total amount of received units to be charged within a specified tier. + * @return perUnitTotalAmount + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getPerUnitTotalAmount() { + return perUnitTotalAmount; + } + + + @JsonProperty(JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPerUnitTotalAmount(String perUnitTotalAmount) { + this.perUnitTotalAmount = perUnitTotalAmount; + } + + + public FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner totalWithFlatAmount(String totalWithFlatAmount) { + + this.totalWithFlatAmount = totalWithFlatAmount; + return this; + } + + /** + * Total amount to be charged for a specific tier, taking into account the flat_unit_amount and the per_unit_total_amount. + * @return totalWithFlatAmount + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_WITH_FLAT_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getTotalWithFlatAmount() { + return totalWithFlatAmount; + } + + + @JsonProperty(JSON_PROPERTY_TOTAL_WITH_FLAT_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalWithFlatAmount(String totalWithFlatAmount) { + this.totalWithFlatAmount = totalWithFlatAmount; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner = (FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner) o; + return Objects.equals(this.units, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.units) && + Objects.equals(this.fromValue, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.fromValue) && + Objects.equals(this.toValue, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.toValue) && + Objects.equals(this.flatUnitAmount, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.flatUnitAmount) && + Objects.equals(this.rate, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.rate) && + Objects.equals(this.perUnitTotalAmount, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.perUnitTotalAmount) && + Objects.equals(this.totalWithFlatAmount, feeObjectAmountDetailsAllOfGraduatedPercentageRangesInner.totalWithFlatAmount); + } + + @Override + public int hashCode() { + return Objects.hash(units, fromValue, toValue, flatUnitAmount, rate, perUnitTotalAmount, totalWithFlatAmount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner {\n"); + sb.append(" units: ").append(toIndentedString(units)).append("\n"); + sb.append(" fromValue: ").append(toIndentedString(fromValue)).append("\n"); + sb.append(" toValue: ").append(toIndentedString(toValue)).append("\n"); + sb.append(" flatUnitAmount: ").append(toIndentedString(flatUnitAmount)).append("\n"); + sb.append(" rate: ").append(toIndentedString(rate)).append("\n"); + sb.append(" perUnitTotalAmount: ").append(toIndentedString(perUnitTotalAmount)).append("\n"); + sb.append(" totalWithFlatAmount: ").append(toIndentedString(totalWithFlatAmount)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInner.java b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInner.java index 42fd5cd..ab18927 100644 --- a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInner.java +++ b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedRangesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -36,7 +36,7 @@ FeeObjectAmountDetailsAllOfGraduatedRangesInner.JSON_PROPERTY_TOTAL_WITH_FLAT_AMOUNT }) @JsonTypeName("FeeObject_amount_details_allOf_graduated_ranges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeObjectAmountDetailsAllOfGraduatedRangesInner { public static final String JSON_PROPERTY_UNITS = "units"; private String units; diff --git a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInner.java b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInner.java index 7172aa0..9c3011f 100644 --- a/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInner.java +++ b/src/main/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfVolumeRangesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ FeeObjectAmountDetailsAllOfVolumeRangesInner.JSON_PROPERTY_PER_UNIT_TOTAL_AMOUNT }) @JsonTypeName("FeeObject_amount_details_allOf_volume_ranges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeObjectAmountDetailsAllOfVolumeRangesInner { public static final String JSON_PROPERTY_PER_UNIT_AMOUNT = "per_unit_amount"; private String perUnitAmount; diff --git a/src/main/java/org/openapitools/client/model/FeeObjectItem.java b/src/main/java/org/openapitools/client/model/FeeObjectItem.java index bf012e3..f225084 100644 --- a/src/main/java/org/openapitools/client/model/FeeObjectItem.java +++ b/src/main/java/org/openapitools/client/model/FeeObjectItem.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,7 @@ FeeObjectItem.JSON_PROPERTY_ITEM_TYPE }) @JsonTypeName("FeeObject_item") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeObjectItem { /** * The fee type. Possible values are `add-on`, `charge`, `credit` or `subscription`. diff --git a/src/main/java/org/openapitools/client/model/FeeUpdateInput.java b/src/main/java/org/openapitools/client/model/FeeUpdateInput.java index fe20f7f..ff385ee 100644 --- a/src/main/java/org/openapitools/client/model/FeeUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/FeeUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ FeeUpdateInput.JSON_PROPERTY_FEE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeUpdateInput { public static final String JSON_PROPERTY_FEE = "fee"; private FeeUpdateInputFee fee; diff --git a/src/main/java/org/openapitools/client/model/FeeUpdateInputFee.java b/src/main/java/org/openapitools/client/model/FeeUpdateInputFee.java index b18d299..b9aff04 100644 --- a/src/main/java/org/openapitools/client/model/FeeUpdateInputFee.java +++ b/src/main/java/org/openapitools/client/model/FeeUpdateInputFee.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ FeeUpdateInputFee.JSON_PROPERTY_PAYMENT_STATUS }) @JsonTypeName("FeeUpdateInput_fee") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeeUpdateInputFee { /** * The payment status of the fee. Possible values are `pending`, `succeeded`, `failed` or `refunded`. diff --git a/src/main/java/org/openapitools/client/model/Fees.java b/src/main/java/org/openapitools/client/model/Fees.java index 03f880a..c8f32f1 100644 --- a/src/main/java/org/openapitools/client/model/Fees.java +++ b/src/main/java/org/openapitools/client/model/Fees.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.FeeObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ Fees.JSON_PROPERTY_FEES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Fees { public static final String JSON_PROPERTY_FEES = "fees"; private List fees = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/FeesPaginated.java b/src/main/java/org/openapitools/client/model/FeesPaginated.java index 829297e..5815398 100644 --- a/src/main/java/org/openapitools/client/model/FeesPaginated.java +++ b/src/main/java/org/openapitools/client/model/FeesPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.FeeObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ FeesPaginated.JSON_PROPERTY_FEES, FeesPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class FeesPaginated { public static final String JSON_PROPERTY_FEES = "fees"; private List fees = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/GenerateCustomerCheckoutURL200Response.java b/src/main/java/org/openapitools/client/model/GenerateCustomerCheckoutURL200Response.java index b8cbe8c..8672092 100644 --- a/src/main/java/org/openapitools/client/model/GenerateCustomerCheckoutURL200Response.java +++ b/src/main/java/org/openapitools/client/model/GenerateCustomerCheckoutURL200Response.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ GenerateCustomerCheckoutURL200Response.JSON_PROPERTY_CHECKOUT_URL }) @JsonTypeName("generateCustomerCheckoutURL_200_response") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GenerateCustomerCheckoutURL200Response { public static final String JSON_PROPERTY_LAGO_CUSTOMER_ID = "lago_customer_id"; private String lagoCustomerId; diff --git a/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200Response.java b/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200Response.java index 712433d..18c2486 100644 --- a/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200Response.java +++ b/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200Response.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ GetCustomerPortalUrl200Response.JSON_PROPERTY_CUSTOMER }) @JsonTypeName("getCustomerPortalUrl_200_response") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GetCustomerPortalUrl200Response { public static final String JSON_PROPERTY_CUSTOMER = "customer"; private GetCustomerPortalUrl200ResponseCustomer customer; diff --git a/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseCustomer.java b/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseCustomer.java index 68e7ec9..43f1f7a 100644 --- a/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseCustomer.java +++ b/src/main/java/org/openapitools/client/model/GetCustomerPortalUrl200ResponseCustomer.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ GetCustomerPortalUrl200ResponseCustomer.JSON_PROPERTY_PORTAL_URL }) @JsonTypeName("getCustomerPortalUrl_200_response_customer") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GetCustomerPortalUrl200ResponseCustomer { public static final String JSON_PROPERTY_PORTAL_URL = "portal_url"; private String portalUrl; diff --git a/src/main/java/org/openapitools/client/model/GrossRevenueObject.java b/src/main/java/org/openapitools/client/model/GrossRevenueObject.java index 99c6135..37658c5 100644 --- a/src/main/java/org/openapitools/client/model/GrossRevenueObject.java +++ b/src/main/java/org/openapitools/client/model/GrossRevenueObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ GrossRevenueObject.JSON_PROPERTY_AMOUNT_CENTS, GrossRevenueObject.JSON_PROPERTY_CURRENCY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GrossRevenueObject { public static final String JSON_PROPERTY_MONTH = "month"; private String month; diff --git a/src/main/java/org/openapitools/client/model/GrossRevenues.java b/src/main/java/org/openapitools/client/model/GrossRevenues.java index c661f9a..bb83ca5 100644 --- a/src/main/java/org/openapitools/client/model/GrossRevenues.java +++ b/src/main/java/org/openapitools/client/model/GrossRevenues.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.GrossRevenueObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ GrossRevenues.JSON_PROPERTY_GROSS_REVENUES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GrossRevenues { public static final String JSON_PROPERTY_GROSS_REVENUES = "gross_revenues"; private List grossRevenues = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/GroupObject.java b/src/main/java/org/openapitools/client/model/GroupObject.java index 1044055..cce5bae 100644 --- a/src/main/java/org/openapitools/client/model/GroupObject.java +++ b/src/main/java/org/openapitools/client/model/GroupObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ GroupObject.JSON_PROPERTY_KEY, GroupObject.JSON_PROPERTY_VALUE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GroupObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/GroupPropertiesObject.java b/src/main/java/org/openapitools/client/model/GroupPropertiesObject.java index 51706f1..c3c886f 100644 --- a/src/main/java/org/openapitools/client/model/GroupPropertiesObject.java +++ b/src/main/java/org/openapitools/client/model/GroupPropertiesObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ GroupPropertiesObject.JSON_PROPERTY_INVOICE_DISPLAY_NAME, GroupPropertiesObject.JSON_PROPERTY_VALUES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GroupPropertiesObject { public static final String JSON_PROPERTY_GROUP_ID = "group_id"; private UUID groupId; diff --git a/src/main/java/org/openapitools/client/model/GroupPropertiesObjectValues.java b/src/main/java/org/openapitools/client/model/GroupPropertiesObjectValues.java index 5034587..072647b 100644 --- a/src/main/java/org/openapitools/client/model/GroupPropertiesObjectValues.java +++ b/src/main/java/org/openapitools/client/model/GroupPropertiesObjectValues.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ChargePropertiesGraduatedPercentageRangesInner; import org.openapitools.client.model.ChargePropertiesGraduatedRangesInner; @@ -50,7 +51,7 @@ GroupPropertiesObjectValues.JSON_PROPERTY_VOLUME_RANGES }) @JsonTypeName("GroupPropertiesObject_values") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GroupPropertiesObjectValues { public static final String JSON_PROPERTY_GRADUATED_RANGES = "graduated_ranges"; private List graduatedRanges; diff --git a/src/main/java/org/openapitools/client/model/GroupsPaginated.java b/src/main/java/org/openapitools/client/model/GroupsPaginated.java index 524ed9b..d47596f 100644 --- a/src/main/java/org/openapitools/client/model/GroupsPaginated.java +++ b/src/main/java/org/openapitools/client/model/GroupsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.GroupObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ GroupsPaginated.JSON_PROPERTY_GROUPS, GroupsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class GroupsPaginated { public static final String JSON_PROPERTY_GROUPS = "groups"; private List groups = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Invoice.java b/src/main/java/org/openapitools/client/model/Invoice.java index 7afc78e..7f25e01 100644 --- a/src/main/java/org/openapitools/client/model/Invoice.java +++ b/src/main/java/org/openapitools/client/model/Invoice.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Invoice.JSON_PROPERTY_INVOICE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Invoice { public static final String JSON_PROPERTY_INVOICE = "invoice"; private InvoiceObjectExtended invoice; diff --git a/src/main/java/org/openapitools/client/model/InvoiceAppliedTaxObject.java b/src/main/java/org/openapitools/client/model/InvoiceAppliedTaxObject.java index 99e3c2f..b6bfb22 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceAppliedTaxObject.java +++ b/src/main/java/org/openapitools/client/model/InvoiceAppliedTaxObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -43,7 +43,7 @@ InvoiceAppliedTaxObject.JSON_PROPERTY_AMOUNT_CURRENCY, InvoiceAppliedTaxObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceAppliedTaxObject { public static final String JSON_PROPERTY_LAGO_INVOICE_ID = "lago_invoice_id"; private UUID lagoInvoiceId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceCollectionObject.java b/src/main/java/org/openapitools/client/model/InvoiceCollectionObject.java index 81da9e9..60a02de 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceCollectionObject.java +++ b/src/main/java/org/openapitools/client/model/InvoiceCollectionObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,7 +34,7 @@ InvoiceCollectionObject.JSON_PROPERTY_AMOUNT_CENTS, InvoiceCollectionObject.JSON_PROPERTY_CURRENCY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceCollectionObject { public static final String JSON_PROPERTY_MONTH = "month"; private String month; diff --git a/src/main/java/org/openapitools/client/model/InvoiceCollections.java b/src/main/java/org/openapitools/client/model/InvoiceCollections.java index 2b79dc4..d0ac6c4 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceCollections.java +++ b/src/main/java/org/openapitools/client/model/InvoiceCollections.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.InvoiceCollectionObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ InvoiceCollections.JSON_PROPERTY_INVOICE_COLLECTIONS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceCollections { public static final String JSON_PROPERTY_INVOICE_COLLECTIONS = "invoice_collections"; private List invoiceCollections = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/InvoiceMetadataObject.java b/src/main/java/org/openapitools/client/model/InvoiceMetadataObject.java index 224760b..98ed42a 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceMetadataObject.java +++ b/src/main/java/org/openapitools/client/model/InvoiceMetadataObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,7 +34,7 @@ InvoiceMetadataObject.JSON_PROPERTY_VALUE, InvoiceMetadataObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceMetadataObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceObject.java b/src/main/java/org/openapitools/client/model/InvoiceObject.java index 4783280..cbc4b81 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceObject.java +++ b/src/main/java/org/openapitools/client/model/InvoiceObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.net.URI; import java.time.LocalDate; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -60,7 +61,7 @@ InvoiceObject.JSON_PROPERTY_METADATA, InvoiceObject.JSON_PROPERTY_APPLIED_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceObjectCustomer.java b/src/main/java/org/openapitools/client/model/InvoiceObjectCustomer.java index 3c5c865..bf1871a 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceObjectCustomer.java +++ b/src/main/java/org/openapitools/client/model/InvoiceObjectCustomer.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Country; @@ -68,7 +69,7 @@ InvoiceObjectCustomer.JSON_PROPERTY_METADATA }) @JsonTypeName("InvoiceObject_customer") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceObjectCustomer { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceObjectExtended.java b/src/main/java/org/openapitools/client/model/InvoiceObjectExtended.java index e4c87ce..d35b93c 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceObjectExtended.java +++ b/src/main/java/org/openapitools/client/model/InvoiceObjectExtended.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.net.URI; import java.time.LocalDate; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.CreditObject; @@ -66,7 +67,7 @@ InvoiceObjectExtended.JSON_PROPERTY_FEES, InvoiceObjectExtended.JSON_PROPERTY_SUBSCRIPTIONS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceObjectExtended { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInput.java b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInput.java index eecd2f5..021cbd5 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInput.java +++ b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ InvoiceOneOffCreateInput.JSON_PROPERTY_INVOICE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceOneOffCreateInput { public static final String JSON_PROPERTY_INVOICE = "invoice"; private InvoiceOneOffCreateInputInvoice invoice; diff --git a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoice.java b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoice.java index c8fe464..dc2077a 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoice.java +++ b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoice.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.InvoiceOneOffCreateInputInvoiceFeesInner; @@ -36,7 +37,7 @@ InvoiceOneOffCreateInputInvoice.JSON_PROPERTY_FEES }) @JsonTypeName("InvoiceOneOffCreateInput_invoice") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceOneOffCreateInputInvoice { public static final String JSON_PROPERTY_EXTERNAL_CUSTOMER_ID = "external_customer_id"; private String externalCustomerId; diff --git a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceFeesInner.java b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceFeesInner.java index ecdd599..c65a895 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceFeesInner.java +++ b/src/main/java/org/openapitools/client/model/InvoiceOneOffCreateInputInvoiceFeesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -41,7 +42,7 @@ InvoiceOneOffCreateInputInvoiceFeesInner.JSON_PROPERTY_TAX_CODES }) @JsonTypeName("InvoiceOneOffCreateInput_invoice_fees_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceOneOffCreateInputInvoiceFeesInner { public static final String JSON_PROPERTY_ADD_ON_CODE = "add_on_code"; private String addOnCode; diff --git a/src/main/java/org/openapitools/client/model/InvoiceUpdateInput.java b/src/main/java/org/openapitools/client/model/InvoiceUpdateInput.java index c14213a..3cca2cb 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/InvoiceUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ InvoiceUpdateInput.JSON_PROPERTY_INVOICE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceUpdateInput { public static final String JSON_PROPERTY_INVOICE = "invoice"; private InvoiceUpdateInputInvoice invoice; diff --git a/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoice.java b/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoice.java index f999789..61417fe 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoice.java +++ b/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoice.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.InvoiceUpdateInputInvoiceMetadataInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -34,7 +35,7 @@ InvoiceUpdateInputInvoice.JSON_PROPERTY_METADATA }) @JsonTypeName("InvoiceUpdateInput_invoice") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceUpdateInputInvoice { /** * The payment status of the invoice. Possible values are `pending`, `failed` or `succeeded`. diff --git a/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceMetadataInner.java b/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceMetadataInner.java index 7c00519..d3b49c7 100644 --- a/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceMetadataInner.java +++ b/src/main/java/org/openapitools/client/model/InvoiceUpdateInputInvoiceMetadataInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ InvoiceUpdateInputInvoiceMetadataInner.JSON_PROPERTY_VALUE }) @JsonTypeName("InvoiceUpdateInput_invoice_metadata_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoiceUpdateInputInvoiceMetadataInner { public static final String JSON_PROPERTY_ID = "id"; private UUID id; diff --git a/src/main/java/org/openapitools/client/model/InvoicedUsageObject.java b/src/main/java/org/openapitools/client/model/InvoicedUsageObject.java index 60b79fb..edf1e19 100644 --- a/src/main/java/org/openapitools/client/model/InvoicedUsageObject.java +++ b/src/main/java/org/openapitools/client/model/InvoicedUsageObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ InvoicedUsageObject.JSON_PROPERTY_AMOUNT_CENTS, InvoicedUsageObject.JSON_PROPERTY_CURRENCY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoicedUsageObject { public static final String JSON_PROPERTY_MONTH = "month"; private String month; diff --git a/src/main/java/org/openapitools/client/model/InvoicedUsages.java b/src/main/java/org/openapitools/client/model/InvoicedUsages.java index 6011963..fc295b2 100644 --- a/src/main/java/org/openapitools/client/model/InvoicedUsages.java +++ b/src/main/java/org/openapitools/client/model/InvoicedUsages.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.InvoicedUsageObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ InvoicedUsages.JSON_PROPERTY_INVOICED_USAGES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoicedUsages { public static final String JSON_PROPERTY_INVOICED_USAGES = "invoiced_usages"; private List invoicedUsages = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/InvoicesPaginated.java b/src/main/java/org/openapitools/client/model/InvoicesPaginated.java index 9761bd0..e1ccc31 100644 --- a/src/main/java/org/openapitools/client/model/InvoicesPaginated.java +++ b/src/main/java/org/openapitools/client/model/InvoicesPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.InvoiceObject; import org.openapitools.client.model.PaginationMeta; @@ -34,7 +35,7 @@ InvoicesPaginated.JSON_PROPERTY_INVOICES, InvoicesPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class InvoicesPaginated { public static final String JSON_PROPERTY_INVOICES = "invoices"; private List invoices = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/MrrObject.java b/src/main/java/org/openapitools/client/model/MrrObject.java index 0a0d22e..2d06bc9 100644 --- a/src/main/java/org/openapitools/client/model/MrrObject.java +++ b/src/main/java/org/openapitools/client/model/MrrObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ MrrObject.JSON_PROPERTY_AMOUNT_CENTS, MrrObject.JSON_PROPERTY_CURRENCY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class MrrObject { public static final String JSON_PROPERTY_MONTH = "month"; private String month; diff --git a/src/main/java/org/openapitools/client/model/Mrrs.java b/src/main/java/org/openapitools/client/model/Mrrs.java index 9623457..095d3dc 100644 --- a/src/main/java/org/openapitools/client/model/Mrrs.java +++ b/src/main/java/org/openapitools/client/model/Mrrs.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.MrrObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ Mrrs.JSON_PROPERTY_MRRS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Mrrs { public static final String JSON_PROPERTY_MRRS = "mrrs"; private List mrrs = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Organization.java b/src/main/java/org/openapitools/client/model/Organization.java index c779a12..f471c44 100644 --- a/src/main/java/org/openapitools/client/model/Organization.java +++ b/src/main/java/org/openapitools/client/model/Organization.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Organization.JSON_PROPERTY_ORGANIZATION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Organization { public static final String JSON_PROPERTY_ORGANIZATION = "organization"; private OrganizationObject organization; diff --git a/src/main/java/org/openapitools/client/model/OrganizationBillingConfiguration.java b/src/main/java/org/openapitools/client/model/OrganizationBillingConfiguration.java index bfb91dd..32c6cee 100644 --- a/src/main/java/org/openapitools/client/model/OrganizationBillingConfiguration.java +++ b/src/main/java/org/openapitools/client/model/OrganizationBillingConfiguration.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,7 @@ OrganizationBillingConfiguration.JSON_PROPERTY_INVOICE_GRACE_PERIOD, OrganizationBillingConfiguration.JSON_PROPERTY_DOCUMENT_LOCALE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class OrganizationBillingConfiguration { public static final String JSON_PROPERTY_INVOICE_FOOTER = "invoice_footer"; private JsonNullable invoiceFooter = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/OrganizationObject.java b/src/main/java/org/openapitools/client/model/OrganizationObject.java index 5cc6720..3e4d8cd 100644 --- a/src/main/java/org/openapitools/client/model/OrganizationObject.java +++ b/src/main/java/org/openapitools/client/model/OrganizationObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Country; @@ -55,13 +56,15 @@ OrganizationObject.JSON_PROPERTY_CITY, OrganizationObject.JSON_PROPERTY_LEGAL_NAME, OrganizationObject.JSON_PROPERTY_LEGAL_NUMBER, + OrganizationObject.JSON_PROPERTY_DOCUMENT_NUMBERING, + OrganizationObject.JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX, OrganizationObject.JSON_PROPERTY_NET_PAYMENT_TERM, OrganizationObject.JSON_PROPERTY_TAX_IDENTIFICATION_NUMBER, OrganizationObject.JSON_PROPERTY_TIMEZONE, OrganizationObject.JSON_PROPERTY_BILLING_CONFIGURATION, OrganizationObject.JSON_PROPERTY_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class OrganizationObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; @@ -108,6 +111,47 @@ public class OrganizationObject { public static final String JSON_PROPERTY_LEGAL_NUMBER = "legal_number"; private JsonNullable legalNumber = JsonNullable.undefined(); + /** + * This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + */ + public enum DocumentNumberingEnum { + CUSTOMER("per_customer"), + + ORGANIZATION("per_organization"); + + private String value; + + DocumentNumberingEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static DocumentNumberingEnum fromValue(String value) { + for (DocumentNumberingEnum b : DocumentNumberingEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_DOCUMENT_NUMBERING = "document_numbering"; + private DocumentNumberingEnum documentNumbering; + + public static final String JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX = "document_number_prefix"; + private String documentNumberPrefix; + public static final String JSON_PROPERTY_NET_PAYMENT_TERM = "net_payment_term"; private Integer netPaymentTerm; @@ -608,6 +652,58 @@ public void setLegalNumber(String legalNumber) { } + public OrganizationObject documentNumbering(DocumentNumberingEnum documentNumbering) { + + this.documentNumbering = documentNumbering; + return this; + } + + /** + * This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + * @return documentNumbering + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBERING) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public DocumentNumberingEnum getDocumentNumbering() { + return documentNumbering; + } + + + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBERING) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDocumentNumbering(DocumentNumberingEnum documentNumbering) { + this.documentNumbering = documentNumbering; + } + + + public OrganizationObject documentNumberPrefix(String documentNumberPrefix) { + + this.documentNumberPrefix = documentNumberPrefix; + return this; + } + + /** + * Sets the prefix for invoices and credit notes. Default is the first three letters of your organization name plus the last four digits of your organization ID. Customizable within 1-10 characters, and automatically capitalized by Lago. + * @return documentNumberPrefix + **/ + @javax.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getDocumentNumberPrefix() { + return documentNumberPrefix; + } + + + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDocumentNumberPrefix(String documentNumberPrefix) { + this.documentNumberPrefix = documentNumberPrefix; + } + + public OrganizationObject netPaymentTerm(Integer netPaymentTerm) { this.netPaymentTerm = netPaymentTerm; @@ -777,6 +873,8 @@ public boolean equals(Object o) { equalsNullable(this.city, organizationObject.city) && equalsNullable(this.legalName, organizationObject.legalName) && equalsNullable(this.legalNumber, organizationObject.legalNumber) && + Objects.equals(this.documentNumbering, organizationObject.documentNumbering) && + Objects.equals(this.documentNumberPrefix, organizationObject.documentNumberPrefix) && Objects.equals(this.netPaymentTerm, organizationObject.netPaymentTerm) && equalsNullable(this.taxIdentificationNumber, organizationObject.taxIdentificationNumber) && Objects.equals(this.timezone, organizationObject.timezone) && @@ -790,7 +888,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(lagoId, name, createdAt, hashCodeNullable(webhookUrl), hashCodeNullable(webhookUrls), country, defaultCurrency, hashCodeNullable(addressLine1), hashCodeNullable(addressLine2), hashCodeNullable(state), hashCodeNullable(zipcode), hashCodeNullable(email), hashCodeNullable(city), hashCodeNullable(legalName), hashCodeNullable(legalNumber), netPaymentTerm, hashCodeNullable(taxIdentificationNumber), timezone, billingConfiguration, taxes); + return Objects.hash(lagoId, name, createdAt, hashCodeNullable(webhookUrl), hashCodeNullable(webhookUrls), country, defaultCurrency, hashCodeNullable(addressLine1), hashCodeNullable(addressLine2), hashCodeNullable(state), hashCodeNullable(zipcode), hashCodeNullable(email), hashCodeNullable(city), hashCodeNullable(legalName), hashCodeNullable(legalNumber), documentNumbering, documentNumberPrefix, netPaymentTerm, hashCodeNullable(taxIdentificationNumber), timezone, billingConfiguration, taxes); } private static int hashCodeNullable(JsonNullable a) { @@ -819,6 +917,8 @@ public String toString() { sb.append(" city: ").append(toIndentedString(city)).append("\n"); sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n"); sb.append(" legalNumber: ").append(toIndentedString(legalNumber)).append("\n"); + sb.append(" documentNumbering: ").append(toIndentedString(documentNumbering)).append("\n"); + sb.append(" documentNumberPrefix: ").append(toIndentedString(documentNumberPrefix)).append("\n"); sb.append(" netPaymentTerm: ").append(toIndentedString(netPaymentTerm)).append("\n"); sb.append(" taxIdentificationNumber: ").append(toIndentedString(taxIdentificationNumber)).append("\n"); sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/OrganizationUpdateInput.java b/src/main/java/org/openapitools/client/model/OrganizationUpdateInput.java index 5c48f8e..753b22f 100644 --- a/src/main/java/org/openapitools/client/model/OrganizationUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/OrganizationUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ OrganizationUpdateInput.JSON_PROPERTY_ORGANIZATION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class OrganizationUpdateInput { public static final String JSON_PROPERTY_ORGANIZATION = "organization"; private OrganizationUpdateInputOrganization organization; diff --git a/src/main/java/org/openapitools/client/model/OrganizationUpdateInputOrganization.java b/src/main/java/org/openapitools/client/model/OrganizationUpdateInputOrganization.java index e394d7a..3629e2d 100644 --- a/src/main/java/org/openapitools/client/model/OrganizationUpdateInputOrganization.java +++ b/src/main/java/org/openapitools/client/model/OrganizationUpdateInputOrganization.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Country; import org.openapitools.client.model.Currency; @@ -48,6 +49,8 @@ OrganizationUpdateInputOrganization.JSON_PROPERTY_CITY, OrganizationUpdateInputOrganization.JSON_PROPERTY_LEGAL_NAME, OrganizationUpdateInputOrganization.JSON_PROPERTY_LEGAL_NUMBER, + OrganizationUpdateInputOrganization.JSON_PROPERTY_DOCUMENT_NUMBERING, + OrganizationUpdateInputOrganization.JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX, OrganizationUpdateInputOrganization.JSON_PROPERTY_NET_PAYMENT_TERM, OrganizationUpdateInputOrganization.JSON_PROPERTY_TAX_IDENTIFICATION_NUMBER, OrganizationUpdateInputOrganization.JSON_PROPERTY_TIMEZONE, @@ -55,7 +58,7 @@ OrganizationUpdateInputOrganization.JSON_PROPERTY_BILLING_CONFIGURATION }) @JsonTypeName("OrganizationUpdateInput_organization") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class OrganizationUpdateInputOrganization { public static final String JSON_PROPERTY_WEBHOOK_URL = "webhook_url"; private JsonNullable webhookUrl = JsonNullable.undefined(); @@ -90,6 +93,47 @@ public class OrganizationUpdateInputOrganization { public static final String JSON_PROPERTY_LEGAL_NUMBER = "legal_number"; private JsonNullable legalNumber = JsonNullable.undefined(); + /** + * This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + */ + public enum DocumentNumberingEnum { + CUSTOMER("per_customer"), + + ORGANIZATION("per_organization"); + + private String value; + + DocumentNumberingEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static DocumentNumberingEnum fromValue(String value) { + for (DocumentNumberingEnum b : DocumentNumberingEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_DOCUMENT_NUMBERING = "document_numbering"; + private DocumentNumberingEnum documentNumbering; + + public static final String JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX = "document_number_prefix"; + private String documentNumberPrefix; + public static final String JSON_PROPERTY_NET_PAYMENT_TERM = "net_payment_term"; private Integer netPaymentTerm; @@ -501,6 +545,58 @@ public void setLegalNumber(String legalNumber) { } + public OrganizationUpdateInputOrganization documentNumbering(DocumentNumberingEnum documentNumbering) { + + this.documentNumbering = documentNumbering; + return this; + } + + /** + * This parameter configures the method of incrementing invoice numbers for your customers. - `per_customer`: Invoice numbers are incremented individually for each customer. This means every customer will have their own unique sequence of invoice numbers, separate from other customers. It ensures that each customer's invoice numbers follow a distinct and isolated numbering pattern. - `per_organization`: Invoice number incrementation is made across your entire organization. Rather than individual sequences for each customer, all invoices within the organization follow a single, unified numbering system. This creates a continuous and organization-wide sequence for all invoice numbers. Invoices are incremented per month (dynamic value used is YYYYMM), and invoice numbers are reset at the end of each month. The default value for `document_numbering` is set to `per_customer`, meaning that, unless changed, invoice numbers will increment uniquely for each customer. + * @return documentNumbering + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBERING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public DocumentNumberingEnum getDocumentNumbering() { + return documentNumbering; + } + + + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBERING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDocumentNumbering(DocumentNumberingEnum documentNumbering) { + this.documentNumbering = documentNumbering; + } + + + public OrganizationUpdateInputOrganization documentNumberPrefix(String documentNumberPrefix) { + + this.documentNumberPrefix = documentNumberPrefix; + return this; + } + + /** + * Sets the prefix for invoices and credit notes. Default is the first three letters of your organization name plus the last four digits of your organization ID. Customizable within 1-10 characters, and automatically capitalized by Lago. + * @return documentNumberPrefix + **/ + @javax.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDocumentNumberPrefix() { + return documentNumberPrefix; + } + + + @JsonProperty(JSON_PROPERTY_DOCUMENT_NUMBER_PREFIX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDocumentNumberPrefix(String documentNumberPrefix) { + this.documentNumberPrefix = documentNumberPrefix; + } + + public OrganizationUpdateInputOrganization netPaymentTerm(Integer netPaymentTerm) { this.netPaymentTerm = netPaymentTerm; @@ -666,6 +762,8 @@ public boolean equals(Object o) { equalsNullable(this.city, organizationUpdateInputOrganization.city) && equalsNullable(this.legalName, organizationUpdateInputOrganization.legalName) && equalsNullable(this.legalNumber, organizationUpdateInputOrganization.legalNumber) && + Objects.equals(this.documentNumbering, organizationUpdateInputOrganization.documentNumbering) && + Objects.equals(this.documentNumberPrefix, organizationUpdateInputOrganization.documentNumberPrefix) && Objects.equals(this.netPaymentTerm, organizationUpdateInputOrganization.netPaymentTerm) && equalsNullable(this.taxIdentificationNumber, organizationUpdateInputOrganization.taxIdentificationNumber) && Objects.equals(this.timezone, organizationUpdateInputOrganization.timezone) && @@ -679,7 +777,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(hashCodeNullable(webhookUrl), country, defaultCurrency, hashCodeNullable(addressLine1), hashCodeNullable(addressLine2), hashCodeNullable(state), hashCodeNullable(zipcode), hashCodeNullable(email), hashCodeNullable(city), hashCodeNullable(legalName), hashCodeNullable(legalNumber), netPaymentTerm, hashCodeNullable(taxIdentificationNumber), timezone, emailSettings, billingConfiguration); + return Objects.hash(hashCodeNullable(webhookUrl), country, defaultCurrency, hashCodeNullable(addressLine1), hashCodeNullable(addressLine2), hashCodeNullable(state), hashCodeNullable(zipcode), hashCodeNullable(email), hashCodeNullable(city), hashCodeNullable(legalName), hashCodeNullable(legalNumber), documentNumbering, documentNumberPrefix, netPaymentTerm, hashCodeNullable(taxIdentificationNumber), timezone, emailSettings, billingConfiguration); } private static int hashCodeNullable(JsonNullable a) { @@ -704,6 +802,8 @@ public String toString() { sb.append(" city: ").append(toIndentedString(city)).append("\n"); sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n"); sb.append(" legalNumber: ").append(toIndentedString(legalNumber)).append("\n"); + sb.append(" documentNumbering: ").append(toIndentedString(documentNumbering)).append("\n"); + sb.append(" documentNumberPrefix: ").append(toIndentedString(documentNumberPrefix)).append("\n"); sb.append(" netPaymentTerm: ").append(toIndentedString(netPaymentTerm)).append("\n"); sb.append(" taxIdentificationNumber: ").append(toIndentedString(taxIdentificationNumber)).append("\n"); sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/PaginationMeta.java b/src/main/java/org/openapitools/client/model/PaginationMeta.java index cab044c..c20bf36 100644 --- a/src/main/java/org/openapitools/client/model/PaginationMeta.java +++ b/src/main/java/org/openapitools/client/model/PaginationMeta.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,7 @@ PaginationMeta.JSON_PROPERTY_TOTAL_PAGES, PaginationMeta.JSON_PROPERTY_TOTAL_COUNT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PaginationMeta { public static final String JSON_PROPERTY_CURRENT_PAGE = "current_page"; private Integer currentPage; diff --git a/src/main/java/org/openapitools/client/model/Plan.java b/src/main/java/org/openapitools/client/model/Plan.java index 72c9ae8..b1d94ea 100644 --- a/src/main/java/org/openapitools/client/model/Plan.java +++ b/src/main/java/org/openapitools/client/model/Plan.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Plan.JSON_PROPERTY_PLAN }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Plan { public static final String JSON_PROPERTY_PLAN = "plan"; private PlanObject plan; diff --git a/src/main/java/org/openapitools/client/model/PlanCreateInput.java b/src/main/java/org/openapitools/client/model/PlanCreateInput.java index 1195770..bab5518 100644 --- a/src/main/java/org/openapitools/client/model/PlanCreateInput.java +++ b/src/main/java/org/openapitools/client/model/PlanCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ PlanCreateInput.JSON_PROPERTY_PLAN }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanCreateInput { public static final String JSON_PROPERTY_PLAN = "plan"; private PlanCreateInputPlan plan; diff --git a/src/main/java/org/openapitools/client/model/PlanCreateInputPlan.java b/src/main/java/org/openapitools/client/model/PlanCreateInputPlan.java index 1592e60..7ecc790 100644 --- a/src/main/java/org/openapitools/client/model/PlanCreateInputPlan.java +++ b/src/main/java/org/openapitools/client/model/PlanCreateInputPlan.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.PlanCreateInputPlanChargesInner; @@ -50,7 +51,7 @@ PlanCreateInputPlan.JSON_PROPERTY_CHARGES }) @JsonTypeName("PlanCreateInput_plan") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanCreateInputPlan { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInner.java b/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInner.java index 9ed8910..2164b84 100644 --- a/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInner.java +++ b/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.ChargeObjectProperties; @@ -44,7 +45,7 @@ PlanCreateInputPlanChargesInner.JSON_PROPERTY_TAX_CODES }) @JsonTypeName("PlanCreateInput_plan_charges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanCreateInputPlanChargesInner { public static final String JSON_PROPERTY_BILLABLE_METRIC_ID = "billable_metric_id"; private UUID billableMetricId; diff --git a/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerGroupPropertiesInner.java b/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerGroupPropertiesInner.java index dea00da..b217598 100644 --- a/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerGroupPropertiesInner.java +++ b/src/main/java/org/openapitools/client/model/PlanCreateInputPlanChargesInnerGroupPropertiesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ PlanCreateInputPlanChargesInnerGroupPropertiesInner.JSON_PROPERTY_VALUES }) @JsonTypeName("PlanCreateInput_plan_charges_inner_group_properties_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanCreateInputPlanChargesInnerGroupPropertiesInner { public static final String JSON_PROPERTY_GROUP_ID = "group_id"; private String groupId; diff --git a/src/main/java/org/openapitools/client/model/PlanObject.java b/src/main/java/org/openapitools/client/model/PlanObject.java index 53cb66d..9e9bc96 100644 --- a/src/main/java/org/openapitools/client/model/PlanObject.java +++ b/src/main/java/org/openapitools/client/model/PlanObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.math.BigDecimal; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.ChargeObject; @@ -56,7 +57,7 @@ PlanObject.JSON_PROPERTY_CHARGES, PlanObject.JSON_PROPERTY_TAXES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/PlanOverridesObject.java b/src/main/java/org/openapitools/client/model/PlanOverridesObject.java index 69cb3d8..66c506a 100644 --- a/src/main/java/org/openapitools/client/model/PlanOverridesObject.java +++ b/src/main/java/org/openapitools/client/model/PlanOverridesObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.PlanOverridesObjectChargesInner; @@ -41,7 +42,7 @@ PlanOverridesObject.JSON_PROPERTY_TRIAL_PERIOD, PlanOverridesObject.JSON_PROPERTY_CHARGES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanOverridesObject { public static final String JSON_PROPERTY_AMOUNT_CENTS = "amount_cents"; private Integer amountCents; diff --git a/src/main/java/org/openapitools/client/model/PlanOverridesObjectChargesInner.java b/src/main/java/org/openapitools/client/model/PlanOverridesObjectChargesInner.java index fd77226..c3088a8 100644 --- a/src/main/java/org/openapitools/client/model/PlanOverridesObjectChargesInner.java +++ b/src/main/java/org/openapitools/client/model/PlanOverridesObjectChargesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.ChargeObjectProperties; @@ -41,7 +42,7 @@ PlanOverridesObjectChargesInner.JSON_PROPERTY_TAX_CODES }) @JsonTypeName("PlanOverridesObject_charges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanOverridesObjectChargesInner { public static final String JSON_PROPERTY_ID = "id"; private UUID id; diff --git a/src/main/java/org/openapitools/client/model/PlanUpdateInput.java b/src/main/java/org/openapitools/client/model/PlanUpdateInput.java index 07002e8..24f9bd5 100644 --- a/src/main/java/org/openapitools/client/model/PlanUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/PlanUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ PlanUpdateInput.JSON_PROPERTY_PLAN }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanUpdateInput { public static final String JSON_PROPERTY_PLAN = "plan"; private PlanUpdateInputPlan plan; diff --git a/src/main/java/org/openapitools/client/model/PlanUpdateInputPlan.java b/src/main/java/org/openapitools/client/model/PlanUpdateInputPlan.java index b59361e..15a485b 100644 --- a/src/main/java/org/openapitools/client/model/PlanUpdateInputPlan.java +++ b/src/main/java/org/openapitools/client/model/PlanUpdateInputPlan.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.PlanUpdateInputPlanChargesInner; @@ -50,7 +51,7 @@ PlanUpdateInputPlan.JSON_PROPERTY_CHARGES }) @JsonTypeName("PlanUpdateInput_plan") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanUpdateInputPlan { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/PlanUpdateInputPlanChargesInner.java b/src/main/java/org/openapitools/client/model/PlanUpdateInputPlanChargesInner.java index ad578b0..e3ad86b 100644 --- a/src/main/java/org/openapitools/client/model/PlanUpdateInputPlanChargesInner.java +++ b/src/main/java/org/openapitools/client/model/PlanUpdateInputPlanChargesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.ChargeObjectProperties; @@ -45,7 +46,7 @@ PlanUpdateInputPlanChargesInner.JSON_PROPERTY_TAX_CODES }) @JsonTypeName("PlanUpdateInput_plan_charges_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlanUpdateInputPlanChargesInner { public static final String JSON_PROPERTY_ID = "id"; private UUID id; diff --git a/src/main/java/org/openapitools/client/model/PlansPaginated.java b/src/main/java/org/openapitools/client/model/PlansPaginated.java index cabe994..3de9f73 100644 --- a/src/main/java/org/openapitools/client/model/PlansPaginated.java +++ b/src/main/java/org/openapitools/client/model/PlansPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.PlanObject; @@ -34,7 +35,7 @@ PlansPaginated.JSON_PROPERTY_PLANS, PlansPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class PlansPaginated { public static final String JSON_PROPERTY_PLANS = "plans"; private List plans = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Subscription.java b/src/main/java/org/openapitools/client/model/Subscription.java index 841798f..d076ea6 100644 --- a/src/main/java/org/openapitools/client/model/Subscription.java +++ b/src/main/java/org/openapitools/client/model/Subscription.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Subscription.JSON_PROPERTY_SUBSCRIPTION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Subscription { public static final String JSON_PROPERTY_SUBSCRIPTION = "subscription"; private SubscriptionObjectExtended subscription; diff --git a/src/main/java/org/openapitools/client/model/SubscriptionCreateInput.java b/src/main/java/org/openapitools/client/model/SubscriptionCreateInput.java index 5563830..fee9360 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionCreateInput.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ SubscriptionCreateInput.JSON_PROPERTY_SUBSCRIPTION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionCreateInput { public static final String JSON_PROPERTY_SUBSCRIPTION = "subscription"; private SubscriptionCreateInputSubscription subscription; diff --git a/src/main/java/org/openapitools/client/model/SubscriptionCreateInputSubscription.java b/src/main/java/org/openapitools/client/model/SubscriptionCreateInputSubscription.java index 34cfff9..04737f8 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionCreateInputSubscription.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionCreateInputSubscription.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,7 +39,7 @@ SubscriptionCreateInputSubscription.JSON_PROPERTY_PLAN_OVERRIDES }) @JsonTypeName("SubscriptionCreateInput_subscription") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionCreateInputSubscription { public static final String JSON_PROPERTY_EXTERNAL_CUSTOMER_ID = "external_customer_id"; private String externalCustomerId; diff --git a/src/main/java/org/openapitools/client/model/SubscriptionObject.java b/src/main/java/org/openapitools/client/model/SubscriptionObject.java index 90b43e8..d01b303 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionObject.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ SubscriptionObject.JSON_PROPERTY_NEXT_PLAN_CODE, SubscriptionObject.JSON_PROPERTY_DOWNGRADE_PLAN_DATE }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/SubscriptionObjectExtended.java b/src/main/java/org/openapitools/client/model/SubscriptionObjectExtended.java index a084ebd..17057cb 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionObjectExtended.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionObjectExtended.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ SubscriptionObjectExtended.JSON_PROPERTY_DOWNGRADE_PLAN_DATE, SubscriptionObjectExtended.JSON_PROPERTY_PLAN }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionObjectExtended { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/SubscriptionUpdateInput.java b/src/main/java/org/openapitools/client/model/SubscriptionUpdateInput.java index db1afde..1977ef1 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,7 +31,7 @@ SubscriptionUpdateInput.JSON_PROPERTY_STATUS, SubscriptionUpdateInput.JSON_PROPERTY_SUBSCRIPTION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionUpdateInput { /** * If the field is not defined and multiple `active` and `pending` subscriptions exists, Lago will update the `active` subscription. However, if you wish to update a `pending` subscription, please ensure that you include the `status` attribute with the `pending` value in your request body. diff --git a/src/main/java/org/openapitools/client/model/SubscriptionUpdateInputSubscription.java b/src/main/java/org/openapitools/client/model/SubscriptionUpdateInputSubscription.java index 5d4fbfc..29d5b20 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionUpdateInputSubscription.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionUpdateInputSubscription.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,7 +39,7 @@ SubscriptionUpdateInputSubscription.JSON_PROPERTY_PLAN_OVERRIDES }) @JsonTypeName("SubscriptionUpdateInput_subscription") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionUpdateInputSubscription { public static final String JSON_PROPERTY_NAME = "name"; private JsonNullable name = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/SubscriptionsPaginated.java b/src/main/java/org/openapitools/client/model/SubscriptionsPaginated.java index 1c91517..bcaa3e3 100644 --- a/src/main/java/org/openapitools/client/model/SubscriptionsPaginated.java +++ b/src/main/java/org/openapitools/client/model/SubscriptionsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.SubscriptionObject; @@ -34,7 +35,7 @@ SubscriptionsPaginated.JSON_PROPERTY_SUBSCRIPTIONS, SubscriptionsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class SubscriptionsPaginated { public static final String JSON_PROPERTY_SUBSCRIPTIONS = "subscriptions"; private List subscriptions = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Tax.java b/src/main/java/org/openapitools/client/model/Tax.java index 7796db2..1c2d59a 100644 --- a/src/main/java/org/openapitools/client/model/Tax.java +++ b/src/main/java/org/openapitools/client/model/Tax.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Tax.JSON_PROPERTY_TAX }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Tax { public static final String JSON_PROPERTY_TAX = "tax"; private TaxObject tax; diff --git a/src/main/java/org/openapitools/client/model/TaxBaseInput.java b/src/main/java/org/openapitools/client/model/TaxBaseInput.java index b5d1b1f..141c468 100644 --- a/src/main/java/org/openapitools/client/model/TaxBaseInput.java +++ b/src/main/java/org/openapitools/client/model/TaxBaseInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,7 @@ TaxBaseInput.JSON_PROPERTY_DESCRIPTION, TaxBaseInput.JSON_PROPERTY_APPLIED_TO_ORGANIZATION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxBaseInput { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/TaxCreateInput.java b/src/main/java/org/openapitools/client/model/TaxCreateInput.java index d9b480c..c9ceaf1 100644 --- a/src/main/java/org/openapitools/client/model/TaxCreateInput.java +++ b/src/main/java/org/openapitools/client/model/TaxCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ TaxCreateInput.JSON_PROPERTY_TAX }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxCreateInput { public static final String JSON_PROPERTY_TAX = "tax"; private TaxCreateInputTax tax; diff --git a/src/main/java/org/openapitools/client/model/TaxCreateInputTax.java b/src/main/java/org/openapitools/client/model/TaxCreateInputTax.java index a3f9c26..10db173 100644 --- a/src/main/java/org/openapitools/client/model/TaxCreateInputTax.java +++ b/src/main/java/org/openapitools/client/model/TaxCreateInputTax.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ TaxCreateInputTax.JSON_PROPERTY_APPLIED_TO_ORGANIZATION }) @JsonTypeName("TaxCreateInput_tax") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxCreateInputTax { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/TaxObject.java b/src/main/java/org/openapitools/client/model/TaxObject.java index f18858f..ec40a26 100644 --- a/src/main/java/org/openapitools/client/model/TaxObject.java +++ b/src/main/java/org/openapitools/client/model/TaxObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,7 +42,7 @@ TaxObject.JSON_PROPERTY_PLANS_COUNT, TaxObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/TaxUpdateInput.java b/src/main/java/org/openapitools/client/model/TaxUpdateInput.java index 8d74e7c..6ae15cf 100644 --- a/src/main/java/org/openapitools/client/model/TaxUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/TaxUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; -import org.openapitools.client.model.TaxUpdateInputTax; +import org.openapitools.client.model.TaxBaseInput; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -30,15 +30,15 @@ @JsonPropertyOrder({ TaxUpdateInput.JSON_PROPERTY_TAX }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxUpdateInput { public static final String JSON_PROPERTY_TAX = "tax"; - private TaxUpdateInputTax tax; + private TaxBaseInput tax; public TaxUpdateInput() { } - public TaxUpdateInput tax(TaxUpdateInputTax tax) { + public TaxUpdateInput tax(TaxBaseInput tax) { this.tax = tax; return this; @@ -52,14 +52,14 @@ public TaxUpdateInput tax(TaxUpdateInputTax tax) { @JsonProperty(JSON_PROPERTY_TAX) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TaxUpdateInputTax getTax() { + public TaxBaseInput getTax() { return tax; } @JsonProperty(JSON_PROPERTY_TAX) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTax(TaxUpdateInputTax tax) { + public void setTax(TaxBaseInput tax) { this.tax = tax; } diff --git a/src/main/java/org/openapitools/client/model/TaxesPaginated.java b/src/main/java/org/openapitools/client/model/TaxesPaginated.java index c0ed6c3..bd7301e 100644 --- a/src/main/java/org/openapitools/client/model/TaxesPaginated.java +++ b/src/main/java/org/openapitools/client/model/TaxesPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.TaxObject; @@ -34,7 +35,7 @@ TaxesPaginated.JSON_PROPERTY_TAXES, TaxesPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class TaxesPaginated { public static final String JSON_PROPERTY_TAXES = "taxes"; private List taxes = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/Timezone.java b/src/main/java/org/openapitools/client/model/Timezone.java index b7bf419..1237954 100644 --- a/src/main/java/org/openapitools/client/model/Timezone.java +++ b/src/main/java/org/openapitools/client/model/Timezone.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/org/openapitools/client/model/Wallet.java b/src/main/java/org/openapitools/client/model/Wallet.java index c88d34b..129c0f8 100644 --- a/src/main/java/org/openapitools/client/model/Wallet.java +++ b/src/main/java/org/openapitools/client/model/Wallet.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ Wallet.JSON_PROPERTY_WALLET }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class Wallet { public static final String JSON_PROPERTY_WALLET = "wallet"; private WalletObject wallet; diff --git a/src/main/java/org/openapitools/client/model/WalletCreateInput.java b/src/main/java/org/openapitools/client/model/WalletCreateInput.java index bfd5ef8..48882c6 100644 --- a/src/main/java/org/openapitools/client/model/WalletCreateInput.java +++ b/src/main/java/org/openapitools/client/model/WalletCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WalletCreateInput.JSON_PROPERTY_WALLET }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletCreateInput { public static final String JSON_PROPERTY_WALLET = "wallet"; private WalletCreateInputWallet wallet; diff --git a/src/main/java/org/openapitools/client/model/WalletCreateInputWallet.java b/src/main/java/org/openapitools/client/model/WalletCreateInputWallet.java index a4b73e5..6691f88 100644 --- a/src/main/java/org/openapitools/client/model/WalletCreateInputWallet.java +++ b/src/main/java/org/openapitools/client/model/WalletCreateInputWallet.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.Currency; import org.openapitools.client.model.WalletCreateInputWalletRecurringTransactionRulesInner; @@ -46,7 +47,7 @@ WalletCreateInputWallet.JSON_PROPERTY_RECURRING_TRANSACTION_RULES }) @JsonTypeName("WalletCreateInput_wallet") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletCreateInputWallet { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/WalletCreateInputWalletRecurringTransactionRulesInner.java b/src/main/java/org/openapitools/client/model/WalletCreateInputWalletRecurringTransactionRulesInner.java index 1cbbd3b..dc09a3b 100644 --- a/src/main/java/org/openapitools/client/model/WalletCreateInputWalletRecurringTransactionRulesInner.java +++ b/src/main/java/org/openapitools/client/model/WalletCreateInputWalletRecurringTransactionRulesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,7 @@ WalletCreateInputWalletRecurringTransactionRulesInner.JSON_PROPERTY_THRESHOLD_CREDITS }) @JsonTypeName("WalletCreateInput_wallet_recurring_transaction_rules_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletCreateInputWalletRecurringTransactionRulesInner { /** * The rule type. Possible values are `interval` or `threshold`. diff --git a/src/main/java/org/openapitools/client/model/WalletObject.java b/src/main/java/org/openapitools/client/model/WalletObject.java index 0966a56..c321451 100644 --- a/src/main/java/org/openapitools/client/model/WalletObject.java +++ b/src/main/java/org/openapitools/client/model/WalletObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.Currency; @@ -54,7 +55,7 @@ WalletObject.JSON_PROPERTY_TERMINATED_AT, WalletObject.JSON_PROPERTY_RECURRING_TRANSACTION_RULES }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/WalletObjectRecurringTransactionRulesInner.java b/src/main/java/org/openapitools/client/model/WalletObjectRecurringTransactionRulesInner.java index 0ceeef8..fa4d2a9 100644 --- a/src/main/java/org/openapitools/client/model/WalletObjectRecurringTransactionRulesInner.java +++ b/src/main/java/org/openapitools/client/model/WalletObjectRecurringTransactionRulesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ WalletObjectRecurringTransactionRulesInner.JSON_PROPERTY_CREATED_AT }) @JsonTypeName("WalletObject_recurring_transaction_rules_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletObjectRecurringTransactionRulesInner { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/WalletTransactionCreateInput.java b/src/main/java/org/openapitools/client/model/WalletTransactionCreateInput.java index bc0ab73..56b3724 100644 --- a/src/main/java/org/openapitools/client/model/WalletTransactionCreateInput.java +++ b/src/main/java/org/openapitools/client/model/WalletTransactionCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WalletTransactionCreateInput.JSON_PROPERTY_WALLET_TRANSACTION }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletTransactionCreateInput { public static final String JSON_PROPERTY_WALLET_TRANSACTION = "wallet_transaction"; private WalletTransactionCreateInputWalletTransaction walletTransaction; diff --git a/src/main/java/org/openapitools/client/model/WalletTransactionCreateInputWalletTransaction.java b/src/main/java/org/openapitools/client/model/WalletTransactionCreateInputWalletTransaction.java index a216546..6afb42f 100644 --- a/src/main/java/org/openapitools/client/model/WalletTransactionCreateInputWalletTransaction.java +++ b/src/main/java/org/openapitools/client/model/WalletTransactionCreateInputWalletTransaction.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,7 +33,7 @@ WalletTransactionCreateInputWalletTransaction.JSON_PROPERTY_GRANTED_CREDITS }) @JsonTypeName("WalletTransactionCreateInput_wallet_transaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletTransactionCreateInputWalletTransaction { public static final String JSON_PROPERTY_WALLET_ID = "wallet_id"; private UUID walletId; diff --git a/src/main/java/org/openapitools/client/model/WalletTransactionObject.java b/src/main/java/org/openapitools/client/model/WalletTransactionObject.java index 97c2e84..fca4b95 100644 --- a/src/main/java/org/openapitools/client/model/WalletTransactionObject.java +++ b/src/main/java/org/openapitools/client/model/WalletTransactionObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ WalletTransactionObject.JSON_PROPERTY_SETTLED_AT, WalletTransactionObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletTransactionObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/WalletTransactions.java b/src/main/java/org/openapitools/client/model/WalletTransactions.java index a2b5730..61e1100 100644 --- a/src/main/java/org/openapitools/client/model/WalletTransactions.java +++ b/src/main/java/org/openapitools/client/model/WalletTransactions.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.WalletTransactionObject; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @@ -32,7 +33,7 @@ @JsonPropertyOrder({ WalletTransactions.JSON_PROPERTY_WALLET_TRANSACTIONS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletTransactions { public static final String JSON_PROPERTY_WALLET_TRANSACTIONS = "wallet_transactions"; private List walletTransactions = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/WalletTransactionsPaginated.java b/src/main/java/org/openapitools/client/model/WalletTransactionsPaginated.java index 1d89fcc..366e7fe 100644 --- a/src/main/java/org/openapitools/client/model/WalletTransactionsPaginated.java +++ b/src/main/java/org/openapitools/client/model/WalletTransactionsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.WalletTransactionObject; @@ -34,7 +35,7 @@ WalletTransactionsPaginated.JSON_PROPERTY_WALLET_TRANSACTIONS, WalletTransactionsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletTransactionsPaginated { public static final String JSON_PROPERTY_WALLET_TRANSACTIONS = "wallet_transactions"; private List walletTransactions = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/WalletUpdateInput.java b/src/main/java/org/openapitools/client/model/WalletUpdateInput.java index 3beb45d..e59e7e0 100644 --- a/src/main/java/org/openapitools/client/model/WalletUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/WalletUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WalletUpdateInput.JSON_PROPERTY_WALLET }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletUpdateInput { public static final String JSON_PROPERTY_WALLET = "wallet"; private WalletUpdateInputWallet wallet; diff --git a/src/main/java/org/openapitools/client/model/WalletUpdateInputWallet.java b/src/main/java/org/openapitools/client/model/WalletUpdateInputWallet.java index b1a5009..55b3a68 100644 --- a/src/main/java/org/openapitools/client/model/WalletUpdateInputWallet.java +++ b/src/main/java/org/openapitools/client/model/WalletUpdateInputWallet.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import java.time.OffsetDateTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.WalletUpdateInputWalletRecurringTransactionRulesInner; import org.openapitools.jackson.nullable.JsonNullable; @@ -40,7 +41,7 @@ WalletUpdateInputWallet.JSON_PROPERTY_RECURRING_TRANSACTION_RULES }) @JsonTypeName("WalletUpdateInput_wallet") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletUpdateInputWallet { public static final String JSON_PROPERTY_NAME = "name"; private JsonNullable name = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/WalletUpdateInputWalletRecurringTransactionRulesInner.java b/src/main/java/org/openapitools/client/model/WalletUpdateInputWalletRecurringTransactionRulesInner.java index ee1eaf7..eccc9f8 100644 --- a/src/main/java/org/openapitools/client/model/WalletUpdateInputWalletRecurringTransactionRulesInner.java +++ b/src/main/java/org/openapitools/client/model/WalletUpdateInputWalletRecurringTransactionRulesInner.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -36,7 +36,7 @@ WalletUpdateInputWalletRecurringTransactionRulesInner.JSON_PROPERTY_GRANTED_CREDITS }) @JsonTypeName("WalletUpdateInput_wallet_recurring_transaction_rules_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletUpdateInputWalletRecurringTransactionRulesInner { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/WalletsPaginated.java b/src/main/java/org/openapitools/client/model/WalletsPaginated.java index d2e4ca8..603f468 100644 --- a/src/main/java/org/openapitools/client/model/WalletsPaginated.java +++ b/src/main/java/org/openapitools/client/model/WalletsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.WalletObject; @@ -34,7 +35,7 @@ WalletsPaginated.JSON_PROPERTY_WALLETS, WalletsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WalletsPaginated { public static final String JSON_PROPERTY_WALLETS = "wallets"; private List wallets = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpoint.java b/src/main/java/org/openapitools/client/model/WebhookEndpoint.java index 3624c41..99b8b70 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpoint.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpoint.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WebhookEndpoint.JSON_PROPERTY_WEBHOOK_ENDPOINT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpoint { public static final String JSON_PROPERTY_WEBHOOK_ENDPOINT = "webhook_endpoint"; private WebhookEndpointObject webhookEndpoint; diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInput.java b/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInput.java index 038514e..2c92d47 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInput.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WebhookEndpointCreateInput.JSON_PROPERTY_WEBHOOK_ENDPOINT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointCreateInput { public static final String JSON_PROPERTY_WEBHOOK_ENDPOINT = "webhook_endpoint"; private WebhookEndpointCreateInputWebhookEndpoint webhookEndpoint; diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEndpoint.java b/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEndpoint.java index 3b9c8ba..ba68923 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEndpoint.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpointCreateInputWebhookEndpoint.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,7 @@ WebhookEndpointCreateInputWebhookEndpoint.JSON_PROPERTY_SIGNATURE_ALGO }) @JsonTypeName("WebhookEndpointCreateInput_webhook_endpoint") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointCreateInputWebhookEndpoint { public static final String JSON_PROPERTY_WEBHOOK_URL = "webhook_url"; private String webhookUrl; diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpointObject.java b/src/main/java/org/openapitools/client/model/WebhookEndpointObject.java index 4f1bc89..23fd7f9 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpointObject.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpointObject.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,7 @@ WebhookEndpointObject.JSON_PROPERTY_SIGNATURE_ALGO, WebhookEndpointObject.JSON_PROPERTY_CREATED_AT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointObject { public static final String JSON_PROPERTY_LAGO_ID = "lago_id"; private UUID lagoId; diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpointUpdateInput.java b/src/main/java/org/openapitools/client/model/WebhookEndpointUpdateInput.java index 2edf9ac..e22814e 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpointUpdateInput.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpointUpdateInput.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ @JsonPropertyOrder({ WebhookEndpointUpdateInput.JSON_PROPERTY_WEBHOOK_ENDPOINT }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointUpdateInput { public static final String JSON_PROPERTY_WEBHOOK_ENDPOINT = "webhook_endpoint"; private WebhookEndpointCreateInputWebhookEndpoint webhookEndpoint; diff --git a/src/main/java/org/openapitools/client/model/WebhookEndpointsPaginated.java b/src/main/java/org/openapitools/client/model/WebhookEndpointsPaginated.java index 446c111..7f6a01c 100644 --- a/src/main/java/org/openapitools/client/model/WebhookEndpointsPaginated.java +++ b/src/main/java/org/openapitools/client/model/WebhookEndpointsPaginated.java @@ -2,7 +2,7 @@ * Lago API documentation * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. * - * The version of the OpenAPI document: 0.52.2-beta + * The version of the OpenAPI document: 0.53.0-beta * Contact: tech@getlago.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.openapitools.client.model.PaginationMeta; import org.openapitools.client.model.WebhookEndpointObject; @@ -34,7 +35,7 @@ WebhookEndpointsPaginated.JSON_PROPERTY_WEBHOOK_ENDPOINTS, WebhookEndpointsPaginated.JSON_PROPERTY_META }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-07T16:08:18.203563Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-12-27T14:12:55.372025191Z[Etc/UTC]") public class WebhookEndpointsPaginated { public static final String JSON_PROPERTY_WEBHOOK_ENDPOINTS = "webhook_endpoints"; private List webhookEndpoints = new ArrayList<>(); diff --git a/src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest.java b/src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest.java new file mode 100644 index 0000000..c2cd84a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest.java @@ -0,0 +1,95 @@ +/* + * Lago API documentation + * Lago API allows your application to push customer information and metrics (events) from your application to the billing application. + * + * The version of the OpenAPI document: 0.53.0-beta + * Contact: tech@getlago.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + +/** + * Model tests for FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner + */ +public class FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInnerTest { + private final FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner model = new FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner(); + + /** + * Model tests for FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner + */ + @Test + public void testFeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner() { + // TODO: test FeeObjectAmountDetailsAllOfGraduatedPercentageRangesInner + } + + /** + * Test the property 'units' + */ + @Test + public void unitsTest() { + // TODO: test units + } + + /** + * Test the property 'fromValue' + */ + @Test + public void fromValueTest() { + // TODO: test fromValue + } + + /** + * Test the property 'toValue' + */ + @Test + public void toValueTest() { + // TODO: test toValue + } + + /** + * Test the property 'flatUnitAmount' + */ + @Test + public void flatUnitAmountTest() { + // TODO: test flatUnitAmount + } + + /** + * Test the property 'rate' + */ + @Test + public void rateTest() { + // TODO: test rate + } + + /** + * Test the property 'perUnitTotalAmount' + */ + @Test + public void perUnitTotalAmountTest() { + // TODO: test perUnitTotalAmount + } + + /** + * Test the property 'totalWithFlatAmount' + */ + @Test + public void totalWithFlatAmountTest() { + // TODO: test totalWithFlatAmount + } + +}