lithic 0.1.0.pre.alpha.55 → 0.1.0.pre.alpha.56
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 +20 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
|
@@ -3,468 +3,208 @@ module Lithic
|
|
|
3
3
|
type dispute =
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
case_id: String?,
|
|
6
|
+
amount: Integer,
|
|
7
|
+
arbitration_date: Time?,
|
|
9
8
|
created: Time,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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::Dispute::reason,
|
|
17
|
+
representment_date: Time?,
|
|
18
|
+
resolution_date: Time?,
|
|
19
|
+
resolution_note: String?,
|
|
20
|
+
resolution_reason: Lithic::Models::Dispute::resolution_reason?,
|
|
21
|
+
status: Lithic::Models::Dispute::status,
|
|
22
|
+
transaction_token: String
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
class Dispute < Lithic::Internal::Type::BaseModel
|
|
22
26
|
attr_accessor token: String
|
|
23
27
|
|
|
24
|
-
attr_accessor
|
|
28
|
+
attr_accessor amount: Integer
|
|
25
29
|
|
|
26
|
-
attr_accessor
|
|
27
|
-
|
|
28
|
-
attr_accessor case_id: String?
|
|
30
|
+
attr_accessor arbitration_date: Time?
|
|
29
31
|
|
|
30
32
|
attr_accessor created: Time
|
|
31
33
|
|
|
32
|
-
attr_accessor
|
|
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?
|
|
33
45
|
|
|
34
|
-
attr_accessor
|
|
46
|
+
attr_accessor primary_claim_id: String?
|
|
35
47
|
|
|
36
|
-
attr_accessor
|
|
48
|
+
attr_accessor reason: Lithic::Models::Dispute::reason
|
|
37
49
|
|
|
38
|
-
attr_accessor
|
|
50
|
+
attr_accessor representment_date: Time?
|
|
39
51
|
|
|
40
|
-
attr_accessor
|
|
52
|
+
attr_accessor resolution_date: Time?
|
|
41
53
|
|
|
42
|
-
attr_accessor
|
|
54
|
+
attr_accessor resolution_note: String?
|
|
43
55
|
|
|
44
|
-
attr_accessor
|
|
56
|
+
attr_accessor resolution_reason: Lithic::Models::Dispute::resolution_reason?
|
|
45
57
|
|
|
46
|
-
attr_accessor
|
|
58
|
+
attr_accessor status: Lithic::Models::Dispute::status
|
|
47
59
|
|
|
48
|
-
attr_accessor
|
|
60
|
+
attr_accessor transaction_token: String
|
|
49
61
|
|
|
50
62
|
def initialize: (
|
|
51
63
|
token: String,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
case_id: String?,
|
|
64
|
+
amount: Integer,
|
|
65
|
+
arbitration_date: Time?,
|
|
55
66
|
created: Time,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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::Dispute::reason,
|
|
75
|
+
representment_date: Time?,
|
|
76
|
+
resolution_date: Time?,
|
|
77
|
+
resolution_note: String?,
|
|
78
|
+
resolution_reason: Lithic::Models::Dispute::resolution_reason?,
|
|
79
|
+
status: Lithic::Models::Dispute::status,
|
|
80
|
+
transaction_token: String
|
|
65
81
|
) -> void
|
|
66
82
|
|
|
67
83
|
def to_hash: -> {
|
|
68
84
|
token: String,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
case_id: String?,
|
|
85
|
+
amount: Integer,
|
|
86
|
+
arbitration_date: Time?,
|
|
72
87
|
created: Time,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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::Dispute::reason,
|
|
96
|
+
representment_date: Time?,
|
|
97
|
+
resolution_date: Time?,
|
|
98
|
+
resolution_note: String?,
|
|
99
|
+
resolution_reason: Lithic::Models::Dispute::resolution_reason?,
|
|
100
|
+
status: Lithic::Models::Dispute::status,
|
|
101
|
+
transaction_token: String
|
|
82
102
|
}
|
|
83
103
|
|
|
84
|
-
type
|
|
85
|
-
|
|
86
|
-
|
|
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
|
|
87
121
|
extend Lithic::Internal::Type::Enum
|
|
88
122
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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::Dispute::reason]
|
|
96
139
|
end
|
|
97
140
|
|
|
98
|
-
type
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
data: Lithic::Models::Dispute::Event::data,
|
|
119
|
-
type: Lithic::Models::Dispute::Event::type_
|
|
120
|
-
) -> void
|
|
121
|
-
|
|
122
|
-
def to_hash: -> {
|
|
123
|
-
token: String,
|
|
124
|
-
created: Time,
|
|
125
|
-
data: Lithic::Models::Dispute::Event::data,
|
|
126
|
-
type: Lithic::Models::Dispute::Event::type_
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
type data =
|
|
130
|
-
Lithic::Dispute::Event::Data::WorkflowEventData
|
|
131
|
-
| Lithic::Dispute::Event::Data::FinancialEventData
|
|
132
|
-
| Lithic::Dispute::Event::Data::CardholderLiabilityEventData
|
|
133
|
-
|
|
134
|
-
module Data
|
|
135
|
-
extend Lithic::Internal::Type::Union
|
|
136
|
-
|
|
137
|
-
type workflow_event_data =
|
|
138
|
-
{
|
|
139
|
-
action: Lithic::Models::Dispute::Event::Data::WorkflowEventData::action,
|
|
140
|
-
amount: Integer?,
|
|
141
|
-
disposition: Lithic::Models::Dispute::Event::Data::WorkflowEventData::disposition?,
|
|
142
|
-
reason: String?,
|
|
143
|
-
stage: Lithic::Models::Dispute::Event::Data::WorkflowEventData::stage
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
class WorkflowEventData < Lithic::Internal::Type::BaseModel
|
|
147
|
-
attr_accessor action: Lithic::Models::Dispute::Event::Data::WorkflowEventData::action
|
|
148
|
-
|
|
149
|
-
attr_accessor amount: Integer?
|
|
150
|
-
|
|
151
|
-
attr_accessor disposition: Lithic::Models::Dispute::Event::Data::WorkflowEventData::disposition?
|
|
152
|
-
|
|
153
|
-
attr_accessor reason: String?
|
|
154
|
-
|
|
155
|
-
attr_accessor stage: Lithic::Models::Dispute::Event::Data::WorkflowEventData::stage
|
|
156
|
-
|
|
157
|
-
def initialize: (
|
|
158
|
-
action: Lithic::Models::Dispute::Event::Data::WorkflowEventData::action,
|
|
159
|
-
amount: Integer?,
|
|
160
|
-
disposition: Lithic::Models::Dispute::Event::Data::WorkflowEventData::disposition?,
|
|
161
|
-
reason: String?,
|
|
162
|
-
stage: Lithic::Models::Dispute::Event::Data::WorkflowEventData::stage
|
|
163
|
-
) -> void
|
|
164
|
-
|
|
165
|
-
def to_hash: -> {
|
|
166
|
-
action: Lithic::Models::Dispute::Event::Data::WorkflowEventData::action,
|
|
167
|
-
amount: Integer?,
|
|
168
|
-
disposition: Lithic::Models::Dispute::Event::Data::WorkflowEventData::disposition?,
|
|
169
|
-
reason: String?,
|
|
170
|
-
stage: Lithic::Models::Dispute::Event::Data::WorkflowEventData::stage
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
type action = :OPENED | :CLOSED | :REOPENED
|
|
174
|
-
|
|
175
|
-
module Action
|
|
176
|
-
extend Lithic::Internal::Type::Enum
|
|
177
|
-
|
|
178
|
-
OPENED: :OPENED
|
|
179
|
-
CLOSED: :CLOSED
|
|
180
|
-
REOPENED: :REOPENED
|
|
181
|
-
|
|
182
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::WorkflowEventData::action]
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
type disposition =
|
|
186
|
-
:WON | :LOST | :PARTIALLY_WON | :WITHDRAWN | :DENIED
|
|
187
|
-
|
|
188
|
-
module Disposition
|
|
189
|
-
extend Lithic::Internal::Type::Enum
|
|
190
|
-
|
|
191
|
-
WON: :WON
|
|
192
|
-
LOST: :LOST
|
|
193
|
-
PARTIALLY_WON: :PARTIALLY_WON
|
|
194
|
-
WITHDRAWN: :WITHDRAWN
|
|
195
|
-
DENIED: :DENIED
|
|
196
|
-
|
|
197
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::WorkflowEventData::disposition]
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
type stage = :CLAIM
|
|
201
|
-
|
|
202
|
-
module Stage
|
|
203
|
-
extend Lithic::Internal::Type::Enum
|
|
204
|
-
|
|
205
|
-
CLAIM: :CLAIM
|
|
206
|
-
|
|
207
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::WorkflowEventData::stage]
|
|
208
|
-
end
|
|
209
|
-
end
|
|
210
|
-
|
|
211
|
-
type financial_event_data =
|
|
212
|
-
{
|
|
213
|
-
amount: Integer,
|
|
214
|
-
polarity: Lithic::Models::Dispute::Event::Data::FinancialEventData::polarity,
|
|
215
|
-
stage: Lithic::Models::Dispute::Event::Data::FinancialEventData::stage
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
class FinancialEventData < Lithic::Internal::Type::BaseModel
|
|
219
|
-
attr_accessor amount: Integer
|
|
220
|
-
|
|
221
|
-
attr_accessor polarity: Lithic::Models::Dispute::Event::Data::FinancialEventData::polarity
|
|
222
|
-
|
|
223
|
-
attr_accessor stage: Lithic::Models::Dispute::Event::Data::FinancialEventData::stage
|
|
224
|
-
|
|
225
|
-
def initialize: (
|
|
226
|
-
amount: Integer,
|
|
227
|
-
polarity: Lithic::Models::Dispute::Event::Data::FinancialEventData::polarity,
|
|
228
|
-
stage: Lithic::Models::Dispute::Event::Data::FinancialEventData::stage
|
|
229
|
-
) -> void
|
|
230
|
-
|
|
231
|
-
def to_hash: -> {
|
|
232
|
-
amount: Integer,
|
|
233
|
-
polarity: Lithic::Models::Dispute::Event::Data::FinancialEventData::polarity,
|
|
234
|
-
stage: Lithic::Models::Dispute::Event::Data::FinancialEventData::stage
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
type polarity = :CREDIT | :DEBIT
|
|
238
|
-
|
|
239
|
-
module Polarity
|
|
240
|
-
extend Lithic::Internal::Type::Enum
|
|
241
|
-
|
|
242
|
-
CREDIT: :CREDIT
|
|
243
|
-
DEBIT: :DEBIT
|
|
244
|
-
|
|
245
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::FinancialEventData::polarity]
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
type stage =
|
|
249
|
-
:CHARGEBACK
|
|
250
|
-
| :REPRESENTMENT
|
|
251
|
-
| :PREARBITRATION
|
|
252
|
-
| :ARBITRATION
|
|
253
|
-
| :COLLABORATION
|
|
254
|
-
|
|
255
|
-
module Stage
|
|
256
|
-
extend Lithic::Internal::Type::Enum
|
|
257
|
-
|
|
258
|
-
CHARGEBACK: :CHARGEBACK
|
|
259
|
-
REPRESENTMENT: :REPRESENTMENT
|
|
260
|
-
PREARBITRATION: :PREARBITRATION
|
|
261
|
-
ARBITRATION: :ARBITRATION
|
|
262
|
-
COLLABORATION: :COLLABORATION
|
|
263
|
-
|
|
264
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::FinancialEventData::stage]
|
|
265
|
-
end
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
type cardholder_liability_event_data =
|
|
269
|
-
{
|
|
270
|
-
action: Lithic::Models::Dispute::Event::Data::CardholderLiabilityEventData::action,
|
|
271
|
-
amount: Integer,
|
|
272
|
-
reason: String
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
class CardholderLiabilityEventData < Lithic::Internal::Type::BaseModel
|
|
276
|
-
attr_accessor action: Lithic::Models::Dispute::Event::Data::CardholderLiabilityEventData::action
|
|
277
|
-
|
|
278
|
-
attr_accessor amount: Integer
|
|
279
|
-
|
|
280
|
-
attr_accessor reason: String
|
|
281
|
-
|
|
282
|
-
def initialize: (
|
|
283
|
-
action: Lithic::Models::Dispute::Event::Data::CardholderLiabilityEventData::action,
|
|
284
|
-
amount: Integer,
|
|
285
|
-
reason: String
|
|
286
|
-
) -> void
|
|
287
|
-
|
|
288
|
-
def to_hash: -> {
|
|
289
|
-
action: Lithic::Models::Dispute::Event::Data::CardholderLiabilityEventData::action,
|
|
290
|
-
amount: Integer,
|
|
291
|
-
reason: String
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
type action =
|
|
295
|
-
:PROVISIONAL_CREDIT_GRANTED
|
|
296
|
-
| :PROVISIONAL_CREDIT_REVERSED
|
|
297
|
-
| :WRITTEN_OFF
|
|
298
|
-
|
|
299
|
-
module Action
|
|
300
|
-
extend Lithic::Internal::Type::Enum
|
|
301
|
-
|
|
302
|
-
PROVISIONAL_CREDIT_GRANTED: :PROVISIONAL_CREDIT_GRANTED
|
|
303
|
-
PROVISIONAL_CREDIT_REVERSED: :PROVISIONAL_CREDIT_REVERSED
|
|
304
|
-
WRITTEN_OFF: :WRITTEN_OFF
|
|
305
|
-
|
|
306
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::Data::CardholderLiabilityEventData::action]
|
|
307
|
-
end
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
def self?.variants: -> ::Array[Lithic::Models::Dispute::Event::data]
|
|
311
|
-
end
|
|
312
|
-
|
|
313
|
-
type type_ = :WORKFLOW | :FINANCIAL | :CARDHOLDER_LIABILITY
|
|
314
|
-
|
|
315
|
-
module Type
|
|
316
|
-
extend Lithic::Internal::Type::Enum
|
|
317
|
-
|
|
318
|
-
WORKFLOW: :WORKFLOW
|
|
319
|
-
FINANCIAL: :FINANCIAL
|
|
320
|
-
CARDHOLDER_LIABILITY: :CARDHOLDER_LIABILITY
|
|
321
|
-
|
|
322
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::Event::type_]
|
|
323
|
-
end
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
type liability_allocation =
|
|
327
|
-
{
|
|
328
|
-
denied_amount: Integer,
|
|
329
|
-
original_amount: Integer,
|
|
330
|
-
recovered_amount: Integer,
|
|
331
|
-
remaining_amount: Integer,
|
|
332
|
-
written_off_amount: Integer
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
class LiabilityAllocation < Lithic::Internal::Type::BaseModel
|
|
336
|
-
attr_accessor denied_amount: Integer
|
|
337
|
-
|
|
338
|
-
attr_accessor original_amount: Integer
|
|
339
|
-
|
|
340
|
-
attr_accessor recovered_amount: Integer
|
|
341
|
-
|
|
342
|
-
attr_accessor remaining_amount: Integer
|
|
343
|
-
|
|
344
|
-
attr_accessor written_off_amount: Integer
|
|
345
|
-
|
|
346
|
-
def initialize: (
|
|
347
|
-
denied_amount: Integer,
|
|
348
|
-
original_amount: Integer,
|
|
349
|
-
recovered_amount: Integer,
|
|
350
|
-
remaining_amount: Integer,
|
|
351
|
-
written_off_amount: Integer
|
|
352
|
-
) -> void
|
|
353
|
-
|
|
354
|
-
def to_hash: -> {
|
|
355
|
-
denied_amount: Integer,
|
|
356
|
-
original_amount: Integer,
|
|
357
|
-
recovered_amount: Integer,
|
|
358
|
-
remaining_amount: Integer,
|
|
359
|
-
written_off_amount: Integer
|
|
360
|
-
}
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
type merchant =
|
|
364
|
-
{
|
|
365
|
-
acceptor_id: String,
|
|
366
|
-
acquiring_institution_id: String,
|
|
367
|
-
city: String,
|
|
368
|
-
country: String,
|
|
369
|
-
descriptor: String,
|
|
370
|
-
mcc: String,
|
|
371
|
-
state: String
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
|
375
|
-
attr_accessor acceptor_id: String
|
|
376
|
-
|
|
377
|
-
attr_accessor acquiring_institution_id: String
|
|
378
|
-
|
|
379
|
-
attr_accessor city: String
|
|
380
|
-
|
|
381
|
-
attr_accessor country: String
|
|
382
|
-
|
|
383
|
-
attr_accessor descriptor: String
|
|
384
|
-
|
|
385
|
-
attr_accessor mcc: String
|
|
386
|
-
|
|
387
|
-
attr_accessor state: String
|
|
388
|
-
|
|
389
|
-
def initialize: (
|
|
390
|
-
acceptor_id: String,
|
|
391
|
-
acquiring_institution_id: String,
|
|
392
|
-
city: String,
|
|
393
|
-
country: String,
|
|
394
|
-
descriptor: String,
|
|
395
|
-
mcc: String,
|
|
396
|
-
state: String
|
|
397
|
-
) -> void
|
|
398
|
-
|
|
399
|
-
def to_hash: -> {
|
|
400
|
-
acceptor_id: String,
|
|
401
|
-
acquiring_institution_id: String,
|
|
402
|
-
city: String,
|
|
403
|
-
country: String,
|
|
404
|
-
descriptor: String,
|
|
405
|
-
mcc: String,
|
|
406
|
-
state: String
|
|
407
|
-
}
|
|
408
|
-
end
|
|
409
|
-
|
|
410
|
-
type network = :VISA | :MASTERCARD
|
|
411
|
-
|
|
412
|
-
module Network
|
|
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
|
|
413
161
|
extend Lithic::Internal::Type::Enum
|
|
414
162
|
|
|
415
|
-
|
|
416
|
-
|
|
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
|
|
417
180
|
|
|
418
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::
|
|
181
|
+
def self?.values: -> ::Array[Lithic::Models::Dispute::resolution_reason]
|
|
419
182
|
end
|
|
420
183
|
|
|
421
|
-
type status =
|
|
184
|
+
type status =
|
|
185
|
+
:ARBITRATION
|
|
186
|
+
| :CASE_CLOSED
|
|
187
|
+
| :CASE_WON
|
|
188
|
+
| :NEW
|
|
189
|
+
| :PENDING_CUSTOMER
|
|
190
|
+
| :PREARBITRATION
|
|
191
|
+
| :REPRESENTMENT
|
|
192
|
+
| :SUBMITTED
|
|
422
193
|
|
|
423
194
|
module Status
|
|
424
195
|
extend Lithic::Internal::Type::Enum
|
|
425
196
|
|
|
426
|
-
|
|
427
|
-
|
|
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
|
|
428
205
|
|
|
429
206
|
def self?.values: -> ::Array[Lithic::Models::Dispute::status]
|
|
430
207
|
end
|
|
431
|
-
|
|
432
|
-
type transaction_series =
|
|
433
|
-
{
|
|
434
|
-
related_transaction_event_token: String?,
|
|
435
|
-
related_transaction_token: String,
|
|
436
|
-
type: Lithic::Models::Dispute::TransactionSeries::type_
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
|
440
|
-
attr_accessor related_transaction_event_token: String?
|
|
441
|
-
|
|
442
|
-
attr_accessor related_transaction_token: String
|
|
443
|
-
|
|
444
|
-
attr_accessor type: Lithic::Models::Dispute::TransactionSeries::type_
|
|
445
|
-
|
|
446
|
-
def initialize: (
|
|
447
|
-
related_transaction_event_token: String?,
|
|
448
|
-
related_transaction_token: String,
|
|
449
|
-
type: Lithic::Models::Dispute::TransactionSeries::type_
|
|
450
|
-
) -> void
|
|
451
|
-
|
|
452
|
-
def to_hash: -> {
|
|
453
|
-
related_transaction_event_token: String?,
|
|
454
|
-
related_transaction_token: String,
|
|
455
|
-
type: Lithic::Models::Dispute::TransactionSeries::type_
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
type type_ = :DISPUTE
|
|
459
|
-
|
|
460
|
-
module Type
|
|
461
|
-
extend Lithic::Internal::Type::Enum
|
|
462
|
-
|
|
463
|
-
DISPUTE: :DISPUTE
|
|
464
|
-
|
|
465
|
-
def self?.values: -> ::Array[Lithic::Models::Dispute::TransactionSeries::type_]
|
|
466
|
-
end
|
|
467
|
-
end
|
|
468
208
|
end
|
|
469
209
|
end
|
|
470
210
|
end
|