lithic 0.1.0.pre.alpha.54 → 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 +19 -0
- data/README.md +1 -1
- 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/payment.rb +9 -9
- 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/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 +7 -3
- 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/payment.rbi +11 -14
- 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/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/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/payment.rbs +8 -10
- 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/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,210 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_create_response =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
amount: Integer,
|
|
7
|
+
arbitration_date: Time?,
|
|
8
|
+
created: Time,
|
|
9
|
+
customer_filed_date: Time?,
|
|
10
|
+
customer_note: String?,
|
|
11
|
+
network_claim_ids: ::Array[String]?,
|
|
12
|
+
network_filed_date: Time?,
|
|
13
|
+
network_reason_code: String?,
|
|
14
|
+
prearbitration_date: Time?,
|
|
15
|
+
primary_claim_id: String?,
|
|
16
|
+
reason: Lithic::Models::DisputeCreateResponse::reason,
|
|
17
|
+
representment_date: Time?,
|
|
18
|
+
resolution_date: Time?,
|
|
19
|
+
resolution_note: String?,
|
|
20
|
+
resolution_reason: Lithic::Models::DisputeCreateResponse::resolution_reason?,
|
|
21
|
+
status: Lithic::Models::DisputeCreateResponse::status,
|
|
22
|
+
transaction_token: String
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class DisputeCreateResponse < Lithic::Internal::Type::BaseModel
|
|
26
|
+
attr_accessor token: String
|
|
27
|
+
|
|
28
|
+
attr_accessor amount: Integer
|
|
29
|
+
|
|
30
|
+
attr_accessor arbitration_date: Time?
|
|
31
|
+
|
|
32
|
+
attr_accessor created: Time
|
|
33
|
+
|
|
34
|
+
attr_accessor customer_filed_date: Time?
|
|
35
|
+
|
|
36
|
+
attr_accessor customer_note: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor network_claim_ids: ::Array[String]?
|
|
39
|
+
|
|
40
|
+
attr_accessor network_filed_date: Time?
|
|
41
|
+
|
|
42
|
+
attr_accessor network_reason_code: String?
|
|
43
|
+
|
|
44
|
+
attr_accessor prearbitration_date: Time?
|
|
45
|
+
|
|
46
|
+
attr_accessor primary_claim_id: String?
|
|
47
|
+
|
|
48
|
+
attr_accessor reason: Lithic::Models::DisputeCreateResponse::reason
|
|
49
|
+
|
|
50
|
+
attr_accessor representment_date: Time?
|
|
51
|
+
|
|
52
|
+
attr_accessor resolution_date: Time?
|
|
53
|
+
|
|
54
|
+
attr_accessor resolution_note: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor resolution_reason: Lithic::Models::DisputeCreateResponse::resolution_reason?
|
|
57
|
+
|
|
58
|
+
attr_accessor status: Lithic::Models::DisputeCreateResponse::status
|
|
59
|
+
|
|
60
|
+
attr_accessor transaction_token: String
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
token: String,
|
|
64
|
+
amount: Integer,
|
|
65
|
+
arbitration_date: Time?,
|
|
66
|
+
created: Time,
|
|
67
|
+
customer_filed_date: Time?,
|
|
68
|
+
customer_note: String?,
|
|
69
|
+
network_claim_ids: ::Array[String]?,
|
|
70
|
+
network_filed_date: Time?,
|
|
71
|
+
network_reason_code: String?,
|
|
72
|
+
prearbitration_date: Time?,
|
|
73
|
+
primary_claim_id: String?,
|
|
74
|
+
reason: Lithic::Models::DisputeCreateResponse::reason,
|
|
75
|
+
representment_date: Time?,
|
|
76
|
+
resolution_date: Time?,
|
|
77
|
+
resolution_note: String?,
|
|
78
|
+
resolution_reason: Lithic::Models::DisputeCreateResponse::resolution_reason?,
|
|
79
|
+
status: Lithic::Models::DisputeCreateResponse::status,
|
|
80
|
+
transaction_token: String
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
token: String,
|
|
85
|
+
amount: Integer,
|
|
86
|
+
arbitration_date: Time?,
|
|
87
|
+
created: Time,
|
|
88
|
+
customer_filed_date: Time?,
|
|
89
|
+
customer_note: String?,
|
|
90
|
+
network_claim_ids: ::Array[String]?,
|
|
91
|
+
network_filed_date: Time?,
|
|
92
|
+
network_reason_code: String?,
|
|
93
|
+
prearbitration_date: Time?,
|
|
94
|
+
primary_claim_id: String?,
|
|
95
|
+
reason: Lithic::Models::DisputeCreateResponse::reason,
|
|
96
|
+
representment_date: Time?,
|
|
97
|
+
resolution_date: Time?,
|
|
98
|
+
resolution_note: String?,
|
|
99
|
+
resolution_reason: Lithic::Models::DisputeCreateResponse::resolution_reason?,
|
|
100
|
+
status: Lithic::Models::DisputeCreateResponse::status,
|
|
101
|
+
transaction_token: String
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type reason =
|
|
105
|
+
:ATM_CASH_MISDISPENSE
|
|
106
|
+
| :CANCELLED
|
|
107
|
+
| :DUPLICATED
|
|
108
|
+
| :FRAUD_CARD_NOT_PRESENT
|
|
109
|
+
| :FRAUD_CARD_PRESENT
|
|
110
|
+
| :FRAUD_OTHER
|
|
111
|
+
| :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
112
|
+
| :GOODS_SERVICES_NOT_RECEIVED
|
|
113
|
+
| :INCORRECT_AMOUNT
|
|
114
|
+
| :MISSING_AUTH
|
|
115
|
+
| :OTHER
|
|
116
|
+
| :PROCESSING_ERROR
|
|
117
|
+
| :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
118
|
+
| :REFUND_NOT_PROCESSED
|
|
119
|
+
|
|
120
|
+
module Reason
|
|
121
|
+
extend Lithic::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
ATM_CASH_MISDISPENSE: :ATM_CASH_MISDISPENSE
|
|
124
|
+
CANCELLED: :CANCELLED
|
|
125
|
+
DUPLICATED: :DUPLICATED
|
|
126
|
+
FRAUD_CARD_NOT_PRESENT: :FRAUD_CARD_NOT_PRESENT
|
|
127
|
+
FRAUD_CARD_PRESENT: :FRAUD_CARD_PRESENT
|
|
128
|
+
FRAUD_OTHER: :FRAUD_OTHER
|
|
129
|
+
GOODS_SERVICES_NOT_AS_DESCRIBED: :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
130
|
+
GOODS_SERVICES_NOT_RECEIVED: :GOODS_SERVICES_NOT_RECEIVED
|
|
131
|
+
INCORRECT_AMOUNT: :INCORRECT_AMOUNT
|
|
132
|
+
MISSING_AUTH: :MISSING_AUTH
|
|
133
|
+
OTHER: :OTHER
|
|
134
|
+
PROCESSING_ERROR: :PROCESSING_ERROR
|
|
135
|
+
RECURRING_TRANSACTION_NOT_CANCELLED: :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
136
|
+
REFUND_NOT_PROCESSED: :REFUND_NOT_PROCESSED
|
|
137
|
+
|
|
138
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeCreateResponse::reason]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
type resolution_reason =
|
|
142
|
+
:CASE_LOST
|
|
143
|
+
| :NETWORK_REJECTED
|
|
144
|
+
| :NO_DISPUTE_RIGHTS_3DS
|
|
145
|
+
| :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
146
|
+
| :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
147
|
+
| :NO_DISPUTE_RIGHTS_HYBRID
|
|
148
|
+
| :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
149
|
+
| :NO_DISPUTE_RIGHTS_OTHER
|
|
150
|
+
| :PAST_FILING_DATE
|
|
151
|
+
| :PREARBITRATION_REJECTED
|
|
152
|
+
| :PROCESSOR_REJECTED_OTHER
|
|
153
|
+
| :REFUNDED
|
|
154
|
+
| :REFUNDED_AFTER_CHARGEBACK
|
|
155
|
+
| :WITHDRAWN
|
|
156
|
+
| :WON_ARBITRATION
|
|
157
|
+
| :WON_FIRST_CHARGEBACK
|
|
158
|
+
| :WON_PREARBITRATION
|
|
159
|
+
|
|
160
|
+
module ResolutionReason
|
|
161
|
+
extend Lithic::Internal::Type::Enum
|
|
162
|
+
|
|
163
|
+
CASE_LOST: :CASE_LOST
|
|
164
|
+
NETWORK_REJECTED: :NETWORK_REJECTED
|
|
165
|
+
NO_DISPUTE_RIGHTS_3DS: :NO_DISPUTE_RIGHTS_3DS
|
|
166
|
+
NO_DISPUTE_RIGHTS_BELOW_THRESHOLD: :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
167
|
+
NO_DISPUTE_RIGHTS_CONTACTLESS: :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
168
|
+
NO_DISPUTE_RIGHTS_HYBRID: :NO_DISPUTE_RIGHTS_HYBRID
|
|
169
|
+
NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS: :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
170
|
+
NO_DISPUTE_RIGHTS_OTHER: :NO_DISPUTE_RIGHTS_OTHER
|
|
171
|
+
PAST_FILING_DATE: :PAST_FILING_DATE
|
|
172
|
+
PREARBITRATION_REJECTED: :PREARBITRATION_REJECTED
|
|
173
|
+
PROCESSOR_REJECTED_OTHER: :PROCESSOR_REJECTED_OTHER
|
|
174
|
+
REFUNDED: :REFUNDED
|
|
175
|
+
REFUNDED_AFTER_CHARGEBACK: :REFUNDED_AFTER_CHARGEBACK
|
|
176
|
+
WITHDRAWN: :WITHDRAWN
|
|
177
|
+
WON_ARBITRATION: :WON_ARBITRATION
|
|
178
|
+
WON_FIRST_CHARGEBACK: :WON_FIRST_CHARGEBACK
|
|
179
|
+
WON_PREARBITRATION: :WON_PREARBITRATION
|
|
180
|
+
|
|
181
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeCreateResponse::resolution_reason]
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
type status =
|
|
185
|
+
:ARBITRATION
|
|
186
|
+
| :CASE_CLOSED
|
|
187
|
+
| :CASE_WON
|
|
188
|
+
| :NEW
|
|
189
|
+
| :PENDING_CUSTOMER
|
|
190
|
+
| :PREARBITRATION
|
|
191
|
+
| :REPRESENTMENT
|
|
192
|
+
| :SUBMITTED
|
|
193
|
+
|
|
194
|
+
module Status
|
|
195
|
+
extend Lithic::Internal::Type::Enum
|
|
196
|
+
|
|
197
|
+
ARBITRATION: :ARBITRATION
|
|
198
|
+
CASE_CLOSED: :CASE_CLOSED
|
|
199
|
+
CASE_WON: :CASE_WON
|
|
200
|
+
NEW: :NEW
|
|
201
|
+
PENDING_CUSTOMER: :PENDING_CUSTOMER
|
|
202
|
+
PREARBITRATION: :PREARBITRATION
|
|
203
|
+
REPRESENTMENT: :REPRESENTMENT
|
|
204
|
+
SUBMITTED: :SUBMITTED
|
|
205
|
+
|
|
206
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeCreateResponse::status]
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_delete_response =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
amount: Integer,
|
|
7
|
+
arbitration_date: Time?,
|
|
8
|
+
created: Time,
|
|
9
|
+
customer_filed_date: Time?,
|
|
10
|
+
customer_note: String?,
|
|
11
|
+
network_claim_ids: ::Array[String]?,
|
|
12
|
+
network_filed_date: Time?,
|
|
13
|
+
network_reason_code: String?,
|
|
14
|
+
prearbitration_date: Time?,
|
|
15
|
+
primary_claim_id: String?,
|
|
16
|
+
reason: Lithic::Models::DisputeDeleteResponse::reason,
|
|
17
|
+
representment_date: Time?,
|
|
18
|
+
resolution_date: Time?,
|
|
19
|
+
resolution_note: String?,
|
|
20
|
+
resolution_reason: Lithic::Models::DisputeDeleteResponse::resolution_reason?,
|
|
21
|
+
status: Lithic::Models::DisputeDeleteResponse::status,
|
|
22
|
+
transaction_token: String
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class DisputeDeleteResponse < Lithic::Internal::Type::BaseModel
|
|
26
|
+
attr_accessor token: String
|
|
27
|
+
|
|
28
|
+
attr_accessor amount: Integer
|
|
29
|
+
|
|
30
|
+
attr_accessor arbitration_date: Time?
|
|
31
|
+
|
|
32
|
+
attr_accessor created: Time
|
|
33
|
+
|
|
34
|
+
attr_accessor customer_filed_date: Time?
|
|
35
|
+
|
|
36
|
+
attr_accessor customer_note: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor network_claim_ids: ::Array[String]?
|
|
39
|
+
|
|
40
|
+
attr_accessor network_filed_date: Time?
|
|
41
|
+
|
|
42
|
+
attr_accessor network_reason_code: String?
|
|
43
|
+
|
|
44
|
+
attr_accessor prearbitration_date: Time?
|
|
45
|
+
|
|
46
|
+
attr_accessor primary_claim_id: String?
|
|
47
|
+
|
|
48
|
+
attr_accessor reason: Lithic::Models::DisputeDeleteResponse::reason
|
|
49
|
+
|
|
50
|
+
attr_accessor representment_date: Time?
|
|
51
|
+
|
|
52
|
+
attr_accessor resolution_date: Time?
|
|
53
|
+
|
|
54
|
+
attr_accessor resolution_note: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor resolution_reason: Lithic::Models::DisputeDeleteResponse::resolution_reason?
|
|
57
|
+
|
|
58
|
+
attr_accessor status: Lithic::Models::DisputeDeleteResponse::status
|
|
59
|
+
|
|
60
|
+
attr_accessor transaction_token: String
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
token: String,
|
|
64
|
+
amount: Integer,
|
|
65
|
+
arbitration_date: Time?,
|
|
66
|
+
created: Time,
|
|
67
|
+
customer_filed_date: Time?,
|
|
68
|
+
customer_note: String?,
|
|
69
|
+
network_claim_ids: ::Array[String]?,
|
|
70
|
+
network_filed_date: Time?,
|
|
71
|
+
network_reason_code: String?,
|
|
72
|
+
prearbitration_date: Time?,
|
|
73
|
+
primary_claim_id: String?,
|
|
74
|
+
reason: Lithic::Models::DisputeDeleteResponse::reason,
|
|
75
|
+
representment_date: Time?,
|
|
76
|
+
resolution_date: Time?,
|
|
77
|
+
resolution_note: String?,
|
|
78
|
+
resolution_reason: Lithic::Models::DisputeDeleteResponse::resolution_reason?,
|
|
79
|
+
status: Lithic::Models::DisputeDeleteResponse::status,
|
|
80
|
+
transaction_token: String
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
token: String,
|
|
85
|
+
amount: Integer,
|
|
86
|
+
arbitration_date: Time?,
|
|
87
|
+
created: Time,
|
|
88
|
+
customer_filed_date: Time?,
|
|
89
|
+
customer_note: String?,
|
|
90
|
+
network_claim_ids: ::Array[String]?,
|
|
91
|
+
network_filed_date: Time?,
|
|
92
|
+
network_reason_code: String?,
|
|
93
|
+
prearbitration_date: Time?,
|
|
94
|
+
primary_claim_id: String?,
|
|
95
|
+
reason: Lithic::Models::DisputeDeleteResponse::reason,
|
|
96
|
+
representment_date: Time?,
|
|
97
|
+
resolution_date: Time?,
|
|
98
|
+
resolution_note: String?,
|
|
99
|
+
resolution_reason: Lithic::Models::DisputeDeleteResponse::resolution_reason?,
|
|
100
|
+
status: Lithic::Models::DisputeDeleteResponse::status,
|
|
101
|
+
transaction_token: String
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type reason =
|
|
105
|
+
:ATM_CASH_MISDISPENSE
|
|
106
|
+
| :CANCELLED
|
|
107
|
+
| :DUPLICATED
|
|
108
|
+
| :FRAUD_CARD_NOT_PRESENT
|
|
109
|
+
| :FRAUD_CARD_PRESENT
|
|
110
|
+
| :FRAUD_OTHER
|
|
111
|
+
| :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
112
|
+
| :GOODS_SERVICES_NOT_RECEIVED
|
|
113
|
+
| :INCORRECT_AMOUNT
|
|
114
|
+
| :MISSING_AUTH
|
|
115
|
+
| :OTHER
|
|
116
|
+
| :PROCESSING_ERROR
|
|
117
|
+
| :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
118
|
+
| :REFUND_NOT_PROCESSED
|
|
119
|
+
|
|
120
|
+
module Reason
|
|
121
|
+
extend Lithic::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
ATM_CASH_MISDISPENSE: :ATM_CASH_MISDISPENSE
|
|
124
|
+
CANCELLED: :CANCELLED
|
|
125
|
+
DUPLICATED: :DUPLICATED
|
|
126
|
+
FRAUD_CARD_NOT_PRESENT: :FRAUD_CARD_NOT_PRESENT
|
|
127
|
+
FRAUD_CARD_PRESENT: :FRAUD_CARD_PRESENT
|
|
128
|
+
FRAUD_OTHER: :FRAUD_OTHER
|
|
129
|
+
GOODS_SERVICES_NOT_AS_DESCRIBED: :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
130
|
+
GOODS_SERVICES_NOT_RECEIVED: :GOODS_SERVICES_NOT_RECEIVED
|
|
131
|
+
INCORRECT_AMOUNT: :INCORRECT_AMOUNT
|
|
132
|
+
MISSING_AUTH: :MISSING_AUTH
|
|
133
|
+
OTHER: :OTHER
|
|
134
|
+
PROCESSING_ERROR: :PROCESSING_ERROR
|
|
135
|
+
RECURRING_TRANSACTION_NOT_CANCELLED: :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
136
|
+
REFUND_NOT_PROCESSED: :REFUND_NOT_PROCESSED
|
|
137
|
+
|
|
138
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeDeleteResponse::reason]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
type resolution_reason =
|
|
142
|
+
:CASE_LOST
|
|
143
|
+
| :NETWORK_REJECTED
|
|
144
|
+
| :NO_DISPUTE_RIGHTS_3DS
|
|
145
|
+
| :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
146
|
+
| :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
147
|
+
| :NO_DISPUTE_RIGHTS_HYBRID
|
|
148
|
+
| :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
149
|
+
| :NO_DISPUTE_RIGHTS_OTHER
|
|
150
|
+
| :PAST_FILING_DATE
|
|
151
|
+
| :PREARBITRATION_REJECTED
|
|
152
|
+
| :PROCESSOR_REJECTED_OTHER
|
|
153
|
+
| :REFUNDED
|
|
154
|
+
| :REFUNDED_AFTER_CHARGEBACK
|
|
155
|
+
| :WITHDRAWN
|
|
156
|
+
| :WON_ARBITRATION
|
|
157
|
+
| :WON_FIRST_CHARGEBACK
|
|
158
|
+
| :WON_PREARBITRATION
|
|
159
|
+
|
|
160
|
+
module ResolutionReason
|
|
161
|
+
extend Lithic::Internal::Type::Enum
|
|
162
|
+
|
|
163
|
+
CASE_LOST: :CASE_LOST
|
|
164
|
+
NETWORK_REJECTED: :NETWORK_REJECTED
|
|
165
|
+
NO_DISPUTE_RIGHTS_3DS: :NO_DISPUTE_RIGHTS_3DS
|
|
166
|
+
NO_DISPUTE_RIGHTS_BELOW_THRESHOLD: :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
167
|
+
NO_DISPUTE_RIGHTS_CONTACTLESS: :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
168
|
+
NO_DISPUTE_RIGHTS_HYBRID: :NO_DISPUTE_RIGHTS_HYBRID
|
|
169
|
+
NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS: :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
170
|
+
NO_DISPUTE_RIGHTS_OTHER: :NO_DISPUTE_RIGHTS_OTHER
|
|
171
|
+
PAST_FILING_DATE: :PAST_FILING_DATE
|
|
172
|
+
PREARBITRATION_REJECTED: :PREARBITRATION_REJECTED
|
|
173
|
+
PROCESSOR_REJECTED_OTHER: :PROCESSOR_REJECTED_OTHER
|
|
174
|
+
REFUNDED: :REFUNDED
|
|
175
|
+
REFUNDED_AFTER_CHARGEBACK: :REFUNDED_AFTER_CHARGEBACK
|
|
176
|
+
WITHDRAWN: :WITHDRAWN
|
|
177
|
+
WON_ARBITRATION: :WON_ARBITRATION
|
|
178
|
+
WON_FIRST_CHARGEBACK: :WON_FIRST_CHARGEBACK
|
|
179
|
+
WON_PREARBITRATION: :WON_PREARBITRATION
|
|
180
|
+
|
|
181
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeDeleteResponse::resolution_reason]
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
type status =
|
|
185
|
+
:ARBITRATION
|
|
186
|
+
| :CASE_CLOSED
|
|
187
|
+
| :CASE_WON
|
|
188
|
+
| :NEW
|
|
189
|
+
| :PENDING_CUSTOMER
|
|
190
|
+
| :PREARBITRATION
|
|
191
|
+
| :REPRESENTMENT
|
|
192
|
+
| :SUBMITTED
|
|
193
|
+
|
|
194
|
+
module Status
|
|
195
|
+
extend Lithic::Internal::Type::Enum
|
|
196
|
+
|
|
197
|
+
ARBITRATION: :ARBITRATION
|
|
198
|
+
CASE_CLOSED: :CASE_CLOSED
|
|
199
|
+
CASE_WON: :CASE_WON
|
|
200
|
+
NEW: :NEW
|
|
201
|
+
PENDING_CUSTOMER: :PENDING_CUSTOMER
|
|
202
|
+
PREARBITRATION: :PREARBITRATION
|
|
203
|
+
REPRESENTMENT: :REPRESENTMENT
|
|
204
|
+
SUBMITTED: :SUBMITTED
|
|
205
|
+
|
|
206
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeDeleteResponse::status]
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_list_response =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
amount: Integer,
|
|
7
|
+
arbitration_date: Time?,
|
|
8
|
+
created: Time,
|
|
9
|
+
customer_filed_date: Time?,
|
|
10
|
+
customer_note: String?,
|
|
11
|
+
network_claim_ids: ::Array[String]?,
|
|
12
|
+
network_filed_date: Time?,
|
|
13
|
+
network_reason_code: String?,
|
|
14
|
+
prearbitration_date: Time?,
|
|
15
|
+
primary_claim_id: String?,
|
|
16
|
+
reason: Lithic::Models::DisputeListResponse::reason,
|
|
17
|
+
representment_date: Time?,
|
|
18
|
+
resolution_date: Time?,
|
|
19
|
+
resolution_note: String?,
|
|
20
|
+
resolution_reason: Lithic::Models::DisputeListResponse::resolution_reason?,
|
|
21
|
+
status: Lithic::Models::DisputeListResponse::status,
|
|
22
|
+
transaction_token: String
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class DisputeListResponse < Lithic::Internal::Type::BaseModel
|
|
26
|
+
attr_accessor token: String
|
|
27
|
+
|
|
28
|
+
attr_accessor amount: Integer
|
|
29
|
+
|
|
30
|
+
attr_accessor arbitration_date: Time?
|
|
31
|
+
|
|
32
|
+
attr_accessor created: Time
|
|
33
|
+
|
|
34
|
+
attr_accessor customer_filed_date: Time?
|
|
35
|
+
|
|
36
|
+
attr_accessor customer_note: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor network_claim_ids: ::Array[String]?
|
|
39
|
+
|
|
40
|
+
attr_accessor network_filed_date: Time?
|
|
41
|
+
|
|
42
|
+
attr_accessor network_reason_code: String?
|
|
43
|
+
|
|
44
|
+
attr_accessor prearbitration_date: Time?
|
|
45
|
+
|
|
46
|
+
attr_accessor primary_claim_id: String?
|
|
47
|
+
|
|
48
|
+
attr_accessor reason: Lithic::Models::DisputeListResponse::reason
|
|
49
|
+
|
|
50
|
+
attr_accessor representment_date: Time?
|
|
51
|
+
|
|
52
|
+
attr_accessor resolution_date: Time?
|
|
53
|
+
|
|
54
|
+
attr_accessor resolution_note: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor resolution_reason: Lithic::Models::DisputeListResponse::resolution_reason?
|
|
57
|
+
|
|
58
|
+
attr_accessor status: Lithic::Models::DisputeListResponse::status
|
|
59
|
+
|
|
60
|
+
attr_accessor transaction_token: String
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
token: String,
|
|
64
|
+
amount: Integer,
|
|
65
|
+
arbitration_date: Time?,
|
|
66
|
+
created: Time,
|
|
67
|
+
customer_filed_date: Time?,
|
|
68
|
+
customer_note: String?,
|
|
69
|
+
network_claim_ids: ::Array[String]?,
|
|
70
|
+
network_filed_date: Time?,
|
|
71
|
+
network_reason_code: String?,
|
|
72
|
+
prearbitration_date: Time?,
|
|
73
|
+
primary_claim_id: String?,
|
|
74
|
+
reason: Lithic::Models::DisputeListResponse::reason,
|
|
75
|
+
representment_date: Time?,
|
|
76
|
+
resolution_date: Time?,
|
|
77
|
+
resolution_note: String?,
|
|
78
|
+
resolution_reason: Lithic::Models::DisputeListResponse::resolution_reason?,
|
|
79
|
+
status: Lithic::Models::DisputeListResponse::status,
|
|
80
|
+
transaction_token: String
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
token: String,
|
|
85
|
+
amount: Integer,
|
|
86
|
+
arbitration_date: Time?,
|
|
87
|
+
created: Time,
|
|
88
|
+
customer_filed_date: Time?,
|
|
89
|
+
customer_note: String?,
|
|
90
|
+
network_claim_ids: ::Array[String]?,
|
|
91
|
+
network_filed_date: Time?,
|
|
92
|
+
network_reason_code: String?,
|
|
93
|
+
prearbitration_date: Time?,
|
|
94
|
+
primary_claim_id: String?,
|
|
95
|
+
reason: Lithic::Models::DisputeListResponse::reason,
|
|
96
|
+
representment_date: Time?,
|
|
97
|
+
resolution_date: Time?,
|
|
98
|
+
resolution_note: String?,
|
|
99
|
+
resolution_reason: Lithic::Models::DisputeListResponse::resolution_reason?,
|
|
100
|
+
status: Lithic::Models::DisputeListResponse::status,
|
|
101
|
+
transaction_token: String
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type reason =
|
|
105
|
+
:ATM_CASH_MISDISPENSE
|
|
106
|
+
| :CANCELLED
|
|
107
|
+
| :DUPLICATED
|
|
108
|
+
| :FRAUD_CARD_NOT_PRESENT
|
|
109
|
+
| :FRAUD_CARD_PRESENT
|
|
110
|
+
| :FRAUD_OTHER
|
|
111
|
+
| :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
112
|
+
| :GOODS_SERVICES_NOT_RECEIVED
|
|
113
|
+
| :INCORRECT_AMOUNT
|
|
114
|
+
| :MISSING_AUTH
|
|
115
|
+
| :OTHER
|
|
116
|
+
| :PROCESSING_ERROR
|
|
117
|
+
| :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
118
|
+
| :REFUND_NOT_PROCESSED
|
|
119
|
+
|
|
120
|
+
module Reason
|
|
121
|
+
extend Lithic::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
ATM_CASH_MISDISPENSE: :ATM_CASH_MISDISPENSE
|
|
124
|
+
CANCELLED: :CANCELLED
|
|
125
|
+
DUPLICATED: :DUPLICATED
|
|
126
|
+
FRAUD_CARD_NOT_PRESENT: :FRAUD_CARD_NOT_PRESENT
|
|
127
|
+
FRAUD_CARD_PRESENT: :FRAUD_CARD_PRESENT
|
|
128
|
+
FRAUD_OTHER: :FRAUD_OTHER
|
|
129
|
+
GOODS_SERVICES_NOT_AS_DESCRIBED: :GOODS_SERVICES_NOT_AS_DESCRIBED
|
|
130
|
+
GOODS_SERVICES_NOT_RECEIVED: :GOODS_SERVICES_NOT_RECEIVED
|
|
131
|
+
INCORRECT_AMOUNT: :INCORRECT_AMOUNT
|
|
132
|
+
MISSING_AUTH: :MISSING_AUTH
|
|
133
|
+
OTHER: :OTHER
|
|
134
|
+
PROCESSING_ERROR: :PROCESSING_ERROR
|
|
135
|
+
RECURRING_TRANSACTION_NOT_CANCELLED: :RECURRING_TRANSACTION_NOT_CANCELLED
|
|
136
|
+
REFUND_NOT_PROCESSED: :REFUND_NOT_PROCESSED
|
|
137
|
+
|
|
138
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeListResponse::reason]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
type resolution_reason =
|
|
142
|
+
:CASE_LOST
|
|
143
|
+
| :NETWORK_REJECTED
|
|
144
|
+
| :NO_DISPUTE_RIGHTS_3DS
|
|
145
|
+
| :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
146
|
+
| :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
147
|
+
| :NO_DISPUTE_RIGHTS_HYBRID
|
|
148
|
+
| :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
149
|
+
| :NO_DISPUTE_RIGHTS_OTHER
|
|
150
|
+
| :PAST_FILING_DATE
|
|
151
|
+
| :PREARBITRATION_REJECTED
|
|
152
|
+
| :PROCESSOR_REJECTED_OTHER
|
|
153
|
+
| :REFUNDED
|
|
154
|
+
| :REFUNDED_AFTER_CHARGEBACK
|
|
155
|
+
| :WITHDRAWN
|
|
156
|
+
| :WON_ARBITRATION
|
|
157
|
+
| :WON_FIRST_CHARGEBACK
|
|
158
|
+
| :WON_PREARBITRATION
|
|
159
|
+
|
|
160
|
+
module ResolutionReason
|
|
161
|
+
extend Lithic::Internal::Type::Enum
|
|
162
|
+
|
|
163
|
+
CASE_LOST: :CASE_LOST
|
|
164
|
+
NETWORK_REJECTED: :NETWORK_REJECTED
|
|
165
|
+
NO_DISPUTE_RIGHTS_3DS: :NO_DISPUTE_RIGHTS_3DS
|
|
166
|
+
NO_DISPUTE_RIGHTS_BELOW_THRESHOLD: :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
|
|
167
|
+
NO_DISPUTE_RIGHTS_CONTACTLESS: :NO_DISPUTE_RIGHTS_CONTACTLESS
|
|
168
|
+
NO_DISPUTE_RIGHTS_HYBRID: :NO_DISPUTE_RIGHTS_HYBRID
|
|
169
|
+
NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS: :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
|
|
170
|
+
NO_DISPUTE_RIGHTS_OTHER: :NO_DISPUTE_RIGHTS_OTHER
|
|
171
|
+
PAST_FILING_DATE: :PAST_FILING_DATE
|
|
172
|
+
PREARBITRATION_REJECTED: :PREARBITRATION_REJECTED
|
|
173
|
+
PROCESSOR_REJECTED_OTHER: :PROCESSOR_REJECTED_OTHER
|
|
174
|
+
REFUNDED: :REFUNDED
|
|
175
|
+
REFUNDED_AFTER_CHARGEBACK: :REFUNDED_AFTER_CHARGEBACK
|
|
176
|
+
WITHDRAWN: :WITHDRAWN
|
|
177
|
+
WON_ARBITRATION: :WON_ARBITRATION
|
|
178
|
+
WON_FIRST_CHARGEBACK: :WON_FIRST_CHARGEBACK
|
|
179
|
+
WON_PREARBITRATION: :WON_PREARBITRATION
|
|
180
|
+
|
|
181
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeListResponse::resolution_reason]
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
type status =
|
|
185
|
+
:ARBITRATION
|
|
186
|
+
| :CASE_CLOSED
|
|
187
|
+
| :CASE_WON
|
|
188
|
+
| :NEW
|
|
189
|
+
| :PENDING_CUSTOMER
|
|
190
|
+
| :PREARBITRATION
|
|
191
|
+
| :REPRESENTMENT
|
|
192
|
+
| :SUBMITTED
|
|
193
|
+
|
|
194
|
+
module Status
|
|
195
|
+
extend Lithic::Internal::Type::Enum
|
|
196
|
+
|
|
197
|
+
ARBITRATION: :ARBITRATION
|
|
198
|
+
CASE_CLOSED: :CASE_CLOSED
|
|
199
|
+
CASE_WON: :CASE_WON
|
|
200
|
+
NEW: :NEW
|
|
201
|
+
PENDING_CUSTOMER: :PENDING_CUSTOMER
|
|
202
|
+
PREARBITRATION: :PREARBITRATION
|
|
203
|
+
REPRESENTMENT: :REPRESENTMENT
|
|
204
|
+
SUBMITTED: :SUBMITTED
|
|
205
|
+
|
|
206
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeListResponse::status]
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|