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: 0af65087719d3a94ec028dea0f1f79dc
openapi_spec_hash: 8962e37e30d3fbd03333290b09948b13
config_hash: 1ca082e374ef7000e2a5971e8da740e0
Original file line number Diff line number Diff line change
Expand Up @@ -1825,15 +1825,15 @@ private constructor(
class Acknowledgement
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val acknowledgedAt: JsonField<String>,
private val acknowledgedAt: JsonField<OffsetDateTime>,
private val additionalProperties: MutableMap<String, JsonValue>,
) {

@JsonCreator
private constructor(
@JsonProperty("acknowledged_at")
@ExcludeMissing
acknowledgedAt: JsonField<String> = JsonMissing.of()
acknowledgedAt: JsonField<OffsetDateTime> = JsonMissing.of()
) : this(acknowledgedAt, mutableMapOf())

/**
Expand All @@ -1842,7 +1842,7 @@ private constructor(
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
fun acknowledgedAt(): String = acknowledgedAt.getRequired("acknowledged_at")
fun acknowledgedAt(): OffsetDateTime = acknowledgedAt.getRequired("acknowledged_at")

/**
* Returns the raw JSON value of [acknowledgedAt].
Expand All @@ -1852,7 +1852,7 @@ private constructor(
*/
@JsonProperty("acknowledged_at")
@ExcludeMissing
fun _acknowledgedAt(): JsonField<String> = acknowledgedAt
fun _acknowledgedAt(): JsonField<OffsetDateTime> = acknowledgedAt

@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
Expand Down Expand Up @@ -1882,7 +1882,7 @@ private constructor(
/** A builder for [Acknowledgement]. */
class Builder internal constructor() {

private var acknowledgedAt: JsonField<String>? = null
private var acknowledgedAt: JsonField<OffsetDateTime>? = null
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()

@JvmSynthetic
Expand All @@ -1894,17 +1894,17 @@ private constructor(
/**
* When the Federal Reserve acknowledged the submitted file containing this transfer.
*/
fun acknowledgedAt(acknowledgedAt: String) =
fun acknowledgedAt(acknowledgedAt: OffsetDateTime) =
acknowledgedAt(JsonField.of(acknowledgedAt))

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,10 @@ private constructor(
/** A social security number. */
@JvmField val SOCIAL_SECURITY_NUMBER = of("social_security_number")

/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
@JvmField val SOCIAL_SECURITY_NUMBER_LAST4 = of("social_security_number_last4")

/** An individual taxpayer identification number (ITIN). */
Expand All @@ -1760,7 +1763,10 @@ private constructor(
enum class Known {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand All @@ -1784,7 +1790,10 @@ private constructor(
enum class Value {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,10 @@ private constructor(
/** A social security number. */
@JvmField val SOCIAL_SECURITY_NUMBER = of("social_security_number")

/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use this
* method.
*/
@JvmField val SOCIAL_SECURITY_NUMBER_LAST4 = of("social_security_number_last4")

/** An individual taxpayer identification number (ITIN). */
Expand All @@ -1571,7 +1574,10 @@ private constructor(
enum class Known {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use this
* method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand All @@ -1595,7 +1601,10 @@ private constructor(
enum class Value {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use this
* method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,10 @@ private constructor(
/** A social security number. */
@JvmField val SOCIAL_SECURITY_NUMBER = of("social_security_number")

/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
@JvmField val SOCIAL_SECURITY_NUMBER_LAST4 = of("social_security_number_last4")

/** An individual taxpayer identification number (ITIN). */
Expand All @@ -1406,7 +1409,10 @@ private constructor(
enum class Known {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand All @@ -1430,7 +1436,10 @@ private constructor(
enum class Value {
/** A social security number. */
SOCIAL_SECURITY_NUMBER,
/** The last four digits of a social security number. */
/**
* The last four digits of a social security number. Not all programs can use
* this method.
*/
SOCIAL_SECURITY_NUMBER_LAST4,
/** An individual taxpayer identification number (ITIN). */
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39002,6 +39002,14 @@ private constructor(
*/
@JvmField val SUSPECTED_FRAUD = of("suspected_fraud")

/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
@JvmField
val ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
of("additional_customer_authentication_required")

/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand Down Expand Up @@ -39038,6 +39046,11 @@ private constructor(
* process the transaction again.
*/
SUSPECTED_FRAUD,
/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED,
/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand Down Expand Up @@ -39082,6 +39095,11 @@ private constructor(
* process the transaction again.
*/
SUSPECTED_FRAUD,
/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED,
/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand All @@ -39108,6 +39126,8 @@ private constructor(
EXCEEDS_APPROVAL_LIMIT -> Value.EXCEEDS_APPROVAL_LIMIT
CARD_TEMPORARILY_DISABLED -> Value.CARD_TEMPORARILY_DISABLED
SUSPECTED_FRAUD -> Value.SUSPECTED_FRAUD
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED ->
Value.ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED
OTHER -> Value.OTHER
else -> Value._UNKNOWN
}
Expand All @@ -39128,6 +39148,8 @@ private constructor(
EXCEEDS_APPROVAL_LIMIT -> Known.EXCEEDS_APPROVAL_LIMIT
CARD_TEMPORARILY_DISABLED -> Known.CARD_TEMPORARILY_DISABLED
SUSPECTED_FRAUD -> Known.SUSPECTED_FRAUD
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED ->
Known.ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED
OTHER -> Known.OTHER
else ->
throw IncreaseInvalidDataException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10824,6 +10824,14 @@ private constructor(
*/
@JvmField val SUSPECTED_FRAUD = of("suspected_fraud")

/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
@JvmField
val ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
of("additional_customer_authentication_required")

/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand Down Expand Up @@ -10860,6 +10868,11 @@ private constructor(
* process the transaction again.
*/
SUSPECTED_FRAUD,
/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED,
/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand Down Expand Up @@ -10904,6 +10917,11 @@ private constructor(
* process the transaction again.
*/
SUSPECTED_FRAUD,
/**
* Additional customer authentication is required to complete the transaction,
* such as 3DS.
*/
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED,
/**
* The transaction was declined for another reason. The merchant may attempt to
* process the transaction again. This should be used sparingly.
Expand All @@ -10930,6 +10948,8 @@ private constructor(
EXCEEDS_APPROVAL_LIMIT -> Value.EXCEEDS_APPROVAL_LIMIT
CARD_TEMPORARILY_DISABLED -> Value.CARD_TEMPORARILY_DISABLED
SUSPECTED_FRAUD -> Value.SUSPECTED_FRAUD
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED ->
Value.ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED
OTHER -> Value.OTHER
else -> Value._UNKNOWN
}
Expand All @@ -10950,6 +10970,8 @@ private constructor(
EXCEEDS_APPROVAL_LIMIT -> Known.EXCEEDS_APPROVAL_LIMIT
CARD_TEMPORARILY_DISABLED -> Known.CARD_TEMPORARILY_DISABLED
SUSPECTED_FRAUD -> Known.SUSPECTED_FRAUD
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED ->
Known.ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED
OTHER -> Known.OTHER
else ->
throw IncreaseInvalidDataException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,15 @@ private constructor(
/** The tokenization attempt was declined by the token requestor. */
@JvmField val DECLINED_BY_TOKEN_REQUESTOR = of("declined_by_token_requestor")

/** The group was locked. */
@JvmField val GROUP_LOCKED = of("group_locked")

/** The account has been closed. */
@JvmField val ACCOUNT_CLOSED = of("account_closed")

/** The account's entity was not active. */
@JvmField val ENTITY_NOT_ACTIVE = of("entity_not_active")

@JvmStatic fun of(value: String) = Reason(JsonField.of(value))
}

Expand All @@ -1118,6 +1127,12 @@ private constructor(
INCORRECT_CARD_VERIFICATION_CODE,
/** The tokenization attempt was declined by the token requestor. */
DECLINED_BY_TOKEN_REQUESTOR,
/** The group was locked. */
GROUP_LOCKED,
/** The account has been closed. */
ACCOUNT_CLOSED,
/** The account's entity was not active. */
ENTITY_NOT_ACTIVE,
}

/**
Expand Down Expand Up @@ -1145,6 +1160,12 @@ private constructor(
INCORRECT_CARD_VERIFICATION_CODE,
/** The tokenization attempt was declined by the token requestor. */
DECLINED_BY_TOKEN_REQUESTOR,
/** The group was locked. */
GROUP_LOCKED,
/** The account has been closed. */
ACCOUNT_CLOSED,
/** The account's entity was not active. */
ENTITY_NOT_ACTIVE,
/**
* An enum member indicating that [Reason] was instantiated with an unknown value.
*/
Expand All @@ -1166,6 +1187,9 @@ private constructor(
WEBHOOK_DECLINED -> Value.WEBHOOK_DECLINED
INCORRECT_CARD_VERIFICATION_CODE -> Value.INCORRECT_CARD_VERIFICATION_CODE
DECLINED_BY_TOKEN_REQUESTOR -> Value.DECLINED_BY_TOKEN_REQUESTOR
GROUP_LOCKED -> Value.GROUP_LOCKED
ACCOUNT_CLOSED -> Value.ACCOUNT_CLOSED
ENTITY_NOT_ACTIVE -> Value.ENTITY_NOT_ACTIVE
else -> Value._UNKNOWN
}

Expand All @@ -1186,6 +1210,9 @@ private constructor(
WEBHOOK_DECLINED -> Known.WEBHOOK_DECLINED
INCORRECT_CARD_VERIFICATION_CODE -> Known.INCORRECT_CARD_VERIFICATION_CODE
DECLINED_BY_TOKEN_REQUESTOR -> Known.DECLINED_BY_TOKEN_REQUESTOR
GROUP_LOCKED -> Known.GROUP_LOCKED
ACCOUNT_CLOSED -> Known.ACCOUNT_CLOSED
ENTITY_NOT_ACTIVE -> Known.ENTITY_NOT_ACTIVE
else -> throw IncreaseInvalidDataException("Unknown Reason: $value")
}

Expand Down
Loading
Loading