increase 1.24.0 → 1.25.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/transaction.rb +132 -1
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/transaction.rbi +282 -0
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/sig/increase/models/transaction.rbs +106 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e913e54ef11c134a434f442ca8f8e3f30e35c3573be854f823c86091509074d
|
4
|
+
data.tar.gz: e43e31329ba38f47865992b8ab9adda4b6fe5579f2bcc60f448170f40643bfd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf5ce5c60e3f8b112872b4d14cf2bbd713a9d762a23a05492daf35019206b82d079f7bf21bb3b5bcacf19b69fcf7b309cbafc4a7f4b97fe87f352af2d259121
|
7
|
+
data.tar.gz: 69a97cc95a7352d0e67e1029a0579d3c8af53323b5775281d0228f8df725f6a55919d0765928100f4ce3fd2006ae99a4083e8bc527ccfc54ee174e5c1b81d86d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.25.0 (2025-08-06)
|
4
|
+
|
5
|
+
Full Changelog: [v1.24.0...v1.25.0](https://github.com/Increase/increase-ruby/compare/v1.24.0...v1.25.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([4df799b](https://github.com/Increase/increase-ruby/commit/4df799b8e62c9c406aec3ff033fa514b6180275b))
|
10
|
+
|
3
11
|
## 1.24.0 (2025-08-04)
|
4
12
|
|
5
13
|
Full Changelog: [v1.23.0...v1.24.0](https://github.com/Increase/increase-ruby/compare/v1.23.0...v1.24.0)
|
data/README.md
CHANGED
@@ -214,6 +214,18 @@ module Increase
|
|
214
214
|
},
|
215
215
|
nil?: true
|
216
216
|
|
217
|
+
# @!attribute card_dispute_financial
|
218
|
+
# A Card Dispute Financial object. This field will be present in the JSON response
|
219
|
+
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
220
|
+
# related to a Card Dispute.
|
221
|
+
#
|
222
|
+
# @return [Increase::Models::Transaction::Source::CardDisputeFinancial, nil]
|
223
|
+
required :card_dispute_financial,
|
224
|
+
-> {
|
225
|
+
Increase::Transaction::Source::CardDisputeFinancial
|
226
|
+
},
|
227
|
+
nil?: true
|
228
|
+
|
217
229
|
# @!attribute card_dispute_loss
|
218
230
|
# A Card Dispute Loss object. This field will be present in the JSON response if
|
219
231
|
# and only if `category` is equal to `card_dispute_loss`. Contains the details of
|
@@ -484,7 +496,7 @@ module Increase
|
|
484
496
|
},
|
485
497
|
nil?: true
|
486
498
|
|
487
|
-
# @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
|
499
|
+
# @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
|
488
500
|
# Some parameter documentations has been truncated, see
|
489
501
|
# {Increase::Models::Transaction::Source} for more details.
|
490
502
|
#
|
@@ -503,6 +515,8 @@ module Increase
|
|
503
515
|
#
|
504
516
|
# @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons
|
505
517
|
#
|
518
|
+
# @param card_dispute_financial [Increase::Models::Transaction::Source::CardDisputeFinancial, nil] A Card Dispute Financial object. This field will be present in the JSON response
|
519
|
+
#
|
506
520
|
# @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a
|
507
521
|
#
|
508
522
|
# @param card_push_transfer_acceptance [Increase::Models::Transaction::Source::CardPushTransferAcceptance, nil] A Card Push Transfer Acceptance object. This field will be present in the JSON r
|
@@ -1049,6 +1063,120 @@ module Increase
|
|
1049
1063
|
# @param transaction_id [String] The identifier of the Transaction that was created to return the disputed funds
|
1050
1064
|
end
|
1051
1065
|
|
1066
|
+
# @see Increase::Models::Transaction::Source#card_dispute_financial
|
1067
|
+
class CardDisputeFinancial < Increase::Internal::Type::BaseModel
|
1068
|
+
# @!attribute amount
|
1069
|
+
# The amount of the financial event.
|
1070
|
+
#
|
1071
|
+
# @return [Integer]
|
1072
|
+
required :amount, Integer
|
1073
|
+
|
1074
|
+
# @!attribute card_dispute_id
|
1075
|
+
# The identifier of the Card Dispute the financial event is associated with.
|
1076
|
+
#
|
1077
|
+
# @return [String]
|
1078
|
+
required :card_dispute_id, String
|
1079
|
+
|
1080
|
+
# @!attribute network
|
1081
|
+
# The network that the Card Dispute is associated with.
|
1082
|
+
#
|
1083
|
+
# @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network]
|
1084
|
+
required :network, enum: -> { Increase::Transaction::Source::CardDisputeFinancial::Network }
|
1085
|
+
|
1086
|
+
# @!attribute transaction_id
|
1087
|
+
# The identifier of the Transaction that was created to credit or debit the
|
1088
|
+
# disputed funds to or from your account.
|
1089
|
+
#
|
1090
|
+
# @return [String]
|
1091
|
+
required :transaction_id, String
|
1092
|
+
|
1093
|
+
# @!attribute visa
|
1094
|
+
# Information for events related to card dispute for card payments processed over
|
1095
|
+
# Visa's network. This field will be present in the JSON response if and only if
|
1096
|
+
# `network` is equal to `visa`.
|
1097
|
+
#
|
1098
|
+
# @return [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil]
|
1099
|
+
required :visa, -> { Increase::Transaction::Source::CardDisputeFinancial::Visa }, nil?: true
|
1100
|
+
|
1101
|
+
# @!method initialize(amount:, card_dispute_id:, network:, transaction_id:, visa:)
|
1102
|
+
# Some parameter documentations has been truncated, see
|
1103
|
+
# {Increase::Models::Transaction::Source::CardDisputeFinancial} for more details.
|
1104
|
+
#
|
1105
|
+
# A Card Dispute Financial object. This field will be present in the JSON response
|
1106
|
+
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
1107
|
+
# related to a Card Dispute.
|
1108
|
+
#
|
1109
|
+
# @param amount [Integer] The amount of the financial event.
|
1110
|
+
#
|
1111
|
+
# @param card_dispute_id [String] The identifier of the Card Dispute the financial event is associated with.
|
1112
|
+
#
|
1113
|
+
# @param network [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network] The network that the Card Dispute is associated with.
|
1114
|
+
#
|
1115
|
+
# @param transaction_id [String] The identifier of the Transaction that was created to credit or debit the disput
|
1116
|
+
#
|
1117
|
+
# @param visa [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil] Information for events related to card dispute for card payments processed over
|
1118
|
+
|
1119
|
+
# The network that the Card Dispute is associated with.
|
1120
|
+
#
|
1121
|
+
# @see Increase::Models::Transaction::Source::CardDisputeFinancial#network
|
1122
|
+
module Network
|
1123
|
+
extend Increase::Internal::Type::Enum
|
1124
|
+
|
1125
|
+
# Visa: details will be under the `visa` object.
|
1126
|
+
VISA = :visa
|
1127
|
+
|
1128
|
+
# @!method self.values
|
1129
|
+
# @return [Array<Symbol>]
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# @see Increase::Models::Transaction::Source::CardDisputeFinancial#visa
|
1133
|
+
class Visa < Increase::Internal::Type::BaseModel
|
1134
|
+
# @!attribute event_type
|
1135
|
+
# The type of card dispute financial event.
|
1136
|
+
#
|
1137
|
+
# @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType]
|
1138
|
+
required :event_type,
|
1139
|
+
enum: -> {
|
1140
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
# @!method initialize(event_type:)
|
1144
|
+
# Information for events related to card dispute for card payments processed over
|
1145
|
+
# Visa's network. This field will be present in the JSON response if and only if
|
1146
|
+
# `network` is equal to `visa`.
|
1147
|
+
#
|
1148
|
+
# @param event_type [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType] The type of card dispute financial event.
|
1149
|
+
|
1150
|
+
# The type of card dispute financial event.
|
1151
|
+
#
|
1152
|
+
# @see Increase::Models::Transaction::Source::CardDisputeFinancial::Visa#event_type
|
1153
|
+
module EventType
|
1154
|
+
extend Increase::Internal::Type::Enum
|
1155
|
+
|
1156
|
+
# The user's chargeback was submitted.
|
1157
|
+
CHARGEBACK_SUBMITTED = :chargeback_submitted
|
1158
|
+
|
1159
|
+
# The user declined the merchant's request for pre-arbitration.
|
1160
|
+
MERCHANT_PREARBITRATION_DECLINED = :merchant_prearbitration_declined
|
1161
|
+
|
1162
|
+
# The merchant's request for pre-arbitration was received.
|
1163
|
+
MERCHANT_PREARBITRATION_RECEIVED = :merchant_prearbitration_received
|
1164
|
+
|
1165
|
+
# The transaction was represented by the merchant.
|
1166
|
+
REPRESENTED = :represented
|
1167
|
+
|
1168
|
+
# The user's request for pre-arbitration was declined.
|
1169
|
+
USER_PREARBITRATION_DECLINED = :user_prearbitration_declined
|
1170
|
+
|
1171
|
+
# The user's request for pre-arbitration was submitted.
|
1172
|
+
USER_PREARBITRATION_SUBMITTED = :user_prearbitration_submitted
|
1173
|
+
|
1174
|
+
# @!method self.values
|
1175
|
+
# @return [Array<Symbol>]
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
|
1052
1180
|
# @see Increase::Models::Transaction::Source#card_dispute_loss
|
1053
1181
|
class CardDisputeLoss < Increase::Internal::Type::BaseModel
|
1054
1182
|
# @!attribute card_dispute_id
|
@@ -4041,6 +4169,9 @@ module Increase
|
|
4041
4169
|
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
4042
4170
|
CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
|
4043
4171
|
|
4172
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
4173
|
+
CARD_DISPUTE_FINANCIAL = :card_dispute_financial
|
4174
|
+
|
4044
4175
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
4045
4176
|
CARD_DISPUTE_LOSS = :card_dispute_loss
|
4046
4177
|
|
@@ -100,6 +100,9 @@ module Increase
|
|
100
100
|
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
101
101
|
CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
|
102
102
|
|
103
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
104
|
+
CARD_DISPUTE_FINANCIAL = :card_dispute_financial
|
105
|
+
|
103
106
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
104
107
|
CARD_DISPUTE_LOSS = :card_dispute_loss
|
105
108
|
|
data/lib/increase/version.rb
CHANGED
@@ -309,6 +309,26 @@ module Increase
|
|
309
309
|
end
|
310
310
|
attr_writer :card_dispute_acceptance
|
311
311
|
|
312
|
+
# A Card Dispute Financial object. This field will be present in the JSON response
|
313
|
+
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
314
|
+
# related to a Card Dispute.
|
315
|
+
sig do
|
316
|
+
returns(
|
317
|
+
T.nilable(Increase::Transaction::Source::CardDisputeFinancial)
|
318
|
+
)
|
319
|
+
end
|
320
|
+
attr_reader :card_dispute_financial
|
321
|
+
|
322
|
+
sig do
|
323
|
+
params(
|
324
|
+
card_dispute_financial:
|
325
|
+
T.nilable(
|
326
|
+
Increase::Transaction::Source::CardDisputeFinancial::OrHash
|
327
|
+
)
|
328
|
+
).void
|
329
|
+
end
|
330
|
+
attr_writer :card_dispute_financial
|
331
|
+
|
312
332
|
# A Card Dispute Loss object. This field will be present in the JSON response if
|
313
333
|
# and only if `category` is equal to `card_dispute_loss`. Contains the details of
|
314
334
|
# a lost Card Dispute.
|
@@ -837,6 +857,10 @@ module Increase
|
|
837
857
|
T.nilable(
|
838
858
|
Increase::Transaction::Source::CardDisputeAcceptance::OrHash
|
839
859
|
),
|
860
|
+
card_dispute_financial:
|
861
|
+
T.nilable(
|
862
|
+
Increase::Transaction::Source::CardDisputeFinancial::OrHash
|
863
|
+
),
|
840
864
|
card_dispute_loss:
|
841
865
|
T.nilable(Increase::Transaction::Source::CardDisputeLoss::OrHash),
|
842
866
|
card_push_transfer_acceptance:
|
@@ -952,6 +976,10 @@ module Increase
|
|
952
976
|
# response if and only if `category` is equal to `card_dispute_acceptance`.
|
953
977
|
# Contains the details of a successful Card Dispute.
|
954
978
|
card_dispute_acceptance:,
|
979
|
+
# A Card Dispute Financial object. This field will be present in the JSON response
|
980
|
+
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
981
|
+
# related to a Card Dispute.
|
982
|
+
card_dispute_financial:,
|
955
983
|
# A Card Dispute Loss object. This field will be present in the JSON response if
|
956
984
|
# and only if `category` is equal to `card_dispute_loss`. Contains the details of
|
957
985
|
# a lost Card Dispute.
|
@@ -1104,6 +1132,8 @@ module Increase
|
|
1104
1132
|
T.nilable(Increase::Transaction::Source::ACHTransferReturn),
|
1105
1133
|
card_dispute_acceptance:
|
1106
1134
|
T.nilable(Increase::Transaction::Source::CardDisputeAcceptance),
|
1135
|
+
card_dispute_financial:
|
1136
|
+
T.nilable(Increase::Transaction::Source::CardDisputeFinancial),
|
1107
1137
|
card_dispute_loss:
|
1108
1138
|
T.nilable(Increase::Transaction::Source::CardDisputeLoss),
|
1109
1139
|
card_push_transfer_acceptance:
|
@@ -2110,6 +2140,251 @@ module Increase
|
|
2110
2140
|
end
|
2111
2141
|
end
|
2112
2142
|
|
2143
|
+
class CardDisputeFinancial < Increase::Internal::Type::BaseModel
|
2144
|
+
OrHash =
|
2145
|
+
T.type_alias do
|
2146
|
+
T.any(
|
2147
|
+
Increase::Transaction::Source::CardDisputeFinancial,
|
2148
|
+
Increase::Internal::AnyHash
|
2149
|
+
)
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
# The amount of the financial event.
|
2153
|
+
sig { returns(Integer) }
|
2154
|
+
attr_accessor :amount
|
2155
|
+
|
2156
|
+
# The identifier of the Card Dispute the financial event is associated with.
|
2157
|
+
sig { returns(String) }
|
2158
|
+
attr_accessor :card_dispute_id
|
2159
|
+
|
2160
|
+
# The network that the Card Dispute is associated with.
|
2161
|
+
sig do
|
2162
|
+
returns(
|
2163
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
|
2164
|
+
)
|
2165
|
+
end
|
2166
|
+
attr_accessor :network
|
2167
|
+
|
2168
|
+
# The identifier of the Transaction that was created to credit or debit the
|
2169
|
+
# disputed funds to or from your account.
|
2170
|
+
sig { returns(String) }
|
2171
|
+
attr_accessor :transaction_id
|
2172
|
+
|
2173
|
+
# Information for events related to card dispute for card payments processed over
|
2174
|
+
# Visa's network. This field will be present in the JSON response if and only if
|
2175
|
+
# `network` is equal to `visa`.
|
2176
|
+
sig do
|
2177
|
+
returns(
|
2178
|
+
T.nilable(
|
2179
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa
|
2180
|
+
)
|
2181
|
+
)
|
2182
|
+
end
|
2183
|
+
attr_reader :visa
|
2184
|
+
|
2185
|
+
sig do
|
2186
|
+
params(
|
2187
|
+
visa:
|
2188
|
+
T.nilable(
|
2189
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::OrHash
|
2190
|
+
)
|
2191
|
+
).void
|
2192
|
+
end
|
2193
|
+
attr_writer :visa
|
2194
|
+
|
2195
|
+
# A Card Dispute Financial object. This field will be present in the JSON response
|
2196
|
+
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
2197
|
+
# related to a Card Dispute.
|
2198
|
+
sig do
|
2199
|
+
params(
|
2200
|
+
amount: Integer,
|
2201
|
+
card_dispute_id: String,
|
2202
|
+
network:
|
2203
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network::OrSymbol,
|
2204
|
+
transaction_id: String,
|
2205
|
+
visa:
|
2206
|
+
T.nilable(
|
2207
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::OrHash
|
2208
|
+
)
|
2209
|
+
).returns(T.attached_class)
|
2210
|
+
end
|
2211
|
+
def self.new(
|
2212
|
+
# The amount of the financial event.
|
2213
|
+
amount:,
|
2214
|
+
# The identifier of the Card Dispute the financial event is associated with.
|
2215
|
+
card_dispute_id:,
|
2216
|
+
# The network that the Card Dispute is associated with.
|
2217
|
+
network:,
|
2218
|
+
# The identifier of the Transaction that was created to credit or debit the
|
2219
|
+
# disputed funds to or from your account.
|
2220
|
+
transaction_id:,
|
2221
|
+
# Information for events related to card dispute for card payments processed over
|
2222
|
+
# Visa's network. This field will be present in the JSON response if and only if
|
2223
|
+
# `network` is equal to `visa`.
|
2224
|
+
visa:
|
2225
|
+
)
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
sig do
|
2229
|
+
override.returns(
|
2230
|
+
{
|
2231
|
+
amount: Integer,
|
2232
|
+
card_dispute_id: String,
|
2233
|
+
network:
|
2234
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol,
|
2235
|
+
transaction_id: String,
|
2236
|
+
visa:
|
2237
|
+
T.nilable(
|
2238
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa
|
2239
|
+
)
|
2240
|
+
}
|
2241
|
+
)
|
2242
|
+
end
|
2243
|
+
def to_hash
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
# The network that the Card Dispute is associated with.
|
2247
|
+
module Network
|
2248
|
+
extend Increase::Internal::Type::Enum
|
2249
|
+
|
2250
|
+
TaggedSymbol =
|
2251
|
+
T.type_alias do
|
2252
|
+
T.all(
|
2253
|
+
Symbol,
|
2254
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network
|
2255
|
+
)
|
2256
|
+
end
|
2257
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2258
|
+
|
2259
|
+
# Visa: details will be under the `visa` object.
|
2260
|
+
VISA =
|
2261
|
+
T.let(
|
2262
|
+
:visa,
|
2263
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
|
2264
|
+
)
|
2265
|
+
|
2266
|
+
sig do
|
2267
|
+
override.returns(
|
2268
|
+
T::Array[
|
2269
|
+
Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
|
2270
|
+
]
|
2271
|
+
)
|
2272
|
+
end
|
2273
|
+
def self.values
|
2274
|
+
end
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
class Visa < Increase::Internal::Type::BaseModel
|
2278
|
+
OrHash =
|
2279
|
+
T.type_alias do
|
2280
|
+
T.any(
|
2281
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa,
|
2282
|
+
Increase::Internal::AnyHash
|
2283
|
+
)
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
# The type of card dispute financial event.
|
2287
|
+
sig do
|
2288
|
+
returns(
|
2289
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2290
|
+
)
|
2291
|
+
end
|
2292
|
+
attr_accessor :event_type
|
2293
|
+
|
2294
|
+
# Information for events related to card dispute for card payments processed over
|
2295
|
+
# Visa's network. This field will be present in the JSON response if and only if
|
2296
|
+
# `network` is equal to `visa`.
|
2297
|
+
sig do
|
2298
|
+
params(
|
2299
|
+
event_type:
|
2300
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::OrSymbol
|
2301
|
+
).returns(T.attached_class)
|
2302
|
+
end
|
2303
|
+
def self.new(
|
2304
|
+
# The type of card dispute financial event.
|
2305
|
+
event_type:
|
2306
|
+
)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
sig do
|
2310
|
+
override.returns(
|
2311
|
+
{
|
2312
|
+
event_type:
|
2313
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2314
|
+
}
|
2315
|
+
)
|
2316
|
+
end
|
2317
|
+
def to_hash
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# The type of card dispute financial event.
|
2321
|
+
module EventType
|
2322
|
+
extend Increase::Internal::Type::Enum
|
2323
|
+
|
2324
|
+
TaggedSymbol =
|
2325
|
+
T.type_alias do
|
2326
|
+
T.all(
|
2327
|
+
Symbol,
|
2328
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
|
2329
|
+
)
|
2330
|
+
end
|
2331
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2332
|
+
|
2333
|
+
# The user's chargeback was submitted.
|
2334
|
+
CHARGEBACK_SUBMITTED =
|
2335
|
+
T.let(
|
2336
|
+
:chargeback_submitted,
|
2337
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2338
|
+
)
|
2339
|
+
|
2340
|
+
# The user declined the merchant's request for pre-arbitration.
|
2341
|
+
MERCHANT_PREARBITRATION_DECLINED =
|
2342
|
+
T.let(
|
2343
|
+
:merchant_prearbitration_declined,
|
2344
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2345
|
+
)
|
2346
|
+
|
2347
|
+
# The merchant's request for pre-arbitration was received.
|
2348
|
+
MERCHANT_PREARBITRATION_RECEIVED =
|
2349
|
+
T.let(
|
2350
|
+
:merchant_prearbitration_received,
|
2351
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2352
|
+
)
|
2353
|
+
|
2354
|
+
# The transaction was represented by the merchant.
|
2355
|
+
REPRESENTED =
|
2356
|
+
T.let(
|
2357
|
+
:represented,
|
2358
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2359
|
+
)
|
2360
|
+
|
2361
|
+
# The user's request for pre-arbitration was declined.
|
2362
|
+
USER_PREARBITRATION_DECLINED =
|
2363
|
+
T.let(
|
2364
|
+
:user_prearbitration_declined,
|
2365
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2366
|
+
)
|
2367
|
+
|
2368
|
+
# The user's request for pre-arbitration was submitted.
|
2369
|
+
USER_PREARBITRATION_SUBMITTED =
|
2370
|
+
T.let(
|
2371
|
+
:user_prearbitration_submitted,
|
2372
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2373
|
+
)
|
2374
|
+
|
2375
|
+
sig do
|
2376
|
+
override.returns(
|
2377
|
+
T::Array[
|
2378
|
+
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
|
2379
|
+
]
|
2380
|
+
)
|
2381
|
+
end
|
2382
|
+
def self.values
|
2383
|
+
end
|
2384
|
+
end
|
2385
|
+
end
|
2386
|
+
end
|
2387
|
+
|
2113
2388
|
class CardDisputeLoss < Increase::Internal::Type::BaseModel
|
2114
2389
|
OrHash =
|
2115
2390
|
T.type_alias do
|
@@ -7433,6 +7708,13 @@ module Increase
|
|
7433
7708
|
Increase::Transaction::Source::Category::TaggedSymbol
|
7434
7709
|
)
|
7435
7710
|
|
7711
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
7712
|
+
CARD_DISPUTE_FINANCIAL =
|
7713
|
+
T.let(
|
7714
|
+
:card_dispute_financial,
|
7715
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
7716
|
+
)
|
7717
|
+
|
7436
7718
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
7437
7719
|
CARD_DISPUTE_LOSS =
|
7438
7720
|
T.let(
|
@@ -208,6 +208,13 @@ module Increase
|
|
208
208
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
209
209
|
)
|
210
210
|
|
211
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
212
|
+
CARD_DISPUTE_FINANCIAL =
|
213
|
+
T.let(
|
214
|
+
:card_dispute_financial,
|
215
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
216
|
+
)
|
217
|
+
|
211
218
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
212
219
|
CARD_DISPUTE_LOSS =
|
213
220
|
T.let(
|
@@ -111,6 +111,7 @@ module Increase
|
|
111
111
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
112
112
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
113
113
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
114
|
+
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
114
115
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
115
116
|
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
116
117
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
@@ -151,6 +152,8 @@ module Increase
|
|
151
152
|
|
152
153
|
attr_accessor card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?
|
153
154
|
|
155
|
+
attr_accessor card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?
|
156
|
+
|
154
157
|
attr_accessor card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?
|
155
158
|
|
156
159
|
attr_accessor card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?
|
@@ -211,6 +214,7 @@ module Increase
|
|
211
214
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
212
215
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
213
216
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
217
|
+
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
214
218
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
215
219
|
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
216
220
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
@@ -246,6 +250,7 @@ module Increase
|
|
246
250
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
247
251
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
248
252
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
253
|
+
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
249
254
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
250
255
|
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
251
256
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
@@ -743,6 +748,103 @@ module Increase
|
|
743
748
|
}
|
744
749
|
end
|
745
750
|
|
751
|
+
type card_dispute_financial =
|
752
|
+
{
|
753
|
+
amount: Integer,
|
754
|
+
card_dispute_id: String,
|
755
|
+
network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
|
756
|
+
transaction_id: String,
|
757
|
+
visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
|
758
|
+
}
|
759
|
+
|
760
|
+
class CardDisputeFinancial < Increase::Internal::Type::BaseModel
|
761
|
+
attr_accessor amount: Integer
|
762
|
+
|
763
|
+
attr_accessor card_dispute_id: String
|
764
|
+
|
765
|
+
attr_accessor network: Increase::Models::Transaction::Source::CardDisputeFinancial::network
|
766
|
+
|
767
|
+
attr_accessor transaction_id: String
|
768
|
+
|
769
|
+
attr_accessor visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
|
770
|
+
|
771
|
+
def initialize: (
|
772
|
+
amount: Integer,
|
773
|
+
card_dispute_id: String,
|
774
|
+
network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
|
775
|
+
transaction_id: String,
|
776
|
+
visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
|
777
|
+
) -> void
|
778
|
+
|
779
|
+
def to_hash: -> {
|
780
|
+
amount: Integer,
|
781
|
+
card_dispute_id: String,
|
782
|
+
network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
|
783
|
+
transaction_id: String,
|
784
|
+
visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
|
785
|
+
}
|
786
|
+
|
787
|
+
type network = :visa
|
788
|
+
|
789
|
+
module Network
|
790
|
+
extend Increase::Internal::Type::Enum
|
791
|
+
|
792
|
+
# Visa: details will be under the `visa` object.
|
793
|
+
VISA: :visa
|
794
|
+
|
795
|
+
def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardDisputeFinancial::network]
|
796
|
+
end
|
797
|
+
|
798
|
+
type visa =
|
799
|
+
{
|
800
|
+
event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
|
801
|
+
}
|
802
|
+
|
803
|
+
class Visa < Increase::Internal::Type::BaseModel
|
804
|
+
attr_accessor event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
|
805
|
+
|
806
|
+
def initialize: (
|
807
|
+
event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
|
808
|
+
) -> void
|
809
|
+
|
810
|
+
def to_hash: -> {
|
811
|
+
event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
|
812
|
+
}
|
813
|
+
|
814
|
+
type event_type =
|
815
|
+
:chargeback_submitted
|
816
|
+
| :merchant_prearbitration_declined
|
817
|
+
| :merchant_prearbitration_received
|
818
|
+
| :represented
|
819
|
+
| :user_prearbitration_declined
|
820
|
+
| :user_prearbitration_submitted
|
821
|
+
|
822
|
+
module EventType
|
823
|
+
extend Increase::Internal::Type::Enum
|
824
|
+
|
825
|
+
# The user's chargeback was submitted.
|
826
|
+
CHARGEBACK_SUBMITTED: :chargeback_submitted
|
827
|
+
|
828
|
+
# The user declined the merchant's request for pre-arbitration.
|
829
|
+
MERCHANT_PREARBITRATION_DECLINED: :merchant_prearbitration_declined
|
830
|
+
|
831
|
+
# The merchant's request for pre-arbitration was received.
|
832
|
+
MERCHANT_PREARBITRATION_RECEIVED: :merchant_prearbitration_received
|
833
|
+
|
834
|
+
# The transaction was represented by the merchant.
|
835
|
+
REPRESENTED: :represented
|
836
|
+
|
837
|
+
# The user's request for pre-arbitration was declined.
|
838
|
+
USER_PREARBITRATION_DECLINED: :user_prearbitration_declined
|
839
|
+
|
840
|
+
# The user's request for pre-arbitration was submitted.
|
841
|
+
USER_PREARBITRATION_SUBMITTED: :user_prearbitration_submitted
|
842
|
+
|
843
|
+
def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type]
|
844
|
+
end
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
746
848
|
type card_dispute_loss =
|
747
849
|
{
|
748
850
|
card_dispute_id: String,
|
@@ -2983,6 +3085,7 @@ module Increase
|
|
2983
3085
|
| :ach_transfer_return
|
2984
3086
|
| :cashback_payment
|
2985
3087
|
| :card_dispute_acceptance
|
3088
|
+
| :card_dispute_financial
|
2986
3089
|
| :card_dispute_loss
|
2987
3090
|
| :card_refund
|
2988
3091
|
| :card_settlement
|
@@ -3030,6 +3133,9 @@ module Increase
|
|
3030
3133
|
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
3031
3134
|
CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance
|
3032
3135
|
|
3136
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
3137
|
+
CARD_DISPUTE_FINANCIAL: :card_dispute_financial
|
3138
|
+
|
3033
3139
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
3034
3140
|
CARD_DISPUTE_LOSS: :card_dispute_loss
|
3035
3141
|
|
@@ -88,6 +88,7 @@ module Increase
|
|
88
88
|
| :ach_transfer_return
|
89
89
|
| :cashback_payment
|
90
90
|
| :card_dispute_acceptance
|
91
|
+
| :card_dispute_financial
|
91
92
|
| :card_dispute_loss
|
92
93
|
| :card_refund
|
93
94
|
| :card_settlement
|
@@ -135,6 +136,9 @@ module Increase
|
|
135
136
|
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
136
137
|
CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance
|
137
138
|
|
139
|
+
# Card Dispute Financial: details will be under the `card_dispute_financial` object.
|
140
|
+
CARD_DISPUTE_FINANCIAL: :card_dispute_financial
|
141
|
+
|
138
142
|
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
139
143
|
CARD_DISPUTE_LOSS: :card_dispute_loss
|
140
144
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|