diff --git a/.release-please-manifest.json b/.release-please-manifest.json index db96e6933..414ada657 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.484.0" + ".": "0.485.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 5a0f7c11c..d4fff91f9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1bab7be736382985590e568f2b01d1a195c0228b8f2c6599d73335510113e41a.yml -openapi_spec_hash: 222819fc58fce5959c13e13b507239bc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5444aa15ed771b293975e4ea457bbf96f3fd4268dab9cef1d64fc18efbba3718.yml +openapi_spec_hash: 94be74f7b294a338dd47d95721bb52ae config_hash: 25d7d7aa4882db6189b4b53e8e249e80 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2385c9981..6029f7413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.485.0 (2026-03-18) + +Full Changelog: [v0.484.0...v0.485.0](https://github.com/Increase/increase-java/compare/v0.484.0...v0.485.0) + +### Features + +* **api:** api update ([48bbb8a](https://github.com/Increase/increase-java/commit/48bbb8ac576e889cbf408a9d20f02ee3cb8de4e8)) + ## 0.484.0 (2026-03-18) Full Changelog: [v0.483.0...v0.484.0](https://github.com/Increase/increase-java/compare/v0.483.0...v0.484.0) diff --git a/README.md b/README.md index 25241f6a9..f0c27e9cf 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.484.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.484.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.484.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.485.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.485.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.485.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.484.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.485.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.484.0") +implementation("com.increase.api:increase-java:0.485.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.484.0") com.increase.api increase-java - 0.484.0 + 0.485.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 67c821127..9faca8f42 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.484.0" // x-release-please-version + version = "0.485.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt index a853b2b86..f39344f7b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt @@ -4085,11 +4085,6 @@ private constructor( @JvmField val UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = of("unable_to_locate_previous_message") - /** The data in the transaction is inconsistent with the original message. */ - @JvmField - val DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = - of("data_inconsistent_with_original_message") - /** An error was found with the PIN associated with the transaction. */ @JvmField val PIN_ERROR_FOUND = of("pin_error_found") @@ -4117,15 +4112,6 @@ private constructor( val TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT = of("transaction_amount_exceeds_pre_authorized_approval_amount") - /** The biller information provided is invalid. */ - @JvmField val INVALID_BILLER_INFORMATION = of("invalid_biller_information") - - /** The PIN change request has been declined. */ - @JvmField val PIN_CHANGE_REQUEST_DECLINED = of("pin_change_request_declined") - - /** The PIN provided is considered unsafe. */ - @JvmField val UNSAFE_PIN = of("unsafe_pin") - /** The transaction does not qualify for Visa PIN processing. */ @JvmField val TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = @@ -4150,9 +4136,6 @@ private constructor( val INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT = of("invalid_use_of_merchant_category_code_correct_and_reattempt") - /** The transaction should be forwarded to the issuer for processing. */ - @JvmField val FORWARD_TO_ISSUER = of("forward_to_issuer") - /** The card authentication process has failed. */ @JvmField val CARD_AUTHENTICATION_FAILED = of("card_authentication_failed") @@ -4291,8 +4274,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED, /** The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -4307,12 +4288,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -4326,8 +4301,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, } @@ -4472,8 +4445,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED, /** The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -4488,12 +4459,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -4507,8 +4472,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, /** @@ -4584,8 +4547,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Value.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Value.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Value.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Value.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Value.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Value.VERIFICATION_DATA_FAILED @@ -4596,9 +4557,6 @@ private constructor( Value.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Value.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Value.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Value.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Value.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Value.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Value.OFFLINE_DECLINED @@ -4607,7 +4565,6 @@ private constructor( Value.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Value.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Value.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Value.CARD_AUTHENTICATION_FAILED else -> Value._UNKNOWN } @@ -4681,8 +4638,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Known.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Known.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Known.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Known.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Known.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Known.VERIFICATION_DATA_FAILED @@ -4693,9 +4648,6 @@ private constructor( Known.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Known.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Known.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Known.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Known.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Known.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Known.OFFLINE_DECLINED @@ -4704,7 +4656,6 @@ private constructor( Known.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Known.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Known.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Known.CARD_AUTHENTICATION_FAILED else -> throw IncreaseInvalidDataException("Unknown Reason: $value") } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt index 1bf3b3241..0bb6714f2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardvalidations/CardValidation.kt @@ -4284,11 +4284,6 @@ private constructor( @JvmField val UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = of("unable_to_locate_previous_message") - /** The data in the transaction is inconsistent with the original message. */ - @JvmField - val DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = - of("data_inconsistent_with_original_message") - /** An error was found with the PIN associated with the transaction. */ @JvmField val PIN_ERROR_FOUND = of("pin_error_found") @@ -4316,15 +4311,6 @@ private constructor( val TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT = of("transaction_amount_exceeds_pre_authorized_approval_amount") - /** The biller information provided is invalid. */ - @JvmField val INVALID_BILLER_INFORMATION = of("invalid_biller_information") - - /** The PIN change request has been declined. */ - @JvmField val PIN_CHANGE_REQUEST_DECLINED = of("pin_change_request_declined") - - /** The PIN provided is considered unsafe. */ - @JvmField val UNSAFE_PIN = of("unsafe_pin") - /** The transaction does not qualify for Visa PIN processing. */ @JvmField val TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = @@ -4349,9 +4335,6 @@ private constructor( val INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT = of("invalid_use_of_merchant_category_code_correct_and_reattempt") - /** The transaction should be forwarded to the issuer for processing. */ - @JvmField val FORWARD_TO_ISSUER = of("forward_to_issuer") - /** The card authentication process has failed. */ @JvmField val CARD_AUTHENTICATION_FAILED = of("card_authentication_failed") @@ -4490,8 +4473,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED, /** The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -4506,12 +4487,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -4525,8 +4500,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, } @@ -4671,8 +4644,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED, /** The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -4687,12 +4658,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -4706,8 +4671,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, /** @@ -4783,8 +4746,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Value.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Value.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Value.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Value.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Value.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Value.VERIFICATION_DATA_FAILED @@ -4795,9 +4756,6 @@ private constructor( Value.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Value.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Value.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Value.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Value.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Value.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Value.OFFLINE_DECLINED @@ -4806,7 +4764,6 @@ private constructor( Value.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Value.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Value.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Value.CARD_AUTHENTICATION_FAILED else -> Value._UNKNOWN } @@ -4880,8 +4837,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Known.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Known.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Known.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Known.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Known.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Known.VERIFICATION_DATA_FAILED @@ -4892,9 +4847,6 @@ private constructor( Known.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Known.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Known.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Known.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Known.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Known.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Known.OFFLINE_DECLINED @@ -4903,7 +4855,6 @@ private constructor( Known.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Known.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Known.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Known.CARD_AUTHENTICATION_FAILED else -> throw IncreaseInvalidDataException("Unknown Reason: $value") } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt index f7226f7ea..193bcf716 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/cardtokens/CardTokenCreateParams.kt @@ -2129,11 +2129,6 @@ private constructor( @JvmField val UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = of("unable_to_locate_previous_message") - /** The data in the transaction is inconsistent with the original message. */ - @JvmField - val DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = - of("data_inconsistent_with_original_message") - /** An error was found with the PIN associated with the transaction. */ @JvmField val PIN_ERROR_FOUND = of("pin_error_found") @@ -2161,15 +2156,6 @@ private constructor( val TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT = of("transaction_amount_exceeds_pre_authorized_approval_amount") - /** The biller information provided is invalid. */ - @JvmField val INVALID_BILLER_INFORMATION = of("invalid_biller_information") - - /** The PIN change request has been declined. */ - @JvmField val PIN_CHANGE_REQUEST_DECLINED = of("pin_change_request_declined") - - /** The PIN provided is considered unsafe. */ - @JvmField val UNSAFE_PIN = of("unsafe_pin") - /** The transaction does not qualify for Visa PIN processing. */ @JvmField val TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = @@ -2194,9 +2180,6 @@ private constructor( val INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT = of("invalid_use_of_merchant_category_code_correct_and_reattempt") - /** The transaction should be forwarded to the issuer for processing. */ - @JvmField val FORWARD_TO_ISSUER = of("forward_to_issuer") - /** The card authentication process has failed. */ @JvmField val CARD_AUTHENTICATION_FAILED = of("card_authentication_failed") @@ -2354,8 +2337,6 @@ private constructor( * The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -2370,12 +2351,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -2389,8 +2364,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, } @@ -2554,8 +2527,6 @@ private constructor( * The previous message associated with the transaction could not be located. */ UNABLE_TO_LOCATE_PREVIOUS_MESSAGE, - /** The data in the transaction is inconsistent with the original message. */ - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE, /** An error was found with the PIN associated with the transaction. */ PIN_ERROR_FOUND, /** The PIN associated with the transaction could not be verified. */ @@ -2570,12 +2541,6 @@ private constructor( CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT, /** The transaction amount exceeds the pre-authorized approval amount. */ TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT, - /** The biller information provided is invalid. */ - INVALID_BILLER_INFORMATION, - /** The PIN change request has been declined. */ - PIN_CHANGE_REQUEST_DECLINED, - /** The PIN provided is considered unsafe. */ - UNSAFE_PIN, /** The transaction does not qualify for Visa PIN processing. */ TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN, /** The transaction was declined offline. */ @@ -2589,8 +2554,6 @@ private constructor( * transaction. */ INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT, - /** The transaction should be forwarded to the issuer for processing. */ - FORWARD_TO_ISSUER, /** The card authentication process has failed. */ CARD_AUTHENTICATION_FAILED, /** @@ -2668,8 +2631,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Value.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Value.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Value.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Value.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Value.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Value.VERIFICATION_DATA_FAILED @@ -2680,9 +2641,6 @@ private constructor( Value.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Value.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Value.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Value.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Value.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Value.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Value.OFFLINE_DECLINED @@ -2691,7 +2649,6 @@ private constructor( Value.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Value.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Value.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Value.CARD_AUTHENTICATION_FAILED else -> Value._UNKNOWN } @@ -2766,8 +2723,6 @@ private constructor( ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED -> Known.ALLOWABLE_NUMBER_OF_PIN_ENTRY_TRIES_EXCEEDED UNABLE_TO_LOCATE_PREVIOUS_MESSAGE -> Known.UNABLE_TO_LOCATE_PREVIOUS_MESSAGE - DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE -> - Known.DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE PIN_ERROR_FOUND -> Known.PIN_ERROR_FOUND CANNOT_VERIFY_PIN -> Known.CANNOT_VERIFY_PIN VERIFICATION_DATA_FAILED -> Known.VERIFICATION_DATA_FAILED @@ -2778,9 +2733,6 @@ private constructor( Known.CASHBACK_REQUEST_EXCEEDS_ISSUER_LIMIT TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT -> Known.TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT - INVALID_BILLER_INFORMATION -> Known.INVALID_BILLER_INFORMATION - PIN_CHANGE_REQUEST_DECLINED -> Known.PIN_CHANGE_REQUEST_DECLINED - UNSAFE_PIN -> Known.UNSAFE_PIN TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN -> Known.TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN OFFLINE_DECLINED -> Known.OFFLINE_DECLINED @@ -2789,7 +2741,6 @@ private constructor( Known.VALID_ACCOUNT_BUT_AMOUNT_NOT_SUPPORTED INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT -> Known.INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT - FORWARD_TO_ISSUER -> Known.FORWARD_TO_ISSUER CARD_AUTHENTICATION_FAILED -> Known.CARD_AUTHENTICATION_FAILED else -> throw IncreaseInvalidDataException("Unknown Reason: $value") }