lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
- data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +5 -5
- data/lib/lithic/models/dispute.rb +510 -242
- data/lib/lithic/models/dispute_create_response.rb +326 -0
- data/lib/lithic/models/dispute_delete_response.rb +326 -0
- data/lib/lithic/models/dispute_list_response.rb +326 -0
- data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
- data/lib/lithic/models/dispute_update_response.rb +326 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/financial_account.rb +1 -65
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
- data/lib/lithic/models/financial_accounts/statement.rb +66 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/payment.rb +29 -18
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +12 -116
- data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/payments.rb +5 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -3
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +14 -11
- data/rbi/lithic/models/dispute.rbi +942 -395
- data/rbi/lithic/models/dispute_create_response.rbi +599 -0
- data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
- data/rbi/lithic/models/dispute_list_response.rbi +582 -0
- data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
- data/rbi/lithic/models/dispute_update_response.rbi +599 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/financial_account.rbi +3 -132
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
- data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/payment.rbi +52 -28
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +22 -246
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
- data/rbi/lithic/resources/disputes.rbi +7 -5
- data/rbi/lithic/resources/payments.rbi +6 -0
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +7 -7
- data/sig/lithic/models/dispute.rbs +417 -157
- data/sig/lithic/models/dispute_create_response.rbs +210 -0
- data/sig/lithic/models/dispute_delete_response.rbs +210 -0
- data/sig/lithic/models/dispute_list_response.rbs +210 -0
- data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
- data/sig/lithic/models/dispute_update_response.rbs +210 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/financial_account.rbs +3 -45
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
- data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/payment.rbs +16 -12
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +13 -94
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/payments.rbs +2 -0
- metadata +23 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputeDeleteResponse < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::Models::DisputeDeleteResponse,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Globally unique identifier.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :token
|
|
17
|
+
|
|
18
|
+
# Amount under dispute. May be different from the original transaction amount.
|
|
19
|
+
sig { returns(Integer) }
|
|
20
|
+
attr_accessor :amount
|
|
21
|
+
|
|
22
|
+
# Date dispute entered arbitration.
|
|
23
|
+
sig { returns(T.nilable(Time)) }
|
|
24
|
+
attr_accessor :arbitration_date
|
|
25
|
+
|
|
26
|
+
# Timestamp of when first Dispute was reported.
|
|
27
|
+
sig { returns(Time) }
|
|
28
|
+
attr_accessor :created
|
|
29
|
+
|
|
30
|
+
# Date that the dispute was filed by the customer making the dispute.
|
|
31
|
+
sig { returns(T.nilable(Time)) }
|
|
32
|
+
attr_accessor :customer_filed_date
|
|
33
|
+
|
|
34
|
+
# End customer description of the reason for the dispute.
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_accessor :customer_note
|
|
37
|
+
|
|
38
|
+
# Unique identifiers for the dispute from the network.
|
|
39
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
40
|
+
attr_accessor :network_claim_ids
|
|
41
|
+
|
|
42
|
+
# Date that the dispute was submitted to the network.
|
|
43
|
+
sig { returns(T.nilable(Time)) }
|
|
44
|
+
attr_accessor :network_filed_date
|
|
45
|
+
|
|
46
|
+
# Network reason code used to file the dispute.
|
|
47
|
+
sig { returns(T.nilable(String)) }
|
|
48
|
+
attr_accessor :network_reason_code
|
|
49
|
+
|
|
50
|
+
# Date dispute entered pre-arbitration.
|
|
51
|
+
sig { returns(T.nilable(Time)) }
|
|
52
|
+
attr_accessor :prearbitration_date
|
|
53
|
+
|
|
54
|
+
# Unique identifier for the dispute from the network. If there are multiple, this
|
|
55
|
+
# will be the first claim id set by the network
|
|
56
|
+
sig { returns(T.nilable(String)) }
|
|
57
|
+
attr_accessor :primary_claim_id
|
|
58
|
+
|
|
59
|
+
# Dispute reason:
|
|
60
|
+
#
|
|
61
|
+
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
|
62
|
+
# - `CANCELLED`: Transaction was cancelled by the customer.
|
|
63
|
+
# - `DUPLICATED`: The transaction was a duplicate.
|
|
64
|
+
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
|
65
|
+
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
|
66
|
+
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
|
67
|
+
# merchant activity.
|
|
68
|
+
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
|
69
|
+
# described.
|
|
70
|
+
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
|
71
|
+
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
|
72
|
+
# - `MISSING_AUTH`: The transaction was missing authorization.
|
|
73
|
+
# - `OTHER`: Other reason.
|
|
74
|
+
# - `PROCESSING_ERROR`: Processing error.
|
|
75
|
+
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
|
76
|
+
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
|
77
|
+
# cancelled.
|
|
78
|
+
sig do
|
|
79
|
+
returns(Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol)
|
|
80
|
+
end
|
|
81
|
+
attr_accessor :reason
|
|
82
|
+
|
|
83
|
+
# Date the representment was received.
|
|
84
|
+
sig { returns(T.nilable(Time)) }
|
|
85
|
+
attr_accessor :representment_date
|
|
86
|
+
|
|
87
|
+
# Date that the dispute was resolved.
|
|
88
|
+
sig { returns(T.nilable(Time)) }
|
|
89
|
+
attr_accessor :resolution_date
|
|
90
|
+
|
|
91
|
+
# Note by Dispute team on the case resolution.
|
|
92
|
+
sig { returns(T.nilable(String)) }
|
|
93
|
+
attr_accessor :resolution_note
|
|
94
|
+
|
|
95
|
+
# Reason for the dispute resolution:
|
|
96
|
+
#
|
|
97
|
+
# - `CASE_LOST`: This case was lost at final arbitration.
|
|
98
|
+
# - `NETWORK_REJECTED`: Network rejected.
|
|
99
|
+
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
|
100
|
+
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
|
101
|
+
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
|
102
|
+
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
|
103
|
+
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
|
104
|
+
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
|
105
|
+
# - `PAST_FILING_DATE`: Past filing date.
|
|
106
|
+
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
|
107
|
+
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
|
108
|
+
# - `REFUNDED`: Refunded.
|
|
109
|
+
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
|
110
|
+
# - `WITHDRAWN`: Withdrawn.
|
|
111
|
+
# - `WON_ARBITRATION`: Won arbitration.
|
|
112
|
+
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
|
113
|
+
# - `WON_PREARBITRATION`: Won prearbitration.
|
|
114
|
+
sig do
|
|
115
|
+
returns(
|
|
116
|
+
T.nilable(
|
|
117
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
118
|
+
)
|
|
119
|
+
)
|
|
120
|
+
end
|
|
121
|
+
attr_accessor :resolution_reason
|
|
122
|
+
|
|
123
|
+
# Status types:
|
|
124
|
+
#
|
|
125
|
+
# - `NEW` - New dispute case is opened.
|
|
126
|
+
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
|
127
|
+
# information.
|
|
128
|
+
# - `SUBMITTED` - Dispute is submitted to the card network.
|
|
129
|
+
# - `REPRESENTMENT` - Case has entered second presentment.
|
|
130
|
+
# - `PREARBITRATION` - Case has entered prearbitration.
|
|
131
|
+
# - `ARBITRATION` - Case has entered arbitration.
|
|
132
|
+
# - `CASE_WON` - Case was won and credit will be issued.
|
|
133
|
+
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
|
134
|
+
sig do
|
|
135
|
+
returns(Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol)
|
|
136
|
+
end
|
|
137
|
+
attr_accessor :status
|
|
138
|
+
|
|
139
|
+
# The transaction that is being disputed. A transaction can only be disputed once
|
|
140
|
+
# but may have multiple dispute cases.
|
|
141
|
+
sig { returns(String) }
|
|
142
|
+
attr_accessor :transaction_token
|
|
143
|
+
|
|
144
|
+
# Dispute.
|
|
145
|
+
sig do
|
|
146
|
+
params(
|
|
147
|
+
token: String,
|
|
148
|
+
amount: Integer,
|
|
149
|
+
arbitration_date: T.nilable(Time),
|
|
150
|
+
created: Time,
|
|
151
|
+
customer_filed_date: T.nilable(Time),
|
|
152
|
+
customer_note: T.nilable(String),
|
|
153
|
+
network_claim_ids: T.nilable(T::Array[String]),
|
|
154
|
+
network_filed_date: T.nilable(Time),
|
|
155
|
+
network_reason_code: T.nilable(String),
|
|
156
|
+
prearbitration_date: T.nilable(Time),
|
|
157
|
+
primary_claim_id: T.nilable(String),
|
|
158
|
+
reason: Lithic::Models::DisputeDeleteResponse::Reason::OrSymbol,
|
|
159
|
+
representment_date: T.nilable(Time),
|
|
160
|
+
resolution_date: T.nilable(Time),
|
|
161
|
+
resolution_note: T.nilable(String),
|
|
162
|
+
resolution_reason:
|
|
163
|
+
T.nilable(
|
|
164
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::OrSymbol
|
|
165
|
+
),
|
|
166
|
+
status: Lithic::Models::DisputeDeleteResponse::Status::OrSymbol,
|
|
167
|
+
transaction_token: String
|
|
168
|
+
).returns(T.attached_class)
|
|
169
|
+
end
|
|
170
|
+
def self.new(
|
|
171
|
+
# Globally unique identifier.
|
|
172
|
+
token:,
|
|
173
|
+
# Amount under dispute. May be different from the original transaction amount.
|
|
174
|
+
amount:,
|
|
175
|
+
# Date dispute entered arbitration.
|
|
176
|
+
arbitration_date:,
|
|
177
|
+
# Timestamp of when first Dispute was reported.
|
|
178
|
+
created:,
|
|
179
|
+
# Date that the dispute was filed by the customer making the dispute.
|
|
180
|
+
customer_filed_date:,
|
|
181
|
+
# End customer description of the reason for the dispute.
|
|
182
|
+
customer_note:,
|
|
183
|
+
# Unique identifiers for the dispute from the network.
|
|
184
|
+
network_claim_ids:,
|
|
185
|
+
# Date that the dispute was submitted to the network.
|
|
186
|
+
network_filed_date:,
|
|
187
|
+
# Network reason code used to file the dispute.
|
|
188
|
+
network_reason_code:,
|
|
189
|
+
# Date dispute entered pre-arbitration.
|
|
190
|
+
prearbitration_date:,
|
|
191
|
+
# Unique identifier for the dispute from the network. If there are multiple, this
|
|
192
|
+
# will be the first claim id set by the network
|
|
193
|
+
primary_claim_id:,
|
|
194
|
+
# Dispute reason:
|
|
195
|
+
#
|
|
196
|
+
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
|
197
|
+
# - `CANCELLED`: Transaction was cancelled by the customer.
|
|
198
|
+
# - `DUPLICATED`: The transaction was a duplicate.
|
|
199
|
+
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
|
200
|
+
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
|
201
|
+
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
|
202
|
+
# merchant activity.
|
|
203
|
+
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
|
204
|
+
# described.
|
|
205
|
+
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
|
206
|
+
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
|
207
|
+
# - `MISSING_AUTH`: The transaction was missing authorization.
|
|
208
|
+
# - `OTHER`: Other reason.
|
|
209
|
+
# - `PROCESSING_ERROR`: Processing error.
|
|
210
|
+
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
|
211
|
+
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
|
212
|
+
# cancelled.
|
|
213
|
+
reason:,
|
|
214
|
+
# Date the representment was received.
|
|
215
|
+
representment_date:,
|
|
216
|
+
# Date that the dispute was resolved.
|
|
217
|
+
resolution_date:,
|
|
218
|
+
# Note by Dispute team on the case resolution.
|
|
219
|
+
resolution_note:,
|
|
220
|
+
# Reason for the dispute resolution:
|
|
221
|
+
#
|
|
222
|
+
# - `CASE_LOST`: This case was lost at final arbitration.
|
|
223
|
+
# - `NETWORK_REJECTED`: Network rejected.
|
|
224
|
+
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
|
225
|
+
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
|
226
|
+
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
|
227
|
+
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
|
228
|
+
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
|
229
|
+
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
|
230
|
+
# - `PAST_FILING_DATE`: Past filing date.
|
|
231
|
+
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
|
232
|
+
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
|
233
|
+
# - `REFUNDED`: Refunded.
|
|
234
|
+
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
|
235
|
+
# - `WITHDRAWN`: Withdrawn.
|
|
236
|
+
# - `WON_ARBITRATION`: Won arbitration.
|
|
237
|
+
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
|
238
|
+
# - `WON_PREARBITRATION`: Won prearbitration.
|
|
239
|
+
resolution_reason:,
|
|
240
|
+
# Status types:
|
|
241
|
+
#
|
|
242
|
+
# - `NEW` - New dispute case is opened.
|
|
243
|
+
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
|
244
|
+
# information.
|
|
245
|
+
# - `SUBMITTED` - Dispute is submitted to the card network.
|
|
246
|
+
# - `REPRESENTMENT` - Case has entered second presentment.
|
|
247
|
+
# - `PREARBITRATION` - Case has entered prearbitration.
|
|
248
|
+
# - `ARBITRATION` - Case has entered arbitration.
|
|
249
|
+
# - `CASE_WON` - Case was won and credit will be issued.
|
|
250
|
+
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
|
251
|
+
status:,
|
|
252
|
+
# The transaction that is being disputed. A transaction can only be disputed once
|
|
253
|
+
# but may have multiple dispute cases.
|
|
254
|
+
transaction_token:
|
|
255
|
+
)
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
sig do
|
|
259
|
+
override.returns(
|
|
260
|
+
{
|
|
261
|
+
token: String,
|
|
262
|
+
amount: Integer,
|
|
263
|
+
arbitration_date: T.nilable(Time),
|
|
264
|
+
created: Time,
|
|
265
|
+
customer_filed_date: T.nilable(Time),
|
|
266
|
+
customer_note: T.nilable(String),
|
|
267
|
+
network_claim_ids: T.nilable(T::Array[String]),
|
|
268
|
+
network_filed_date: T.nilable(Time),
|
|
269
|
+
network_reason_code: T.nilable(String),
|
|
270
|
+
prearbitration_date: T.nilable(Time),
|
|
271
|
+
primary_claim_id: T.nilable(String),
|
|
272
|
+
reason: Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol,
|
|
273
|
+
representment_date: T.nilable(Time),
|
|
274
|
+
resolution_date: T.nilable(Time),
|
|
275
|
+
resolution_note: T.nilable(String),
|
|
276
|
+
resolution_reason:
|
|
277
|
+
T.nilable(
|
|
278
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
279
|
+
),
|
|
280
|
+
status: Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol,
|
|
281
|
+
transaction_token: String
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
end
|
|
285
|
+
def to_hash
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Dispute reason:
|
|
289
|
+
#
|
|
290
|
+
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
|
291
|
+
# - `CANCELLED`: Transaction was cancelled by the customer.
|
|
292
|
+
# - `DUPLICATED`: The transaction was a duplicate.
|
|
293
|
+
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
|
294
|
+
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
|
295
|
+
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
|
296
|
+
# merchant activity.
|
|
297
|
+
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
|
298
|
+
# described.
|
|
299
|
+
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
|
300
|
+
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
|
301
|
+
# - `MISSING_AUTH`: The transaction was missing authorization.
|
|
302
|
+
# - `OTHER`: Other reason.
|
|
303
|
+
# - `PROCESSING_ERROR`: Processing error.
|
|
304
|
+
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
|
305
|
+
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
|
306
|
+
# cancelled.
|
|
307
|
+
module Reason
|
|
308
|
+
extend Lithic::Internal::Type::Enum
|
|
309
|
+
|
|
310
|
+
TaggedSymbol =
|
|
311
|
+
T.type_alias do
|
|
312
|
+
T.all(Symbol, Lithic::Models::DisputeDeleteResponse::Reason)
|
|
313
|
+
end
|
|
314
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
315
|
+
|
|
316
|
+
ATM_CASH_MISDISPENSE =
|
|
317
|
+
T.let(
|
|
318
|
+
:ATM_CASH_MISDISPENSE,
|
|
319
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
320
|
+
)
|
|
321
|
+
CANCELLED =
|
|
322
|
+
T.let(
|
|
323
|
+
:CANCELLED,
|
|
324
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
325
|
+
)
|
|
326
|
+
DUPLICATED =
|
|
327
|
+
T.let(
|
|
328
|
+
:DUPLICATED,
|
|
329
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
330
|
+
)
|
|
331
|
+
FRAUD_CARD_NOT_PRESENT =
|
|
332
|
+
T.let(
|
|
333
|
+
:FRAUD_CARD_NOT_PRESENT,
|
|
334
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
335
|
+
)
|
|
336
|
+
FRAUD_CARD_PRESENT =
|
|
337
|
+
T.let(
|
|
338
|
+
:FRAUD_CARD_PRESENT,
|
|
339
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
340
|
+
)
|
|
341
|
+
FRAUD_OTHER =
|
|
342
|
+
T.let(
|
|
343
|
+
:FRAUD_OTHER,
|
|
344
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
345
|
+
)
|
|
346
|
+
GOODS_SERVICES_NOT_AS_DESCRIBED =
|
|
347
|
+
T.let(
|
|
348
|
+
:GOODS_SERVICES_NOT_AS_DESCRIBED,
|
|
349
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
350
|
+
)
|
|
351
|
+
GOODS_SERVICES_NOT_RECEIVED =
|
|
352
|
+
T.let(
|
|
353
|
+
:GOODS_SERVICES_NOT_RECEIVED,
|
|
354
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
355
|
+
)
|
|
356
|
+
INCORRECT_AMOUNT =
|
|
357
|
+
T.let(
|
|
358
|
+
:INCORRECT_AMOUNT,
|
|
359
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
360
|
+
)
|
|
361
|
+
MISSING_AUTH =
|
|
362
|
+
T.let(
|
|
363
|
+
:MISSING_AUTH,
|
|
364
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
365
|
+
)
|
|
366
|
+
OTHER =
|
|
367
|
+
T.let(
|
|
368
|
+
:OTHER,
|
|
369
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
370
|
+
)
|
|
371
|
+
PROCESSING_ERROR =
|
|
372
|
+
T.let(
|
|
373
|
+
:PROCESSING_ERROR,
|
|
374
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
375
|
+
)
|
|
376
|
+
RECURRING_TRANSACTION_NOT_CANCELLED =
|
|
377
|
+
T.let(
|
|
378
|
+
:RECURRING_TRANSACTION_NOT_CANCELLED,
|
|
379
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
380
|
+
)
|
|
381
|
+
REFUND_NOT_PROCESSED =
|
|
382
|
+
T.let(
|
|
383
|
+
:REFUND_NOT_PROCESSED,
|
|
384
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
385
|
+
)
|
|
386
|
+
|
|
387
|
+
sig do
|
|
388
|
+
override.returns(
|
|
389
|
+
T::Array[
|
|
390
|
+
Lithic::Models::DisputeDeleteResponse::Reason::TaggedSymbol
|
|
391
|
+
]
|
|
392
|
+
)
|
|
393
|
+
end
|
|
394
|
+
def self.values
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# Reason for the dispute resolution:
|
|
399
|
+
#
|
|
400
|
+
# - `CASE_LOST`: This case was lost at final arbitration.
|
|
401
|
+
# - `NETWORK_REJECTED`: Network rejected.
|
|
402
|
+
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
|
403
|
+
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
|
404
|
+
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
|
405
|
+
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
|
406
|
+
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
|
407
|
+
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
|
408
|
+
# - `PAST_FILING_DATE`: Past filing date.
|
|
409
|
+
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
|
410
|
+
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
|
411
|
+
# - `REFUNDED`: Refunded.
|
|
412
|
+
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
|
413
|
+
# - `WITHDRAWN`: Withdrawn.
|
|
414
|
+
# - `WON_ARBITRATION`: Won arbitration.
|
|
415
|
+
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
|
416
|
+
# - `WON_PREARBITRATION`: Won prearbitration.
|
|
417
|
+
module ResolutionReason
|
|
418
|
+
extend Lithic::Internal::Type::Enum
|
|
419
|
+
|
|
420
|
+
TaggedSymbol =
|
|
421
|
+
T.type_alias do
|
|
422
|
+
T.all(
|
|
423
|
+
Symbol,
|
|
424
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason
|
|
425
|
+
)
|
|
426
|
+
end
|
|
427
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
428
|
+
|
|
429
|
+
CASE_LOST =
|
|
430
|
+
T.let(
|
|
431
|
+
:CASE_LOST,
|
|
432
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
433
|
+
)
|
|
434
|
+
NETWORK_REJECTED =
|
|
435
|
+
T.let(
|
|
436
|
+
:NETWORK_REJECTED,
|
|
437
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
438
|
+
)
|
|
439
|
+
NO_DISPUTE_RIGHTS_3DS =
|
|
440
|
+
T.let(
|
|
441
|
+
:NO_DISPUTE_RIGHTS_3DS,
|
|
442
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
443
|
+
)
|
|
444
|
+
NO_DISPUTE_RIGHTS_BELOW_THRESHOLD =
|
|
445
|
+
T.let(
|
|
446
|
+
:NO_DISPUTE_RIGHTS_BELOW_THRESHOLD,
|
|
447
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
448
|
+
)
|
|
449
|
+
NO_DISPUTE_RIGHTS_CONTACTLESS =
|
|
450
|
+
T.let(
|
|
451
|
+
:NO_DISPUTE_RIGHTS_CONTACTLESS,
|
|
452
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
453
|
+
)
|
|
454
|
+
NO_DISPUTE_RIGHTS_HYBRID =
|
|
455
|
+
T.let(
|
|
456
|
+
:NO_DISPUTE_RIGHTS_HYBRID,
|
|
457
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
458
|
+
)
|
|
459
|
+
NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS =
|
|
460
|
+
T.let(
|
|
461
|
+
:NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS,
|
|
462
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
463
|
+
)
|
|
464
|
+
NO_DISPUTE_RIGHTS_OTHER =
|
|
465
|
+
T.let(
|
|
466
|
+
:NO_DISPUTE_RIGHTS_OTHER,
|
|
467
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
468
|
+
)
|
|
469
|
+
PAST_FILING_DATE =
|
|
470
|
+
T.let(
|
|
471
|
+
:PAST_FILING_DATE,
|
|
472
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
473
|
+
)
|
|
474
|
+
PREARBITRATION_REJECTED =
|
|
475
|
+
T.let(
|
|
476
|
+
:PREARBITRATION_REJECTED,
|
|
477
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
478
|
+
)
|
|
479
|
+
PROCESSOR_REJECTED_OTHER =
|
|
480
|
+
T.let(
|
|
481
|
+
:PROCESSOR_REJECTED_OTHER,
|
|
482
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
483
|
+
)
|
|
484
|
+
REFUNDED =
|
|
485
|
+
T.let(
|
|
486
|
+
:REFUNDED,
|
|
487
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
488
|
+
)
|
|
489
|
+
REFUNDED_AFTER_CHARGEBACK =
|
|
490
|
+
T.let(
|
|
491
|
+
:REFUNDED_AFTER_CHARGEBACK,
|
|
492
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
493
|
+
)
|
|
494
|
+
WITHDRAWN =
|
|
495
|
+
T.let(
|
|
496
|
+
:WITHDRAWN,
|
|
497
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
498
|
+
)
|
|
499
|
+
WON_ARBITRATION =
|
|
500
|
+
T.let(
|
|
501
|
+
:WON_ARBITRATION,
|
|
502
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
503
|
+
)
|
|
504
|
+
WON_FIRST_CHARGEBACK =
|
|
505
|
+
T.let(
|
|
506
|
+
:WON_FIRST_CHARGEBACK,
|
|
507
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
508
|
+
)
|
|
509
|
+
WON_PREARBITRATION =
|
|
510
|
+
T.let(
|
|
511
|
+
:WON_PREARBITRATION,
|
|
512
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
513
|
+
)
|
|
514
|
+
|
|
515
|
+
sig do
|
|
516
|
+
override.returns(
|
|
517
|
+
T::Array[
|
|
518
|
+
Lithic::Models::DisputeDeleteResponse::ResolutionReason::TaggedSymbol
|
|
519
|
+
]
|
|
520
|
+
)
|
|
521
|
+
end
|
|
522
|
+
def self.values
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
# Status types:
|
|
527
|
+
#
|
|
528
|
+
# - `NEW` - New dispute case is opened.
|
|
529
|
+
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
|
530
|
+
# information.
|
|
531
|
+
# - `SUBMITTED` - Dispute is submitted to the card network.
|
|
532
|
+
# - `REPRESENTMENT` - Case has entered second presentment.
|
|
533
|
+
# - `PREARBITRATION` - Case has entered prearbitration.
|
|
534
|
+
# - `ARBITRATION` - Case has entered arbitration.
|
|
535
|
+
# - `CASE_WON` - Case was won and credit will be issued.
|
|
536
|
+
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
|
537
|
+
module Status
|
|
538
|
+
extend Lithic::Internal::Type::Enum
|
|
539
|
+
|
|
540
|
+
TaggedSymbol =
|
|
541
|
+
T.type_alias do
|
|
542
|
+
T.all(Symbol, Lithic::Models::DisputeDeleteResponse::Status)
|
|
543
|
+
end
|
|
544
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
545
|
+
|
|
546
|
+
ARBITRATION =
|
|
547
|
+
T.let(
|
|
548
|
+
:ARBITRATION,
|
|
549
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
550
|
+
)
|
|
551
|
+
CASE_CLOSED =
|
|
552
|
+
T.let(
|
|
553
|
+
:CASE_CLOSED,
|
|
554
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
555
|
+
)
|
|
556
|
+
CASE_WON =
|
|
557
|
+
T.let(
|
|
558
|
+
:CASE_WON,
|
|
559
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
560
|
+
)
|
|
561
|
+
NEW =
|
|
562
|
+
T.let(
|
|
563
|
+
:NEW,
|
|
564
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
565
|
+
)
|
|
566
|
+
PENDING_CUSTOMER =
|
|
567
|
+
T.let(
|
|
568
|
+
:PENDING_CUSTOMER,
|
|
569
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
570
|
+
)
|
|
571
|
+
PREARBITRATION =
|
|
572
|
+
T.let(
|
|
573
|
+
:PREARBITRATION,
|
|
574
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
575
|
+
)
|
|
576
|
+
REPRESENTMENT =
|
|
577
|
+
T.let(
|
|
578
|
+
:REPRESENTMENT,
|
|
579
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
580
|
+
)
|
|
581
|
+
SUBMITTED =
|
|
582
|
+
T.let(
|
|
583
|
+
:SUBMITTED,
|
|
584
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
585
|
+
)
|
|
586
|
+
|
|
587
|
+
sig do
|
|
588
|
+
override.returns(
|
|
589
|
+
T::Array[
|
|
590
|
+
Lithic::Models::DisputeDeleteResponse::Status::TaggedSymbol
|
|
591
|
+
]
|
|
592
|
+
)
|
|
593
|
+
end
|
|
594
|
+
def self.values
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
end
|
|
599
|
+
end
|