From 0e1ab3c963b19e8212a76f24546f499794098405 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:21:55 +0000 Subject: [PATCH 1/2] feat(api): add 'payment frequencies' and 'pay group ids' to payment model (#262) --- .stats.yml | 2 +- .../tryfinch/api/models/AccountUpdateEvent.kt | 46 +++++- .../kotlin/com/tryfinch/api/models/Payment.kt | 153 +++++++++++++++++- .../com/tryfinch/api/models/Provider.kt | 45 +++++- .../api/models/PayGroupListResponseTest.kt | 4 +- .../com/tryfinch/api/models/PaymentTest.kt | 4 + .../com/tryfinch/api/models/ProviderTest.kt | 4 + 7 files changed, 252 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4d063cdf..4bf00c76 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-15385b754979d87bd7e583f618870246e79d1430a761e5bcd653db78cfab4789.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-60f88b9ae0cedc03dd888b63ca8dec25658c87e6cc3493170114144ca9e070c9.yml diff --git a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/AccountUpdateEvent.kt b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/AccountUpdateEvent.kt index 1cbd2549..2be4b1ec 100644 --- a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/AccountUpdateEvent.kt +++ b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/AccountUpdateEvent.kt @@ -5406,6 +5406,8 @@ private constructor( private val employeeTaxes: JsonField, private val individualIds: JsonField, private val payPeriod: JsonField, + private val payGroupIds: JsonField, + private val payFrequencies: JsonField, private val additionalProperties: Map, ) { @@ -5442,6 +5444,12 @@ private constructor( fun payPeriod(): Optional = Optional.ofNullable(payPeriod.getNullable("pay_period")) + fun payGroupIds(): Optional = + Optional.ofNullable(payGroupIds.getNullable("pay_group_ids")) + + fun payFrequencies(): Optional = + Optional.ofNullable(payFrequencies.getNullable("pay_frequencies")) + @JsonProperty("id") @ExcludeMissing fun _id() = id @JsonProperty("pay_date") @ExcludeMissing fun _payDate() = payDate @@ -5470,6 +5478,12 @@ private constructor( @JsonProperty("pay_period") @ExcludeMissing fun _payPeriod() = payPeriod + @JsonProperty("pay_group_ids") @ExcludeMissing fun _payGroupIds() = payGroupIds + + @JsonProperty("pay_frequencies") + @ExcludeMissing + fun _payFrequencies() = payFrequencies + @JsonAnyGetter @ExcludeMissing fun _additionalProperties(): Map = additionalProperties @@ -5486,6 +5500,8 @@ private constructor( employeeTaxes() individualIds() payPeriod().map { it.validate() } + payGroupIds() + payFrequencies() validated = true } } @@ -5508,6 +5524,8 @@ private constructor( this.employeeTaxes == other.employeeTaxes && this.individualIds == other.individualIds && this.payPeriod == other.payPeriod && + this.payGroupIds == other.payGroupIds && + this.payFrequencies == other.payFrequencies && this.additionalProperties == other.additionalProperties } @@ -5525,6 +5543,8 @@ private constructor( employeeTaxes, individualIds, payPeriod, + payGroupIds, + payFrequencies, additionalProperties, ) } @@ -5532,7 +5552,7 @@ private constructor( } override fun toString() = - "SupportedPaymentFields{id=$id, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, payPeriod=$payPeriod, additionalProperties=$additionalProperties}" + "SupportedPaymentFields{id=$id, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, payPeriod=$payPeriod, payGroupIds=$payGroupIds, payFrequencies=$payFrequencies, additionalProperties=$additionalProperties}" companion object { @@ -5551,6 +5571,8 @@ private constructor( private var employeeTaxes: JsonField = JsonMissing.of() private var individualIds: JsonField = JsonMissing.of() private var payPeriod: JsonField = JsonMissing.of() + private var payGroupIds: JsonField = JsonMissing.of() + private var payFrequencies: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @@ -5566,6 +5588,8 @@ private constructor( this.employeeTaxes = supportedPaymentFields.employeeTaxes this.individualIds = supportedPaymentFields.individualIds this.payPeriod = supportedPaymentFields.payPeriod + this.payGroupIds = supportedPaymentFields.payGroupIds + this.payFrequencies = supportedPaymentFields.payFrequencies additionalProperties(supportedPaymentFields.additionalProperties) } @@ -5647,6 +5671,24 @@ private constructor( this.payPeriod = payPeriod } + fun payGroupIds(payGroupIds: Boolean) = + payGroupIds(JsonField.of(payGroupIds)) + + @JsonProperty("pay_group_ids") + @ExcludeMissing + fun payGroupIds(payGroupIds: JsonField) = apply { + this.payGroupIds = payGroupIds + } + + fun payFrequencies(payFrequencies: Boolean) = + payFrequencies(JsonField.of(payFrequencies)) + + @JsonProperty("pay_frequencies") + @ExcludeMissing + fun payFrequencies(payFrequencies: JsonField) = apply { + this.payFrequencies = payFrequencies + } + fun additionalProperties(additionalProperties: Map) = apply { this.additionalProperties.clear() @@ -5674,6 +5716,8 @@ private constructor( employeeTaxes, individualIds, payPeriod, + payGroupIds, + payFrequencies, additionalProperties.toUnmodifiable(), ) } diff --git a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Payment.kt b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Payment.kt index ab4bb6ad..1925f145 100644 --- a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Payment.kt +++ b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Payment.kt @@ -4,14 +4,17 @@ package com.tryfinch.api.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter +import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.annotation.JsonDeserialize +import com.tryfinch.api.core.Enum import com.tryfinch.api.core.ExcludeMissing import com.tryfinch.api.core.JsonField import com.tryfinch.api.core.JsonMissing import com.tryfinch.api.core.JsonValue import com.tryfinch.api.core.NoAutoDetect import com.tryfinch.api.core.toUnmodifiable +import com.tryfinch.api.errors.FinchInvalidDataException import java.util.Objects import java.util.Optional @@ -29,6 +32,8 @@ private constructor( private val employerTaxes: JsonField, private val employeeTaxes: JsonField, private val individualIds: JsonField>, + private val payGroupIds: JsonField>, + private val payFrequencies: JsonField>, private val additionalProperties: Map, ) { @@ -63,6 +68,14 @@ private constructor( fun individualIds(): Optional> = Optional.ofNullable(individualIds.getNullable("individual_ids")) + /** Array of the Finch id (uuidv4) of every pay group associated with this payment. */ + fun payGroupIds(): Optional> = + Optional.ofNullable(payGroupIds.getNullable("pay_group_ids")) + + /** List of pay frequencies associated with this payment. */ + fun payFrequencies(): Optional> = + Optional.ofNullable(payFrequencies.getNullable("pay_frequencies")) + /** The unique id for the payment. */ @JsonProperty("id") @ExcludeMissing fun _id() = id @@ -86,6 +99,12 @@ private constructor( /** Array of every individual on this payment. */ @JsonProperty("individual_ids") @ExcludeMissing fun _individualIds() = individualIds + /** Array of the Finch id (uuidv4) of every pay group associated with this payment. */ + @JsonProperty("pay_group_ids") @ExcludeMissing fun _payGroupIds() = payGroupIds + + /** List of pay frequencies associated with this payment. */ + @JsonProperty("pay_frequencies") @ExcludeMissing fun _payFrequencies() = payFrequencies + @JsonAnyGetter @ExcludeMissing fun _additionalProperties(): Map = additionalProperties @@ -102,6 +121,8 @@ private constructor( employerTaxes().map { it.validate() } employeeTaxes().map { it.validate() } individualIds() + payGroupIds() + payFrequencies() validated = true } } @@ -124,6 +145,8 @@ private constructor( this.employerTaxes == other.employerTaxes && this.employeeTaxes == other.employeeTaxes && this.individualIds == other.individualIds && + this.payGroupIds == other.payGroupIds && + this.payFrequencies == other.payFrequencies && this.additionalProperties == other.additionalProperties } @@ -141,6 +164,8 @@ private constructor( employerTaxes, employeeTaxes, individualIds, + payGroupIds, + payFrequencies, additionalProperties, ) } @@ -148,7 +173,7 @@ private constructor( } override fun toString() = - "Payment{id=$id, payPeriod=$payPeriod, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, additionalProperties=$additionalProperties}" + "Payment{id=$id, payPeriod=$payPeriod, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, payGroupIds=$payGroupIds, payFrequencies=$payFrequencies, additionalProperties=$additionalProperties}" companion object { @@ -167,6 +192,8 @@ private constructor( private var employerTaxes: JsonField = JsonMissing.of() private var employeeTaxes: JsonField = JsonMissing.of() private var individualIds: JsonField> = JsonMissing.of() + private var payGroupIds: JsonField> = JsonMissing.of() + private var payFrequencies: JsonField> = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic @@ -181,6 +208,8 @@ private constructor( this.employerTaxes = payment.employerTaxes this.employeeTaxes = payment.employeeTaxes this.individualIds = payment.individualIds + this.payGroupIds = payment.payGroupIds + this.payFrequencies = payment.payFrequencies additionalProperties(payment.additionalProperties) } @@ -256,6 +285,27 @@ private constructor( this.individualIds = individualIds } + /** Array of the Finch id (uuidv4) of every pay group associated with this payment. */ + fun payGroupIds(payGroupIds: List) = payGroupIds(JsonField.of(payGroupIds)) + + /** Array of the Finch id (uuidv4) of every pay group associated with this payment. */ + @JsonProperty("pay_group_ids") + @ExcludeMissing + fun payGroupIds(payGroupIds: JsonField>) = apply { + this.payGroupIds = payGroupIds + } + + /** List of pay frequencies associated with this payment. */ + fun payFrequencies(payFrequencies: List) = + payFrequencies(JsonField.of(payFrequencies)) + + /** List of pay frequencies associated with this payment. */ + @JsonProperty("pay_frequencies") + @ExcludeMissing + fun payFrequencies(payFrequencies: JsonField>) = apply { + this.payFrequencies = payFrequencies + } + fun additionalProperties(additionalProperties: Map) = apply { this.additionalProperties.clear() this.additionalProperties.putAll(additionalProperties) @@ -282,10 +332,111 @@ private constructor( employerTaxes, employeeTaxes, individualIds.map { it.toUnmodifiable() }, + payGroupIds.map { it.toUnmodifiable() }, + payFrequencies.map { it.toUnmodifiable() }, additionalProperties.toUnmodifiable(), ) } + class PayFrequency + @JsonCreator + private constructor( + private val value: JsonField, + ) : Enum { + + @com.fasterxml.jackson.annotation.JsonValue fun _value(): JsonField = value + + override fun equals(other: Any?): Boolean { + if (this === other) { + return true + } + + return other is PayFrequency && this.value == other.value + } + + override fun hashCode() = value.hashCode() + + override fun toString() = value.toString() + + companion object { + + @JvmField val ANNUALLY = PayFrequency(JsonField.of("annually")) + + @JvmField val SEMI_ANNUALLY = PayFrequency(JsonField.of("semi_annually")) + + @JvmField val QUARTERLY = PayFrequency(JsonField.of("quarterly")) + + @JvmField val MONTHLY = PayFrequency(JsonField.of("monthly")) + + @JvmField val SEMI_MONTHLY = PayFrequency(JsonField.of("semi_monthly")) + + @JvmField val BI_WEEKLY = PayFrequency(JsonField.of("bi_weekly")) + + @JvmField val WEEKLY = PayFrequency(JsonField.of("weekly")) + + @JvmField val DAILY = PayFrequency(JsonField.of("daily")) + + @JvmField val OTHER = PayFrequency(JsonField.of("other")) + + @JvmStatic fun of(value: String) = PayFrequency(JsonField.of(value)) + } + + enum class Known { + ANNUALLY, + SEMI_ANNUALLY, + QUARTERLY, + MONTHLY, + SEMI_MONTHLY, + BI_WEEKLY, + WEEKLY, + DAILY, + OTHER, + } + + enum class Value { + ANNUALLY, + SEMI_ANNUALLY, + QUARTERLY, + MONTHLY, + SEMI_MONTHLY, + BI_WEEKLY, + WEEKLY, + DAILY, + OTHER, + _UNKNOWN, + } + + fun value(): Value = + when (this) { + ANNUALLY -> Value.ANNUALLY + SEMI_ANNUALLY -> Value.SEMI_ANNUALLY + QUARTERLY -> Value.QUARTERLY + MONTHLY -> Value.MONTHLY + SEMI_MONTHLY -> Value.SEMI_MONTHLY + BI_WEEKLY -> Value.BI_WEEKLY + WEEKLY -> Value.WEEKLY + DAILY -> Value.DAILY + OTHER -> Value.OTHER + else -> Value._UNKNOWN + } + + fun known(): Known = + when (this) { + ANNUALLY -> Known.ANNUALLY + SEMI_ANNUALLY -> Known.SEMI_ANNUALLY + QUARTERLY -> Known.QUARTERLY + MONTHLY -> Known.MONTHLY + SEMI_MONTHLY -> Known.SEMI_MONTHLY + BI_WEEKLY -> Known.BI_WEEKLY + WEEKLY -> Known.WEEKLY + DAILY -> Known.DAILY + OTHER -> Known.OTHER + else -> throw FinchInvalidDataException("Unknown PayFrequency: $value") + } + + fun asString(): String = _value().asStringOrThrow() + } + /** The pay period object. */ @JsonDeserialize(builder = PayPeriod.Builder::class) @NoAutoDetect diff --git a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Provider.kt b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Provider.kt index 6848d41c..de4e171f 100644 --- a/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Provider.kt +++ b/finch-java-core/src/main/kotlin/com/tryfinch/api/models/Provider.kt @@ -5320,6 +5320,8 @@ private constructor( private val employeeTaxes: JsonField, private val individualIds: JsonField, private val payPeriod: JsonField, + private val payGroupIds: JsonField, + private val payFrequencies: JsonField, private val additionalProperties: Map, ) { @@ -5355,6 +5357,12 @@ private constructor( fun payPeriod(): Optional = Optional.ofNullable(payPeriod.getNullable("pay_period")) + fun payGroupIds(): Optional = + Optional.ofNullable(payGroupIds.getNullable("pay_group_ids")) + + fun payFrequencies(): Optional = + Optional.ofNullable(payFrequencies.getNullable("pay_frequencies")) + @JsonProperty("id") @ExcludeMissing fun _id() = id @JsonProperty("pay_date") @ExcludeMissing fun _payDate() = payDate @@ -5375,6 +5383,12 @@ private constructor( @JsonProperty("pay_period") @ExcludeMissing fun _payPeriod() = payPeriod + @JsonProperty("pay_group_ids") @ExcludeMissing fun _payGroupIds() = payGroupIds + + @JsonProperty("pay_frequencies") + @ExcludeMissing + fun _payFrequencies() = payFrequencies + @JsonAnyGetter @ExcludeMissing fun _additionalProperties(): Map = additionalProperties @@ -5391,6 +5405,8 @@ private constructor( employeeTaxes() individualIds() payPeriod().map { it.validate() } + payGroupIds() + payFrequencies() validated = true } } @@ -5413,6 +5429,8 @@ private constructor( this.employeeTaxes == other.employeeTaxes && this.individualIds == other.individualIds && this.payPeriod == other.payPeriod && + this.payGroupIds == other.payGroupIds && + this.payFrequencies == other.payFrequencies && this.additionalProperties == other.additionalProperties } @@ -5430,6 +5448,8 @@ private constructor( employeeTaxes, individualIds, payPeriod, + payGroupIds, + payFrequencies, additionalProperties, ) } @@ -5437,7 +5457,7 @@ private constructor( } override fun toString() = - "SupportedPaymentFields{id=$id, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, payPeriod=$payPeriod, additionalProperties=$additionalProperties}" + "SupportedPaymentFields{id=$id, payDate=$payDate, debitDate=$debitDate, companyDebit=$companyDebit, grossPay=$grossPay, netPay=$netPay, employerTaxes=$employerTaxes, employeeTaxes=$employeeTaxes, individualIds=$individualIds, payPeriod=$payPeriod, payGroupIds=$payGroupIds, payFrequencies=$payFrequencies, additionalProperties=$additionalProperties}" companion object { @@ -5456,6 +5476,8 @@ private constructor( private var employeeTaxes: JsonField = JsonMissing.of() private var individualIds: JsonField = JsonMissing.of() private var payPeriod: JsonField = JsonMissing.of() + private var payGroupIds: JsonField = JsonMissing.of() + private var payFrequencies: JsonField = JsonMissing.of() private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic @@ -5470,6 +5492,8 @@ private constructor( this.employeeTaxes = supportedPaymentFields.employeeTaxes this.individualIds = supportedPaymentFields.individualIds this.payPeriod = supportedPaymentFields.payPeriod + this.payGroupIds = supportedPaymentFields.payGroupIds + this.payFrequencies = supportedPaymentFields.payFrequencies additionalProperties(supportedPaymentFields.additionalProperties) } @@ -5549,6 +5573,23 @@ private constructor( this.payPeriod = payPeriod } + fun payGroupIds(payGroupIds: Boolean) = payGroupIds(JsonField.of(payGroupIds)) + + @JsonProperty("pay_group_ids") + @ExcludeMissing + fun payGroupIds(payGroupIds: JsonField) = apply { + this.payGroupIds = payGroupIds + } + + fun payFrequencies(payFrequencies: Boolean) = + payFrequencies(JsonField.of(payFrequencies)) + + @JsonProperty("pay_frequencies") + @ExcludeMissing + fun payFrequencies(payFrequencies: JsonField) = apply { + this.payFrequencies = payFrequencies + } + fun additionalProperties(additionalProperties: Map) = apply { this.additionalProperties.clear() this.additionalProperties.putAll(additionalProperties) @@ -5576,6 +5617,8 @@ private constructor( employeeTaxes, individualIds, payPeriod, + payGroupIds, + payFrequencies, additionalProperties.toUnmodifiable(), ) } diff --git a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PayGroupListResponseTest.kt b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PayGroupListResponseTest.kt index 4923eabd..3a826480 100644 --- a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PayGroupListResponseTest.kt +++ b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PayGroupListResponseTest.kt @@ -11,12 +11,12 @@ class PayGroupListResponseTest { fun createPayGroupListResponse() { val payGroupListResponse = PayGroupListResponse.builder() - .id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e") + .id("id") .name("name") .payFrequencies(listOf(PayGroupListResponse.PayFrequency.ANNUALLY)) .build() assertThat(payGroupListResponse).isNotNull - assertThat(payGroupListResponse.id()).contains("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e") + assertThat(payGroupListResponse.id()).contains("id") assertThat(payGroupListResponse.name()).contains("name") assertThat(payGroupListResponse.payFrequencies().get()) .containsExactly(PayGroupListResponse.PayFrequency.ANNUALLY) diff --git a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PaymentTest.kt b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PaymentTest.kt index 7f485630..2facf1d5 100644 --- a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PaymentTest.kt +++ b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/PaymentTest.kt @@ -20,6 +20,8 @@ class PaymentTest { .individualIds(listOf("string")) .netPay(Money.builder().amount(123L).currency("currency").build()) .payDate("pay_date") + .payFrequencies(listOf(Payment.PayFrequency.ANNUALLY)) + .payGroupIds(listOf("string")) .payPeriod( Payment.PayPeriod.builder().endDate("end_date").startDate("start_date").build() ) @@ -39,6 +41,8 @@ class PaymentTest { assertThat(payment.netPay()) .contains(Money.builder().amount(123L).currency("currency").build()) assertThat(payment.payDate()).contains("pay_date") + assertThat(payment.payFrequencies().get()).containsExactly(Payment.PayFrequency.ANNUALLY) + assertThat(payment.payGroupIds().get()).containsExactly("string") assertThat(payment.payPeriod()) .contains( Payment.PayPeriod.builder().endDate("end_date").startDate("start_date").build() diff --git a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/ProviderTest.kt b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/ProviderTest.kt index ab682ea2..552fc1ee 100644 --- a/finch-java-core/src/test/kotlin/com/tryfinch/api/models/ProviderTest.kt +++ b/finch-java-core/src/test/kotlin/com/tryfinch/api/models/ProviderTest.kt @@ -1024,6 +1024,8 @@ class ProviderTest { .individualIds(true) .netPay(true) .payDate(true) + .payFrequencies(true) + .payGroupIds(true) .payPeriod( Provider.AuthenticationMethod.SupportedFields .SupportedPaymentFields @@ -2007,6 +2009,8 @@ class ProviderTest { .individualIds(true) .netPay(true) .payDate(true) + .payFrequencies(true) + .payGroupIds(true) .payPeriod( Provider.AuthenticationMethod.SupportedFields .SupportedPaymentFields From b7d0fc2353b96a0eaed5d9838a1ce7babd3b1c6b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:22:12 +0000 Subject: [PATCH 2/2] release: 0.31.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 6 +++--- build.gradle.kts | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e9634451..f81bf992 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.30.2" + ".": "0.31.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bd0aac5e..e0b7eae0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.31.0 (2024-07-26) + +Full Changelog: [v0.30.2...v0.31.0](https://github.com/Finch-API/finch-api-java/compare/v0.30.2...v0.31.0) + +### Features + +* **api:** add 'payment frequencies' and 'pay group ids' to payment model ([#262](https://github.com/Finch-API/finch-api-java/issues/262)) ([0e1ab3c](https://github.com/Finch-API/finch-api-java/commit/0e1ab3c963b19e8212a76f24546f499794098405)) + ## 0.30.2 (2024-07-24) Full Changelog: [v0.30.1...v0.30.2](https://github.com/Finch-API/finch-api-java/compare/v0.30.1...v0.30.2) diff --git a/README.md b/README.md index 46dd0f0e..1e17a5c9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.tryfinch.api/finch-java)](https://central.sonatype.com/artifact/com.tryfinch.api/finch-java/0.30.2) +[![Maven Central](https://img.shields.io/maven-central/v/com.tryfinch.api/finch-java)](https://central.sonatype.com/artifact/com.tryfinch.api/finch-java/0.31.0) @@ -25,7 +25,7 @@ The REST API documentation can be foundĀ [in the Finch Documentation Center](htt ```kotlin -implementation("com.tryfinch.api:finch-java:0.30.2") +implementation("com.tryfinch.api:finch-java:0.31.0") ``` #### Maven @@ -34,7 +34,7 @@ implementation("com.tryfinch.api:finch-java:0.30.2") com.tryfinch.api finch-java - 0.30.2 + 0.31.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index a71eec10..3defa609 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { allprojects { group = "com.tryfinch.api" - version = "0.30.2" // x-release-please-version + version = "0.31.0" // x-release-please-version } nexusPublishing {