diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 171e59a68..741f062e3 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.367.0"
+ ".": "0.368.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 94f44024d..b52e8c7d7 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 229
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a66f039751a4ffdebbbf533f24f55cd2c42708b9cf105512849849fddaafb5e8.yml
-openapi_spec_hash: c265609bceb053f898ea14b1191fe927
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-bd464d151612058d8029150b376949b22d5515af23621465c0ce1c1069b91644.yml
+openapi_spec_hash: e60e1548c523a0ee7c9daa1bd988cbc5
config_hash: ca1425272e17fa23d4466d33492334fa
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 648c761eb..fa3e3c079 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.368.0 (2025-11-24)
+
+Full Changelog: [v0.367.0...v0.368.0](https://github.com/Increase/increase-java/compare/v0.367.0...v0.368.0)
+
+### Features
+
+* **api:** api update ([5ca6984](https://github.com/Increase/increase-java/commit/5ca69846a32c92beb3f1872eaff953d423f6b61d))
+
## 0.367.0 (2025-11-24)
Full Changelog: [v0.366.0...v0.367.0](https://github.com/Increase/increase-java/compare/v0.366.0...v0.367.0)
diff --git a/README.md b/README.md
index f65cd5b52..996b7ec11 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.367.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.367.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.368.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.368.0)
@@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe
-The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.367.0).
+The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.368.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
### Gradle
```kotlin
-implementation("com.increase.api:increase-java:0.367.0")
+implementation("com.increase.api:increase-java:0.368.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.367.0")
com.increase.api
increase-java
- 0.367.0
+ 0.368.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index f149348b7..8958ef28f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.367.0" // x-release-please-version
+ version = "0.368.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt
index e9f589f53..3f67ec005 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt
@@ -3383,6 +3383,7 @@ private constructor(
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val attachmentFileId: JsonField,
+ private val checkVoucherImageFileId: JsonField,
private val mailingAddress: JsonField,
private val memo: JsonField,
private val note: JsonField,
@@ -3400,6 +3401,9 @@ private constructor(
@JsonProperty("attachment_file_id")
@ExcludeMissing
attachmentFileId: JsonField = JsonMissing.of(),
+ @JsonProperty("check_voucher_image_file_id")
+ @ExcludeMissing
+ checkVoucherImageFileId: JsonField = JsonMissing.of(),
@JsonProperty("mailing_address")
@ExcludeMissing
mailingAddress: JsonField = JsonMissing.of(),
@@ -3423,6 +3427,7 @@ private constructor(
trackingUpdates: JsonField> = JsonMissing.of(),
) : this(
attachmentFileId,
+ checkVoucherImageFileId,
mailingAddress,
memo,
note,
@@ -3444,6 +3449,15 @@ private constructor(
fun attachmentFileId(): Optional =
attachmentFileId.getOptional("attachment_file_id")
+ /**
+ * The ID of the file for the check voucher image.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun checkVoucherImageFileId(): Optional =
+ checkVoucherImageFileId.getOptional("check_voucher_image_file_id")
+
/**
* Details for where Increase will mail the check.
*
@@ -3530,6 +3544,16 @@ private constructor(
@ExcludeMissing
fun _attachmentFileId(): JsonField = attachmentFileId
+ /**
+ * Returns the raw JSON value of [checkVoucherImageFileId].
+ *
+ * Unlike [checkVoucherImageFileId], this method doesn't throw if the JSON field has an
+ * unexpected type.
+ */
+ @JsonProperty("check_voucher_image_file_id")
+ @ExcludeMissing
+ fun _checkVoucherImageFileId(): JsonField = checkVoucherImageFileId
+
/**
* Returns the raw JSON value of [mailingAddress].
*
@@ -3631,6 +3655,7 @@ private constructor(
* The following fields are required:
* ```java
* .attachmentFileId()
+ * .checkVoucherImageFileId()
* .mailingAddress()
* .memo()
* .note()
@@ -3649,6 +3674,7 @@ private constructor(
class Builder internal constructor() {
private var attachmentFileId: JsonField? = null
+ private var checkVoucherImageFileId: JsonField? = null
private var mailingAddress: JsonField? = null
private var memo: JsonField? = null
private var note: JsonField? = null
@@ -3663,6 +3689,7 @@ private constructor(
@JvmSynthetic
internal fun from(physicalCheck: PhysicalCheck) = apply {
attachmentFileId = physicalCheck.attachmentFileId
+ checkVoucherImageFileId = physicalCheck.checkVoucherImageFileId
mailingAddress = physicalCheck.mailingAddress
memo = physicalCheck.memo
note = physicalCheck.note
@@ -3696,6 +3723,28 @@ private constructor(
this.attachmentFileId = attachmentFileId
}
+ /** The ID of the file for the check voucher image. */
+ fun checkVoucherImageFileId(checkVoucherImageFileId: String?) =
+ checkVoucherImageFileId(JsonField.ofNullable(checkVoucherImageFileId))
+
+ /**
+ * Alias for calling [Builder.checkVoucherImageFileId] with
+ * `checkVoucherImageFileId.orElse(null)`.
+ */
+ fun checkVoucherImageFileId(checkVoucherImageFileId: Optional) =
+ checkVoucherImageFileId(checkVoucherImageFileId.getOrNull())
+
+ /**
+ * Sets [Builder.checkVoucherImageFileId] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.checkVoucherImageFileId] with a well-typed [String]
+ * value instead. This method is primarily for setting the field to an undocumented or
+ * not yet supported value.
+ */
+ fun checkVoucherImageFileId(checkVoucherImageFileId: JsonField) = apply {
+ this.checkVoucherImageFileId = checkVoucherImageFileId
+ }
+
/** Details for where Increase will mail the check. */
fun mailingAddress(mailingAddress: MailingAddress) =
mailingAddress(JsonField.of(mailingAddress))
@@ -3898,6 +3947,7 @@ private constructor(
* The following fields are required:
* ```java
* .attachmentFileId()
+ * .checkVoucherImageFileId()
* .mailingAddress()
* .memo()
* .note()
@@ -3914,6 +3964,7 @@ private constructor(
fun build(): PhysicalCheck =
PhysicalCheck(
checkRequired("attachmentFileId", attachmentFileId),
+ checkRequired("checkVoucherImageFileId", checkVoucherImageFileId),
checkRequired("mailingAddress", mailingAddress),
checkRequired("memo", memo),
checkRequired("note", note),
@@ -3935,6 +3986,7 @@ private constructor(
}
attachmentFileId()
+ checkVoucherImageFileId()
mailingAddress().validate()
memo()
note()
@@ -3964,6 +4016,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int =
(if (attachmentFileId.asKnown().isPresent) 1 else 0) +
+ (if (checkVoucherImageFileId.asKnown().isPresent) 1 else 0) +
(mailingAddress.asKnown().getOrNull()?.validity() ?: 0) +
(if (memo.asKnown().isPresent) 1 else 0) +
(if (note.asKnown().isPresent) 1 else 0) +
@@ -5513,6 +5566,7 @@ private constructor(
return other is PhysicalCheck &&
attachmentFileId == other.attachmentFileId &&
+ checkVoucherImageFileId == other.checkVoucherImageFileId &&
mailingAddress == other.mailingAddress &&
memo == other.memo &&
note == other.note &&
@@ -5528,6 +5582,7 @@ private constructor(
private val hashCode: Int by lazy {
Objects.hash(
attachmentFileId,
+ checkVoucherImageFileId,
mailingAddress,
memo,
note,
@@ -5544,7 +5599,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "PhysicalCheck{attachmentFileId=$attachmentFileId, mailingAddress=$mailingAddress, memo=$memo, note=$note, payer=$payer, recipientName=$recipientName, returnAddress=$returnAddress, shippingMethod=$shippingMethod, signatureText=$signatureText, trackingUpdates=$trackingUpdates, additionalProperties=$additionalProperties}"
+ "PhysicalCheck{attachmentFileId=$attachmentFileId, checkVoucherImageFileId=$checkVoucherImageFileId, mailingAddress=$mailingAddress, memo=$memo, note=$note, payer=$payer, recipientName=$recipientName, returnAddress=$returnAddress, shippingMethod=$shippingMethod, signatureText=$signatureText, trackingUpdates=$trackingUpdates, additionalProperties=$additionalProperties}"
}
/** The lifecycle status of the transfer. */
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt
index e03287cde..f1cd438a6 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt
@@ -1482,6 +1482,7 @@ private constructor(
private val memo: JsonField,
private val recipientName: JsonField,
private val attachmentFileId: JsonField,
+ private val checkVoucherImageFileId: JsonField,
private val note: JsonField,
private val payer: JsonField>,
private val returnAddress: JsonField,
@@ -1502,6 +1503,9 @@ private constructor(
@JsonProperty("attachment_file_id")
@ExcludeMissing
attachmentFileId: JsonField = JsonMissing.of(),
+ @JsonProperty("check_voucher_image_file_id")
+ @ExcludeMissing
+ checkVoucherImageFileId: JsonField = JsonMissing.of(),
@JsonProperty("note") @ExcludeMissing note: JsonField = JsonMissing.of(),
@JsonProperty("payer") @ExcludeMissing payer: JsonField> = JsonMissing.of(),
@JsonProperty("return_address")
@@ -1518,6 +1522,7 @@ private constructor(
memo,
recipientName,
attachmentFileId,
+ checkVoucherImageFileId,
note,
payer,
returnAddress,
@@ -1561,6 +1566,17 @@ private constructor(
fun attachmentFileId(): Optional =
attachmentFileId.getOptional("attachment_file_id")
+ /**
+ * The ID of a File to be used as the check voucher image. This must have `purpose:
+ * check_voucher_image`. For details on pricing and restrictions, see
+ * https://increase.com/documentation/originating-checks#printing-checks .
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun checkVoucherImageFileId(): Optional =
+ checkVoucherImageFileId.getOptional("check_voucher_image_file_id")
+
/**
* The descriptor that will be printed on the letter included with the check.
*
@@ -1644,6 +1660,16 @@ private constructor(
@ExcludeMissing
fun _attachmentFileId(): JsonField = attachmentFileId
+ /**
+ * Returns the raw JSON value of [checkVoucherImageFileId].
+ *
+ * Unlike [checkVoucherImageFileId], this method doesn't throw if the JSON field has an
+ * unexpected type.
+ */
+ @JsonProperty("check_voucher_image_file_id")
+ @ExcludeMissing
+ fun _checkVoucherImageFileId(): JsonField = checkVoucherImageFileId
+
/**
* Returns the raw JSON value of [note].
*
@@ -1722,6 +1748,7 @@ private constructor(
private var memo: JsonField? = null
private var recipientName: JsonField? = null
private var attachmentFileId: JsonField = JsonMissing.of()
+ private var checkVoucherImageFileId: JsonField = JsonMissing.of()
private var note: JsonField = JsonMissing.of()
private var payer: JsonField>? = null
private var returnAddress: JsonField = JsonMissing.of()
@@ -1735,6 +1762,7 @@ private constructor(
memo = physicalCheck.memo
recipientName = physicalCheck.recipientName
attachmentFileId = physicalCheck.attachmentFileId
+ checkVoucherImageFileId = physicalCheck.checkVoucherImageFileId
note = physicalCheck.note
payer = physicalCheck.payer.map { it.toMutableList() }
returnAddress = physicalCheck.returnAddress
@@ -1803,6 +1831,25 @@ private constructor(
this.attachmentFileId = attachmentFileId
}
+ /**
+ * The ID of a File to be used as the check voucher image. This must have `purpose:
+ * check_voucher_image`. For details on pricing and restrictions, see
+ * https://increase.com/documentation/originating-checks#printing-checks .
+ */
+ fun checkVoucherImageFileId(checkVoucherImageFileId: String) =
+ checkVoucherImageFileId(JsonField.of(checkVoucherImageFileId))
+
+ /**
+ * Sets [Builder.checkVoucherImageFileId] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.checkVoucherImageFileId] with a well-typed [String]
+ * value instead. This method is primarily for setting the field to an undocumented or
+ * not yet supported value.
+ */
+ fun checkVoucherImageFileId(checkVoucherImageFileId: JsonField) = apply {
+ this.checkVoucherImageFileId = checkVoucherImageFileId
+ }
+
/** The descriptor that will be printed on the letter included with the check. */
fun note(note: String) = note(JsonField.of(note))
@@ -1937,6 +1984,7 @@ private constructor(
checkRequired("memo", memo),
checkRequired("recipientName", recipientName),
attachmentFileId,
+ checkVoucherImageFileId,
note,
(payer ?: JsonMissing.of()).map { it.toImmutable() },
returnAddress,
@@ -1957,6 +2005,7 @@ private constructor(
memo()
recipientName()
attachmentFileId()
+ checkVoucherImageFileId()
note()
payer().ifPresent { it.forEach { it.validate() } }
returnAddress().ifPresent { it.validate() }
@@ -1985,6 +2034,7 @@ private constructor(
(if (memo.asKnown().isPresent) 1 else 0) +
(if (recipientName.asKnown().isPresent) 1 else 0) +
(if (attachmentFileId.asKnown().isPresent) 1 else 0) +
+ (if (checkVoucherImageFileId.asKnown().isPresent) 1 else 0) +
(if (note.asKnown().isPresent) 1 else 0) +
(payer.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) +
(returnAddress.asKnown().getOrNull()?.validity() ?: 0) +
@@ -3085,6 +3135,7 @@ private constructor(
memo == other.memo &&
recipientName == other.recipientName &&
attachmentFileId == other.attachmentFileId &&
+ checkVoucherImageFileId == other.checkVoucherImageFileId &&
note == other.note &&
payer == other.payer &&
returnAddress == other.returnAddress &&
@@ -3099,6 +3150,7 @@ private constructor(
memo,
recipientName,
attachmentFileId,
+ checkVoucherImageFileId,
note,
payer,
returnAddress,
@@ -3111,7 +3163,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "PhysicalCheck{mailingAddress=$mailingAddress, memo=$memo, recipientName=$recipientName, attachmentFileId=$attachmentFileId, note=$note, payer=$payer, returnAddress=$returnAddress, shippingMethod=$shippingMethod, signatureText=$signatureText, additionalProperties=$additionalProperties}"
+ "PhysicalCheck{mailingAddress=$mailingAddress, memo=$memo, recipientName=$recipientName, attachmentFileId=$attachmentFileId, checkVoucherImageFileId=$checkVoucherImageFileId, note=$note, payer=$payer, returnAddress=$returnAddress, shippingMethod=$shippingMethod, signatureText=$signatureText, additionalProperties=$additionalProperties}"
}
/**
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt
index 6a5219dea..9c491299b 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt
@@ -682,6 +682,12 @@ private constructor(
*/
@JvmField val CHECK_ATTACHMENT = of("check_attachment")
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ @JvmField val CHECK_VOUCHER_IMAGE = of("check_voucher_image")
+
/** A scanned mail item sent to Increase. */
@JvmField val INBOUND_MAIL_ITEM = of("inbound_mail_item")
@@ -800,6 +806,11 @@ private constructor(
* requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** A scanned mail item sent to Increase. */
INBOUND_MAIL_ITEM,
/** IRS Form 1099-INT. */
@@ -896,6 +907,11 @@ private constructor(
* requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** A scanned mail item sent to Increase. */
INBOUND_MAIL_ITEM,
/** IRS Form 1099-INT. */
@@ -977,6 +993,7 @@ private constructor(
PROCESSED_CHECK_IMAGE_BACK -> Value.PROCESSED_CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Value.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Value.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Value.CHECK_VOUCHER_IMAGE
INBOUND_MAIL_ITEM -> Value.INBOUND_MAIL_ITEM
FORM_1099_INT -> Value.FORM_1099_INT
FORM_1099_MISC -> Value.FORM_1099_MISC
@@ -1023,6 +1040,7 @@ private constructor(
PROCESSED_CHECK_IMAGE_BACK -> Known.PROCESSED_CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Known.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Known.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Known.CHECK_VOUCHER_IMAGE
INBOUND_MAIL_ITEM -> Known.INBOUND_MAIL_ITEM
FORM_1099_INT -> Known.FORM_1099_INT
FORM_1099_MISC -> Known.FORM_1099_MISC
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt
index cd04d6830..6604db536 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt
@@ -612,6 +612,12 @@ private constructor(
*/
@JvmField val CHECK_ATTACHMENT = of("check_attachment")
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ @JvmField val CHECK_VOUCHER_IMAGE = of("check_voucher_image")
+
/** IRS Form SS-4. */
@JvmField val FORM_SS_4 = of("form_ss_4")
@@ -689,6 +695,11 @@ private constructor(
* requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** IRS Form SS-4. */
FORM_SS_4,
/** An image of a government-issued ID. */
@@ -755,6 +766,11 @@ private constructor(
* requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of the
+ * trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** IRS Form SS-4. */
FORM_SS_4,
/** An image of a government-issued ID. */
@@ -814,6 +830,7 @@ private constructor(
CHECK_IMAGE_BACK -> Value.CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Value.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Value.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Value.CHECK_VOUCHER_IMAGE
FORM_SS_4 -> Value.FORM_SS_4
IDENTITY_DOCUMENT -> Value.IDENTITY_DOCUMENT
LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT ->
@@ -848,6 +865,7 @@ private constructor(
CHECK_IMAGE_BACK -> Known.CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Known.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Known.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Known.CHECK_VOUCHER_IMAGE
FORM_SS_4 -> Known.FORM_SS_4
IDENTITY_DOCUMENT -> Known.IDENTITY_DOCUMENT
LOAN_APPLICATION_SUPPLEMENTAL_DOCUMENT ->
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt
index 3fdedb8da..ece97d6b3 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt
@@ -615,6 +615,12 @@ private constructor(
*/
@JvmField val CHECK_ATTACHMENT = of("check_attachment")
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of
+ * the trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ @JvmField val CHECK_VOUCHER_IMAGE = of("check_voucher_image")
+
/** A scanned mail item sent to Increase. */
@JvmField val INBOUND_MAIL_ITEM = of("inbound_mail_item")
@@ -733,6 +739,11 @@ private constructor(
* you've requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of
+ * the trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** A scanned mail item sent to Increase. */
INBOUND_MAIL_ITEM,
/** IRS Form 1099-INT. */
@@ -829,6 +840,11 @@ private constructor(
* you've requested Increase print.
*/
CHECK_ATTACHMENT,
+ /**
+ * An image to be used as the check voucher image, which is printed in the middle of
+ * the trifold area of a check. This must be a 2550x1100 pixel PNG.
+ */
+ CHECK_VOUCHER_IMAGE,
/** A scanned mail item sent to Increase. */
INBOUND_MAIL_ITEM,
/** IRS Form 1099-INT. */
@@ -910,6 +926,7 @@ private constructor(
PROCESSED_CHECK_IMAGE_BACK -> Value.PROCESSED_CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Value.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Value.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Value.CHECK_VOUCHER_IMAGE
INBOUND_MAIL_ITEM -> Value.INBOUND_MAIL_ITEM
FORM_1099_INT -> Value.FORM_1099_INT
FORM_1099_MISC -> Value.FORM_1099_MISC
@@ -956,6 +973,7 @@ private constructor(
PROCESSED_CHECK_IMAGE_BACK -> Known.PROCESSED_CHECK_IMAGE_BACK
MAILED_CHECK_IMAGE -> Known.MAILED_CHECK_IMAGE
CHECK_ATTACHMENT -> Known.CHECK_ATTACHMENT
+ CHECK_VOUCHER_IMAGE -> Known.CHECK_VOUCHER_IMAGE
INBOUND_MAIL_ITEM -> Known.INBOUND_MAIL_ITEM
FORM_1099_INT -> Known.FORM_1099_INT
FORM_1099_MISC -> Known.FORM_1099_MISC
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParamsTest.kt
index b53bd17d0..541cdc3b9 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParamsTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParamsTest.kt
@@ -33,6 +33,7 @@ internal class CheckTransferCreateParamsTest {
.memo("Check payment")
.recipientName("Ian Crease")
.attachmentFileId("attachment_file_id")
+ .checkVoucherImageFileId("check_voucher_image_file_id")
.note("x")
.addPayer(
CheckTransferCreateParams.PhysicalCheck.Payer.builder()
@@ -87,6 +88,7 @@ internal class CheckTransferCreateParamsTest {
.memo("Check payment")
.recipientName("Ian Crease")
.attachmentFileId("attachment_file_id")
+ .checkVoucherImageFileId("check_voucher_image_file_id")
.note("x")
.addPayer(
CheckTransferCreateParams.PhysicalCheck.Payer.builder()
@@ -142,6 +144,7 @@ internal class CheckTransferCreateParamsTest {
.memo("Check payment")
.recipientName("Ian Crease")
.attachmentFileId("attachment_file_id")
+ .checkVoucherImageFileId("check_voucher_image_file_id")
.note("x")
.addPayer(
CheckTransferCreateParams.PhysicalCheck.Payer.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponseTest.kt
index 2e674737d..12480a8d6 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferListPageResponseTest.kt
@@ -70,6 +70,7 @@ internal class CheckTransferListPageResponseTest {
.physicalCheck(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
@@ -224,6 +225,7 @@ internal class CheckTransferListPageResponseTest {
.physicalCheck(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
@@ -378,6 +380,7 @@ internal class CheckTransferListPageResponseTest {
.physicalCheck(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferTest.kt
index 7785c57e8..23ef72d5f 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/checktransfers/CheckTransferTest.kt
@@ -64,6 +64,7 @@ internal class CheckTransferTest {
.physicalCheck(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
@@ -208,6 +209,7 @@ internal class CheckTransferTest {
.contains(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
@@ -351,6 +353,7 @@ internal class CheckTransferTest {
.physicalCheck(
CheckTransfer.PhysicalCheck.builder()
.attachmentFileId(null)
+ .checkVoucherImageFileId(null)
.mailingAddress(
CheckTransfer.PhysicalCheck.MailingAddress.builder()
.city("New York")
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/CheckTransferServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/CheckTransferServiceAsyncTest.kt
index 9da7b5586..fc4c2180d 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/CheckTransferServiceAsyncTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/CheckTransferServiceAsyncTest.kt
@@ -47,6 +47,7 @@ internal class CheckTransferServiceAsyncTest {
.memo("Check payment")
.recipientName("Ian Crease")
.attachmentFileId("attachment_file_id")
+ .checkVoucherImageFileId("check_voucher_image_file_id")
.note("x")
.addPayer(
CheckTransferCreateParams.PhysicalCheck.Payer.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/CheckTransferServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/CheckTransferServiceTest.kt
index 60778eaa0..d1755c695 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/CheckTransferServiceTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/CheckTransferServiceTest.kt
@@ -47,6 +47,7 @@ internal class CheckTransferServiceTest {
.memo("Check payment")
.recipientName("Ian Crease")
.attachmentFileId("attachment_file_id")
+ .checkVoucherImageFileId("check_voucher_image_file_id")
.note("x")
.addPayer(
CheckTransferCreateParams.PhysicalCheck.Payer.builder()