Skip to content

Commit 751f176

Browse files
feat(api): add INVALID_PAN value to TokenizationDeclineReason enum
1 parent 886bb10 commit 751f176

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 194
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-9350b3c0a9a4fc31e1cac88e705f1ac6895108360ba8f7845a8da20db825f82e.yml
3-
openapi_spec_hash: c99714470f6321912e8022434a861897
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-c2235aace63c72401c7a2830da84bf7b5ab4006916595790243e23d9d7aa6727.yml
3+
openapi_spec_hash: 6ba55a7b55799ac4a311043a0f21d7ac
44
config_hash: 1c5c139a2aa0d1d45c063f953a9bc803

lib/lithic/models/tokenization_decline_reason.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module TokenizationDeclineReason
1919
NETWORK_FAILURE = :NETWORK_FAILURE
2020
GENERIC_DECLINE = :GENERIC_DECLINE
2121
DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
22+
INVALID_PAN = :INVALID_PAN
2223

2324
# @!method self.values
2425
# @return [Array<Symbol>]

rbi/lithic/models/tokenization_decline_reason.rbi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ module Lithic
6060
:DIGITAL_CARD_ART_REQUIRED,
6161
Lithic::TokenizationDeclineReason::TaggedSymbol
6262
)
63+
INVALID_PAN =
64+
T.let(:INVALID_PAN, Lithic::TokenizationDeclineReason::TaggedSymbol)
6365

6466
sig do
6567
override.returns(

sig/lithic/models/tokenization_decline_reason.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module Lithic
1414
| :NETWORK_FAILURE
1515
| :GENERIC_DECLINE
1616
| :DIGITAL_CARD_ART_REQUIRED
17+
| :INVALID_PAN
1718

1819
module TokenizationDeclineReason
1920
extend Lithic::Internal::Type::Enum
@@ -31,6 +32,7 @@ module Lithic
3132
NETWORK_FAILURE: :NETWORK_FAILURE
3233
GENERIC_DECLINE: :GENERIC_DECLINE
3334
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
35+
INVALID_PAN: :INVALID_PAN
3436

3537
def self?.values: -> ::Array[Lithic::Models::tokenization_decline_reason]
3638
end

0 commit comments

Comments
 (0)