increase 1.203.0 → 1.204.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/account_transfer.rb +25 -25
- data/lib/increase/models/ach_transfer.rb +28 -28
- data/lib/increase/models/card_dispute.rb +79 -79
- data/lib/increase/models/card_payment.rb +82 -82
- data/lib/increase/models/card_push_transfer.rb +25 -25
- data/lib/increase/models/card_validation.rb +25 -25
- data/lib/increase/models/check_transfer.rb +25 -25
- data/lib/increase/models/declined_transaction.rb +53 -53
- data/lib/increase/models/fednow_transfer.rb +25 -25
- data/lib/increase/models/pending_transaction.rb +85 -85
- data/lib/increase/models/real_time_payments_transfer.rb +25 -25
- data/lib/increase/models/swift_transfer.rb +25 -25
- data/lib/increase/models/transaction.rb +173 -173
- data/lib/increase/models/wire_transfer.rb +28 -28
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_transfer.rbi +40 -40
- data/rbi/increase/models/ach_transfer.rbi +42 -42
- data/rbi/increase/models/card_dispute.rbi +141 -141
- data/rbi/increase/models/card_payment.rbi +144 -144
- data/rbi/increase/models/card_push_transfer.rbi +40 -40
- data/rbi/increase/models/card_validation.rbi +40 -40
- data/rbi/increase/models/check_transfer.rbi +40 -40
- data/rbi/increase/models/declined_transaction.rbi +99 -99
- data/rbi/increase/models/fednow_transfer.rbi +40 -40
- data/rbi/increase/models/pending_transaction.rbi +163 -163
- data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
- data/rbi/increase/models/swift_transfer.rbi +40 -40
- data/rbi/increase/models/transaction.rbi +534 -534
- data/rbi/increase/models/wire_transfer.rbi +42 -42
- data/sig/increase/models/account_transfer.rbs +17 -17
- data/sig/increase/models/ach_transfer.rbs +19 -19
- data/sig/increase/models/card_dispute.rbs +56 -56
- data/sig/increase/models/card_payment.rbs +81 -81
- data/sig/increase/models/card_push_transfer.rbs +17 -17
- data/sig/increase/models/card_validation.rbs +17 -17
- data/sig/increase/models/check_transfer.rbs +17 -17
- data/sig/increase/models/declined_transaction.rbs +52 -52
- data/sig/increase/models/fednow_transfer.rbs +17 -17
- data/sig/increase/models/pending_transaction.rbs +92 -92
- data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
- data/sig/increase/models/swift_transfer.rbs +17 -17
- data/sig/increase/models/transaction.rbs +202 -202
- data/sig/increase/models/wire_transfer.rbs +19 -19
- metadata +2 -2
|
@@ -86,13 +86,27 @@ module Increase
|
|
|
86
86
|
# @param type [Symbol, Increase::Models::CardPayment::Type] A constant representing the object's type. For this resource it will always be `
|
|
87
87
|
|
|
88
88
|
class Element < Increase::Internal::Type::BaseModel
|
|
89
|
+
# @!attribute category
|
|
90
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
91
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
92
|
+
#
|
|
93
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::Category]
|
|
94
|
+
required :category, enum: -> { Increase::CardPayment::Element::Category }
|
|
95
|
+
|
|
96
|
+
# @!attribute created_at
|
|
97
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
98
|
+
# the card payment element was created.
|
|
99
|
+
#
|
|
100
|
+
# @return [Time]
|
|
101
|
+
required :created_at, Time
|
|
102
|
+
|
|
89
103
|
# @!attribute card_authentication
|
|
90
104
|
# A Card Authentication object. This field will be present in the JSON response if
|
|
91
105
|
# and only if `category` is equal to `card_authentication`. Card Authentications
|
|
92
106
|
# are attempts to authenticate a transaction or a card with 3DS.
|
|
93
107
|
#
|
|
94
108
|
# @return [Increase::Models::CardPayment::Element::CardAuthentication, nil]
|
|
95
|
-
|
|
109
|
+
optional :card_authentication, -> { Increase::CardPayment::Element::CardAuthentication }, nil?: true
|
|
96
110
|
|
|
97
111
|
# @!attribute card_authorization
|
|
98
112
|
# A Card Authorization object. This field will be present in the JSON response if
|
|
@@ -101,7 +115,7 @@ module Increase
|
|
|
101
115
|
# transaction.
|
|
102
116
|
#
|
|
103
117
|
# @return [Increase::Models::CardPayment::Element::CardAuthorization, nil]
|
|
104
|
-
|
|
118
|
+
optional :card_authorization, -> { Increase::CardPayment::Element::CardAuthorization }, nil?: true
|
|
105
119
|
|
|
106
120
|
# @!attribute card_authorization_expiration
|
|
107
121
|
# A Card Authorization Expiration object. This field will be present in the JSON
|
|
@@ -110,7 +124,7 @@ module Increase
|
|
|
110
124
|
# never settled by the acquirer.
|
|
111
125
|
#
|
|
112
126
|
# @return [Increase::Models::CardPayment::Element::CardAuthorizationExpiration, nil]
|
|
113
|
-
|
|
127
|
+
optional :card_authorization_expiration,
|
|
114
128
|
-> { Increase::CardPayment::Element::CardAuthorizationExpiration },
|
|
115
129
|
nil?: true
|
|
116
130
|
|
|
@@ -122,14 +136,14 @@ module Increase
|
|
|
122
136
|
# requests their balance at an ATM.
|
|
123
137
|
#
|
|
124
138
|
# @return [Increase::Models::CardPayment::Element::CardBalanceInquiry, nil]
|
|
125
|
-
|
|
139
|
+
optional :card_balance_inquiry, -> { Increase::CardPayment::Element::CardBalanceInquiry }, nil?: true
|
|
126
140
|
|
|
127
141
|
# @!attribute card_decline
|
|
128
142
|
# A Card Decline object. This field will be present in the JSON response if and
|
|
129
143
|
# only if `category` is equal to `card_decline`.
|
|
130
144
|
#
|
|
131
145
|
# @return [Increase::Models::CardPayment::Element::CardDecline, nil]
|
|
132
|
-
|
|
146
|
+
optional :card_decline, -> { Increase::CardPayment::Element::CardDecline }, nil?: true
|
|
133
147
|
|
|
134
148
|
# @!attribute card_financial
|
|
135
149
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
@@ -137,7 +151,7 @@ module Increase
|
|
|
137
151
|
# holds placed on a customers funds with the intent to later clear a transaction.
|
|
138
152
|
#
|
|
139
153
|
# @return [Increase::Models::CardPayment::Element::CardFinancial, nil]
|
|
140
|
-
|
|
154
|
+
optional :card_financial, -> { Increase::CardPayment::Element::CardFinancial }, nil?: true
|
|
141
155
|
|
|
142
156
|
# @!attribute card_fuel_confirmation
|
|
143
157
|
# A Card Fuel Confirmation object. This field will be present in the JSON response
|
|
@@ -146,7 +160,7 @@ module Increase
|
|
|
146
160
|
# transaction is completed.
|
|
147
161
|
#
|
|
148
162
|
# @return [Increase::Models::CardPayment::Element::CardFuelConfirmation, nil]
|
|
149
|
-
|
|
163
|
+
optional :card_fuel_confirmation,
|
|
150
164
|
-> {
|
|
151
165
|
Increase::CardPayment::Element::CardFuelConfirmation
|
|
152
166
|
},
|
|
@@ -158,7 +172,7 @@ module Increase
|
|
|
158
172
|
# pending amount of an authorized transaction.
|
|
159
173
|
#
|
|
160
174
|
# @return [Increase::Models::CardPayment::Element::CardIncrement, nil]
|
|
161
|
-
|
|
175
|
+
optional :card_increment, -> { Increase::CardPayment::Element::CardIncrement }, nil?: true
|
|
162
176
|
|
|
163
177
|
# @!attribute card_refund
|
|
164
178
|
# A Card Refund object. This field will be present in the JSON response if and
|
|
@@ -168,7 +182,7 @@ module Increase
|
|
|
168
182
|
# transaction.
|
|
169
183
|
#
|
|
170
184
|
# @return [Increase::Models::CardPayment::Element::CardRefund, nil]
|
|
171
|
-
|
|
185
|
+
optional :card_refund, -> { Increase::CardPayment::Element::CardRefund }, nil?: true
|
|
172
186
|
|
|
173
187
|
# @!attribute card_reversal
|
|
174
188
|
# A Card Reversal object. This field will be present in the JSON response if and
|
|
@@ -176,7 +190,7 @@ module Increase
|
|
|
176
190
|
# or the entirety of an existing Card Authorization.
|
|
177
191
|
#
|
|
178
192
|
# @return [Increase::Models::CardPayment::Element::CardReversal, nil]
|
|
179
|
-
|
|
193
|
+
optional :card_reversal, -> { Increase::CardPayment::Element::CardReversal }, nil?: true
|
|
180
194
|
|
|
181
195
|
# @!attribute card_settlement
|
|
182
196
|
# A Card Settlement object. This field will be present in the JSON response if and
|
|
@@ -186,7 +200,7 @@ module Increase
|
|
|
186
200
|
# without first authorizing it.
|
|
187
201
|
#
|
|
188
202
|
# @return [Increase::Models::CardPayment::Element::CardSettlement, nil]
|
|
189
|
-
|
|
203
|
+
optional :card_settlement, -> { Increase::CardPayment::Element::CardSettlement }, nil?: true
|
|
190
204
|
|
|
191
205
|
# @!attribute card_validation
|
|
192
206
|
# An Inbound Card Validation object. This field will be present in the JSON
|
|
@@ -195,33 +209,23 @@ module Increase
|
|
|
195
209
|
# optionally its address and/or Card Verification Value are valid.
|
|
196
210
|
#
|
|
197
211
|
# @return [Increase::Models::CardPayment::Element::CardValidation, nil]
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
# @!attribute category
|
|
201
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
202
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
203
|
-
#
|
|
204
|
-
# @return [Symbol, Increase::Models::CardPayment::Element::Category]
|
|
205
|
-
required :category, enum: -> { Increase::CardPayment::Element::Category }
|
|
206
|
-
|
|
207
|
-
# @!attribute created_at
|
|
208
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
209
|
-
# the card payment element was created.
|
|
210
|
-
#
|
|
211
|
-
# @return [Time]
|
|
212
|
-
required :created_at, Time
|
|
212
|
+
optional :card_validation, -> { Increase::CardPayment::Element::CardValidation }, nil?: true
|
|
213
213
|
|
|
214
214
|
# @!attribute other
|
|
215
215
|
# If the category of this Transaction source is equal to `other`, this field will
|
|
216
216
|
# contain an empty object, otherwise it will contain null.
|
|
217
217
|
#
|
|
218
218
|
# @return [Increase::Models::CardPayment::Element::Other, nil]
|
|
219
|
-
|
|
219
|
+
optional :other, -> { Increase::CardPayment::Element::Other }, nil?: true
|
|
220
220
|
|
|
221
|
-
# @!method initialize(
|
|
221
|
+
# @!method initialize(category:, created_at:, card_authentication: nil, card_authorization: nil, card_authorization_expiration: nil, card_balance_inquiry: nil, card_decline: nil, card_financial: nil, card_fuel_confirmation: nil, card_increment: nil, card_refund: nil, card_reversal: nil, card_settlement: nil, card_validation: nil, other: nil)
|
|
222
222
|
# Some parameter documentations has been truncated, see
|
|
223
223
|
# {Increase::Models::CardPayment::Element} for more details.
|
|
224
224
|
#
|
|
225
|
+
# @param category [Symbol, Increase::Models::CardPayment::Element::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
226
|
+
#
|
|
227
|
+
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
|
|
228
|
+
#
|
|
225
229
|
# @param card_authentication [Increase::Models::CardPayment::Element::CardAuthentication, nil] A Card Authentication object. This field will be present in the JSON response if
|
|
226
230
|
#
|
|
227
231
|
# @param card_authorization [Increase::Models::CardPayment::Element::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if
|
|
@@ -246,12 +250,58 @@ module Increase
|
|
|
246
250
|
#
|
|
247
251
|
# @param card_validation [Increase::Models::CardPayment::Element::CardValidation, nil] An Inbound Card Validation object. This field will be present in the JSON respon
|
|
248
252
|
#
|
|
249
|
-
# @param category [Symbol, Increase::Models::CardPayment::Element::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
250
|
-
#
|
|
251
|
-
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
|
|
252
|
-
#
|
|
253
253
|
# @param other [Increase::Models::CardPayment::Element::Other, nil] If the category of this Transaction source is equal to `other`, this field will
|
|
254
254
|
|
|
255
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
256
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
257
|
+
#
|
|
258
|
+
# @see Increase::Models::CardPayment::Element#category
|
|
259
|
+
module Category
|
|
260
|
+
extend Increase::Internal::Type::Enum
|
|
261
|
+
|
|
262
|
+
# Card Authorization: details will be under the `card_authorization` object.
|
|
263
|
+
CARD_AUTHORIZATION = :card_authorization
|
|
264
|
+
|
|
265
|
+
# Card Authentication: details will be under the `card_authentication` object.
|
|
266
|
+
CARD_AUTHENTICATION = :card_authentication
|
|
267
|
+
|
|
268
|
+
# Card Balance Inquiry: details will be under the `card_balance_inquiry` object.
|
|
269
|
+
CARD_BALANCE_INQUIRY = :card_balance_inquiry
|
|
270
|
+
|
|
271
|
+
# Inbound Card Validation: details will be under the `card_validation` object.
|
|
272
|
+
CARD_VALIDATION = :card_validation
|
|
273
|
+
|
|
274
|
+
# Card Decline: details will be under the `card_decline` object.
|
|
275
|
+
CARD_DECLINE = :card_decline
|
|
276
|
+
|
|
277
|
+
# Card Reversal: details will be under the `card_reversal` object.
|
|
278
|
+
CARD_REVERSAL = :card_reversal
|
|
279
|
+
|
|
280
|
+
# Card Authorization Expiration: details will be under the `card_authorization_expiration` object.
|
|
281
|
+
CARD_AUTHORIZATION_EXPIRATION = :card_authorization_expiration
|
|
282
|
+
|
|
283
|
+
# Card Increment: details will be under the `card_increment` object.
|
|
284
|
+
CARD_INCREMENT = :card_increment
|
|
285
|
+
|
|
286
|
+
# Card Settlement: details will be under the `card_settlement` object.
|
|
287
|
+
CARD_SETTLEMENT = :card_settlement
|
|
288
|
+
|
|
289
|
+
# Card Refund: details will be under the `card_refund` object.
|
|
290
|
+
CARD_REFUND = :card_refund
|
|
291
|
+
|
|
292
|
+
# Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
|
|
293
|
+
CARD_FUEL_CONFIRMATION = :card_fuel_confirmation
|
|
294
|
+
|
|
295
|
+
# Card Financial: details will be under the `card_financial` object.
|
|
296
|
+
CARD_FINANCIAL = :card_financial
|
|
297
|
+
|
|
298
|
+
# Unknown card payment element.
|
|
299
|
+
OTHER = :other
|
|
300
|
+
|
|
301
|
+
# @!method self.values
|
|
302
|
+
# @return [Array<Symbol>]
|
|
303
|
+
end
|
|
304
|
+
|
|
255
305
|
# @see Increase::Models::CardPayment::Element#card_authentication
|
|
256
306
|
class CardAuthentication < Increase::Internal::Type::BaseModel
|
|
257
307
|
# @!attribute id
|
|
@@ -10526,56 +10576,6 @@ module Increase
|
|
|
10526
10576
|
end
|
|
10527
10577
|
end
|
|
10528
10578
|
|
|
10529
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
10530
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
10531
|
-
#
|
|
10532
|
-
# @see Increase::Models::CardPayment::Element#category
|
|
10533
|
-
module Category
|
|
10534
|
-
extend Increase::Internal::Type::Enum
|
|
10535
|
-
|
|
10536
|
-
# Card Authorization: details will be under the `card_authorization` object.
|
|
10537
|
-
CARD_AUTHORIZATION = :card_authorization
|
|
10538
|
-
|
|
10539
|
-
# Card Authentication: details will be under the `card_authentication` object.
|
|
10540
|
-
CARD_AUTHENTICATION = :card_authentication
|
|
10541
|
-
|
|
10542
|
-
# Card Balance Inquiry: details will be under the `card_balance_inquiry` object.
|
|
10543
|
-
CARD_BALANCE_INQUIRY = :card_balance_inquiry
|
|
10544
|
-
|
|
10545
|
-
# Inbound Card Validation: details will be under the `card_validation` object.
|
|
10546
|
-
CARD_VALIDATION = :card_validation
|
|
10547
|
-
|
|
10548
|
-
# Card Decline: details will be under the `card_decline` object.
|
|
10549
|
-
CARD_DECLINE = :card_decline
|
|
10550
|
-
|
|
10551
|
-
# Card Reversal: details will be under the `card_reversal` object.
|
|
10552
|
-
CARD_REVERSAL = :card_reversal
|
|
10553
|
-
|
|
10554
|
-
# Card Authorization Expiration: details will be under the `card_authorization_expiration` object.
|
|
10555
|
-
CARD_AUTHORIZATION_EXPIRATION = :card_authorization_expiration
|
|
10556
|
-
|
|
10557
|
-
# Card Increment: details will be under the `card_increment` object.
|
|
10558
|
-
CARD_INCREMENT = :card_increment
|
|
10559
|
-
|
|
10560
|
-
# Card Settlement: details will be under the `card_settlement` object.
|
|
10561
|
-
CARD_SETTLEMENT = :card_settlement
|
|
10562
|
-
|
|
10563
|
-
# Card Refund: details will be under the `card_refund` object.
|
|
10564
|
-
CARD_REFUND = :card_refund
|
|
10565
|
-
|
|
10566
|
-
# Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
|
|
10567
|
-
CARD_FUEL_CONFIRMATION = :card_fuel_confirmation
|
|
10568
|
-
|
|
10569
|
-
# Card Financial: details will be under the `card_financial` object.
|
|
10570
|
-
CARD_FINANCIAL = :card_financial
|
|
10571
|
-
|
|
10572
|
-
# Unknown card payment element.
|
|
10573
|
-
OTHER = :other
|
|
10574
|
-
|
|
10575
|
-
# @!method self.values
|
|
10576
|
-
# @return [Array<Symbol>]
|
|
10577
|
-
end
|
|
10578
|
-
|
|
10579
10579
|
# @see Increase::Models::CardPayment::Element#other
|
|
10580
10580
|
class Other < Increase::Internal::Type::BaseModel
|
|
10581
10581
|
# @!method initialize
|
|
@@ -427,23 +427,23 @@ module Increase
|
|
|
427
427
|
|
|
428
428
|
# @see Increase::Models::CardPushTransfer#created_by
|
|
429
429
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
430
|
-
# @!attribute api_key
|
|
431
|
-
# If present, details about the API key that created the transfer.
|
|
432
|
-
#
|
|
433
|
-
# @return [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil]
|
|
434
|
-
required :api_key, -> { Increase::CardPushTransfer::CreatedBy::APIKey }, nil?: true
|
|
435
|
-
|
|
436
430
|
# @!attribute category
|
|
437
431
|
# The type of object that created this transfer.
|
|
438
432
|
#
|
|
439
433
|
# @return [Symbol, Increase::Models::CardPushTransfer::CreatedBy::Category]
|
|
440
434
|
required :category, enum: -> { Increase::CardPushTransfer::CreatedBy::Category }
|
|
441
435
|
|
|
436
|
+
# @!attribute api_key
|
|
437
|
+
# If present, details about the API key that created the transfer.
|
|
438
|
+
#
|
|
439
|
+
# @return [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil]
|
|
440
|
+
optional :api_key, -> { Increase::CardPushTransfer::CreatedBy::APIKey }, nil?: true
|
|
441
|
+
|
|
442
442
|
# @!attribute oauth_application
|
|
443
443
|
# If present, details about the OAuth Application that created the transfer.
|
|
444
444
|
#
|
|
445
445
|
# @return [Increase::Models::CardPushTransfer::CreatedBy::OAuthApplication, nil]
|
|
446
|
-
|
|
446
|
+
optional :oauth_application,
|
|
447
447
|
-> {
|
|
448
448
|
Increase::CardPushTransfer::CreatedBy::OAuthApplication
|
|
449
449
|
},
|
|
@@ -453,33 +453,19 @@ module Increase
|
|
|
453
453
|
# If present, details about the User that created the transfer.
|
|
454
454
|
#
|
|
455
455
|
# @return [Increase::Models::CardPushTransfer::CreatedBy::User, nil]
|
|
456
|
-
|
|
456
|
+
optional :user, -> { Increase::CardPushTransfer::CreatedBy::User }, nil?: true
|
|
457
457
|
|
|
458
|
-
# @!method initialize(
|
|
458
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
459
459
|
# What object created the transfer, either via the API or the dashboard.
|
|
460
460
|
#
|
|
461
|
-
# @param api_key [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
462
|
-
#
|
|
463
461
|
# @param category [Symbol, Increase::Models::CardPushTransfer::CreatedBy::Category] The type of object that created this transfer.
|
|
464
462
|
#
|
|
463
|
+
# @param api_key [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
464
|
+
#
|
|
465
465
|
# @param oauth_application [Increase::Models::CardPushTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
466
466
|
#
|
|
467
467
|
# @param user [Increase::Models::CardPushTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
468
468
|
|
|
469
|
-
# @see Increase::Models::CardPushTransfer::CreatedBy#api_key
|
|
470
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
471
|
-
# @!attribute description
|
|
472
|
-
# The description set for the API key when it was created.
|
|
473
|
-
#
|
|
474
|
-
# @return [String, nil]
|
|
475
|
-
required :description, String, nil?: true
|
|
476
|
-
|
|
477
|
-
# @!method initialize(description:)
|
|
478
|
-
# If present, details about the API key that created the transfer.
|
|
479
|
-
#
|
|
480
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
481
|
-
end
|
|
482
|
-
|
|
483
469
|
# The type of object that created this transfer.
|
|
484
470
|
#
|
|
485
471
|
# @see Increase::Models::CardPushTransfer::CreatedBy#category
|
|
@@ -499,6 +485,20 @@ module Increase
|
|
|
499
485
|
# @return [Array<Symbol>]
|
|
500
486
|
end
|
|
501
487
|
|
|
488
|
+
# @see Increase::Models::CardPushTransfer::CreatedBy#api_key
|
|
489
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
490
|
+
# @!attribute description
|
|
491
|
+
# The description set for the API key when it was created.
|
|
492
|
+
#
|
|
493
|
+
# @return [String, nil]
|
|
494
|
+
required :description, String, nil?: true
|
|
495
|
+
|
|
496
|
+
# @!method initialize(description:)
|
|
497
|
+
# If present, details about the API key that created the transfer.
|
|
498
|
+
#
|
|
499
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
500
|
+
end
|
|
501
|
+
|
|
502
502
|
# @see Increase::Models::CardPushTransfer::CreatedBy#oauth_application
|
|
503
503
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
504
504
|
# @!attribute name
|
|
@@ -419,55 +419,41 @@ module Increase
|
|
|
419
419
|
|
|
420
420
|
# @see Increase::Models::CardValidation#created_by
|
|
421
421
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
422
|
-
# @!attribute api_key
|
|
423
|
-
# If present, details about the API key that created the transfer.
|
|
424
|
-
#
|
|
425
|
-
# @return [Increase::Models::CardValidation::CreatedBy::APIKey, nil]
|
|
426
|
-
required :api_key, -> { Increase::CardValidation::CreatedBy::APIKey }, nil?: true
|
|
427
|
-
|
|
428
422
|
# @!attribute category
|
|
429
423
|
# The type of object that created this transfer.
|
|
430
424
|
#
|
|
431
425
|
# @return [Symbol, Increase::Models::CardValidation::CreatedBy::Category]
|
|
432
426
|
required :category, enum: -> { Increase::CardValidation::CreatedBy::Category }
|
|
433
427
|
|
|
428
|
+
# @!attribute api_key
|
|
429
|
+
# If present, details about the API key that created the transfer.
|
|
430
|
+
#
|
|
431
|
+
# @return [Increase::Models::CardValidation::CreatedBy::APIKey, nil]
|
|
432
|
+
optional :api_key, -> { Increase::CardValidation::CreatedBy::APIKey }, nil?: true
|
|
433
|
+
|
|
434
434
|
# @!attribute oauth_application
|
|
435
435
|
# If present, details about the OAuth Application that created the transfer.
|
|
436
436
|
#
|
|
437
437
|
# @return [Increase::Models::CardValidation::CreatedBy::OAuthApplication, nil]
|
|
438
|
-
|
|
438
|
+
optional :oauth_application, -> { Increase::CardValidation::CreatedBy::OAuthApplication }, nil?: true
|
|
439
439
|
|
|
440
440
|
# @!attribute user
|
|
441
441
|
# If present, details about the User that created the transfer.
|
|
442
442
|
#
|
|
443
443
|
# @return [Increase::Models::CardValidation::CreatedBy::User, nil]
|
|
444
|
-
|
|
444
|
+
optional :user, -> { Increase::CardValidation::CreatedBy::User }, nil?: true
|
|
445
445
|
|
|
446
|
-
# @!method initialize(
|
|
446
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
447
447
|
# What object created the validation, either via the API or the dashboard.
|
|
448
448
|
#
|
|
449
|
-
# @param api_key [Increase::Models::CardValidation::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
450
|
-
#
|
|
451
449
|
# @param category [Symbol, Increase::Models::CardValidation::CreatedBy::Category] The type of object that created this transfer.
|
|
452
450
|
#
|
|
451
|
+
# @param api_key [Increase::Models::CardValidation::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
452
|
+
#
|
|
453
453
|
# @param oauth_application [Increase::Models::CardValidation::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
454
454
|
#
|
|
455
455
|
# @param user [Increase::Models::CardValidation::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
456
456
|
|
|
457
|
-
# @see Increase::Models::CardValidation::CreatedBy#api_key
|
|
458
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
459
|
-
# @!attribute description
|
|
460
|
-
# The description set for the API key when it was created.
|
|
461
|
-
#
|
|
462
|
-
# @return [String, nil]
|
|
463
|
-
required :description, String, nil?: true
|
|
464
|
-
|
|
465
|
-
# @!method initialize(description:)
|
|
466
|
-
# If present, details about the API key that created the transfer.
|
|
467
|
-
#
|
|
468
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
469
|
-
end
|
|
470
|
-
|
|
471
457
|
# The type of object that created this transfer.
|
|
472
458
|
#
|
|
473
459
|
# @see Increase::Models::CardValidation::CreatedBy#category
|
|
@@ -487,6 +473,20 @@ module Increase
|
|
|
487
473
|
# @return [Array<Symbol>]
|
|
488
474
|
end
|
|
489
475
|
|
|
476
|
+
# @see Increase::Models::CardValidation::CreatedBy#api_key
|
|
477
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
478
|
+
# @!attribute description
|
|
479
|
+
# The description set for the API key when it was created.
|
|
480
|
+
#
|
|
481
|
+
# @return [String, nil]
|
|
482
|
+
required :description, String, nil?: true
|
|
483
|
+
|
|
484
|
+
# @!method initialize(description:)
|
|
485
|
+
# If present, details about the API key that created the transfer.
|
|
486
|
+
#
|
|
487
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
488
|
+
end
|
|
489
|
+
|
|
490
490
|
# @see Increase::Models::CardValidation::CreatedBy#oauth_application
|
|
491
491
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
492
492
|
# @!attribute name
|
|
@@ -304,55 +304,41 @@ module Increase
|
|
|
304
304
|
|
|
305
305
|
# @see Increase::Models::CheckTransfer#created_by
|
|
306
306
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
307
|
-
# @!attribute api_key
|
|
308
|
-
# If present, details about the API key that created the transfer.
|
|
309
|
-
#
|
|
310
|
-
# @return [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil]
|
|
311
|
-
required :api_key, -> { Increase::CheckTransfer::CreatedBy::APIKey }, nil?: true
|
|
312
|
-
|
|
313
307
|
# @!attribute category
|
|
314
308
|
# The type of object that created this transfer.
|
|
315
309
|
#
|
|
316
310
|
# @return [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category]
|
|
317
311
|
required :category, enum: -> { Increase::CheckTransfer::CreatedBy::Category }
|
|
318
312
|
|
|
313
|
+
# @!attribute api_key
|
|
314
|
+
# If present, details about the API key that created the transfer.
|
|
315
|
+
#
|
|
316
|
+
# @return [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil]
|
|
317
|
+
optional :api_key, -> { Increase::CheckTransfer::CreatedBy::APIKey }, nil?: true
|
|
318
|
+
|
|
319
319
|
# @!attribute oauth_application
|
|
320
320
|
# If present, details about the OAuth Application that created the transfer.
|
|
321
321
|
#
|
|
322
322
|
# @return [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil]
|
|
323
|
-
|
|
323
|
+
optional :oauth_application, -> { Increase::CheckTransfer::CreatedBy::OAuthApplication }, nil?: true
|
|
324
324
|
|
|
325
325
|
# @!attribute user
|
|
326
326
|
# If present, details about the User that created the transfer.
|
|
327
327
|
#
|
|
328
328
|
# @return [Increase::Models::CheckTransfer::CreatedBy::User, nil]
|
|
329
|
-
|
|
329
|
+
optional :user, -> { Increase::CheckTransfer::CreatedBy::User }, nil?: true
|
|
330
330
|
|
|
331
|
-
# @!method initialize(
|
|
331
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
332
332
|
# What object created the transfer, either via the API or the dashboard.
|
|
333
333
|
#
|
|
334
|
-
# @param api_key [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
335
|
-
#
|
|
336
334
|
# @param category [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category] The type of object that created this transfer.
|
|
337
335
|
#
|
|
336
|
+
# @param api_key [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
337
|
+
#
|
|
338
338
|
# @param oauth_application [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
339
339
|
#
|
|
340
340
|
# @param user [Increase::Models::CheckTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
341
341
|
|
|
342
|
-
# @see Increase::Models::CheckTransfer::CreatedBy#api_key
|
|
343
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
344
|
-
# @!attribute description
|
|
345
|
-
# The description set for the API key when it was created.
|
|
346
|
-
#
|
|
347
|
-
# @return [String, nil]
|
|
348
|
-
required :description, String, nil?: true
|
|
349
|
-
|
|
350
|
-
# @!method initialize(description:)
|
|
351
|
-
# If present, details about the API key that created the transfer.
|
|
352
|
-
#
|
|
353
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
354
|
-
end
|
|
355
|
-
|
|
356
342
|
# The type of object that created this transfer.
|
|
357
343
|
#
|
|
358
344
|
# @see Increase::Models::CheckTransfer::CreatedBy#category
|
|
@@ -372,6 +358,20 @@ module Increase
|
|
|
372
358
|
# @return [Array<Symbol>]
|
|
373
359
|
end
|
|
374
360
|
|
|
361
|
+
# @see Increase::Models::CheckTransfer::CreatedBy#api_key
|
|
362
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
363
|
+
# @!attribute description
|
|
364
|
+
# The description set for the API key when it was created.
|
|
365
|
+
#
|
|
366
|
+
# @return [String, nil]
|
|
367
|
+
required :description, String, nil?: true
|
|
368
|
+
|
|
369
|
+
# @!method initialize(description:)
|
|
370
|
+
# If present, details about the API key that created the transfer.
|
|
371
|
+
#
|
|
372
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
373
|
+
end
|
|
374
|
+
|
|
375
375
|
# @see Increase::Models::CheckTransfer::CreatedBy#oauth_application
|
|
376
376
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
377
377
|
# @!attribute name
|