From c39f68cbfeb86597f5286ef3b823c7d2d4d1a4dc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 20:34:28 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- .../api/models/cardpayments/CardPayment.kt | 70 ++++++++++++++++++- .../DeclinedTransaction.kt | 70 ++++++++++++++++++- .../CardPaymentListPageResponseTest.kt | 12 ++++ .../models/cardpayments/CardPaymentTest.kt | 12 ++++ ...DeclinedTransactionListPageResponseTest.kt | 3 + .../DeclinedTransactionTest.kt | 3 + .../CardAuthorizationCreateResponseTest.kt | 3 + 8 files changed, 169 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1cc1a647b..931309613 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5fa3dfeb071930598ed9243dd96db808cf54d4a455c99b1acceadc3335f1a387.yml -openapi_spec_hash: 18dfa4d31cd512dcd83b646e40fb2c86 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-743c412709d3e4ca1ed8b1e2107036c9658afe40dd538c0576f64ae302087b4f.yml +openapi_spec_hash: 2a5da3cdf8dfb91dbd0f875cc180a3a1 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt index 07f8425aa..107055fa0 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt @@ -12638,6 +12638,7 @@ private constructor( private val declinedTransactionId: JsonField, private val digitalWalletTokenId: JsonField, private val direction: JsonField, + private val incrementedCardAuthorizationId: JsonField, private val merchantAcceptorId: JsonField, private val merchantCategoryCode: JsonField, private val merchantCity: JsonField, @@ -12685,6 +12686,9 @@ private constructor( @JsonProperty("direction") @ExcludeMissing direction: JsonField = JsonMissing.of(), + @JsonProperty("incremented_card_authorization_id") + @ExcludeMissing + incrementedCardAuthorizationId: JsonField = JsonMissing.of(), @JsonProperty("merchant_acceptor_id") @ExcludeMissing merchantAcceptorId: JsonField = JsonMissing.of(), @@ -12752,6 +12756,7 @@ private constructor( declinedTransactionId, digitalWalletTokenId, direction, + incrementedCardAuthorizationId, merchantAcceptorId, merchantCategoryCode, merchantCity, @@ -12864,6 +12869,16 @@ private constructor( */ fun direction(): Direction = direction.getRequired("direction") + /** + * The identifier of the card authorization this request attempted to incrementally + * authorize. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. + * if the server responded with an unexpected value). + */ + fun incrementedCardAuthorizationId(): Optional = + incrementedCardAuthorizationId.getOptional("incremented_card_authorization_id") + /** * The merchant identifier (commonly abbreviated as MID) of the merchant the card is * transacting with. @@ -13128,6 +13143,17 @@ private constructor( @ExcludeMissing fun _direction(): JsonField = direction + /** + * Returns the raw JSON value of [incrementedCardAuthorizationId]. + * + * Unlike [incrementedCardAuthorizationId], this method doesn't throw if the JSON field + * has an unexpected type. + */ + @JsonProperty("incremented_card_authorization_id") + @ExcludeMissing + fun _incrementedCardAuthorizationId(): JsonField = + incrementedCardAuthorizationId + /** * Returns the raw JSON value of [merchantAcceptorId]. * @@ -13344,6 +13370,7 @@ private constructor( * .declinedTransactionId() * .digitalWalletTokenId() * .direction() + * .incrementedCardAuthorizationId() * .merchantAcceptorId() * .merchantCategoryCode() * .merchantCity() @@ -13380,6 +13407,7 @@ private constructor( private var declinedTransactionId: JsonField? = null private var digitalWalletTokenId: JsonField? = null private var direction: JsonField? = null + private var incrementedCardAuthorizationId: JsonField? = null private var merchantAcceptorId: JsonField? = null private var merchantCategoryCode: JsonField? = null private var merchantCity: JsonField? = null @@ -13412,6 +13440,7 @@ private constructor( declinedTransactionId = cardDecline.declinedTransactionId digitalWalletTokenId = cardDecline.digitalWalletTokenId direction = cardDecline.direction + incrementedCardAuthorizationId = cardDecline.incrementedCardAuthorizationId merchantAcceptorId = cardDecline.merchantAcceptorId merchantCategoryCode = cardDecline.merchantCategoryCode merchantCity = cardDecline.merchantCity @@ -13582,6 +13611,34 @@ private constructor( this.direction = direction } + /** + * The identifier of the card authorization this request attempted to incrementally + * authorize. + */ + fun incrementedCardAuthorizationId(incrementedCardAuthorizationId: String?) = + incrementedCardAuthorizationId( + JsonField.ofNullable(incrementedCardAuthorizationId) + ) + + /** + * Alias for calling [Builder.incrementedCardAuthorizationId] with + * `incrementedCardAuthorizationId.orElse(null)`. + */ + fun incrementedCardAuthorizationId( + incrementedCardAuthorizationId: Optional + ) = incrementedCardAuthorizationId(incrementedCardAuthorizationId.getOrNull()) + + /** + * Sets [Builder.incrementedCardAuthorizationId] to an arbitrary JSON value. + * + * You should usually call [Builder.incrementedCardAuthorizationId] with a + * well-typed [String] value instead. This method is primarily for setting the field + * to an undocumented or not yet supported value. + */ + fun incrementedCardAuthorizationId( + incrementedCardAuthorizationId: JsonField + ) = apply { this.incrementedCardAuthorizationId = incrementedCardAuthorizationId } + /** * The merchant identifier (commonly abbreviated as MID) of the merchant the card is * transacting with. @@ -13986,6 +14043,7 @@ private constructor( * .declinedTransactionId() * .digitalWalletTokenId() * .direction() + * .incrementedCardAuthorizationId() * .merchantAcceptorId() * .merchantCategoryCode() * .merchantCity() @@ -14020,6 +14078,10 @@ private constructor( checkRequired("declinedTransactionId", declinedTransactionId), checkRequired("digitalWalletTokenId", digitalWalletTokenId), checkRequired("direction", direction), + checkRequired( + "incrementedCardAuthorizationId", + incrementedCardAuthorizationId, + ), checkRequired("merchantAcceptorId", merchantAcceptorId), checkRequired("merchantCategoryCode", merchantCategoryCode), checkRequired("merchantCity", merchantCity), @@ -14059,6 +14121,7 @@ private constructor( declinedTransactionId() digitalWalletTokenId() direction().validate() + incrementedCardAuthorizationId() merchantAcceptorId() merchantCategoryCode() merchantCity() @@ -14106,6 +14169,7 @@ private constructor( (if (declinedTransactionId.asKnown().isPresent) 1 else 0) + (if (digitalWalletTokenId.asKnown().isPresent) 1 else 0) + (direction.asKnown().getOrNull()?.validity() ?: 0) + + (if (incrementedCardAuthorizationId.asKnown().isPresent) 1 else 0) + (if (merchantAcceptorId.asKnown().isPresent) 1 else 0) + (if (merchantCategoryCode.asKnown().isPresent) 1 else 0) + (if (merchantCity.asKnown().isPresent) 1 else 0) + @@ -20897,17 +20961,17 @@ private constructor( return true } - return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */ + return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && incrementedCardAuthorizationId == other.incrementedCardAuthorizationId && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */ } /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) } + private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, incrementedCardAuthorizationId, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) } /* spotless:on */ override fun hashCode(): Int = hashCode override fun toString() = - "CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}" + "CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, incrementedCardAuthorizationId=$incrementedCardAuthorizationId, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}" } /** diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt index 476db9fd4..e1c4957c6 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransaction.kt @@ -2545,6 +2545,7 @@ private constructor( private val declinedTransactionId: JsonField, private val digitalWalletTokenId: JsonField, private val direction: JsonField, + private val incrementedCardAuthorizationId: JsonField, private val merchantAcceptorId: JsonField, private val merchantCategoryCode: JsonField, private val merchantCity: JsonField, @@ -2592,6 +2593,9 @@ private constructor( @JsonProperty("direction") @ExcludeMissing direction: JsonField = JsonMissing.of(), + @JsonProperty("incremented_card_authorization_id") + @ExcludeMissing + incrementedCardAuthorizationId: JsonField = JsonMissing.of(), @JsonProperty("merchant_acceptor_id") @ExcludeMissing merchantAcceptorId: JsonField = JsonMissing.of(), @@ -2659,6 +2663,7 @@ private constructor( declinedTransactionId, digitalWalletTokenId, direction, + incrementedCardAuthorizationId, merchantAcceptorId, merchantCategoryCode, merchantCity, @@ -2771,6 +2776,16 @@ private constructor( */ fun direction(): Direction = direction.getRequired("direction") + /** + * The identifier of the card authorization this request attempted to incrementally + * authorize. + * + * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. + * if the server responded with an unexpected value). + */ + fun incrementedCardAuthorizationId(): Optional = + incrementedCardAuthorizationId.getOptional("incremented_card_authorization_id") + /** * The merchant identifier (commonly abbreviated as MID) of the merchant the card is * transacting with. @@ -3035,6 +3050,17 @@ private constructor( @ExcludeMissing fun _direction(): JsonField = direction + /** + * Returns the raw JSON value of [incrementedCardAuthorizationId]. + * + * Unlike [incrementedCardAuthorizationId], this method doesn't throw if the JSON field + * has an unexpected type. + */ + @JsonProperty("incremented_card_authorization_id") + @ExcludeMissing + fun _incrementedCardAuthorizationId(): JsonField = + incrementedCardAuthorizationId + /** * Returns the raw JSON value of [merchantAcceptorId]. * @@ -3251,6 +3277,7 @@ private constructor( * .declinedTransactionId() * .digitalWalletTokenId() * .direction() + * .incrementedCardAuthorizationId() * .merchantAcceptorId() * .merchantCategoryCode() * .merchantCity() @@ -3287,6 +3314,7 @@ private constructor( private var declinedTransactionId: JsonField? = null private var digitalWalletTokenId: JsonField? = null private var direction: JsonField? = null + private var incrementedCardAuthorizationId: JsonField? = null private var merchantAcceptorId: JsonField? = null private var merchantCategoryCode: JsonField? = null private var merchantCity: JsonField? = null @@ -3319,6 +3347,7 @@ private constructor( declinedTransactionId = cardDecline.declinedTransactionId digitalWalletTokenId = cardDecline.digitalWalletTokenId direction = cardDecline.direction + incrementedCardAuthorizationId = cardDecline.incrementedCardAuthorizationId merchantAcceptorId = cardDecline.merchantAcceptorId merchantCategoryCode = cardDecline.merchantCategoryCode merchantCity = cardDecline.merchantCity @@ -3489,6 +3518,34 @@ private constructor( this.direction = direction } + /** + * The identifier of the card authorization this request attempted to incrementally + * authorize. + */ + fun incrementedCardAuthorizationId(incrementedCardAuthorizationId: String?) = + incrementedCardAuthorizationId( + JsonField.ofNullable(incrementedCardAuthorizationId) + ) + + /** + * Alias for calling [Builder.incrementedCardAuthorizationId] with + * `incrementedCardAuthorizationId.orElse(null)`. + */ + fun incrementedCardAuthorizationId( + incrementedCardAuthorizationId: Optional + ) = incrementedCardAuthorizationId(incrementedCardAuthorizationId.getOrNull()) + + /** + * Sets [Builder.incrementedCardAuthorizationId] to an arbitrary JSON value. + * + * You should usually call [Builder.incrementedCardAuthorizationId] with a + * well-typed [String] value instead. This method is primarily for setting the field + * to an undocumented or not yet supported value. + */ + fun incrementedCardAuthorizationId( + incrementedCardAuthorizationId: JsonField + ) = apply { this.incrementedCardAuthorizationId = incrementedCardAuthorizationId } + /** * The merchant identifier (commonly abbreviated as MID) of the merchant the card is * transacting with. @@ -3893,6 +3950,7 @@ private constructor( * .declinedTransactionId() * .digitalWalletTokenId() * .direction() + * .incrementedCardAuthorizationId() * .merchantAcceptorId() * .merchantCategoryCode() * .merchantCity() @@ -3927,6 +3985,10 @@ private constructor( checkRequired("declinedTransactionId", declinedTransactionId), checkRequired("digitalWalletTokenId", digitalWalletTokenId), checkRequired("direction", direction), + checkRequired( + "incrementedCardAuthorizationId", + incrementedCardAuthorizationId, + ), checkRequired("merchantAcceptorId", merchantAcceptorId), checkRequired("merchantCategoryCode", merchantCategoryCode), checkRequired("merchantCity", merchantCity), @@ -3966,6 +4028,7 @@ private constructor( declinedTransactionId() digitalWalletTokenId() direction().validate() + incrementedCardAuthorizationId() merchantAcceptorId() merchantCategoryCode() merchantCity() @@ -4013,6 +4076,7 @@ private constructor( (if (declinedTransactionId.asKnown().isPresent) 1 else 0) + (if (digitalWalletTokenId.asKnown().isPresent) 1 else 0) + (direction.asKnown().getOrNull()?.validity() ?: 0) + + (if (incrementedCardAuthorizationId.asKnown().isPresent) 1 else 0) + (if (merchantAcceptorId.asKnown().isPresent) 1 else 0) + (if (merchantCategoryCode.asKnown().isPresent) 1 else 0) + (if (merchantCity.asKnown().isPresent) 1 else 0) + @@ -10804,17 +10868,17 @@ private constructor( return true } - return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */ + return /* spotless:off */ other is CardDecline && id == other.id && actioner == other.actioner && additionalAmounts == other.additionalAmounts && amount == other.amount && cardPaymentId == other.cardPaymentId && currency == other.currency && declinedTransactionId == other.declinedTransactionId && digitalWalletTokenId == other.digitalWalletTokenId && direction == other.direction && incrementedCardAuthorizationId == other.incrementedCardAuthorizationId && merchantAcceptorId == other.merchantAcceptorId && merchantCategoryCode == other.merchantCategoryCode && merchantCity == other.merchantCity && merchantCountry == other.merchantCountry && merchantDescriptor == other.merchantDescriptor && merchantPostalCode == other.merchantPostalCode && merchantState == other.merchantState && networkDetails == other.networkDetails && networkIdentifiers == other.networkIdentifiers && networkRiskScore == other.networkRiskScore && physicalCardId == other.physicalCardId && presentmentAmount == other.presentmentAmount && presentmentCurrency == other.presentmentCurrency && processingCategory == other.processingCategory && realTimeDecisionId == other.realTimeDecisionId && realTimeDecisionReason == other.realTimeDecisionReason && reason == other.reason && terminalId == other.terminalId && verification == other.verification && additionalProperties == other.additionalProperties /* spotless:on */ } /* spotless:off */ - private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) } + private val hashCode: Int by lazy { Objects.hash(id, actioner, additionalAmounts, amount, cardPaymentId, currency, declinedTransactionId, digitalWalletTokenId, direction, incrementedCardAuthorizationId, merchantAcceptorId, merchantCategoryCode, merchantCity, merchantCountry, merchantDescriptor, merchantPostalCode, merchantState, networkDetails, networkIdentifiers, networkRiskScore, physicalCardId, presentmentAmount, presentmentCurrency, processingCategory, realTimeDecisionId, realTimeDecisionReason, reason, terminalId, verification, additionalProperties) } /* spotless:on */ override fun hashCode(): Int = hashCode override fun toString() = - "CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}" + "CardDecline{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, declinedTransactionId=$declinedTransactionId, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, incrementedCardAuthorizationId=$incrementedCardAuthorizationId, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, realTimeDecisionReason=$realTimeDecisionReason, reason=$reason, terminalId=$terminalId, verification=$verification, additionalProperties=$additionalProperties}" } /** diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt index f3d6d46d6..cfbb989d6 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt @@ -434,6 +434,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -1881,6 +1882,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -3328,6 +3330,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -4775,6 +4778,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -6233,6 +6237,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -7609,6 +7614,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -8985,6 +8991,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -10361,6 +10368,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -11786,6 +11794,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -13233,6 +13242,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -14680,6 +14690,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -16127,6 +16138,7 @@ internal class CardPaymentListPageResponseTest { .direction( CardPayment.Element.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt index 0fbe81d3f..ed2e6e9ad 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt @@ -385,6 +385,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -1666,6 +1667,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -2947,6 +2949,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -4228,6 +4231,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -5486,6 +5490,7 @@ internal class CardPaymentTest { .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8") .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -6633,6 +6638,7 @@ internal class CardPaymentTest { .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8") .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -7780,6 +7786,7 @@ internal class CardPaymentTest { .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8") .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -8927,6 +8934,7 @@ internal class CardPaymentTest { .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8") .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -10146,6 +10154,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -11427,6 +11436,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -12708,6 +12718,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -13989,6 +14000,7 @@ internal class CardPaymentTest { ) .digitalWalletTokenId(null) .direction(CardPayment.Element.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponseTest.kt index 47e823b87..00a6d9070 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionListPageResponseTest.kt @@ -155,6 +155,7 @@ internal class DeclinedTransactionListPageResponseTest { DeclinedTransaction.Source.CardDecline.Direction .SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -481,6 +482,7 @@ internal class DeclinedTransactionListPageResponseTest { .direction( DeclinedTransaction.Source.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -810,6 +812,7 @@ internal class DeclinedTransactionListPageResponseTest { DeclinedTransaction.Source.CardDecline.Direction .SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionTest.kt index e3c3fcef5..092971744 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/declinedtransactions/DeclinedTransactionTest.kt @@ -132,6 +132,7 @@ internal class DeclinedTransactionTest { .direction( DeclinedTransaction.Source.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -414,6 +415,7 @@ internal class DeclinedTransactionTest { .declinedTransactionId("declined_transaction_17jbn0yyhvkt4v4ooym8") .digitalWalletTokenId(null) .direction(DeclinedTransaction.Source.CardDecline.Direction.SETTLEMENT) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -691,6 +693,7 @@ internal class DeclinedTransactionTest { .direction( DeclinedTransaction.Source.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt index 99bdb0c3c..08095ca78 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/simulations/cardauthorizations/CardAuthorizationCreateResponseTest.kt @@ -157,6 +157,7 @@ internal class CardAuthorizationCreateResponseTest { DeclinedTransaction.Source.CardDecline.Direction .SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -827,6 +828,7 @@ internal class CardAuthorizationCreateResponseTest { .direction( DeclinedTransaction.Source.CardDecline.Direction.SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") @@ -1488,6 +1490,7 @@ internal class CardAuthorizationCreateResponseTest { DeclinedTransaction.Source.CardDecline.Direction .SETTLEMENT ) + .incrementedCardAuthorizationId(null) .merchantAcceptorId("5665270011000168") .merchantCategoryCode("5734") .merchantCity("New York") From 1ad814e95369378c56168fb7dccafc44469c9cfa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 20:34:53 +0000 Subject: [PATCH 2/2] release: 0.269.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 37556d6b0..fa440d4de 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.268.0" + ".": "0.269.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ffdd03305..2b91a3b5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.269.0 (2025-07-29) + +Full Changelog: [v0.268.0...v0.269.0](https://github.com/Increase/increase-java/compare/v0.268.0...v0.269.0) + +### Features + +* **api:** api update ([c39f68c](https://github.com/Increase/increase-java/commit/c39f68cbfeb86597f5286ef3b823c7d2d4d1a4dc)) + ## 0.268.0 (2025-07-29) Full Changelog: [v0.267.0...v0.268.0](https://github.com/Increase/increase-java/compare/v0.267.0...v0.268.0) diff --git a/README.md b/README.md index 358670d50..1dec19a2e 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.268.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.268.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.268.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.269.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.269.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.269.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.268.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.269.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.268.0") +implementation("com.increase.api:increase-java:0.269.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.268.0") com.increase.api increase-java - 0.268.0 + 0.269.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index a2e822248..5edf29fc2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.268.0" // x-release-please-version + version = "0.269.0" // x-release-please-version } subprojects {