Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: f8d2bbed3081c9ffc1547d28f89a8a34
openapi_spec_hash: cdf62ec4d3b6f4bf0d57a21cdd6ff198
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/increase.publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ configure<MavenPublishBaseExtension> {

pom {
name.set("Increase API")
description.set("Anything that you can achieve with PDFs, presence, and persistence in a bank\nbranch you can do with our API. We've always wanted a fully programmatic bank so\nwe built one. Our API faithfully exposes the data and capabilities of the\nFederal Reserve, Visa, The Clearing House, depository networks, and accounting\ntools. It's lovingly boring and exceptionally powerful. If you have any\nquestions or want to get started, don't hesitate to ping us at\[email protected]. We can't wait to see what you build!")
description.set("Anything that you can achieve with PDFs, presence, and persistence in a bank\nbranch you can do with our API. Our API faithfully exposes the data and\ncapabilities of the Federal Reserve, Visa, The Clearing House, depository\nnetworks, and accounting tools. It's lovingly boring and exceptionally powerful.\nIf you have any questions or want to get started, don't hesitate to ping us at\[email protected]. We can't wait to see what you build!")
url.set("https://increase.com/documentation")

licenses {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private constructor(
fun individualId(): Optional<String> = body.individualId()

/**
* The name of therecipient. This value is informational and not verified by the recipient's
* The name of the recipient. This value is informational and not verified by the recipient's
* bank.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
Expand Down Expand Up @@ -459,8 +459,8 @@ private constructor(
}

/**
* The name of therecipient. This value is informational and not verified by the recipient's
* bank.
* The name of the recipient. This value is informational and not verified by the
* recipient's bank.
*/
fun individualName(individualName: String) = apply { body.individualName(individualName) }

Expand Down Expand Up @@ -816,8 +816,8 @@ private constructor(
fun individualId(): Optional<String> = individualId.getOptional("individual_id")

/**
* The name of therecipient. This value is informational and not verified by the recipient's
* bank.
* The name of the recipient. This value is informational and not verified by the
* recipient's bank.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
Expand Down Expand Up @@ -1188,7 +1188,7 @@ private constructor(
}

/**
* The name of therecipient. This value is informational and not verified by the
* The name of the recipient. This value is informational and not verified by the
* recipient's bank.
*/
fun individualName(individualName: String) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10192,7 +10192,7 @@ private constructor(

/**
* The timestamp by which any administrative returns are expected to be received by. This
* follows the NACHA guidelines for return windows, which are: "In general, return entries
* follows the Nacha guidelines for return windows, which are: "In general, return entries
* must be received by the RDFI’s ACH Operator by its deposit deadline for the return entry
* to be made available to the ODFI no later than the opening of business on the second
* banking day following the Settlement Date of the original entry.".
Expand Down Expand Up @@ -10368,7 +10368,7 @@ private constructor(

/**
* The timestamp by which any administrative returns are expected to be received by.
* This follows the NACHA guidelines for return windows, which are: "In general, return
* This follows the Nacha guidelines for return windows, which are: "In general, return
* entries must be received by the RDFI’s ACH Operator by its deposit deadline for the
* return entry to be made available to the ODFI no later than the opening of business
* on the second banking day following the Settlement Date of the original entry.".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1547,8 +1547,9 @@ private constructor(
@JvmField val WON = of("won")

/**
* The Card Dispute has been reviewed and rejected, please review the explanation for
* more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
@JvmField val REJECTED = of("rejected")

Expand All @@ -1575,8 +1576,9 @@ private constructor(
/** The Card Dispute has been won and no further action can be taken. */
WON,
/**
* The Card Dispute has been reviewed and rejected, please review the explanation for
* more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
REJECTED,
}
Expand Down Expand Up @@ -1609,8 +1611,9 @@ private constructor(
/** The Card Dispute has been won and no further action can be taken. */
WON,
/**
* The Card Dispute has been reviewed and rejected, please review the explanation for
* more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
REJECTED,
/** An enum member indicating that [Status] was instantiated with an unknown value. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,9 @@ private constructor(
@JvmField val WON = of("won")

/**
* The Card Dispute has been reviewed and rejected, please review the explanation
* for more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
@JvmField val REJECTED = of("rejected")

Expand All @@ -648,8 +649,9 @@ private constructor(
/** The Card Dispute has been won and no further action can be taken. */
WON,
/**
* The Card Dispute has been reviewed and rejected, please review the explanation
* for more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
REJECTED,
}
Expand Down Expand Up @@ -682,8 +684,9 @@ private constructor(
/** The Card Dispute has been won and no further action can be taken. */
WON,
/**
* The Card Dispute has been reviewed and rejected, please review the explanation
* for more details.
* The Card Dispute was rejected before it was submitted to the network, either by
* Increase or because the user withdrew it. Please review the explanation for more
* details.
*/
REJECTED,
/** An enum member indicating that [In] was instantiated with an unknown value. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8703,6 +8703,7 @@ private constructor(
private val networkDetails: JsonField<NetworkDetails>,
private val networkIdentifiers: JsonField<NetworkIdentifiers>,
private val networkRiskScore: JsonField<Long>,
private val originalCardPaymentId: JsonField<String>,
private val pendingTransactionId: JsonField<String>,
private val physicalCardId: JsonField<String>,
private val presentmentAmount: JsonField<Long>,
Expand Down Expand Up @@ -8774,6 +8775,9 @@ private constructor(
@JsonProperty("network_risk_score")
@ExcludeMissing
networkRiskScore: JsonField<Long> = JsonMissing.of(),
@JsonProperty("original_card_payment_id")
@ExcludeMissing
originalCardPaymentId: JsonField<String> = JsonMissing.of(),
@JsonProperty("pending_transaction_id")
@ExcludeMissing
pendingTransactionId: JsonField<String> = JsonMissing.of(),
Expand Down Expand Up @@ -8823,6 +8827,7 @@ private constructor(
networkDetails,
networkIdentifiers,
networkRiskScore,
originalCardPaymentId,
pendingTransactionId,
physicalCardId,
presentmentAmount,
Expand Down Expand Up @@ -9031,6 +9036,19 @@ private constructor(
fun networkRiskScore(): Optional<Long> =
networkRiskScore.getOptional("network_risk_score")

/**
* The ID of the Card Payment containing the original authorization or card validation
* this transaction references. For a merchant-initiated transaction, this is the Card
* Payment from when the card was first stored, which is typically where the CVV2 was
* verified. The reference this is derived from is supplied by the merchant or their
* acquirer, so it is not guaranteed to be present.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
*/
fun originalCardPaymentId(): Optional<String> =
originalCardPaymentId.getOptional("original_card_payment_id")

/**
* The identifier of the Pending Transaction associated with this Transaction.
*
Expand Down Expand Up @@ -9320,6 +9338,16 @@ private constructor(
@ExcludeMissing
fun _networkRiskScore(): JsonField<Long> = networkRiskScore

/**
* Returns the raw JSON value of [originalCardPaymentId].
*
* Unlike [originalCardPaymentId], this method doesn't throw if the JSON field has an
* unexpected type.
*/
@JsonProperty("original_card_payment_id")
@ExcludeMissing
fun _originalCardPaymentId(): JsonField<String> = originalCardPaymentId

/**
* Returns the raw JSON value of [pendingTransactionId].
*
Expand Down Expand Up @@ -9456,6 +9484,7 @@ private constructor(
* .networkDetails()
* .networkIdentifiers()
* .networkRiskScore()
* .originalCardPaymentId()
* .pendingTransactionId()
* .physicalCardId()
* .presentmentAmount()
Expand Down Expand Up @@ -9494,6 +9523,7 @@ private constructor(
private var networkDetails: JsonField<NetworkDetails>? = null
private var networkIdentifiers: JsonField<NetworkIdentifiers>? = null
private var networkRiskScore: JsonField<Long>? = null
private var originalCardPaymentId: JsonField<String>? = null
private var pendingTransactionId: JsonField<String>? = null
private var physicalCardId: JsonField<String>? = null
private var presentmentAmount: JsonField<Long>? = null
Expand Down Expand Up @@ -9528,6 +9558,7 @@ private constructor(
networkDetails = cardAuthorization.networkDetails
networkIdentifiers = cardAuthorization.networkIdentifiers
networkRiskScore = cardAuthorization.networkRiskScore
originalCardPaymentId = cardAuthorization.originalCardPaymentId
pendingTransactionId = cardAuthorization.pendingTransactionId
physicalCardId = cardAuthorization.physicalCardId
presentmentAmount = cardAuthorization.presentmentAmount
Expand Down Expand Up @@ -9906,6 +9937,34 @@ private constructor(
this.networkRiskScore = networkRiskScore
}

/**
* The ID of the Card Payment containing the original authorization or card
* validation this transaction references. For a merchant-initiated transaction,
* this is the Card Payment from when the card was first stored, which is typically
* where the CVV2 was verified. The reference this is derived from is supplied by
* the merchant or their acquirer, so it is not guaranteed to be present.
*/
fun originalCardPaymentId(originalCardPaymentId: String?) =
originalCardPaymentId(JsonField.ofNullable(originalCardPaymentId))

/**
* Alias for calling [Builder.originalCardPaymentId] with
* `originalCardPaymentId.orElse(null)`.
*/
fun originalCardPaymentId(originalCardPaymentId: Optional<String>) =
originalCardPaymentId(originalCardPaymentId.getOrNull())

/**
* Sets [Builder.originalCardPaymentId] to an arbitrary JSON value.
*
* You should usually call [Builder.originalCardPaymentId] with a well-typed
* [String] value instead. This method is primarily for setting the field to an
* undocumented or not yet supported value.
*/
fun originalCardPaymentId(originalCardPaymentId: JsonField<String>) = apply {
this.originalCardPaymentId = originalCardPaymentId
}

/** The identifier of the Pending Transaction associated with this Transaction. */
fun pendingTransactionId(pendingTransactionId: String?) =
pendingTransactionId(JsonField.ofNullable(pendingTransactionId))
Expand Down Expand Up @@ -10155,6 +10214,7 @@ private constructor(
* .networkDetails()
* .networkIdentifiers()
* .networkRiskScore()
* .originalCardPaymentId()
* .pendingTransactionId()
* .physicalCardId()
* .presentmentAmount()
Expand Down Expand Up @@ -10191,6 +10251,7 @@ private constructor(
checkRequired("networkDetails", networkDetails),
checkRequired("networkIdentifiers", networkIdentifiers),
checkRequired("networkRiskScore", networkRiskScore),
checkRequired("originalCardPaymentId", originalCardPaymentId),
checkRequired("pendingTransactionId", pendingTransactionId),
checkRequired("physicalCardId", physicalCardId),
checkRequired("presentmentAmount", presentmentAmount),
Expand Down Expand Up @@ -10242,6 +10303,7 @@ private constructor(
networkDetails().validate()
networkIdentifiers().validate()
networkRiskScore()
originalCardPaymentId()
pendingTransactionId()
physicalCardId()
presentmentAmount()
Expand Down Expand Up @@ -10291,6 +10353,7 @@ private constructor(
(networkDetails.asKnown().getOrNull()?.validity() ?: 0) +
(networkIdentifiers.asKnown().getOrNull()?.validity() ?: 0) +
(if (networkRiskScore.asKnown().isPresent) 1 else 0) +
(if (originalCardPaymentId.asKnown().isPresent) 1 else 0) +
(if (pendingTransactionId.asKnown().isPresent) 1 else 0) +
(if (physicalCardId.asKnown().isPresent) 1 else 0) +
(if (presentmentAmount.asKnown().isPresent) 1 else 0) +
Expand Down Expand Up @@ -20063,6 +20126,7 @@ private constructor(
networkDetails == other.networkDetails &&
networkIdentifiers == other.networkIdentifiers &&
networkRiskScore == other.networkRiskScore &&
originalCardPaymentId == other.originalCardPaymentId &&
pendingTransactionId == other.pendingTransactionId &&
physicalCardId == other.physicalCardId &&
presentmentAmount == other.presentmentAmount &&
Expand Down Expand Up @@ -20098,6 +20162,7 @@ private constructor(
networkDetails,
networkIdentifiers,
networkRiskScore,
originalCardPaymentId,
pendingTransactionId,
physicalCardId,
presentmentAmount,
Expand All @@ -20115,7 +20180,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"CardAuthorization{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, expiresAt=$expiresAt, healthcare=$healthcare, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, pendingTransactionId=$pendingTransactionId, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, schemeFees=$schemeFees, terminalId=$terminalId, type=$type, verification=$verification, additionalProperties=$additionalProperties}"
"CardAuthorization{id=$id, actioner=$actioner, additionalAmounts=$additionalAmounts, amount=$amount, cardPaymentId=$cardPaymentId, currency=$currency, digitalWalletTokenId=$digitalWalletTokenId, direction=$direction, expiresAt=$expiresAt, healthcare=$healthcare, merchantAcceptorId=$merchantAcceptorId, merchantCategoryCode=$merchantCategoryCode, merchantCity=$merchantCity, merchantCountry=$merchantCountry, merchantDescriptor=$merchantDescriptor, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, networkDetails=$networkDetails, networkIdentifiers=$networkIdentifiers, networkRiskScore=$networkRiskScore, originalCardPaymentId=$originalCardPaymentId, pendingTransactionId=$pendingTransactionId, physicalCardId=$physicalCardId, presentmentAmount=$presentmentAmount, presentmentCurrency=$presentmentCurrency, processingCategory=$processingCategory, realTimeDecisionId=$realTimeDecisionId, schemeFees=$schemeFees, terminalId=$terminalId, type=$type, verification=$verification, additionalProperties=$additionalProperties}"
}

/**
Expand Down
Loading
Loading