Skip to content

Commit 5d8ec28

Browse files
feat(api): Add card state attribute to tokenization rules
feat(api): Add event_type to ASA request and 3DS decisioning request feat(api): Add user defined status to ledger accounts feat(api): Expose Payment Allocation Details chore: update code formatting docs: Update language for Google Web Push Provisioning docs
1 parent fe27f93 commit 5d8ec28

31 files changed

+4501
-1088
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-854de7cc8f79e150ffe98f038ce9f39367010b2bdfffc9992be2738697dc4880.yml
3-
openapi_spec_hash: fd471b20f3eda1e00cdebf028cbfe867
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4ecc06edca2cfad4eaf11573611e89823fda5f56370bac5cd02a498a6b277d09.yml
3+
openapi_spec_hash: 8f4a30bec4348cbde85b1e65bef9189a
44
config_hash: 9dddee5f7af579864599849cb28a0770

lithic-java-core/src/main/kotlin/com/lithic/api/models/AsaRequestWebhookEvent.kt renamed to lithic-java-core/src/main/kotlin/com/lithic/api/models/CardAuthorizationApprovalRequestWebhookEvent.kt

Lines changed: 205 additions & 40 deletions
Large diffs are not rendered by default.

lithic-java-core/src/main/kotlin/com/lithic/api/models/CardWebProvisionParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import kotlin.jvm.optionals.getOrNull
2222

2323
/**
2424
* Allow your cardholders to directly add payment cards to the device's digital wallet from a
25-
* browser on the web. Currently only suported for Apple Pay.
25+
* browser on the web.
2626
*
2727
* This requires some additional setup and configuration. Please
2828
* [Contact Us](https://lithic.com/contact) or your Customer Success representative for more

lithic-java-core/src/main/kotlin/com/lithic/api/models/ConditionalTokenizationActionParameters.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,8 @@ private constructor(
15221522
* `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
15231523
* * `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
15241524
* * `WALLET_TOKEN_STATUS`: The current status of the wallet token.
1525+
* * `CARD_STATE`: The state of the card being tokenized. Valid values are `CLOSED`, `OPEN`,
1526+
* `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
15251527
*
15261528
* @throws LithicInvalidDataException if the JSON field has an unexpected type or is
15271529
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
@@ -1642,6 +1644,8 @@ private constructor(
16421644
* `TOO_MANY_RECENT_ATTEMPTS`, `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
16431645
* * `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
16441646
* * `WALLET_TOKEN_STATUS`: The current status of the wallet token.
1647+
* * `CARD_STATE`: The state of the card being tokenized. Valid values are `CLOSED`,
1648+
* `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
16451649
*/
16461650
fun attribute(attribute: Attribute) = attribute(JsonField.of(attribute))
16471651

@@ -1795,6 +1799,8 @@ private constructor(
17951799
* `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
17961800
* * `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
17971801
* * `WALLET_TOKEN_STATUS`: The current status of the wallet token.
1802+
* * `CARD_STATE`: The state of the card being tokenized. Valid values are `CLOSED`, `OPEN`,
1803+
* `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
17981804
*/
17991805
class Attribute @JsonCreator private constructor(private val value: JsonField<String>) :
18001806
Enum {
@@ -1831,6 +1837,8 @@ private constructor(
18311837

18321838
@JvmField val WALLET_TOKEN_STATUS = of("WALLET_TOKEN_STATUS")
18331839

1840+
@JvmField val CARD_STATE = of("CARD_STATE")
1841+
18341842
@JvmStatic fun of(value: String) = Attribute(JsonField.of(value))
18351843
}
18361844

@@ -1846,6 +1854,7 @@ private constructor(
18461854
WALLET_RECOMMENDATION_REASONS,
18471855
TOKEN_REQUESTOR_ID,
18481856
WALLET_TOKEN_STATUS,
1857+
CARD_STATE,
18491858
}
18501859

18511860
/**
@@ -1868,6 +1877,7 @@ private constructor(
18681877
WALLET_RECOMMENDATION_REASONS,
18691878
TOKEN_REQUESTOR_ID,
18701879
WALLET_TOKEN_STATUS,
1880+
CARD_STATE,
18711881
/**
18721882
* An enum member indicating that [Attribute] was instantiated with an unknown
18731883
* value.
@@ -1894,6 +1904,7 @@ private constructor(
18941904
WALLET_RECOMMENDATION_REASONS -> Value.WALLET_RECOMMENDATION_REASONS
18951905
TOKEN_REQUESTOR_ID -> Value.TOKEN_REQUESTOR_ID
18961906
WALLET_TOKEN_STATUS -> Value.WALLET_TOKEN_STATUS
1907+
CARD_STATE -> Value.CARD_STATE
18971908
else -> Value._UNKNOWN
18981909
}
18991910

@@ -1918,6 +1929,7 @@ private constructor(
19181929
WALLET_RECOMMENDATION_REASONS -> Known.WALLET_RECOMMENDATION_REASONS
19191930
TOKEN_REQUESTOR_ID -> Known.TOKEN_REQUESTOR_ID
19201931
WALLET_TOKEN_STATUS -> Known.WALLET_TOKEN_STATUS
1932+
CARD_STATE -> Known.CARD_STATE
19211933
else -> throw LithicInvalidDataException("Unknown Attribute: $value")
19221934
}
19231935

0 commit comments

Comments
 (0)