increase 1.352.0 → 1.353.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
  4. data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
  5. data/lib/increase/models/card_payment.rb +1174 -2
  6. data/lib/increase/models/check_transfer.rb +15 -9
  7. data/lib/increase/models/entity.rb +18 -0
  8. data/lib/increase/models/entity_beneficial_owner.rb +3 -0
  9. data/lib/increase/models/entity_create_params.rb +3 -0
  10. data/lib/increase/models/transaction.rb +1174 -2
  11. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  12. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  13. data/lib/increase/version.rb +1 -1
  14. data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
  15. data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
  16. data/rbi/increase/models/card_payment.rbi +5276 -2964
  17. data/rbi/increase/models/check_transfer.rbi +15 -9
  18. data/rbi/increase/models/entity.rbi +42 -0
  19. data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
  20. data/rbi/increase/models/entity_create_params.rbi +7 -0
  21. data/rbi/increase/models/transaction.rbi +4647 -2335
  22. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  23. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  24. data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
  25. data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
  26. data/sig/increase/models/card_payment.rbs +1186 -0
  27. data/sig/increase/models/entity.rbs +24 -0
  28. data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
  29. data/sig/increase/models/entity_create_params.rbs +4 -0
  30. data/sig/increase/models/transaction.rbs +1186 -0
  31. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  32. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  33. metadata +2 -2
@@ -98,8 +98,8 @@ module Increase
98
98
  required :idempotency_key, String, nil?: true
99
99
 
100
100
  # @!attribute mailing
101
- # If the check has been mailed by Increase, this will contain details of the
102
- # shipment.
101
+ # Once the check has been mailed, this will contain details about the shipment.
102
+ # Only available when `fulfillment_method` is equal to `physical_check`.
103
103
  #
104
104
  # @return [Increase::Models::CheckTransfer::Mailing, nil]
105
105
  required :mailing, -> { Increase::CheckTransfer::Mailing }, nil?: true
@@ -147,7 +147,9 @@ module Increase
147
147
  required :stop_payment_request, -> { Increase::CheckTransfer::StopPaymentRequest }, nil?: true
148
148
 
149
149
  # @!attribute submission
150
- # After the transfer is submitted, this will contain supplemental details.
150
+ # Once the check has been submitted to our printer, this will contain details
151
+ # about the submission. Only available when `fulfillment_method` is equal to
152
+ # `physical_check`.
151
153
  #
152
154
  # @return [Increase::Models::CheckTransfer::Submission, nil]
153
155
  required :submission, -> { Increase::CheckTransfer::Submission }, nil?: true
@@ -226,8 +228,8 @@ module Increase
226
228
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
227
229
  #
228
230
  # @param mailing [Increase::Models::CheckTransfer::Mailing, nil]
229
- # If the check has been mailed by Increase, this will contain details of the
230
- # shipment.
231
+ # Once the check has been mailed, this will contain details about the shipment.
232
+ # Only available when `fulfillment_method` is equal to `physical_check`.
231
233
  #
232
234
  # @param pending_transaction_id [String, nil]
233
235
  # The ID for the pending transaction representing the transfer. A pending
@@ -252,7 +254,9 @@ module Increase
252
254
  # details.
253
255
  #
254
256
  # @param submission [Increase::Models::CheckTransfer::Submission, nil]
255
- # After the transfer is submitted, this will contain supplemental details.
257
+ # Once the check has been submitted to our printer, this will contain details
258
+ # about the submission. Only available when `fulfillment_method` is equal to
259
+ # `physical_check`.
256
260
  #
257
261
  # @param third_party [Increase::Models::CheckTransfer::ThirdParty, nil]
258
262
  # Details relating to the custom fulfillment you will perform. Will be present if
@@ -485,8 +489,8 @@ module Increase
485
489
  required :mailed_at, Time
486
490
 
487
491
  # @!method initialize(mailed_at:)
488
- # If the check has been mailed by Increase, this will contain details of the
489
- # shipment.
492
+ # Once the check has been mailed, this will contain details about the shipment.
493
+ # Only available when `fulfillment_method` is equal to `physical_check`.
490
494
  #
491
495
  # @param mailed_at [Time]
492
496
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
@@ -1029,7 +1033,9 @@ module Increase
1029
1033
  required :tracking_number, String, nil?: true
1030
1034
 
1031
1035
  # @!method initialize(preview_file_id:, submitted_address:, submitted_at:, tracking_number:)
1032
- # After the transfer is submitted, this will contain supplemental details.
1036
+ # Once the check has been submitted to our printer, this will contain details
1037
+ # about the submission. Only available when `fulfillment_method` is equal to
1038
+ # `physical_check`.
1033
1039
  #
1034
1040
  # @param preview_file_id [String, nil]
1035
1041
  # The ID of the file corresponding to an image of the check that was mailed, if
@@ -546,6 +546,9 @@ module Increase
546
546
  # A social security number.
547
547
  SOCIAL_SECURITY_NUMBER = :social_security_number
548
548
 
549
+ # The last four digits of a social security number.
550
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
551
+
549
552
  # An individual taxpayer identification number (ITIN).
550
553
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
551
554
 
@@ -949,6 +952,9 @@ module Increase
949
952
  # A social security number.
950
953
  SOCIAL_SECURITY_NUMBER = :social_security_number
951
954
 
955
+ # The last four digits of a social security number.
956
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
957
+
952
958
  # An individual taxpayer identification number (ITIN).
953
959
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
954
960
 
@@ -1102,6 +1108,9 @@ module Increase
1102
1108
  # A social security number.
1103
1109
  SOCIAL_SECURITY_NUMBER = :social_security_number
1104
1110
 
1111
+ # The last four digits of a social security number.
1112
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1113
+
1105
1114
  # An individual taxpayer identification number (ITIN).
1106
1115
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
1107
1116
 
@@ -1424,6 +1433,9 @@ module Increase
1424
1433
  # A social security number.
1425
1434
  SOCIAL_SECURITY_NUMBER = :social_security_number
1426
1435
 
1436
+ # The last four digits of a social security number.
1437
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1438
+
1427
1439
  # An individual taxpayer identification number (ITIN).
1428
1440
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
1429
1441
 
@@ -1846,6 +1858,9 @@ module Increase
1846
1858
  # A social security number.
1847
1859
  SOCIAL_SECURITY_NUMBER = :social_security_number
1848
1860
 
1861
+ # The last four digits of a social security number.
1862
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1863
+
1849
1864
  # An individual taxpayer identification number (ITIN).
1850
1865
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
1851
1866
 
@@ -2022,6 +2037,9 @@ module Increase
2022
2037
  # A social security number.
2023
2038
  SOCIAL_SECURITY_NUMBER = :social_security_number
2024
2039
 
2040
+ # The last four digits of a social security number.
2041
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
2042
+
2025
2043
  # An individual taxpayer identification number (ITIN).
2026
2044
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
2027
2045
 
@@ -223,6 +223,9 @@ module Increase
223
223
  # A social security number.
224
224
  SOCIAL_SECURITY_NUMBER = :social_security_number
225
225
 
226
+ # The last four digits of a social security number.
227
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
228
+
226
229
  # An individual taxpayer identification number (ITIN).
227
230
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
228
231
 
@@ -587,6 +587,9 @@ module Increase
587
587
  # A social security number.
588
588
  SOCIAL_SECURITY_NUMBER = :social_security_number
589
589
 
590
+ # The last four digits of a social security number.
591
+ SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
592
+
590
593
  # An individual taxpayer identification number (ITIN).
591
594
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
592
595