lithic 0.19.0 → 0.20.0
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 +36 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +2 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
- data/lib/lithic/models/blockchain_recipient.rb +148 -0
- data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +10 -8
- data/lib/lithic/models/card_reassign_account_params.rb +29 -0
- data/lib/lithic/models/dispute_v2.rb +178 -130
- data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
- data/lib/lithic/models/financial_account.rb +14 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -0
- data/lib/lithic/models/financial_event.rb +3 -0
- data/lib/lithic/models/payment.rb +67 -9
- data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/blockchain_recipients.rb +57 -0
- data/lib/lithic/resources/cards.rb +29 -2
- data/lib/lithic/resources/disputes_v2.rb +3 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
- data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
- data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
- data/rbi/lithic/models/card.rbi +2 -2
- data/rbi/lithic/models/card_provision_params.rbi +16 -12
- data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
- data/rbi/lithic/models/dispute_v2.rbi +285 -181
- data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -0
- data/rbi/lithic/models/financial_account.rbi +12 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +15 -0
- data/rbi/lithic/models/financial_event.rbi +12 -0
- data/rbi/lithic/models/payment.rbi +106 -10
- data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +51 -0
- data/rbi/lithic/resources/cards.rbi +27 -6
- data/rbi/lithic/resources/disputes_v2.rbi +4 -0
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +3 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +4 -2
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
- data/sig/lithic/models/blockchain_recipient.rbs +106 -0
- data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -0
- data/sig/lithic/models/card_reassign_account_params.rbs +28 -0
- data/sig/lithic/models/dispute_v2.rbs +145 -101
- data/sig/lithic/models/disputes_v2_list_params.rbs +7 -0
- data/sig/lithic/models/financial_account.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -0
- data/sig/lithic/models/financial_event.rbs +6 -0
- data/sig/lithic/models/payment.rbs +31 -1
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +18 -0
- data/sig/lithic/resources/cards.rbs +6 -0
- data/sig/lithic/resources/disputes_v2.rbs +1 -0
- metadata +14 -2
|
@@ -71,13 +71,14 @@ module Lithic
|
|
|
71
71
|
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
type scope = :CARD | :ACCOUNT
|
|
74
|
+
type scope = :CARD | :ACCOUNT | :PROGRAM
|
|
75
75
|
|
|
76
76
|
module Scope
|
|
77
77
|
extend Lithic::Internal::Type::Enum
|
|
78
78
|
|
|
79
79
|
CARD: :CARD
|
|
80
80
|
ACCOUNT: :ACCOUNT
|
|
81
|
+
PROGRAM: :PROGRAM
|
|
81
82
|
|
|
82
83
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope]
|
|
83
84
|
end
|
|
@@ -1078,13 +1078,14 @@ module Lithic
|
|
|
1078
1078
|
explanation: String
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
type scope = :CARD | :ACCOUNT
|
|
1081
|
+
type scope = :CARD | :ACCOUNT | :PROGRAM
|
|
1082
1082
|
|
|
1083
1083
|
module Scope
|
|
1084
1084
|
extend Lithic::Internal::Type::Enum
|
|
1085
1085
|
|
|
1086
1086
|
CARD: :CARD
|
|
1087
1087
|
ACCOUNT: :ACCOUNT
|
|
1088
|
+
PROGRAM: :PROGRAM
|
|
1088
1089
|
|
|
1089
1090
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListResultsResponse::CardTransactionUpdateResult::Action::CreateCaseAction::scope]
|
|
1090
1091
|
end
|
|
@@ -1255,12 +1256,13 @@ module Lithic
|
|
|
1255
1256
|
explanation: String
|
|
1256
1257
|
}
|
|
1257
1258
|
|
|
1258
|
-
type scope = :FINANCIAL_ACCOUNT
|
|
1259
|
+
type scope = :FINANCIAL_ACCOUNT | :PROGRAM
|
|
1259
1260
|
|
|
1260
1261
|
module Scope
|
|
1261
1262
|
extend Lithic::Internal::Type::Enum
|
|
1262
1263
|
|
|
1263
1264
|
FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
|
|
1265
|
+
PROGRAM: :PROGRAM
|
|
1264
1266
|
|
|
1265
1267
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListResultsResponse::ACHPaymentUpdateResult::Action::CreateCaseAction::scope]
|
|
1266
1268
|
end
|
|
@@ -7,6 +7,8 @@ module Lithic
|
|
|
7
7
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
8
8
|
filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
9
9
|
limit_amount: Integer?,
|
|
10
|
+
limit_cash_amount: Integer?,
|
|
11
|
+
limit_cash_count: Integer?,
|
|
10
12
|
limit_count: Integer?
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -23,6 +25,10 @@ module Lithic
|
|
|
23
25
|
|
|
24
26
|
attr_accessor limit_amount: Integer?
|
|
25
27
|
|
|
28
|
+
attr_accessor limit_cash_amount: Integer?
|
|
29
|
+
|
|
30
|
+
attr_accessor limit_cash_count: Integer?
|
|
31
|
+
|
|
26
32
|
attr_accessor limit_count: Integer?
|
|
27
33
|
|
|
28
34
|
def initialize: (
|
|
@@ -30,6 +36,8 @@ module Lithic
|
|
|
30
36
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
31
37
|
?filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
32
38
|
?limit_amount: Integer?,
|
|
39
|
+
?limit_cash_amount: Integer?,
|
|
40
|
+
?limit_cash_count: Integer?,
|
|
33
41
|
?limit_count: Integer?
|
|
34
42
|
) -> void
|
|
35
43
|
|
|
@@ -38,6 +46,8 @@ module Lithic
|
|
|
38
46
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
39
47
|
filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
40
48
|
limit_amount: Integer?,
|
|
49
|
+
limit_cash_amount: Integer?,
|
|
50
|
+
limit_cash_count: Integer?,
|
|
41
51
|
limit_count: Integer?
|
|
42
52
|
}
|
|
43
53
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type blockchain_recipient =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
account_token: String?,
|
|
7
|
+
address_tag: String?,
|
|
8
|
+
chain: String,
|
|
9
|
+
created: Time,
|
|
10
|
+
external_id: String?,
|
|
11
|
+
name: String?,
|
|
12
|
+
owner: String,
|
|
13
|
+
owner_type: Lithic::Models::owner_type,
|
|
14
|
+
program_id: String,
|
|
15
|
+
state: Lithic::Models::BlockchainRecipient::state,
|
|
16
|
+
updated: Time,
|
|
17
|
+
verification_state: Lithic::Models::BlockchainRecipient::verification_state
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class BlockchainRecipient < Lithic::Internal::Type::BaseModel
|
|
21
|
+
attr_accessor token: String
|
|
22
|
+
|
|
23
|
+
attr_accessor account_token: String?
|
|
24
|
+
|
|
25
|
+
attr_accessor address_tag: String?
|
|
26
|
+
|
|
27
|
+
attr_accessor chain: String
|
|
28
|
+
|
|
29
|
+
attr_accessor created: Time
|
|
30
|
+
|
|
31
|
+
attr_accessor external_id: String?
|
|
32
|
+
|
|
33
|
+
attr_accessor name: String?
|
|
34
|
+
|
|
35
|
+
attr_accessor owner: String
|
|
36
|
+
|
|
37
|
+
attr_accessor owner_type: Lithic::Models::owner_type
|
|
38
|
+
|
|
39
|
+
attr_accessor program_id: String
|
|
40
|
+
|
|
41
|
+
attr_accessor state: Lithic::Models::BlockchainRecipient::state
|
|
42
|
+
|
|
43
|
+
attr_accessor updated: Time
|
|
44
|
+
|
|
45
|
+
attr_accessor verification_state: Lithic::Models::BlockchainRecipient::verification_state
|
|
46
|
+
|
|
47
|
+
def initialize: (
|
|
48
|
+
token: String,
|
|
49
|
+
account_token: String?,
|
|
50
|
+
address_tag: String?,
|
|
51
|
+
chain: String,
|
|
52
|
+
created: Time,
|
|
53
|
+
external_id: String?,
|
|
54
|
+
name: String?,
|
|
55
|
+
owner: String,
|
|
56
|
+
owner_type: Lithic::Models::owner_type,
|
|
57
|
+
program_id: String,
|
|
58
|
+
state: Lithic::Models::BlockchainRecipient::state,
|
|
59
|
+
updated: Time,
|
|
60
|
+
verification_state: Lithic::Models::BlockchainRecipient::verification_state
|
|
61
|
+
) -> void
|
|
62
|
+
|
|
63
|
+
def to_hash: -> {
|
|
64
|
+
token: String,
|
|
65
|
+
account_token: String?,
|
|
66
|
+
address_tag: String?,
|
|
67
|
+
chain: String,
|
|
68
|
+
created: Time,
|
|
69
|
+
external_id: String?,
|
|
70
|
+
name: String?,
|
|
71
|
+
owner: String,
|
|
72
|
+
owner_type: Lithic::Models::owner_type,
|
|
73
|
+
program_id: String,
|
|
74
|
+
state: Lithic::Models::BlockchainRecipient::state,
|
|
75
|
+
updated: Time,
|
|
76
|
+
verification_state: Lithic::Models::BlockchainRecipient::verification_state
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type state = :ENABLED | :CLOSED | :PAUSED
|
|
80
|
+
|
|
81
|
+
module State
|
|
82
|
+
extend Lithic::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
ENABLED: :ENABLED
|
|
85
|
+
CLOSED: :CLOSED
|
|
86
|
+
PAUSED: :PAUSED
|
|
87
|
+
|
|
88
|
+
def self?.values: -> ::Array[Lithic::Models::BlockchainRecipient::state]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type verification_state =
|
|
92
|
+
:PENDING | :ENABLED | :FAILED_VERIFICATION | :INSUFFICIENT_FUNDS
|
|
93
|
+
|
|
94
|
+
module VerificationState
|
|
95
|
+
extend Lithic::Internal::Type::Enum
|
|
96
|
+
|
|
97
|
+
PENDING: :PENDING
|
|
98
|
+
ENABLED: :ENABLED
|
|
99
|
+
FAILED_VERIFICATION: :FAILED_VERIFICATION
|
|
100
|
+
INSUFFICIENT_FUNDS: :INSUFFICIENT_FUNDS
|
|
101
|
+
|
|
102
|
+
def self?.values: -> ::Array[Lithic::Models::BlockchainRecipient::verification_state]
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type blockchain_recipient_create_params =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
address: String,
|
|
7
|
+
chain: String,
|
|
8
|
+
owner: String,
|
|
9
|
+
owner_type: Lithic::Models::owner_type,
|
|
10
|
+
address_tag: String,
|
|
11
|
+
name: String
|
|
12
|
+
}
|
|
13
|
+
& Lithic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class BlockchainRecipientCreateParams < Lithic::Internal::Type::BaseModel
|
|
16
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Lithic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor account_token: String
|
|
20
|
+
|
|
21
|
+
attr_accessor address: String
|
|
22
|
+
|
|
23
|
+
attr_accessor chain: String
|
|
24
|
+
|
|
25
|
+
attr_accessor owner: String
|
|
26
|
+
|
|
27
|
+
attr_accessor owner_type: Lithic::Models::owner_type
|
|
28
|
+
|
|
29
|
+
attr_reader address_tag: String?
|
|
30
|
+
|
|
31
|
+
def address_tag=: (String) -> String
|
|
32
|
+
|
|
33
|
+
attr_reader name: String?
|
|
34
|
+
|
|
35
|
+
def name=: (String) -> String
|
|
36
|
+
|
|
37
|
+
def initialize: (
|
|
38
|
+
account_token: String,
|
|
39
|
+
address: String,
|
|
40
|
+
chain: String,
|
|
41
|
+
owner: String,
|
|
42
|
+
owner_type: Lithic::Models::owner_type,
|
|
43
|
+
?address_tag: String,
|
|
44
|
+
?name: String,
|
|
45
|
+
?request_options: Lithic::request_opts
|
|
46
|
+
) -> void
|
|
47
|
+
|
|
48
|
+
def to_hash: -> {
|
|
49
|
+
account_token: String,
|
|
50
|
+
address: String,
|
|
51
|
+
chain: String,
|
|
52
|
+
owner: String,
|
|
53
|
+
owner_type: Lithic::Models::owner_type,
|
|
54
|
+
address_tag: String,
|
|
55
|
+
name: String,
|
|
56
|
+
request_options: Lithic::RequestOptions
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_reassign_account_params =
|
|
4
|
+
{ card_token: String, new_account_token: String }
|
|
5
|
+
& Lithic::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class CardReassignAccountParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor card_token: String
|
|
12
|
+
|
|
13
|
+
attr_accessor new_account_token: String
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
card_token: String,
|
|
17
|
+
new_account_token: String,
|
|
18
|
+
?request_options: Lithic::request_opts
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
card_token: String,
|
|
23
|
+
new_account_token: String,
|
|
24
|
+
request_options: Lithic::RequestOptions
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -6,10 +6,11 @@ module Lithic
|
|
|
6
6
|
account_token: String,
|
|
7
7
|
card_token: String,
|
|
8
8
|
case_id: String?,
|
|
9
|
+
claim_token: String?,
|
|
9
10
|
created: Time,
|
|
10
11
|
currency: String,
|
|
11
12
|
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
12
|
-
events: ::Array[Lithic::DisputeV2::
|
|
13
|
+
events: ::Array[Lithic::Models::DisputeV2::event],
|
|
13
14
|
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
14
15
|
merchant: Lithic::Merchant,
|
|
15
16
|
network: Lithic::Models::DisputeV2::network,
|
|
@@ -27,13 +28,15 @@ module Lithic
|
|
|
27
28
|
|
|
28
29
|
attr_accessor case_id: String?
|
|
29
30
|
|
|
31
|
+
attr_accessor claim_token: String?
|
|
32
|
+
|
|
30
33
|
attr_accessor created: Time
|
|
31
34
|
|
|
32
35
|
attr_accessor currency: String
|
|
33
36
|
|
|
34
37
|
attr_accessor disposition: Lithic::Models::DisputeV2::disposition?
|
|
35
38
|
|
|
36
|
-
attr_accessor events: ::Array[Lithic::DisputeV2::
|
|
39
|
+
attr_accessor events: ::Array[Lithic::Models::DisputeV2::event]
|
|
37
40
|
|
|
38
41
|
attr_accessor liability_allocation: Lithic::DisputeV2::LiabilityAllocation
|
|
39
42
|
|
|
@@ -52,10 +55,11 @@ module Lithic
|
|
|
52
55
|
account_token: String,
|
|
53
56
|
card_token: String,
|
|
54
57
|
case_id: String?,
|
|
58
|
+
claim_token: String?,
|
|
55
59
|
created: Time,
|
|
56
60
|
currency: String,
|
|
57
61
|
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
58
|
-
events: ::Array[Lithic::DisputeV2::
|
|
62
|
+
events: ::Array[Lithic::Models::DisputeV2::event],
|
|
59
63
|
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
60
64
|
merchant: Lithic::Merchant,
|
|
61
65
|
network: Lithic::Models::DisputeV2::network,
|
|
@@ -69,10 +73,11 @@ module Lithic
|
|
|
69
73
|
account_token: String,
|
|
70
74
|
card_token: String,
|
|
71
75
|
case_id: String?,
|
|
76
|
+
claim_token: String?,
|
|
72
77
|
created: Time,
|
|
73
78
|
currency: String,
|
|
74
79
|
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
75
|
-
events: ::Array[Lithic::DisputeV2::
|
|
80
|
+
events: ::Array[Lithic::Models::DisputeV2::event],
|
|
76
81
|
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
77
82
|
merchant: Lithic::Merchant,
|
|
78
83
|
network: Lithic::Models::DisputeV2::network,
|
|
@@ -96,83 +101,78 @@ module Lithic
|
|
|
96
101
|
end
|
|
97
102
|
|
|
98
103
|
type event =
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
data: Lithic::Models::DisputeV2::Event::data,
|
|
103
|
-
type: Lithic::Models::DisputeV2::Event::type_
|
|
104
|
-
}
|
|
104
|
+
Lithic::DisputeV2::Event::Workflow
|
|
105
|
+
| Lithic::DisputeV2::Event::Financial
|
|
106
|
+
| Lithic::DisputeV2::Event::CardholderLiability
|
|
105
107
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
module Event
|
|
109
|
+
extend Lithic::Internal::Type::Union
|
|
108
110
|
|
|
109
|
-
|
|
111
|
+
type workflow =
|
|
112
|
+
{
|
|
113
|
+
token: String,
|
|
114
|
+
created: Time,
|
|
115
|
+
data: Lithic::DisputeV2::Event::Workflow::Data,
|
|
116
|
+
type: :WORKFLOW
|
|
117
|
+
}
|
|
110
118
|
|
|
111
|
-
|
|
119
|
+
class Workflow < Lithic::Internal::Type::BaseModel
|
|
120
|
+
attr_accessor token: String
|
|
112
121
|
|
|
113
|
-
|
|
122
|
+
attr_accessor created: Time
|
|
114
123
|
|
|
115
|
-
|
|
116
|
-
token: String,
|
|
117
|
-
created: Time,
|
|
118
|
-
data: Lithic::Models::DisputeV2::Event::data,
|
|
119
|
-
type: Lithic::Models::DisputeV2::Event::type_
|
|
120
|
-
) -> void
|
|
124
|
+
attr_accessor data: Lithic::DisputeV2::Event::Workflow::Data
|
|
121
125
|
|
|
122
|
-
|
|
123
|
-
token: String,
|
|
124
|
-
created: Time,
|
|
125
|
-
data: Lithic::Models::DisputeV2::Event::data,
|
|
126
|
-
type: Lithic::Models::DisputeV2::Event::type_
|
|
127
|
-
}
|
|
126
|
+
attr_accessor type: :WORKFLOW
|
|
128
127
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
128
|
+
def initialize: (
|
|
129
|
+
token: String,
|
|
130
|
+
created: Time,
|
|
131
|
+
data: Lithic::DisputeV2::Event::Workflow::Data,
|
|
132
|
+
?type: :WORKFLOW
|
|
133
|
+
) -> void
|
|
133
134
|
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
def to_hash: -> {
|
|
136
|
+
token: String,
|
|
137
|
+
created: Time,
|
|
138
|
+
data: Lithic::DisputeV2::Event::Workflow::Data,
|
|
139
|
+
type: :WORKFLOW
|
|
140
|
+
}
|
|
136
141
|
|
|
137
|
-
type
|
|
142
|
+
type data =
|
|
138
143
|
{
|
|
139
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
144
|
+
action: Lithic::Models::DisputeV2::Event::Workflow::Data::action,
|
|
140
145
|
amount: Integer?,
|
|
141
|
-
disposition: Lithic::Models::DisputeV2::Event::Data::
|
|
146
|
+
disposition: Lithic::Models::DisputeV2::Event::Workflow::Data::disposition?,
|
|
142
147
|
reason: String?,
|
|
143
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
144
|
-
type: :WORKFLOW
|
|
148
|
+
stage: Lithic::Models::DisputeV2::Event::Workflow::Data::stage
|
|
145
149
|
}
|
|
146
150
|
|
|
147
|
-
class
|
|
148
|
-
attr_accessor action: Lithic::Models::DisputeV2::Event::Data::
|
|
151
|
+
class Data < Lithic::Internal::Type::BaseModel
|
|
152
|
+
attr_accessor action: Lithic::Models::DisputeV2::Event::Workflow::Data::action
|
|
149
153
|
|
|
150
154
|
attr_accessor amount: Integer?
|
|
151
155
|
|
|
152
|
-
attr_accessor disposition: Lithic::Models::DisputeV2::Event::Data::
|
|
156
|
+
attr_accessor disposition: Lithic::Models::DisputeV2::Event::Workflow::Data::disposition?
|
|
153
157
|
|
|
154
158
|
attr_accessor reason: String?
|
|
155
159
|
|
|
156
|
-
attr_accessor stage: Lithic::Models::DisputeV2::Event::Data::
|
|
157
|
-
|
|
158
|
-
attr_accessor type: :WORKFLOW
|
|
160
|
+
attr_accessor stage: Lithic::Models::DisputeV2::Event::Workflow::Data::stage
|
|
159
161
|
|
|
160
162
|
def initialize: (
|
|
161
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
163
|
+
action: Lithic::Models::DisputeV2::Event::Workflow::Data::action,
|
|
162
164
|
amount: Integer?,
|
|
163
|
-
disposition: Lithic::Models::DisputeV2::Event::Data::
|
|
165
|
+
disposition: Lithic::Models::DisputeV2::Event::Workflow::Data::disposition?,
|
|
164
166
|
reason: String?,
|
|
165
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
166
|
-
?type: :WORKFLOW
|
|
167
|
+
stage: Lithic::Models::DisputeV2::Event::Workflow::Data::stage
|
|
167
168
|
) -> void
|
|
168
169
|
|
|
169
170
|
def to_hash: -> {
|
|
170
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
171
|
+
action: Lithic::Models::DisputeV2::Event::Workflow::Data::action,
|
|
171
172
|
amount: Integer?,
|
|
172
|
-
disposition: Lithic::Models::DisputeV2::Event::Data::
|
|
173
|
+
disposition: Lithic::Models::DisputeV2::Event::Workflow::Data::disposition?,
|
|
173
174
|
reason: String?,
|
|
174
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
175
|
-
type: :WORKFLOW
|
|
175
|
+
stage: Lithic::Models::DisputeV2::Event::Workflow::Data::stage
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
type action = :OPENED | :CLOSED | :REOPENED
|
|
@@ -184,7 +184,7 @@ module Lithic
|
|
|
184
184
|
CLOSED: :CLOSED
|
|
185
185
|
REOPENED: :REOPENED
|
|
186
186
|
|
|
187
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
187
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Workflow::Data::action]
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
type disposition =
|
|
@@ -199,7 +199,7 @@ module Lithic
|
|
|
199
199
|
WITHDRAWN: :WITHDRAWN
|
|
200
200
|
DENIED: :DENIED
|
|
201
201
|
|
|
202
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
202
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Workflow::Data::disposition]
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
type stage = :CLAIM
|
|
@@ -209,39 +209,66 @@ module Lithic
|
|
|
209
209
|
|
|
210
210
|
CLAIM: :CLAIM
|
|
211
211
|
|
|
212
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
212
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Workflow::Data::stage]
|
|
213
213
|
end
|
|
214
214
|
end
|
|
215
|
+
end
|
|
215
216
|
|
|
216
|
-
|
|
217
|
+
type financial =
|
|
218
|
+
{
|
|
219
|
+
token: String,
|
|
220
|
+
created: Time,
|
|
221
|
+
data: Lithic::DisputeV2::Event::Financial::Data,
|
|
222
|
+
type: :FINANCIAL
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
class Financial < Lithic::Internal::Type::BaseModel
|
|
226
|
+
attr_accessor token: String
|
|
227
|
+
|
|
228
|
+
attr_accessor created: Time
|
|
229
|
+
|
|
230
|
+
attr_accessor data: Lithic::DisputeV2::Event::Financial::Data
|
|
231
|
+
|
|
232
|
+
attr_accessor type: :FINANCIAL
|
|
233
|
+
|
|
234
|
+
def initialize: (
|
|
235
|
+
token: String,
|
|
236
|
+
created: Time,
|
|
237
|
+
data: Lithic::DisputeV2::Event::Financial::Data,
|
|
238
|
+
?type: :FINANCIAL
|
|
239
|
+
) -> void
|
|
240
|
+
|
|
241
|
+
def to_hash: -> {
|
|
242
|
+
token: String,
|
|
243
|
+
created: Time,
|
|
244
|
+
data: Lithic::DisputeV2::Event::Financial::Data,
|
|
245
|
+
type: :FINANCIAL
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
type data =
|
|
217
249
|
{
|
|
218
250
|
amount: Integer,
|
|
219
|
-
polarity: Lithic::Models::DisputeV2::Event::Data::
|
|
220
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
221
|
-
type: :FINANCIAL
|
|
251
|
+
polarity: Lithic::Models::DisputeV2::Event::Financial::Data::polarity,
|
|
252
|
+
stage: Lithic::Models::DisputeV2::Event::Financial::Data::stage
|
|
222
253
|
}
|
|
223
254
|
|
|
224
|
-
class
|
|
255
|
+
class Data < Lithic::Internal::Type::BaseModel
|
|
225
256
|
attr_accessor amount: Integer
|
|
226
257
|
|
|
227
|
-
attr_accessor polarity: Lithic::Models::DisputeV2::Event::Data::
|
|
228
|
-
|
|
229
|
-
attr_accessor stage: Lithic::Models::DisputeV2::Event::Data::Financial::stage
|
|
258
|
+
attr_accessor polarity: Lithic::Models::DisputeV2::Event::Financial::Data::polarity
|
|
230
259
|
|
|
231
|
-
attr_accessor
|
|
260
|
+
attr_accessor stage: Lithic::Models::DisputeV2::Event::Financial::Data::stage
|
|
232
261
|
|
|
233
262
|
def initialize: (
|
|
234
263
|
amount: Integer,
|
|
235
|
-
polarity: Lithic::Models::DisputeV2::Event::Data::
|
|
236
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
237
|
-
?type: :FINANCIAL
|
|
264
|
+
polarity: Lithic::Models::DisputeV2::Event::Financial::Data::polarity,
|
|
265
|
+
stage: Lithic::Models::DisputeV2::Event::Financial::Data::stage
|
|
238
266
|
) -> void
|
|
239
267
|
|
|
240
268
|
def to_hash: -> {
|
|
241
269
|
amount: Integer,
|
|
242
|
-
polarity: Lithic::Models::DisputeV2::Event::Data::
|
|
243
|
-
stage: Lithic::Models::DisputeV2::Event::Data::
|
|
244
|
-
type: :FINANCIAL
|
|
270
|
+
polarity: Lithic::Models::DisputeV2::Event::Financial::Data::polarity,
|
|
271
|
+
stage: Lithic::Models::DisputeV2::Event::Financial::Data::stage
|
|
245
272
|
}
|
|
246
273
|
|
|
247
274
|
type polarity = :CREDIT | :DEBIT
|
|
@@ -252,7 +279,7 @@ module Lithic
|
|
|
252
279
|
CREDIT: :CREDIT
|
|
253
280
|
DEBIT: :DEBIT
|
|
254
281
|
|
|
255
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
282
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Financial::Data::polarity]
|
|
256
283
|
end
|
|
257
284
|
|
|
258
285
|
type stage =
|
|
@@ -271,45 +298,73 @@ module Lithic
|
|
|
271
298
|
ARBITRATION: :ARBITRATION
|
|
272
299
|
COLLABORATION: :COLLABORATION
|
|
273
300
|
|
|
274
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
301
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Financial::Data::stage]
|
|
275
302
|
end
|
|
276
303
|
end
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
type cardholder_liability =
|
|
307
|
+
{
|
|
308
|
+
token: String,
|
|
309
|
+
created: Time,
|
|
310
|
+
data: Lithic::DisputeV2::Event::CardholderLiability::Data,
|
|
311
|
+
type: :CARDHOLDER_LIABILITY
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
class CardholderLiability < Lithic::Internal::Type::BaseModel
|
|
315
|
+
attr_accessor token: String
|
|
316
|
+
|
|
317
|
+
attr_accessor created: Time
|
|
318
|
+
|
|
319
|
+
attr_accessor data: Lithic::DisputeV2::Event::CardholderLiability::Data
|
|
277
320
|
|
|
278
|
-
type
|
|
321
|
+
attr_accessor type: :CARDHOLDER_LIABILITY
|
|
322
|
+
|
|
323
|
+
def initialize: (
|
|
324
|
+
token: String,
|
|
325
|
+
created: Time,
|
|
326
|
+
data: Lithic::DisputeV2::Event::CardholderLiability::Data,
|
|
327
|
+
?type: :CARDHOLDER_LIABILITY
|
|
328
|
+
) -> void
|
|
329
|
+
|
|
330
|
+
def to_hash: -> {
|
|
331
|
+
token: String,
|
|
332
|
+
created: Time,
|
|
333
|
+
data: Lithic::DisputeV2::Event::CardholderLiability::Data,
|
|
334
|
+
type: :CARDHOLDER_LIABILITY
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type data =
|
|
279
338
|
{
|
|
280
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
339
|
+
action: Lithic::Models::DisputeV2::Event::CardholderLiability::Data::action,
|
|
281
340
|
amount: Integer,
|
|
282
|
-
reason: String
|
|
283
|
-
type: :CARDHOLDER_LIABILITY
|
|
341
|
+
reason: String?
|
|
284
342
|
}
|
|
285
343
|
|
|
286
|
-
class
|
|
287
|
-
attr_accessor action: Lithic::Models::DisputeV2::Event::Data::
|
|
344
|
+
class Data < Lithic::Internal::Type::BaseModel
|
|
345
|
+
attr_accessor action: Lithic::Models::DisputeV2::Event::CardholderLiability::Data::action
|
|
288
346
|
|
|
289
347
|
attr_accessor amount: Integer
|
|
290
348
|
|
|
291
|
-
attr_accessor reason: String
|
|
292
|
-
|
|
293
|
-
attr_accessor type: :CARDHOLDER_LIABILITY
|
|
349
|
+
attr_accessor reason: String?
|
|
294
350
|
|
|
295
351
|
def initialize: (
|
|
296
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
352
|
+
action: Lithic::Models::DisputeV2::Event::CardholderLiability::Data::action,
|
|
297
353
|
amount: Integer,
|
|
298
|
-
reason: String
|
|
299
|
-
?type: :CARDHOLDER_LIABILITY
|
|
354
|
+
reason: String?
|
|
300
355
|
) -> void
|
|
301
356
|
|
|
302
357
|
def to_hash: -> {
|
|
303
|
-
action: Lithic::Models::DisputeV2::Event::Data::
|
|
358
|
+
action: Lithic::Models::DisputeV2::Event::CardholderLiability::Data::action,
|
|
304
359
|
amount: Integer,
|
|
305
|
-
reason: String
|
|
306
|
-
type: :CARDHOLDER_LIABILITY
|
|
360
|
+
reason: String?
|
|
307
361
|
}
|
|
308
362
|
|
|
309
363
|
type action =
|
|
310
364
|
:PROVISIONAL_CREDIT_GRANTED
|
|
311
365
|
| :PROVISIONAL_CREDIT_REVERSED
|
|
312
366
|
| :WRITTEN_OFF
|
|
367
|
+
| :WRITE_OFF_REVERSED
|
|
313
368
|
|
|
314
369
|
module Action
|
|
315
370
|
extend Lithic::Internal::Type::Enum
|
|
@@ -317,25 +372,14 @@ module Lithic
|
|
|
317
372
|
PROVISIONAL_CREDIT_GRANTED: :PROVISIONAL_CREDIT_GRANTED
|
|
318
373
|
PROVISIONAL_CREDIT_REVERSED: :PROVISIONAL_CREDIT_REVERSED
|
|
319
374
|
WRITTEN_OFF: :WRITTEN_OFF
|
|
375
|
+
WRITE_OFF_REVERSED: :WRITE_OFF_REVERSED
|
|
320
376
|
|
|
321
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::
|
|
377
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::CardholderLiability::Data::action]
|
|
322
378
|
end
|
|
323
379
|
end
|
|
324
|
-
|
|
325
|
-
def self?.variants: -> ::Array[Lithic::Models::DisputeV2::Event::data]
|
|
326
380
|
end
|
|
327
381
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
module Type
|
|
331
|
-
extend Lithic::Internal::Type::Enum
|
|
332
|
-
|
|
333
|
-
WORKFLOW: :WORKFLOW
|
|
334
|
-
FINANCIAL: :FINANCIAL
|
|
335
|
-
CARDHOLDER_LIABILITY: :CARDHOLDER_LIABILITY
|
|
336
|
-
|
|
337
|
-
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::type_]
|
|
338
|
-
end
|
|
382
|
+
def self?.variants: -> ::Array[Lithic::Models::DisputeV2::event]
|
|
339
383
|
end
|
|
340
384
|
|
|
341
385
|
type liability_allocation =
|