increase 1.341.0 → 1.342.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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_prenotification.rb +1 -1
  4. data/lib/increase/models/ach_transfer.rb +21 -2
  5. data/lib/increase/models/beneficial_owner_create_params.rb +12 -9
  6. data/lib/increase/models/beneficial_owner_update_params.rb +12 -9
  7. data/lib/increase/models/check_transfer.rb +4 -2
  8. data/lib/increase/models/entity_create_params.rb +72 -54
  9. data/lib/increase/models/entity_update_params.rb +24 -18
  10. data/lib/increase/models/event.rb +8 -0
  11. data/lib/increase/models/event_list_params.rb +8 -0
  12. data/lib/increase/models/event_subscription.rb +8 -0
  13. data/lib/increase/models/event_subscription_create_params.rb +8 -0
  14. data/lib/increase/models/inbound_wire_transfer.rb +18 -1
  15. data/lib/increase/models/simulations/ach_transfer_return_params.rb +15 -2
  16. data/lib/increase/models/simulations/card_settlement_create_params.rb +16 -14
  17. data/lib/increase/models/simulations/program_create_params.rb +0 -3
  18. data/lib/increase/models/swift_transfer.rb +12 -1
  19. data/lib/increase/models/swift_transfer_create_params.rb +12 -1
  20. data/lib/increase/models/transaction.rb +21 -2
  21. data/lib/increase/models/unwrap_webhook_event.rb +8 -0
  22. data/lib/increase/resources/simulations/ach_transfers.rb +6 -1
  23. data/lib/increase/resources/simulations/card_settlements.rb +7 -6
  24. data/lib/increase/resources/swift_transfers.rb +5 -1
  25. data/lib/increase/version.rb +1 -1
  26. data/rbi/increase/models/ach_prenotification.rbi +1 -1
  27. data/rbi/increase/models/ach_transfer.rbi +19 -1
  28. data/rbi/increase/models/beneficial_owner_create_params.rbi +13 -8
  29. data/rbi/increase/models/beneficial_owner_update_params.rbi +13 -8
  30. data/rbi/increase/models/check_transfer.rbi +4 -2
  31. data/rbi/increase/models/entity_create_params.rbi +78 -48
  32. data/rbi/increase/models/entity_update_params.rbi +26 -16
  33. data/rbi/increase/models/event.rbi +14 -0
  34. data/rbi/increase/models/event_list_params.rbi +14 -0
  35. data/rbi/increase/models/event_subscription.rbi +14 -0
  36. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  37. data/rbi/increase/models/inbound_wire_transfer.rbi +16 -0
  38. data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +16 -1
  39. data/rbi/increase/models/simulations/card_settlement_create_params.rbi +17 -12
  40. data/rbi/increase/models/simulations/program_create_params.rbi +0 -7
  41. data/rbi/increase/models/swift_transfer.rbi +10 -0
  42. data/rbi/increase/models/swift_transfer_create_params.rbi +13 -0
  43. data/rbi/increase/models/transaction.rbi +19 -1
  44. data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
  45. data/rbi/increase/resources/simulations/ach_transfers.rbi +5 -0
  46. data/rbi/increase/resources/simulations/card_settlements.rbi +6 -5
  47. data/rbi/increase/resources/swift_transfers.rbi +4 -0
  48. data/sig/increase/models/ach_prenotification.rbs +1 -1
  49. data/sig/increase/models/ach_transfer.rbs +6 -1
  50. data/sig/increase/models/beneficial_owner_create_params.rbs +7 -5
  51. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -5
  52. data/sig/increase/models/entity_create_params.rbs +42 -30
  53. data/sig/increase/models/entity_update_params.rbs +14 -10
  54. data/sig/increase/models/event.rbs +8 -0
  55. data/sig/increase/models/event_list_params.rbs +8 -0
  56. data/sig/increase/models/event_subscription.rbs +8 -0
  57. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  58. data/sig/increase/models/inbound_wire_transfer.rbs +10 -0
  59. data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -1
  60. data/sig/increase/models/simulations/card_settlement_create_params.rbs +7 -5
  61. data/sig/increase/models/simulations/program_create_params.rbs +1 -8
  62. data/sig/increase/models/swift_transfer.rbs +5 -0
  63. data/sig/increase/models/swift_transfer_create_params.rbs +7 -0
  64. data/sig/increase/models/transaction.rbs +6 -1
  65. data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
  66. data/sig/increase/resources/simulations/ach_transfers.rbs +1 -0
  67. data/sig/increase/resources/simulations/card_settlements.rbs +1 -1
  68. data/sig/increase/resources/swift_transfers.rbs +1 -0
  69. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab4493ffa54abfc98fa5da905c198e1bb148b8c48196b143d6673e465f92d545
4
- data.tar.gz: 52aea4fdf7ef614d1f6eca7156416eb519a927aa6617251514dbe0d1546de7ca
3
+ metadata.gz: 44b0c99f9f94e376bbbde161d7b141bfe9a27643400b13c0c0e134a564d2d698
4
+ data.tar.gz: ca46f0f817f585ef9d37022233dfae92be8fa56e5efc60053aeb9db60b4ddcad
5
5
  SHA512:
6
- metadata.gz: 8eb6199c0fe350de36591f66b19d8332249559d6be63f271b4244365b4483df3cd5e142421ddaebce22c77a4f32df1f7d0cbe12bd0cb7c37802e55c07fdc4a05
7
- data.tar.gz: e828cef340e904a77629bfd7e79f32e1c327d7252ae044450a5a8ac6d2b06bbb8a16d7acf9d609eeb5f234de1077ab024b3f8e116d5201d459ebb6d98ac74b4b
6
+ metadata.gz: 9a16128eea85df7d332895cb12ea94f275053d15b6908a6484a189ce26cdeee98b6998d98e3a64002c82dd84702fc3f9db20dad1481977e70f7ce2c82111a1dd
7
+ data.tar.gz: 9dba6715858bb4263772de1062463d767e54a10c9a39530aec9c1f04bbc816dc708f1aa567a0b1b13a42f9a4305984b671dafdfa9b86833ea004c62146b539cf
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.341.0"
18
+ gem "increase", "~> 1.342.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -459,7 +459,7 @@ module Increase
459
459
  # Code R13. The routing number is invalid.
460
460
  INVALID_ACH_ROUTING_NUMBER = :invalid_ach_routing_number
461
461
 
462
- # Code R17. The receiving bank is unable to process a field in the transfer.
462
+ # Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
463
463
  FILE_RECORD_EDIT_CRITERIA = :file_record_edit_criteria
464
464
 
465
465
  # Code R45. A rare return reason. The individual name field was invalid.
@@ -1103,6 +1103,17 @@ module Increase
1103
1103
 
1104
1104
  # @see Increase::Models::ACHTransfer#return_
1105
1105
  class Return < Increase::Internal::Type::BaseModel
1106
+ # @!attribute addenda_information
1107
+ # Additional free-form information included by the receiving bank in the return's
1108
+ # addenda record. This is raw, uninterpreted text whose presence and format are
1109
+ # not guaranteed. For a `file_record_edit_criteria` (R17) return the receiving
1110
+ # bank may set this to `QUESTIONABLE` (optionally followed by more text) to
1111
+ # indicate it believes the transfer was initiated under questionable
1112
+ # circumstances.
1113
+ #
1114
+ # @return [String, nil]
1115
+ required :addenda_information, String, nil?: true
1116
+
1106
1117
  # @!attribute created_at
1107
1118
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1108
1119
  # the transfer was created.
@@ -1145,9 +1156,17 @@ module Increase
1145
1156
  # @return [String]
1146
1157
  required :transfer_id, String
1147
1158
 
1148
- # @!method initialize(created_at:, raw_return_reason_code:, return_reason_code:, trace_number:, transaction_id:, transfer_id:)
1159
+ # @!method initialize(addenda_information:, created_at:, raw_return_reason_code:, return_reason_code:, trace_number:, transaction_id:, transfer_id:)
1149
1160
  # If your transfer is returned, this will contain details of the return.
1150
1161
  #
1162
+ # @param addenda_information [String, nil]
1163
+ # Additional free-form information included by the receiving bank in the return's
1164
+ # addenda record. This is raw, uninterpreted text whose presence and format are
1165
+ # not guaranteed. For a `file_record_edit_criteria` (R17) return the receiving
1166
+ # bank may set this to `QUESTIONABLE` (optionally followed by more text) to
1167
+ # indicate it believes the transfer was initiated under questionable
1168
+ # circumstances.
1169
+ #
1151
1170
  # @param created_at [Time]
1152
1171
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1153
1172
  # the transfer was created.
@@ -1227,7 +1246,7 @@ module Increase
1227
1246
  # Code R13. The routing number is invalid.
1228
1247
  INVALID_ACH_ROUTING_NUMBER = :invalid_ach_routing_number
1229
1248
 
1230
- # Code R17. The receiving bank is unable to process a field in the transfer.
1249
+ # Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
1231
1250
  FILE_RECORD_EDIT_CRITERIA = :file_record_edit_criteria
1232
1251
 
1233
1252
  # Code R45. A rare return reason. The individual name field was invalid.
@@ -115,18 +115,19 @@ module Increase
115
115
  # @return [String]
116
116
  required :city, String
117
117
 
118
- # @!attribute country
119
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
120
- #
121
- # @return [String]
122
- required :country, String
123
-
124
118
  # @!attribute line1
125
119
  # The first line of the address. This is usually the street number and street.
126
120
  #
127
121
  # @return [String]
128
122
  required :line1, String
129
123
 
124
+ # @!attribute country
125
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
126
+ # to `US`.
127
+ #
128
+ # @return [String, nil]
129
+ optional :country, String
130
+
130
131
  # @!attribute line2
131
132
  # The second line of the address. This might be the floor or room number.
132
133
  #
@@ -146,16 +147,18 @@ module Increase
146
147
  # @return [String, nil]
147
148
  optional :zip, String
148
149
 
149
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
150
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
150
151
  # The individual's physical address. Mail receiving locations like PO Boxes and
151
152
  # PMB's are disallowed.
152
153
  #
153
154
  # @param city [String] The city, district, town, or village of the address.
154
155
  #
155
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
156
- #
157
156
  # @param line1 [String] The first line of the address. This is usually the street number and street.
158
157
  #
158
+ # @param country [String]
159
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
160
+ # to `US`.
161
+ #
159
162
  # @param line2 [String] The second line of the address. This might be the floor or room number.
160
163
  #
161
164
  # @param state [String]
@@ -84,18 +84,19 @@ module Increase
84
84
  # @return [String]
85
85
  required :city, String
86
86
 
87
- # @!attribute country
88
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
89
- #
90
- # @return [String]
91
- required :country, String
92
-
93
87
  # @!attribute line1
94
88
  # The first line of the address. This is usually the street number and street.
95
89
  #
96
90
  # @return [String]
97
91
  required :line1, String
98
92
 
93
+ # @!attribute country
94
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
95
+ # to `US`.
96
+ #
97
+ # @return [String, nil]
98
+ optional :country, String
99
+
99
100
  # @!attribute line2
100
101
  # The second line of the address. This might be the floor or room number.
101
102
  #
@@ -115,16 +116,18 @@ module Increase
115
116
  # @return [String, nil]
116
117
  optional :zip, String
117
118
 
118
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
119
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
119
120
  # The individual's physical address. Mail receiving locations like PO Boxes and
120
121
  # PMB's are disallowed.
121
122
  #
122
123
  # @param city [String] The city, district, town, or village of the address.
123
124
  #
124
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
125
- #
126
125
  # @param line1 [String] The first line of the address. This is usually the street number and street.
127
126
  #
127
+ # @param country [String]
128
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
129
+ # to `US`.
130
+ #
128
131
  # @param line2 [String] The second line of the address. This might be the floor or room number.
129
132
  #
130
133
  # @param state [String]
@@ -563,7 +563,8 @@ module Increase
563
563
  required :signature, -> { Increase::CheckTransfer::PhysicalCheck::Signature }
564
564
 
565
565
  # @!attribute tracking_updates
566
- # Tracking updates relating to the physical check's delivery.
566
+ # Tracking updates relating to the physical check's delivery. Sorted by
567
+ # `created_at` in ascending order.
567
568
  #
568
569
  # @return [Array<Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate>]
569
570
  required :tracking_updates,
@@ -602,7 +603,8 @@ module Increase
602
603
  # The signature that will appear on the check.
603
604
  #
604
605
  # @param tracking_updates [Array<Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate>]
605
- # Tracking updates relating to the physical check's delivery.
606
+ # Tracking updates relating to the physical check's delivery. Sorted by
607
+ # `created_at` in ascending order.
606
608
 
607
609
  # @see Increase::Models::CheckTransfer::PhysicalCheck#mailing_address
608
610
  class MailingAddress < Increase::Internal::Type::BaseModel
@@ -281,18 +281,19 @@ module Increase
281
281
  # @return [String]
282
282
  required :city, String
283
283
 
284
- # @!attribute country
285
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
286
- #
287
- # @return [String]
288
- required :country, String
289
-
290
284
  # @!attribute line1
291
285
  # The first line of the address. This is usually the street number and street.
292
286
  #
293
287
  # @return [String]
294
288
  required :line1, String
295
289
 
290
+ # @!attribute country
291
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
292
+ # to `US`.
293
+ #
294
+ # @return [String, nil]
295
+ optional :country, String
296
+
296
297
  # @!attribute line2
297
298
  # The second line of the address. This might be the floor or room number.
298
299
  #
@@ -312,16 +313,18 @@ module Increase
312
313
  # @return [String, nil]
313
314
  optional :zip, String
314
315
 
315
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
316
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
316
317
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
317
318
  # are disallowed.
318
319
  #
319
320
  # @param city [String] The city, district, town, or village of the address.
320
321
  #
321
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
322
- #
323
322
  # @param line1 [String] The first line of the address. This is usually the street number and street.
324
323
  #
324
+ # @param country [String]
325
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
326
+ # to `US`.
327
+ #
325
328
  # @param line2 [String] The second line of the address. This might be the floor or room number.
326
329
  #
327
330
  # @param state [String]
@@ -429,18 +432,19 @@ module Increase
429
432
  # @return [String]
430
433
  required :city, String
431
434
 
432
- # @!attribute country
433
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
434
- #
435
- # @return [String]
436
- required :country, String
437
-
438
435
  # @!attribute line1
439
436
  # The first line of the address. This is usually the street number and street.
440
437
  #
441
438
  # @return [String]
442
439
  required :line1, String
443
440
 
441
+ # @!attribute country
442
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
443
+ # to `US`.
444
+ #
445
+ # @return [String, nil]
446
+ optional :country, String
447
+
444
448
  # @!attribute line2
445
449
  # The second line of the address. This might be the floor or room number.
446
450
  #
@@ -460,16 +464,18 @@ module Increase
460
464
  # @return [String, nil]
461
465
  optional :zip, String
462
466
 
463
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
467
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
464
468
  # The individual's physical address. Mail receiving locations like PO Boxes and
465
469
  # PMB's are disallowed.
466
470
  #
467
471
  # @param city [String] The city, district, town, or village of the address.
468
472
  #
469
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
470
- #
471
473
  # @param line1 [String] The first line of the address. This is usually the street number and street.
472
474
  #
475
+ # @param country [String]
476
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
477
+ # to `US`.
478
+ #
473
479
  # @param line2 [String] The second line of the address. This might be the floor or room number.
474
480
  #
475
481
  # @param state [String]
@@ -1018,18 +1024,19 @@ module Increase
1018
1024
  # @return [String]
1019
1025
  required :city, String
1020
1026
 
1021
- # @!attribute country
1022
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1023
- #
1024
- # @return [String]
1025
- required :country, String
1026
-
1027
1027
  # @!attribute line1
1028
1028
  # The first line of the address. This is usually the street number and street.
1029
1029
  #
1030
1030
  # @return [String]
1031
1031
  required :line1, String
1032
1032
 
1033
+ # @!attribute country
1034
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1035
+ # to `US`.
1036
+ #
1037
+ # @return [String, nil]
1038
+ optional :country, String
1039
+
1033
1040
  # @!attribute line2
1034
1041
  # The second line of the address. This might be the floor or room number.
1035
1042
  #
@@ -1049,16 +1056,18 @@ module Increase
1049
1056
  # @return [String, nil]
1050
1057
  optional :zip, String
1051
1058
 
1052
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1059
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
1053
1060
  # The individual's physical address. Mail receiving locations like PO Boxes and
1054
1061
  # PMB's are disallowed.
1055
1062
  #
1056
1063
  # @param city [String] The city, district, town, or village of the address.
1057
1064
  #
1058
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1059
- #
1060
1065
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1061
1066
  #
1067
+ # @param country [String]
1068
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1069
+ # to `US`.
1070
+ #
1062
1071
  # @param line2 [String] The second line of the address. This might be the floor or room number.
1063
1072
  #
1064
1073
  # @param state [String]
@@ -1355,18 +1364,19 @@ module Increase
1355
1364
  # @return [String]
1356
1365
  required :city, String
1357
1366
 
1358
- # @!attribute country
1359
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1360
- #
1361
- # @return [String]
1362
- required :country, String
1363
-
1364
1367
  # @!attribute line1
1365
1368
  # The first line of the address. This is usually the street number and street.
1366
1369
  #
1367
1370
  # @return [String]
1368
1371
  required :line1, String
1369
1372
 
1373
+ # @!attribute country
1374
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1375
+ # to `US`.
1376
+ #
1377
+ # @return [String, nil]
1378
+ optional :country, String
1379
+
1370
1380
  # @!attribute line2
1371
1381
  # The second line of the address. This might be the floor or room number.
1372
1382
  #
@@ -1386,16 +1396,18 @@ module Increase
1386
1396
  # @return [String, nil]
1387
1397
  optional :zip, String
1388
1398
 
1389
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1399
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
1390
1400
  # The individual's physical address. Mail receiving locations like PO Boxes and
1391
1401
  # PMB's are disallowed.
1392
1402
  #
1393
1403
  # @param city [String] The city, district, town, or village of the address.
1394
1404
  #
1395
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1396
- #
1397
1405
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1398
1406
  #
1407
+ # @param country [String]
1408
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1409
+ # to `US`.
1410
+ #
1399
1411
  # @param line2 [String] The second line of the address. This might be the floor or room number.
1400
1412
  #
1401
1413
  # @param state [String]
@@ -2010,18 +2022,19 @@ module Increase
2010
2022
  # @return [String]
2011
2023
  required :city, String
2012
2024
 
2013
- # @!attribute country
2014
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2015
- #
2016
- # @return [String]
2017
- required :country, String
2018
-
2019
2025
  # @!attribute line1
2020
2026
  # The first line of the address. This is usually the street number and street.
2021
2027
  #
2022
2028
  # @return [String]
2023
2029
  required :line1, String
2024
2030
 
2031
+ # @!attribute country
2032
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2033
+ # to `US`.
2034
+ #
2035
+ # @return [String, nil]
2036
+ optional :country, String
2037
+
2025
2038
  # @!attribute line2
2026
2039
  # The second line of the address. This might be the floor or room number.
2027
2040
  #
@@ -2041,16 +2054,18 @@ module Increase
2041
2054
  # @return [String, nil]
2042
2055
  optional :zip, String
2043
2056
 
2044
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
2057
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
2045
2058
  # The individual's physical address. Mail receiving locations like PO Boxes and
2046
2059
  # PMB's are disallowed.
2047
2060
  #
2048
2061
  # @param city [String] The city, district, town, or village of the address.
2049
2062
  #
2050
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2051
- #
2052
2063
  # @param line1 [String] The first line of the address. This is usually the street number and street.
2053
2064
  #
2065
+ # @param country [String]
2066
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2067
+ # to `US`.
2068
+ #
2054
2069
  # @param line2 [String] The second line of the address. This might be the floor or room number.
2055
2070
  #
2056
2071
  # @param state [String]
@@ -2348,18 +2363,19 @@ module Increase
2348
2363
  # @return [String]
2349
2364
  required :city, String
2350
2365
 
2351
- # @!attribute country
2352
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2353
- #
2354
- # @return [String]
2355
- required :country, String
2356
-
2357
2366
  # @!attribute line1
2358
2367
  # The first line of the address. This is usually the street number and street.
2359
2368
  #
2360
2369
  # @return [String]
2361
2370
  required :line1, String
2362
2371
 
2372
+ # @!attribute country
2373
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2374
+ # to `US`.
2375
+ #
2376
+ # @return [String, nil]
2377
+ optional :country, String
2378
+
2363
2379
  # @!attribute line2
2364
2380
  # The second line of the address. This might be the floor or room number.
2365
2381
  #
@@ -2379,16 +2395,18 @@ module Increase
2379
2395
  # @return [String, nil]
2380
2396
  optional :zip, String
2381
2397
 
2382
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
2398
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
2383
2399
  # The individual's physical address. Mail receiving locations like PO Boxes and
2384
2400
  # PMB's are disallowed.
2385
2401
  #
2386
2402
  # @param city [String] The city, district, town, or village of the address.
2387
2403
  #
2388
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2389
- #
2390
2404
  # @param line1 [String] The first line of the address. This is usually the street number and street.
2391
2405
  #
2406
+ # @param country [String]
2407
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2408
+ # to `US`.
2409
+ #
2392
2410
  # @param line2 [String] The second line of the address. This might be the floor or room number.
2393
2411
  #
2394
2412
  # @param state [String]
@@ -202,18 +202,19 @@ module Increase
202
202
  # @return [String]
203
203
  required :city, String
204
204
 
205
- # @!attribute country
206
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
207
- #
208
- # @return [String]
209
- required :country, String
210
-
211
205
  # @!attribute line1
212
206
  # The first line of the address. This is usually the street number and street.
213
207
  #
214
208
  # @return [String]
215
209
  required :line1, String
216
210
 
211
+ # @!attribute country
212
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
213
+ # to `US`.
214
+ #
215
+ # @return [String, nil]
216
+ optional :country, String
217
+
217
218
  # @!attribute line2
218
219
  # The second line of the address. This might be the floor or room number.
219
220
  #
@@ -233,16 +234,18 @@ module Increase
233
234
  # @return [String, nil]
234
235
  optional :zip, String
235
236
 
236
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
237
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
237
238
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
238
239
  # are disallowed.
239
240
  #
240
241
  # @param city [String] The city, district, town, or village of the address.
241
242
  #
242
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
243
- #
244
243
  # @param line1 [String] The first line of the address. This is usually the street number and street.
245
244
  #
245
+ # @param country [String]
246
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
247
+ # to `US`.
248
+ #
246
249
  # @param line2 [String] The second line of the address. This might be the floor or room number.
247
250
  #
248
251
  # @param state [String]
@@ -427,18 +430,19 @@ module Increase
427
430
  # @return [String]
428
431
  required :city, String
429
432
 
430
- # @!attribute country
431
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
432
- #
433
- # @return [String]
434
- required :country, String
435
-
436
433
  # @!attribute line1
437
434
  # The first line of the address. This is usually the street number and street.
438
435
  #
439
436
  # @return [String]
440
437
  required :line1, String
441
438
 
439
+ # @!attribute country
440
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
441
+ # to `US`.
442
+ #
443
+ # @return [String, nil]
444
+ optional :country, String
445
+
442
446
  # @!attribute line2
443
447
  # The second line of the address. This might be the floor or room number.
444
448
  #
@@ -458,16 +462,18 @@ module Increase
458
462
  # @return [String, nil]
459
463
  optional :zip, String
460
464
 
461
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
465
+ # @!method initialize(city:, line1:, country: nil, line2: nil, state: nil, zip: nil)
462
466
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
463
467
  # are disallowed.
464
468
  #
465
469
  # @param city [String] The city, district, town, or village of the address.
466
470
  #
467
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
468
- #
469
471
  # @param line1 [String] The first line of the address. This is usually the street number and street.
470
472
  #
473
+ # @param country [String]
474
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
475
+ # to `US`.
476
+ #
471
477
  # @param line2 [String] The second line of the address. This might be the floor or room number.
472
478
  #
473
479
  # @param state [String]
@@ -254,6 +254,14 @@ module Increase
254
254
  # Occurs whenever an Inbound Mail Item is updated.
255
255
  INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
256
256
 
257
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
258
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
259
+ :"inbound_real_time_payments_request_for_payment.created"
260
+
261
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
262
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
263
+ :"inbound_real_time_payments_request_for_payment.updated"
264
+
257
265
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
258
266
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
259
267
 
@@ -262,6 +262,14 @@ module Increase
262
262
  # Occurs whenever an Inbound Mail Item is updated.
263
263
  INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
264
264
 
265
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
266
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
267
+ :"inbound_real_time_payments_request_for_payment.created"
268
+
269
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
270
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
271
+ :"inbound_real_time_payments_request_for_payment.updated"
272
+
265
273
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
266
274
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
267
275
 
@@ -295,6 +295,14 @@ module Increase
295
295
  # Occurs whenever an Inbound Mail Item is updated.
296
296
  INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
297
297
 
298
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
299
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
300
+ :"inbound_real_time_payments_request_for_payment.created"
301
+
302
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
303
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
304
+ :"inbound_real_time_payments_request_for_payment.updated"
305
+
298
306
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
299
307
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
300
308
 
@@ -264,6 +264,14 @@ module Increase
264
264
  # Occurs whenever an Inbound Mail Item is updated.
265
265
  INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
266
266
 
267
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
268
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
269
+ :"inbound_real_time_payments_request_for_payment.created"
270
+
271
+ # Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
272
+ INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
273
+ :"inbound_real_time_payments_request_for_payment.updated"
274
+
267
275
  # Occurs whenever an Inbound Real-Time Payments Transfer is created.
268
276
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
269
277