increase 1.72.0 → 1.74.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6573c64ef6d55746a7b5f74d2ae538cdd1ac3c3e2de191a59d14ebaabcd2b9a
4
- data.tar.gz: bfaa07b7d6e8a0c917a05c82872aecb695d290880f7dedf5a0e429d3f9e81f48
3
+ metadata.gz: 352bb87a18fd3d72daceebb792dbe799ed16031c9d391d00ae2684eac0e69f76
4
+ data.tar.gz: 1b109684e3a04dd2e6c3791c5bd1909dc2f7983aa5ee1d8664fe140dc083d97f
5
5
  SHA512:
6
- metadata.gz: cbe4e5e4d1bedb485d13a909ed90fd0ea6122e277b883d63a822d219e468bc52ae222580541d47f1f5feb95805e67b0c819c1ccb0c886cbc453a7cde6fa07adc
7
- data.tar.gz: 014efd8432f6b10e53b0553d786ded92b90704078541b118d1d275ebdce24e4b71c3e6d7a3cabb54f73c161f1d236ebfa76347a6dd3452de553875764be956b0
6
+ metadata.gz: de5fa34162c12fe09c537bf2f3355defb96145c1c0645ae3127160554aa731ac1234418f4c8492cde61411fddf8e71ebf8e152e4e5cf5e0c29a939ac8b02fe1b
7
+ data.tar.gz: 38da026295f5dcdc4bc2cf1da7c491042640d8ab00d0119c15be7ea67eec98a058db03dfdc706a303c74ff002c3c8a76227061e8d8b522c78b86b8d914561248
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.74.0 (2025-09-12)
4
+
5
+ Full Changelog: [v1.73.0...v1.74.0](https://github.com/Increase/increase-ruby/compare/v1.73.0...v1.74.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a039096](https://github.com/Increase/increase-ruby/commit/a039096e79751ab557fae350119599801bcebb1c))
10
+
11
+ ## 1.73.0 (2025-09-09)
12
+
13
+ Full Changelog: [v1.72.0...v1.73.0](https://github.com/Increase/increase-ruby/compare/v1.72.0...v1.73.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([93fc5a7](https://github.com/Increase/increase-ruby/commit/93fc5a740da198d4814e4bbc1165c7168c7db734))
18
+
3
19
  ## 1.72.0 (2025-09-08)
4
20
 
5
21
  Full Changelog: [v1.71.0...v1.72.0](https://github.com/Increase/increase-ruby/compare/v1.71.0...v1.72.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.72.0"
18
+ gem "increase", "~> 1.74.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -1707,16 +1707,13 @@ module Increase
1707
1707
  module Result
1708
1708
  extend Increase::Internal::Type::Enum
1709
1709
 
1710
- # No address was provided in the authorization request.
1710
+ # No address information was provided in the authorization request.
1711
1711
  NOT_CHECKED = :not_checked
1712
1712
 
1713
- # Postal code matches, but the street address was not verified.
1714
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1715
-
1716
- # Postal code matches, but the street address does not match.
1713
+ # Postal code matches, but the street address does not match or was not provided.
1717
1714
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
1718
1715
 
1719
- # Postal code does not match, but the street address matches.
1716
+ # Postal code does not match, but the street address matches or was not provided.
1720
1717
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
1721
1718
 
1722
1719
  # Postal code and street address match.
@@ -1725,6 +1722,9 @@ module Increase
1725
1722
  # Postal code and street address do not match.
1726
1723
  NO_MATCH = :no_match
1727
1724
 
1725
+ # Postal code matches, but the street address was not verified. (deprecated)
1726
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1727
+
1728
1728
  # @!method self.values
1729
1729
  # @return [Array<Symbol>]
1730
1730
  end
@@ -3022,16 +3022,13 @@ module Increase
3022
3022
  module Result
3023
3023
  extend Increase::Internal::Type::Enum
3024
3024
 
3025
- # No address was provided in the authorization request.
3025
+ # No address information was provided in the authorization request.
3026
3026
  NOT_CHECKED = :not_checked
3027
3027
 
3028
- # Postal code matches, but the street address was not verified.
3029
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
3030
-
3031
- # Postal code matches, but the street address does not match.
3028
+ # Postal code matches, but the street address does not match or was not provided.
3032
3029
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
3033
3030
 
3034
- # Postal code does not match, but the street address matches.
3031
+ # Postal code does not match, but the street address matches or was not provided.
3035
3032
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
3036
3033
 
3037
3034
  # Postal code and street address match.
@@ -3040,6 +3037,9 @@ module Increase
3040
3037
  # Postal code and street address do not match.
3041
3038
  NO_MATCH = :no_match
3042
3039
 
3040
+ # Postal code matches, but the street address was not verified. (deprecated)
3041
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
3042
+
3043
3043
  # @!method self.values
3044
3044
  # @return [Array<Symbol>]
3045
3045
  end
@@ -7839,16 +7839,13 @@ module Increase
7839
7839
  module Result
7840
7840
  extend Increase::Internal::Type::Enum
7841
7841
 
7842
- # No address was provided in the authorization request.
7842
+ # No address information was provided in the authorization request.
7843
7843
  NOT_CHECKED = :not_checked
7844
7844
 
7845
- # Postal code matches, but the street address was not verified.
7846
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
7847
-
7848
- # Postal code matches, but the street address does not match.
7845
+ # Postal code matches, but the street address does not match or was not provided.
7849
7846
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
7850
7847
 
7851
- # Postal code does not match, but the street address matches.
7848
+ # Postal code does not match, but the street address matches or was not provided.
7852
7849
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
7853
7850
 
7854
7851
  # Postal code and street address match.
@@ -7857,6 +7854,9 @@ module Increase
7857
7854
  # Postal code and street address do not match.
7858
7855
  NO_MATCH = :no_match
7859
7856
 
7857
+ # Postal code matches, but the street address was not verified. (deprecated)
7858
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
7859
+
7860
7860
  # @!method self.values
7861
7861
  # @return [Array<Symbol>]
7862
7862
  end
@@ -1600,16 +1600,13 @@ module Increase
1600
1600
  module Result
1601
1601
  extend Increase::Internal::Type::Enum
1602
1602
 
1603
- # No address was provided in the authorization request.
1603
+ # No address information was provided in the authorization request.
1604
1604
  NOT_CHECKED = :not_checked
1605
1605
 
1606
- # Postal code matches, but the street address was not verified.
1607
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1608
-
1609
- # Postal code matches, but the street address does not match.
1606
+ # Postal code matches, but the street address does not match or was not provided.
1610
1607
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
1611
1608
 
1612
- # Postal code does not match, but the street address matches.
1609
+ # Postal code does not match, but the street address matches or was not provided.
1613
1610
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
1614
1611
 
1615
1612
  # Postal code and street address match.
@@ -1618,6 +1615,9 @@ module Increase
1618
1615
  # Postal code and street address do not match.
1619
1616
  NO_MATCH = :no_match
1620
1617
 
1618
+ # Postal code matches, but the street address was not verified. (deprecated)
1619
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1620
+
1621
1621
  # @!method self.values
1622
1622
  # @return [Array<Symbol>]
1623
1623
  end
@@ -1553,16 +1553,13 @@ module Increase
1553
1553
  module Result
1554
1554
  extend Increase::Internal::Type::Enum
1555
1555
 
1556
- # No address was provided in the authorization request.
1556
+ # No address information was provided in the authorization request.
1557
1557
  NOT_CHECKED = :not_checked
1558
1558
 
1559
- # Postal code matches, but the street address was not verified.
1560
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1561
-
1562
- # Postal code matches, but the street address does not match.
1559
+ # Postal code matches, but the street address does not match or was not provided.
1563
1560
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
1564
1561
 
1565
- # Postal code does not match, but the street address matches.
1562
+ # Postal code does not match, but the street address matches or was not provided.
1566
1563
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
1567
1564
 
1568
1565
  # Postal code and street address match.
@@ -1571,6 +1568,9 @@ module Increase
1571
1568
  # Postal code and street address do not match.
1572
1569
  NO_MATCH = :no_match
1573
1570
 
1571
+ # Postal code matches, but the street address was not verified. (deprecated)
1572
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1573
+
1574
1574
  # @!method self.values
1575
1575
  # @return [Array<Symbol>]
1576
1576
  end
@@ -268,6 +268,13 @@ module Increase
268
268
  # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil]
269
269
  required :decision, enum: -> { Increase::RealTimeDecision::CardAuthorization::Decision }, nil?: true
270
270
 
271
+ # @!attribute decline
272
+ # Present if and only if `decision` is `decline`. Contains information related to
273
+ # the reason the authorization was declined.
274
+ #
275
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil]
276
+ required :decline, -> { Increase::RealTimeDecision::CardAuthorization::Decline }, nil?: true
277
+
271
278
  # @!attribute digital_wallet_token_id
272
279
  # If the authorization was made via a Digital Wallet Token (such as an Apple Pay
273
280
  # purchase), the identifier of the token that was used.
@@ -416,7 +423,7 @@ module Increase
416
423
  # @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification]
417
424
  required :verification, -> { Increase::RealTimeDecision::CardAuthorization::Verification }
418
425
 
419
- # @!method initialize(account_id:, additional_amounts:, card_id:, decision:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
426
+ # @!method initialize(account_id:, additional_amounts:, card_id:, decision:, decline:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
420
427
  # Some parameter documentations has been truncated, see
421
428
  # {Increase::Models::RealTimeDecision::CardAuthorization} for more details.
422
429
  #
@@ -430,6 +437,8 @@ module Increase
430
437
  #
431
438
  # @param decision [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil] Whether or not the authorization was approved.
432
439
  #
440
+ # @param decline [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil] Present if and only if `decision` is `decline`. Contains information related to
441
+ #
433
442
  # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
434
443
  #
435
444
  # @param direction [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh
@@ -835,6 +844,21 @@ module Increase
835
844
  # @return [Array<Symbol>]
836
845
  end
837
846
 
847
+ # @see Increase::Models::RealTimeDecision::CardAuthorization#decline
848
+ class Decline < Increase::Internal::Type::BaseModel
849
+ # @!attribute reason
850
+ # The reason the authorization was declined.
851
+ #
852
+ # @return [String]
853
+ required :reason, String
854
+
855
+ # @!method initialize(reason:)
856
+ # Present if and only if `decision` is `decline`. Contains information related to
857
+ # the reason the authorization was declined.
858
+ #
859
+ # @param reason [String] The reason the authorization was declined.
860
+ end
861
+
838
862
  # The direction describes the direction the funds will move, either from the
839
863
  # cardholder to the merchant or from the merchant to the cardholder.
840
864
  #
@@ -1334,16 +1358,13 @@ module Increase
1334
1358
  module Result
1335
1359
  extend Increase::Internal::Type::Enum
1336
1360
 
1337
- # No address was provided in the authorization request.
1361
+ # No address information was provided in the authorization request.
1338
1362
  NOT_CHECKED = :not_checked
1339
1363
 
1340
- # Postal code matches, but the street address was not verified.
1341
- POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1342
-
1343
- # Postal code matches, but the street address does not match.
1364
+ # Postal code matches, but the street address does not match or was not provided.
1344
1365
  POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
1345
1366
 
1346
- # Postal code does not match, but the street address matches.
1367
+ # Postal code does not match, but the street address matches or was not provided.
1347
1368
  POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
1348
1369
 
1349
1370
  # Postal code and street address match.
@@ -1352,6 +1373,9 @@ module Increase
1352
1373
  # Postal code and street address do not match.
1353
1374
  NO_MATCH = :no_match
1354
1375
 
1376
+ # Postal code matches, but the street address was not verified. (deprecated)
1377
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
1378
+
1355
1379
  # @!method self.values
1356
1380
  # @return [Array<Symbol>]
1357
1381
  end
@@ -136,15 +136,23 @@ module Increase
136
136
  # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision]
137
137
  required :decision, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decision }
138
138
 
139
- # @!attribute decline_reason
140
- # The reason the card authorization was declined. This translates to a specific
141
- # decline code that is sent to the card network.
139
+ # @!attribute approval
140
+ # If your application approves the authorization, this contains metadata about
141
+ # your decision to approve. Your response here is advisory to the acquiring bank.
142
+ # The bank may choose to reverse the authorization if you approve the transaction
143
+ # but indicate the address does not match.
144
+ #
145
+ # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval, nil]
146
+ optional :approval, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval }
147
+
148
+ # @!attribute decline
149
+ # If your application declines the authorization, this contains details about the
150
+ # decline.
142
151
  #
143
- # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason, nil]
144
- optional :decline_reason,
145
- enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason }
152
+ # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline, nil]
153
+ optional :decline, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline }
146
154
 
147
- # @!method initialize(decision:, decline_reason: nil)
155
+ # @!method initialize(decision:, approval: nil, decline: nil)
148
156
  # Some parameter documentations has been truncated, see
149
157
  # {Increase::Models::RealTimeDecisionActionParams::CardAuthorization} for more
150
158
  # details.
@@ -154,7 +162,9 @@ module Increase
154
162
  #
155
163
  # @param decision [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision] Whether the card authorization should be approved or declined.
156
164
  #
157
- # @param decline_reason [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason] The reason the card authorization was declined. This translates to a specific de
165
+ # @param approval [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval] If your application approves the authorization, this contains metadata about you
166
+ #
167
+ # @param decline [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline] If your application declines the authorization, this contains details about the
158
168
 
159
169
  # Whether the card authorization should be approved or declined.
160
170
  #
@@ -172,33 +182,151 @@ module Increase
172
182
  # @return [Array<Symbol>]
173
183
  end
174
184
 
175
- # The reason the card authorization was declined. This translates to a specific
176
- # decline code that is sent to the card network.
177
- #
178
- # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decline_reason
179
- module DeclineReason
180
- extend Increase::Internal::Type::Enum
185
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#approval
186
+ class Approval < Increase::Internal::Type::BaseModel
187
+ # @!attribute cardholder_address_verification_result
188
+ # Your decisions on whether or not each provided address component is a match.
189
+ # Your response here is evaluated against the customer's provided `postal_code`
190
+ # and `line1`, and an appropriate network response is generated. For example, if
191
+ # you would like to approve all transactions for a given card, you can submit
192
+ # `match` for both `postal_code` and `line1` and Increase will generate an
193
+ # approval with an Address Verification System (AVS) code that will match all of
194
+ # the available address information, or will report that no check was performed if
195
+ # no address information is available. If you do not provide a response, the
196
+ # address verification result will be calculated by Increase using the available
197
+ # address information available on the card. If none is available, Increase will
198
+ # report that no check was performed.
199
+ #
200
+ # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult, nil]
201
+ optional :cardholder_address_verification_result,
202
+ -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult }
181
203
 
182
- # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
183
- INSUFFICIENT_FUNDS = :insufficient_funds
204
+ # @!method initialize(cardholder_address_verification_result: nil)
205
+ # Some parameter documentations has been truncated, see
206
+ # {Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval}
207
+ # for more details.
208
+ #
209
+ # If your application approves the authorization, this contains metadata about
210
+ # your decision to approve. Your response here is advisory to the acquiring bank.
211
+ # The bank may choose to reverse the authorization if you approve the transaction
212
+ # but indicate the address does not match.
213
+ #
214
+ # @param cardholder_address_verification_result [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult] Your decisions on whether or not each provided address component is a match. You
215
+
216
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval#cardholder_address_verification_result
217
+ class CardholderAddressVerificationResult < Increase::Internal::Type::BaseModel
218
+ # @!attribute line1
219
+ # Your decision on the address line of the provided address.
220
+ #
221
+ # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1]
222
+ required :line1,
223
+ enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1 }
224
+
225
+ # @!attribute postal_code
226
+ # Your decision on the postal code of the provided address.
227
+ #
228
+ # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode]
229
+ required :postal_code,
230
+ enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode }
231
+
232
+ # @!method initialize(line1:, postal_code:)
233
+ # Your decisions on whether or not each provided address component is a match.
234
+ # Your response here is evaluated against the customer's provided `postal_code`
235
+ # and `line1`, and an appropriate network response is generated. For example, if
236
+ # you would like to approve all transactions for a given card, you can submit
237
+ # `match` for both `postal_code` and `line1` and Increase will generate an
238
+ # approval with an Address Verification System (AVS) code that will match all of
239
+ # the available address information, or will report that no check was performed if
240
+ # no address information is available. If you do not provide a response, the
241
+ # address verification result will be calculated by Increase using the available
242
+ # address information available on the card. If none is available, Increase will
243
+ # report that no check was performed.
244
+ #
245
+ # @param line1 [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1] Your decision on the address line of the provided address.
246
+ #
247
+ # @param postal_code [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode] Your decision on the postal code of the provided address.
248
+
249
+ # Your decision on the address line of the provided address.
250
+ #
251
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult#line1
252
+ module Line1
253
+ extend Increase::Internal::Type::Enum
254
+
255
+ # The cardholder address verification result matches the address provided by the merchant.
256
+ MATCH = :match
257
+
258
+ # The cardholder address verification result does not match the address provided by the merchant.
259
+ NO_MATCH = :no_match
260
+
261
+ # @!method self.values
262
+ # @return [Array<Symbol>]
263
+ end
264
+
265
+ # Your decision on the postal code of the provided address.
266
+ #
267
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult#postal_code
268
+ module PostalCode
269
+ extend Increase::Internal::Type::Enum
270
+
271
+ # The cardholder address verification result matches the address provided by the merchant.
272
+ MATCH = :match
273
+
274
+ # The cardholder address verification result does not match the address provided by the merchant.
275
+ NO_MATCH = :no_match
276
+
277
+ # @!method self.values
278
+ # @return [Array<Symbol>]
279
+ end
280
+ end
281
+ end
184
282
 
185
- # This type of transaction is not allowed for this card. This transaction should not be retried.
186
- TRANSACTION_NEVER_ALLOWED = :transaction_never_allowed
283
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decline
284
+ class Decline < Increase::Internal::Type::BaseModel
285
+ # @!attribute reason
286
+ # The reason the card authorization was declined. This translates to a specific
287
+ # decline code that is sent to the card network.
288
+ #
289
+ # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason]
290
+ required :reason, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason }
291
+
292
+ # @!method initialize(reason:)
293
+ # Some parameter documentations has been truncated, see
294
+ # {Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline} for
295
+ # more details.
296
+ #
297
+ # If your application declines the authorization, this contains details about the
298
+ # decline.
299
+ #
300
+ # @param reason [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason] The reason the card authorization was declined. This translates to a specific de
187
301
 
188
- # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
189
- EXCEEDS_APPROVAL_LIMIT = :exceeds_approval_limit
302
+ # The reason the card authorization was declined. This translates to a specific
303
+ # decline code that is sent to the card network.
304
+ #
305
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline#reason
306
+ module Reason
307
+ extend Increase::Internal::Type::Enum
190
308
 
191
- # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
192
- CARD_TEMPORARILY_DISABLED = :card_temporarily_disabled
309
+ # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
310
+ INSUFFICIENT_FUNDS = :insufficient_funds
193
311
 
194
- # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
195
- SUSPECTED_FRAUD = :suspected_fraud
312
+ # This type of transaction is not allowed for this card. This transaction should not be retried.
313
+ TRANSACTION_NEVER_ALLOWED = :transaction_never_allowed
196
314
 
197
- # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
198
- OTHER = :other
315
+ # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
316
+ EXCEEDS_APPROVAL_LIMIT = :exceeds_approval_limit
199
317
 
200
- # @!method self.values
201
- # @return [Array<Symbol>]
318
+ # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
319
+ CARD_TEMPORARILY_DISABLED = :card_temporarily_disabled
320
+
321
+ # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
322
+ SUSPECTED_FRAUD = :suspected_fraud
323
+
324
+ # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
325
+ OTHER = :other
326
+
327
+ # @!method self.values
328
+ # @return [Array<Symbol>]
329
+ end
202
330
  end
203
331
  end
204
332
 
@@ -210,17 +338,23 @@ module Increase
210
338
  required :result, enum: -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result }
211
339
 
212
340
  # @!attribute success
341
+ # If your application was able to deliver the one-time passcode, this contains
342
+ # metadata about the delivery. Exactly one of `phone` or `email` must be provided.
213
343
  #
214
344
  # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success, nil]
215
345
  optional :success, -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success }
216
346
 
217
347
  # @!method initialize(result:, success: nil)
348
+ # Some parameter documentations has been truncated, see
349
+ # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication}
350
+ # for more details.
351
+ #
218
352
  # If the Real-Time Decision relates to a digital wallet authentication attempt,
219
353
  # this object contains your response to the authentication.
220
354
  #
221
355
  # @param result [Symbol, Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] Whether your application was able to deliver the one-time passcode.
222
356
  #
223
- # @param success [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success]
357
+ # @param success [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success] If your application was able to deliver the one-time passcode, this contains met
224
358
 
225
359
  # Whether your application was able to deliver the one-time passcode.
226
360
  #
@@ -258,6 +392,9 @@ module Increase
258
392
  # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success}
259
393
  # for more details.
260
394
  #
395
+ # If your application was able to deliver the one-time passcode, this contains
396
+ # metadata about the delivery. Exactly one of `phone` or `email` must be provided.
397
+ #
261
398
  # @param email [String] The email address that was used to verify the cardholder via one-time passcode.
262
399
  #
263
400
  # @param phone [String] The phone number that was used to verify the cardholder via one-time passcode ov
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.72.0"
4
+ VERSION = "1.74.0"
5
5
  end