lithic 0.1.0.pre.alpha.38 → 0.1.0.pre.alpha.40

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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account.rb +88 -1
  6. data/lib/lithic/models/account_update_params.rb +86 -1
  7. data/lib/lithic/models/aggregate_balance.rb +1 -0
  8. data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
  9. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +4 -10
  10. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
  11. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +238 -16
  12. data/lib/lithic/models/balance.rb +1 -0
  13. data/lib/lithic/models/balance_list_params.rb +1 -0
  14. data/lib/lithic/models/card_create_params.rb +90 -1
  15. data/lib/lithic/models/card_program.rb +10 -1
  16. data/lib/lithic/models/card_update_params.rb +98 -1
  17. data/lib/lithic/models/cards/balance_list_response.rb +1 -0
  18. data/lib/lithic/models/event.rb +2 -0
  19. data/lib/lithic/models/event_list_params.rb +2 -0
  20. data/lib/lithic/models/event_subscription.rb +2 -0
  21. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  22. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  23. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  24. data/lib/lithic/models/external_resource.rb +34 -0
  25. data/lib/lithic/models/external_resource_type.rb +18 -0
  26. data/lib/lithic/models/financial_account_list_params.rb +1 -0
  27. data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
  28. data/lib/lithic/models/management_operation_create_params.rb +30 -1
  29. data/lib/lithic/models/management_operation_transaction.rb +22 -1
  30. data/lib/lithic/models/network_program.rb +41 -0
  31. data/lib/lithic/models/network_program_list_params.rb +43 -0
  32. data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
  33. data/lib/lithic/models/non_pci_card.rb +88 -1
  34. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  35. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +16 -6
  36. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
  37. data/lib/lithic/models/transaction.rb +31 -20
  38. data/lib/lithic/models.rb +10 -0
  39. data/lib/lithic/resources/accounts.rb +5 -1
  40. data/lib/lithic/resources/cards.rb +12 -2
  41. data/lib/lithic/resources/management_operations.rb +13 -1
  42. data/lib/lithic/resources/network_programs.rb +64 -0
  43. data/lib/lithic/version.rb +1 -1
  44. data/lib/lithic.rb +6 -0
  45. data/rbi/lithic/client.rbi +3 -0
  46. data/rbi/lithic/models/account.rbi +131 -0
  47. data/rbi/lithic/models/account_update_params.rbi +159 -0
  48. data/rbi/lithic/models/aggregate_balance.rbi +5 -0
  49. data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
  50. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +6 -15
  51. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
  52. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
  53. data/rbi/lithic/models/balance.rbi +2 -0
  54. data/rbi/lithic/models/balance_list_params.rbi +5 -0
  55. data/rbi/lithic/models/card_create_params.rbi +190 -0
  56. data/rbi/lithic/models/card_program.rbi +13 -0
  57. data/rbi/lithic/models/card_update_params.rbi +168 -0
  58. data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
  59. data/rbi/lithic/models/event.rbi +10 -0
  60. data/rbi/lithic/models/event_list_params.rbi +10 -0
  61. data/rbi/lithic/models/event_subscription.rbi +10 -0
  62. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  63. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  64. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  65. data/rbi/lithic/models/external_resource.rbi +57 -0
  66. data/rbi/lithic/models/external_resource_type.rbi +26 -0
  67. data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
  68. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
  69. data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
  70. data/rbi/lithic/models/management_operation_transaction.rbi +15 -0
  71. data/rbi/lithic/models/network_program.rbi +61 -0
  72. data/rbi/lithic/models/network_program_list_params.rbi +72 -0
  73. data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
  74. data/rbi/lithic/models/non_pci_card.rbi +133 -3
  75. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  76. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +21 -6
  77. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
  78. data/rbi/lithic/models/transaction.rbi +23 -31
  79. data/rbi/lithic/models.rbi +10 -0
  80. data/rbi/lithic/resources/accounts.rbi +32 -0
  81. data/rbi/lithic/resources/cards.rbi +70 -0
  82. data/rbi/lithic/resources/management_operations.rbi +4 -0
  83. data/rbi/lithic/resources/network_programs.rbi +48 -0
  84. data/sig/lithic/client.rbs +2 -0
  85. data/sig/lithic/models/account.rbs +41 -0
  86. data/sig/lithic/models/account_update_params.rbs +41 -0
  87. data/sig/lithic/models/aggregate_balance.rbs +2 -1
  88. data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
  89. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
  90. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
  91. data/sig/lithic/models/balance.rbs +2 -1
  92. data/sig/lithic/models/balance_list_params.rbs +2 -1
  93. data/sig/lithic/models/card_create_params.rbs +47 -0
  94. data/sig/lithic/models/card_program.rbs +7 -0
  95. data/sig/lithic/models/card_update_params.rbs +55 -1
  96. data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
  97. data/sig/lithic/models/event.rbs +4 -0
  98. data/sig/lithic/models/event_list_params.rbs +4 -0
  99. data/sig/lithic/models/event_subscription.rbs +4 -0
  100. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  101. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  102. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  103. data/sig/lithic/models/external_resource.rbs +32 -0
  104. data/sig/lithic/models/external_resource_type.rbs +16 -0
  105. data/sig/lithic/models/financial_account_list_params.rbs +2 -1
  106. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
  107. data/sig/lithic/models/management_operation_create_params.rbs +20 -0
  108. data/sig/lithic/models/management_operation_transaction.rbs +5 -0
  109. data/sig/lithic/models/network_program.rbs +35 -0
  110. data/sig/lithic/models/network_program_list_params.rbs +38 -0
  111. data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
  112. data/sig/lithic/models/non_pci_card.rbs +55 -3
  113. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  114. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +7 -1
  115. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
  116. data/sig/lithic/models/transaction.rbs +2 -6
  117. data/sig/lithic/models.rbs +10 -0
  118. data/sig/lithic/resources/accounts.rbs +2 -0
  119. data/sig/lithic/resources/cards.rbs +5 -0
  120. data/sig/lithic/resources/management_operations.rbs +1 -0
  121. data/sig/lithic/resources/network_programs.rbs +19 -0
  122. metadata +20 -2
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class ExternalResource < Lithic::Internal::Type::BaseModel
6
+ # @!attribute external_resource_token
7
+ # Token identifying the external resource
8
+ #
9
+ # @return [String]
10
+ required :external_resource_token, String
11
+
12
+ # @!attribute external_resource_type
13
+ # Type of external resource associated with the management operation
14
+ #
15
+ # @return [Symbol, Lithic::Models::ExternalResourceType]
16
+ required :external_resource_type, enum: -> { Lithic::ExternalResourceType }
17
+
18
+ # @!attribute external_resource_sub_token
19
+ # Token identifying the external resource sub-resource
20
+ #
21
+ # @return [String, nil]
22
+ optional :external_resource_sub_token, String
23
+
24
+ # @!method initialize(external_resource_token:, external_resource_type:, external_resource_sub_token: nil)
25
+ # External resource associated with the management operation
26
+ #
27
+ # @param external_resource_token [String] Token identifying the external resource
28
+ #
29
+ # @param external_resource_type [Symbol, Lithic::Models::ExternalResourceType] Type of external resource associated with the management operation
30
+ #
31
+ # @param external_resource_sub_token [String] Token identifying the external resource sub-resource
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # Type of external resource associated with the management operation
6
+ module ExternalResourceType
7
+ extend Lithic::Internal::Type::Enum
8
+
9
+ STATEMENT = :STATEMENT
10
+ COLLECTION = :COLLECTION
11
+ DISPUTE = :DISPUTE
12
+ UNKNOWN = :UNKNOWN
13
+
14
+ # @!method self.values
15
+ # @return [Array<Symbol>]
16
+ end
17
+ end
18
+ end
@@ -41,6 +41,7 @@ module Lithic
41
41
  ISSUING = :ISSUING
42
42
  OPERATING = :OPERATING
43
43
  RESERVE = :RESERVE
44
+ SECURITY = :SECURITY
44
45
 
45
46
  # @!method self.values
46
47
  # @return [Array<Symbol>]
@@ -104,6 +104,7 @@ module Lithic
104
104
  ISSUING = :ISSUING
105
105
  OPERATING = :OPERATING
106
106
  RESERVE = :RESERVE
107
+ SECURITY = :SECURITY
107
108
 
108
109
  # @!method self.values
109
110
  # @return [Array<Symbol>]
@@ -47,6 +47,12 @@ module Lithic
47
47
  # @return [String, nil]
48
48
  optional :memo, String
49
49
 
50
+ # @!attribute on_closed_account
51
+ # What to do if the financial account is closed when posting an operation
52
+ #
53
+ # @return [Symbol, Lithic::Models::ManagementOperationCreateParams::OnClosedAccount, nil]
54
+ optional :on_closed_account, enum: -> { Lithic::ManagementOperationCreateParams::OnClosedAccount }
55
+
50
56
  # @!attribute subtype
51
57
  #
52
58
  # @return [String, nil]
@@ -57,17 +63,29 @@ module Lithic
57
63
  # @return [String, nil]
58
64
  optional :user_defined_id, String
59
65
 
60
- # @!method initialize(amount:, category:, direction:, effective_date:, event_type:, financial_account_token:, token: nil, memo: nil, subtype: nil, user_defined_id: nil, request_options: {})
66
+ # @!method initialize(amount:, category:, direction:, effective_date:, event_type:, financial_account_token:, token: nil, memo: nil, on_closed_account: nil, subtype: nil, user_defined_id: nil, request_options: {})
61
67
  # @param amount [Integer]
68
+ #
62
69
  # @param category [Symbol, Lithic::Models::ManagementOperationCreateParams::Category]
70
+ #
63
71
  # @param direction [Symbol, Lithic::Models::ManagementOperationCreateParams::Direction]
72
+ #
64
73
  # @param effective_date [Date]
74
+ #
65
75
  # @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType]
76
+ #
66
77
  # @param financial_account_token [String]
78
+ #
67
79
  # @param token [String]
80
+ #
68
81
  # @param memo [String]
82
+ #
83
+ # @param on_closed_account [Symbol, Lithic::Models::ManagementOperationCreateParams::OnClosedAccount] What to do if the financial account is closed when posting an operation
84
+ #
69
85
  # @param subtype [String]
86
+ #
70
87
  # @param user_defined_id [String]
88
+ #
71
89
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
72
90
 
73
91
  module Category
@@ -119,6 +137,17 @@ module Lithic
119
137
  # @!method self.values
120
138
  # @return [Array<Symbol>]
121
139
  end
140
+
141
+ # What to do if the financial account is closed when posting an operation
142
+ module OnClosedAccount
143
+ extend Lithic::Internal::Type::Enum
144
+
145
+ FAIL = :FAIL
146
+ USE_SUSPENSE = :USE_SUSPENSE
147
+
148
+ # @!method self.values
149
+ # @return [Array<Symbol>]
150
+ end
122
151
  end
123
152
  end
124
153
  end
@@ -73,25 +73,46 @@ module Lithic
73
73
  # @return [Time]
74
74
  required :updated, Time
75
75
 
76
+ # @!attribute external_resource
77
+ # External resource associated with the management operation
78
+ #
79
+ # @return [Lithic::Models::ExternalResource, nil]
80
+ optional :external_resource, -> { Lithic::ExternalResource }, nil?: true
81
+
76
82
  # @!attribute user_defined_id
77
83
  #
78
84
  # @return [String, nil]
79
85
  optional :user_defined_id, String
80
86
 
81
- # @!method initialize(token:, category:, created:, currency:, direction:, events:, financial_account_token:, pending_amount:, result:, settled_amount:, status:, transaction_series:, updated:, user_defined_id: nil)
87
+ # @!method initialize(token:, category:, created:, currency:, direction:, events:, financial_account_token:, pending_amount:, result:, settled_amount:, status:, transaction_series:, updated:, external_resource: nil, user_defined_id: nil)
82
88
  # @param token [String]
89
+ #
83
90
  # @param category [Symbol, Lithic::Models::ManagementOperationTransaction::Category]
91
+ #
84
92
  # @param created [Time]
93
+ #
85
94
  # @param currency [String]
95
+ #
86
96
  # @param direction [Symbol, Lithic::Models::ManagementOperationTransaction::Direction]
97
+ #
87
98
  # @param events [Array<Lithic::Models::ManagementOperationTransaction::Event>]
99
+ #
88
100
  # @param financial_account_token [String]
101
+ #
89
102
  # @param pending_amount [Integer]
103
+ #
90
104
  # @param result [Symbol, Lithic::Models::ManagementOperationTransaction::Result]
105
+ #
91
106
  # @param settled_amount [Integer]
107
+ #
92
108
  # @param status [Symbol, Lithic::Models::ManagementOperationTransaction::Status]
109
+ #
93
110
  # @param transaction_series [Lithic::Models::ManagementOperationTransaction::TransactionSeries, nil]
111
+ #
94
112
  # @param updated [Time]
113
+ #
114
+ # @param external_resource [Lithic::Models::ExternalResource, nil] External resource associated with the management operation
115
+ #
95
116
  # @param user_defined_id [String]
96
117
 
97
118
  # @see Lithic::Models::ManagementOperationTransaction#category
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::NetworkPrograms#retrieve
6
+ class NetworkProgram < Lithic::Internal::Type::BaseModel
7
+ # @!attribute token
8
+ # Lithic-generated unique identifier for the program
9
+ #
10
+ # @return [String]
11
+ required :token, String
12
+
13
+ # @!attribute default_product_code
14
+ # Network product ID associated with this program.
15
+ #
16
+ # @return [String]
17
+ required :default_product_code, String
18
+
19
+ # @!attribute name
20
+ # The name of the network program.
21
+ #
22
+ # @return [String]
23
+ required :name, String
24
+
25
+ # @!attribute registered_program_identification_number
26
+ # RPIN value assigned by the network.
27
+ #
28
+ # @return [String]
29
+ required :registered_program_identification_number, String
30
+
31
+ # @!method initialize(token:, default_product_code:, name:, registered_program_identification_number:)
32
+ # @param token [String] Lithic-generated unique identifier for the program
33
+ #
34
+ # @param default_product_code [String] Network product ID associated with this program.
35
+ #
36
+ # @param name [String] The name of the network program.
37
+ #
38
+ # @param registered_program_identification_number [String] RPIN value assigned by the network.
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::NetworkPrograms#list
6
+ class NetworkProgramListParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ # @!attribute begin_
11
+ # Date string in RFC 3339 format. Only entries created after the specified time
12
+ # will be included. UTC time zone.
13
+ #
14
+ # @return [Time, nil]
15
+ optional :begin_, Time
16
+
17
+ # @!attribute end_
18
+ # Date string in RFC 3339 format. Only entries created before the specified time
19
+ # will be included. UTC time zone.
20
+ #
21
+ # @return [Time, nil]
22
+ optional :end_, Time
23
+
24
+ # @!attribute page_size
25
+ # Page size (for pagination).
26
+ #
27
+ # @return [Integer, nil]
28
+ optional :page_size, Integer
29
+
30
+ # @!method initialize(begin_: nil, end_: nil, page_size: nil, request_options: {})
31
+ # Some parameter documentations has been truncated, see
32
+ # {Lithic::Models::NetworkProgramListParams} for more details.
33
+ #
34
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
35
+ #
36
+ # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
37
+ #
38
+ # @param page_size [Integer] Page size (for pagination).
39
+ #
40
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::NetworkPrograms#retrieve
6
+ class NetworkProgramRetrieveParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ # @!method initialize(request_options: {})
11
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
12
+ end
13
+ end
14
+ end
@@ -123,6 +123,12 @@ module Lithic
123
123
  # @return [String, nil]
124
124
  optional :cardholder_currency, String
125
125
 
126
+ # @!attribute comment
127
+ # Additional context or information related to the card.
128
+ #
129
+ # @return [String, nil]
130
+ optional :comment, String
131
+
126
132
  # @!attribute digital_card_art_token
127
133
  # Specifies the digital card art to be displayed in the user's digital wallet
128
134
  # after tokenization. This artwork must be approved by Mastercard and configured
@@ -155,6 +161,14 @@ module Lithic
155
161
  # @return [String, nil]
156
162
  optional :memo, String
157
163
 
164
+ # @!attribute network_program_token
165
+ # Globally unique identifier for the card's network program. Null if the card is
166
+ # not associated with a network program. Currently applicable to Visa cards
167
+ # participating in Account Level Management only
168
+ #
169
+ # @return [String, nil]
170
+ optional :network_program_token, String, nil?: true
171
+
158
172
  # @!attribute pending_commands
159
173
  # Indicates if there are offline PIN changes pending card interaction with an
160
174
  # offline PIN terminal. Possible commands are: CHANGE_PIN, UNBLOCK_PIN. Applicable
@@ -178,7 +192,32 @@ module Lithic
178
192
  # @return [String, nil]
179
193
  optional :replacement_for, String, nil?: true
180
194
 
181
- # @!method initialize(token:, account_token:, card_program_token:, created:, funding:, last_four:, pin_status:, spend_limit:, spend_limit_duration:, state:, type:, auth_rule_tokens: nil, cardholder_currency: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, hostname: nil, memo: nil, pending_commands: nil, product_id: nil, replacement_for: nil)
195
+ # @!attribute substatus
196
+ # Card state substatus values: _ `LOST` - The physical card is no longer in the
197
+ # cardholder's possession due to being lost or never received by the cardholder. _
198
+ # `COMPROMISED` - Card information has been exposed, potentially leading to
199
+ # unauthorized access. This may involve physical card theft, cloning, or online
200
+ # data breaches. _ `DAMAGED` - The physical card is not functioning properly, such
201
+ # as having chip failures or a demagnetized magnetic stripe. _
202
+ # `END_USER_REQUEST` - The cardholder requested the closure of the card for
203
+ # reasons unrelated to fraud or damage, such as switching to a different product
204
+ # or closing the account. _ `ISSUER_REQUEST` - The issuer closed the card for
205
+ # reasons unrelated to fraud or damage, such as account inactivity, product or
206
+ # policy changes, or technology upgrades. _ `NOT_ACTIVE` - The card hasn’t had any
207
+ # transaction activity for a specified period, applicable to statuses like
208
+ # `PAUSED` or `CLOSED`. _ `SUSPICIOUS_ACTIVITY` - The card has one or more
209
+ # suspicious transactions or activities that require review. This can involve
210
+ # prompting the cardholder to confirm legitimate use or report confirmed fraud. _
211
+ # `INTERNAL_REVIEW` - The card is temporarily paused pending further internal
212
+ # review. _ `EXPIRED` - The card has expired and has been closed without being
213
+ # reissued. _ `UNDELIVERABLE` - The card cannot be delivered to the cardholder and
214
+ # has been returned. \* `OTHER` - The reason for the status does not fall into any
215
+ # of the above categories. A comment can be provided to specify the reason.
216
+ #
217
+ # @return [Symbol, Lithic::Models::NonPCICard::Substatus, nil]
218
+ optional :substatus, enum: -> { Lithic::NonPCICard::Substatus }
219
+
220
+ # @!method initialize(token:, account_token:, card_program_token:, created:, funding:, last_four:, pin_status:, spend_limit:, spend_limit_duration:, state:, type:, auth_rule_tokens: nil, cardholder_currency: nil, comment: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, hostname: nil, memo: nil, network_program_token: nil, pending_commands: nil, product_id: nil, replacement_for: nil, substatus: nil)
182
221
  # Some parameter documentations has been truncated, see
183
222
  # {Lithic::Models::NonPCICard} for more details.
184
223
  #
@@ -212,6 +251,8 @@ module Lithic
212
251
  #
213
252
  # @param cardholder_currency [String] 3-character alphabetic ISO 4217 code for the currency of the cardholder.
214
253
  #
254
+ # @param comment [String] Additional context or information related to the card.
255
+ #
215
256
  # @param digital_card_art_token [String] Specifies the digital card art to be displayed in the user's digital wallet afte
216
257
  #
217
258
  # @param exp_month [String] Two digit (MM) expiry month.
@@ -222,11 +263,16 @@ module Lithic
222
263
  #
223
264
  # @param memo [String] Friendly name to identify the card.
224
265
  #
266
+ # @param network_program_token [String, nil] Globally unique identifier for the card's network program. Null if the card is n
267
+ #
225
268
  # @param pending_commands [Array<String>] Indicates if there are offline PIN changes pending card interaction with an offl
226
269
  #
227
270
  # @param product_id [String] Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
228
271
  #
229
272
  # @param replacement_for [String, nil] If the card is a replacement for another card, the globally unique identifier fo
273
+ #
274
+ # @param substatus [Symbol, Lithic::Models::NonPCICard::Substatus] Card state substatus values: \* `LOST` - The physical card is no longer in the
275
+ # ca
230
276
 
231
277
  # @see Lithic::Models::NonPCICard#funding
232
278
  class Funding < Lithic::Internal::Type::BaseModel
@@ -401,6 +447,47 @@ module Lithic
401
447
  # @!method self.values
402
448
  # @return [Array<Symbol>]
403
449
  end
450
+
451
+ # Card state substatus values: _ `LOST` - The physical card is no longer in the
452
+ # cardholder's possession due to being lost or never received by the cardholder. _
453
+ # `COMPROMISED` - Card information has been exposed, potentially leading to
454
+ # unauthorized access. This may involve physical card theft, cloning, or online
455
+ # data breaches. _ `DAMAGED` - The physical card is not functioning properly, such
456
+ # as having chip failures or a demagnetized magnetic stripe. _
457
+ # `END_USER_REQUEST` - The cardholder requested the closure of the card for
458
+ # reasons unrelated to fraud or damage, such as switching to a different product
459
+ # or closing the account. _ `ISSUER_REQUEST` - The issuer closed the card for
460
+ # reasons unrelated to fraud or damage, such as account inactivity, product or
461
+ # policy changes, or technology upgrades. _ `NOT_ACTIVE` - The card hasn’t had any
462
+ # transaction activity for a specified period, applicable to statuses like
463
+ # `PAUSED` or `CLOSED`. _ `SUSPICIOUS_ACTIVITY` - The card has one or more
464
+ # suspicious transactions or activities that require review. This can involve
465
+ # prompting the cardholder to confirm legitimate use or report confirmed fraud. _
466
+ # `INTERNAL_REVIEW` - The card is temporarily paused pending further internal
467
+ # review. _ `EXPIRED` - The card has expired and has been closed without being
468
+ # reissued. _ `UNDELIVERABLE` - The card cannot be delivered to the cardholder and
469
+ # has been returned. \* `OTHER` - The reason for the status does not fall into any
470
+ # of the above categories. A comment can be provided to specify the reason.
471
+ #
472
+ # @see Lithic::Models::NonPCICard#substatus
473
+ module Substatus
474
+ extend Lithic::Internal::Type::Enum
475
+
476
+ LOST = :LOST
477
+ COMPROMISED = :COMPROMISED
478
+ DAMAGED = :DAMAGED
479
+ END_USER_REQUEST = :END_USER_REQUEST
480
+ ISSUER_REQUEST = :ISSUER_REQUEST
481
+ NOT_ACTIVE = :NOT_ACTIVE
482
+ SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
483
+ INTERNAL_REVIEW = :INTERNAL_REVIEW
484
+ EXPIRED = :EXPIRED
485
+ UNDELIVERABLE = :UNDELIVERABLE
486
+ OTHER = :OTHER
487
+
488
+ # @!method self.values
489
+ # @return [Array<Symbol>]
490
+ end
404
491
  end
405
492
  end
406
493
  end
@@ -43,6 +43,7 @@ module Lithic
43
43
  ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
44
44
  ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
45
45
  ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
46
+ ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
46
47
  ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
47
48
  ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
48
49
  ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
@@ -37,9 +37,16 @@ module Lithic
37
37
  # @return [String]
38
38
  required :institution_id, String
39
39
 
40
+ # @!attribute is_complete
41
+ # Indicates that all settlement records related to this Network Total are
42
+ # available in the details endpoint.
43
+ #
44
+ # @return [Boolean]
45
+ required :is_complete, Lithic::Internal::Type::Boolean
46
+
40
47
  # @!attribute network
41
- # Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
42
- # INTERLINK.
48
+ # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
49
+ # or INTERLINK.
43
50
  #
44
51
  # @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network]
45
52
  required :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network }
@@ -76,7 +83,7 @@ module Lithic
76
83
  # @return [Integer, nil]
77
84
  optional :cycle, Integer
78
85
 
79
- # @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
86
+ # @!method initialize(token:, amounts:, created:, currency:, institution_id:, is_complete:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
80
87
  # Some parameter documentations has been truncated, see
81
88
  # {Lithic::Models::Reports::Settlement::NetworkTotalListResponse} for more
82
89
  # details.
@@ -91,7 +98,9 @@ module Lithic
91
98
  #
92
99
  # @param institution_id [String] The institution that activity occurred on. For Mastercard: ICA (Interbank Card A
93
100
  #
94
- # @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network] Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or INT
101
+ # @param is_complete [Boolean] Indicates that all settlement records related to this Network Total are availabl
102
+ #
103
+ # @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network] Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
95
104
  #
96
105
  # @param report_date [Date] Date that the network total record applies to. YYYY-MM-DD format.
97
106
  #
@@ -144,13 +153,14 @@ module Lithic
144
153
  # @param visa_charges [Integer] Charges specific to Visa/Interlink, in currency's smallest unit.
145
154
  end
146
155
 
147
- # Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
148
- # INTERLINK.
156
+ # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
157
+ # or INTERLINK.
149
158
  #
150
159
  # @see Lithic::Models::Reports::Settlement::NetworkTotalListResponse#network
151
160
  module Network
152
161
  extend Lithic::Internal::Type::Enum
153
162
 
163
+ AMEX = :AMEX
154
164
  VISA = :VISA
155
165
  MASTERCARD = :MASTERCARD
156
166
  MAESTRO = :MAESTRO
@@ -37,9 +37,16 @@ module Lithic
37
37
  # @return [String]
38
38
  required :institution_id, String
39
39
 
40
+ # @!attribute is_complete
41
+ # Indicates that all settlement records related to this Network Total are
42
+ # available in the details endpoint.
43
+ #
44
+ # @return [Boolean]
45
+ required :is_complete, Lithic::Internal::Type::Boolean
46
+
40
47
  # @!attribute network
41
- # Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
42
- # INTERLINK.
48
+ # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
49
+ # or INTERLINK.
43
50
  #
44
51
  # @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network]
45
52
  required :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network }
@@ -76,7 +83,7 @@ module Lithic
76
83
  # @return [Integer, nil]
77
84
  optional :cycle, Integer
78
85
 
79
- # @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
86
+ # @!method initialize(token:, amounts:, created:, currency:, institution_id:, is_complete:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
80
87
  # Some parameter documentations has been truncated, see
81
88
  # {Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse} for more
82
89
  # details.
@@ -91,7 +98,9 @@ module Lithic
91
98
  #
92
99
  # @param institution_id [String] The institution that activity occurred on. For Mastercard: ICA (Interbank Card A
93
100
  #
94
- # @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network] Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or INT
101
+ # @param is_complete [Boolean] Indicates that all settlement records related to this Network Total are availabl
102
+ #
103
+ # @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network] Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
95
104
  #
96
105
  # @param report_date [Date] Date that the network total record applies to. YYYY-MM-DD format.
97
106
  #
@@ -144,13 +153,14 @@ module Lithic
144
153
  # @param visa_charges [Integer] Charges specific to Visa/Interlink, in currency's smallest unit.
145
154
  end
146
155
 
147
- # Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
148
- # INTERLINK.
156
+ # Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
157
+ # or INTERLINK.
149
158
  #
150
159
  # @see Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse#network
151
160
  module Network
152
161
  extend Lithic::Internal::Type::Enum
153
162
 
163
+ AMEX = :AMEX
154
164
  VISA = :VISA
155
165
  MASTERCARD = :MASTERCARD
156
166
  MAESTRO = :MAESTRO