increase 1.356.0 → 1.357.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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/increase/internal/transport/base_client.rb +1 -2
  4. data/lib/increase/models/card_payment.rb +37 -1
  5. data/lib/increase/models/check_deposit.rb +3 -0
  6. data/lib/increase/models/declined_transaction.rb +3 -0
  7. data/lib/increase/models/digital_card_profile.rb +12 -9
  8. data/lib/increase/models/digital_card_profile_clone_params.rb +12 -9
  9. data/lib/increase/models/digital_card_profile_create_params.rb +12 -9
  10. data/lib/increase/models/event.rb +3 -0
  11. data/lib/increase/models/event_list_params.rb +7 -4
  12. data/lib/increase/models/event_subscription.rb +3 -0
  13. data/lib/increase/models/event_subscription_create_params.rb +3 -0
  14. data/lib/increase/models/file.rb +1 -1
  15. data/lib/increase/models/file_create_params.rb +1 -1
  16. data/lib/increase/models/file_list_params.rb +1 -1
  17. data/lib/increase/models/inbound_check_deposit.rb +9 -7
  18. data/lib/increase/models/pending_transaction.rb +9 -6
  19. data/lib/increase/models/physical_card.rb +9 -1
  20. data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +3 -0
  21. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +3 -0
  22. data/lib/increase/models/transaction.rb +18 -0
  23. data/lib/increase/models/unwrap_webhook_event.rb +3 -0
  24. data/lib/increase/resources/digital_card_profiles.rb +10 -6
  25. data/lib/increase/resources/events.rb +2 -2
  26. data/lib/increase/version.rb +1 -1
  27. data/rbi/increase/models/card_payment.rbi +85 -1
  28. data/rbi/increase/models/check_deposit.rbi +7 -0
  29. data/rbi/increase/models/declined_transaction.rbi +7 -0
  30. data/rbi/increase/models/digital_card_profile.rbi +10 -8
  31. data/rbi/increase/models/digital_card_profile_clone_params.rbi +13 -11
  32. data/rbi/increase/models/digital_card_profile_create_params.rbi +13 -8
  33. data/rbi/increase/models/event.rbi +7 -0
  34. data/rbi/increase/models/event_list_params.rbi +11 -4
  35. data/rbi/increase/models/event_subscription.rbi +7 -0
  36. data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
  37. data/rbi/increase/models/file.rbi +1 -1
  38. data/rbi/increase/models/file_create_params.rbi +1 -1
  39. data/rbi/increase/models/file_list_params.rbi +1 -1
  40. data/rbi/increase/models/inbound_check_deposit.rbi +13 -6
  41. data/rbi/increase/models/pending_transaction.rbi +13 -6
  42. data/rbi/increase/models/physical_card.rbi +8 -0
  43. data/rbi/increase/models/simulations/check_deposit_adjustment_params.rbi +7 -0
  44. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +7 -0
  45. data/rbi/increase/models/transaction.rbi +42 -0
  46. data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
  47. data/rbi/increase/resources/digital_card_profiles.rbi +8 -6
  48. data/rbi/increase/resources/events.rbi +2 -2
  49. data/sig/increase/models/card_payment.rbs +49 -1
  50. data/sig/increase/models/check_deposit.rbs +8 -1
  51. data/sig/increase/models/declined_transaction.rbs +4 -0
  52. data/sig/increase/models/digital_card_profile.rbs +5 -5
  53. data/sig/increase/models/digital_card_profile_clone_params.rbs +7 -7
  54. data/sig/increase/models/digital_card_profile_create_params.rbs +7 -5
  55. data/sig/increase/models/event.rbs +4 -0
  56. data/sig/increase/models/event_list_params.rbs +4 -0
  57. data/sig/increase/models/event_subscription.rbs +4 -0
  58. data/sig/increase/models/event_subscription_create_params.rbs +4 -0
  59. data/sig/increase/models/file.rbs +1 -1
  60. data/sig/increase/models/file_create_params.rbs +1 -1
  61. data/sig/increase/models/file_list_params.rbs +1 -1
  62. data/sig/increase/models/inbound_check_deposit.rbs +12 -9
  63. data/sig/increase/models/pending_transaction.rbs +4 -0
  64. data/sig/increase/models/physical_card.rbs +5 -0
  65. data/sig/increase/models/simulations/check_deposit_adjustment_params.rbs +4 -0
  66. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +4 -1
  67. data/sig/increase/models/transaction.rbs +24 -0
  68. data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
  69. data/sig/increase/resources/digital_card_profiles.rbs +2 -2
  70. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4532da51bca0cb12caf00343e70ca42a16fbbf447eeced13b68420c0da8346a
4
- data.tar.gz: f253c671aa0245eaba766cff42ae7a7f6308d80a872e2f848e884ba0902e2526
3
+ metadata.gz: f01d0ab2d4c4e7d3224af1f12d5a47d8038890b0f4248c24c62e5450b6431d9d
4
+ data.tar.gz: 35131164b9241ae6e520e93d7f2aa0d846bd3f06647fe848176086a73d10cd5b
5
5
  SHA512:
6
- metadata.gz: dc8148ea32b6896d5ea2af7557c0def2abfb5ec27eafb83edf05c1b5df4343372bf21e0eceac78cdf986801dd38f81606186336ba6f03f2d028f9515d18cd485
7
- data.tar.gz: a1ca94f05e79c3603e74544b9385cdad2535631a934cb77b680896daa3a14cbd1cec8c1c1fdaa944c228349c218fa392c6ea091a9b9587318d4adfba52e694ca
6
+ metadata.gz: 67f1ac07446b1090ce316d5837dd05cde561a9d5e0667d401cf1cb09db06bdc7df41bcd8aea5a32a62f50742b12dae6519b0b8b8c7cfc8f6f194a7e44b8c0217
7
+ data.tar.gz: 22ad7e0c82f0293d2c5986e9930db31791c99df74fcf68b4a41cddb9ca7b2b1c26e29fd0aa6fbad6815767a6f30b9871628d83bc4b5421f467d4fa096412a457
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.356.0"
18
+ gem "increase", "~> 1.357.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -149,7 +149,7 @@ All errors raised by this gem, including `Increase::Errors::APIError` and respon
149
149
 
150
150
  Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
151
151
 
152
- Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
152
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
153
153
 
154
154
  You can use the `max_retries` option to configure or disable this:
155
155
 
@@ -43,10 +43,9 @@ module Increase
43
43
  case [coerced, status]
44
44
  in [true | false, _]
45
45
  coerced
46
- in [_, 408 | 409 | 429 | (500..)]
46
+ in [_, 408 | 429 | (500..)]
47
47
  # retry on:
48
48
  # 408: timeouts
49
- # 409: locks
50
49
  # 429: rate limits
51
50
  # 500+: unknown errors
52
51
  true
@@ -868,7 +868,7 @@ module Increase
868
868
  # The one-time code was sent via email.
869
869
  EMAIL = :email
870
870
 
871
- # The one-time code was not successfully delivered.
871
+ # The one-time code could not be delivered because the card has no phone number or email on file.
872
872
  NONE_AVAILABLE = :none_available
873
873
 
874
874
  # @!method self.values
@@ -2782,6 +2782,9 @@ module Increase
2782
2782
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2783
2783
  PULSE_SWITCH_FEE = :pulse_switch_fee
2784
2784
 
2785
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
2786
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
2787
+
2785
2788
  # @!method self.values
2786
2789
  # @return [Array<Symbol>]
2787
2790
  end
@@ -4283,6 +4286,9 @@ module Increase
4283
4286
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
4284
4287
  PULSE_SWITCH_FEE = :pulse_switch_fee
4285
4288
 
4289
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4290
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
4291
+
4286
4292
  # @!method self.values
4287
4293
  # @return [Array<Symbol>]
4288
4294
  end
@@ -5938,6 +5944,9 @@ module Increase
5938
5944
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5939
5945
  PULSE_SWITCH_FEE = :pulse_switch_fee
5940
5946
 
5947
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5948
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
5949
+
5941
5950
  # @!method self.values
5942
5951
  # @return [Array<Symbol>]
5943
5952
  end
@@ -7455,6 +7464,9 @@ module Increase
7455
7464
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
7456
7465
  PULSE_SWITCH_FEE = :pulse_switch_fee
7457
7466
 
7467
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
7468
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
7469
+
7458
7470
  # @!method self.values
7459
7471
  # @return [Array<Symbol>]
7460
7472
  end
@@ -8017,6 +8029,9 @@ module Increase
8017
8029
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8018
8030
  PULSE_SWITCH_FEE = :pulse_switch_fee
8019
8031
 
8032
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8033
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
8034
+
8020
8035
  # @!method self.values
8021
8036
  # @return [Array<Symbol>]
8022
8037
  end
@@ -8901,6 +8916,9 @@ module Increase
8901
8916
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8902
8917
  PULSE_SWITCH_FEE = :pulse_switch_fee
8903
8918
 
8919
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8920
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
8921
+
8904
8922
  # @!method self.values
8905
8923
  # @return [Array<Symbol>]
8906
8924
  end
@@ -10445,6 +10463,9 @@ module Increase
10445
10463
  # Invoice number
10446
10464
  INVOICE_NUMBER = :invoice_number
10447
10465
 
10466
+ # Visa Recurrent reference identifier
10467
+ VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
10468
+
10448
10469
  # @!method self.values
10449
10470
  # @return [Array<Symbol>]
10450
10471
  end
@@ -11080,6 +11101,9 @@ module Increase
11080
11101
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11081
11102
  PULSE_SWITCH_FEE = :pulse_switch_fee
11082
11103
 
11104
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
11105
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
11106
+
11083
11107
  # @!method self.values
11084
11108
  # @return [Array<Symbol>]
11085
11109
  end
@@ -11600,6 +11624,9 @@ module Increase
11600
11624
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11601
11625
  PULSE_SWITCH_FEE = :pulse_switch_fee
11602
11626
 
11627
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
11628
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
11629
+
11603
11630
  # @!method self.values
11604
11631
  # @return [Array<Symbol>]
11605
11632
  end
@@ -13175,6 +13202,9 @@ module Increase
13175
13202
  # Invoice number
13176
13203
  INVOICE_NUMBER = :invoice_number
13177
13204
 
13205
+ # Visa Recurrent reference identifier
13206
+ VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
13207
+
13178
13208
  # @!method self.values
13179
13209
  # @return [Array<Symbol>]
13180
13210
  end
@@ -13812,6 +13842,9 @@ module Increase
13812
13842
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
13813
13843
  PULSE_SWITCH_FEE = :pulse_switch_fee
13814
13844
 
13845
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
13846
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
13847
+
13815
13848
  # @!method self.values
13816
13849
  # @return [Array<Symbol>]
13817
13850
  end
@@ -15058,6 +15091,9 @@ module Increase
15058
15091
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
15059
15092
  PULSE_SWITCH_FEE = :pulse_switch_fee
15060
15093
 
15094
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
15095
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
15096
+
15061
15097
  # @!method self.values
15062
15098
  # @return [Array<Symbol>]
15063
15099
  end
@@ -345,6 +345,9 @@ module Increase
345
345
  # The check has already been deposited elsewhere and so this is a duplicate.
346
346
  PAID = :paid
347
347
 
348
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
349
+ DUPLICATE_ENTRY = :duplicate_entry
350
+
348
351
  # @!method self.values
349
352
  # @return [Array<Symbol>]
350
353
  end
@@ -1937,6 +1937,9 @@ module Increase
1937
1937
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1938
1938
  PULSE_SWITCH_FEE = :pulse_switch_fee
1939
1939
 
1940
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1941
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
1942
+
1940
1943
  # @!method self.values
1941
1944
  # @return [Array<Symbol>]
1942
1945
  end
@@ -34,6 +34,13 @@ module Increase
34
34
  # @return [String, nil]
35
35
  required :contact_email, String, nil?: true
36
36
 
37
+ # @!attribute contact_name
38
+ # The name of your company or card program, shown to the user as who to contact
39
+ # for support with their card.
40
+ #
41
+ # @return [String]
42
+ required :contact_name, String
43
+
37
44
  # @!attribute contact_phone
38
45
  # A phone number the user can contact to receive support for their card.
39
46
  #
@@ -67,12 +74,6 @@ module Increase
67
74
  # @return [String, nil]
68
75
  required :idempotency_key, String, nil?: true
69
76
 
70
- # @!attribute issuer_name
71
- # A user-facing description for whoever is issuing the card.
72
- #
73
- # @return [String]
74
- required :issuer_name, String
75
-
76
77
  # @!attribute status
77
78
  # The status of the Card Profile.
78
79
  #
@@ -92,7 +93,7 @@ module Increase
92
93
  # @return [Symbol, Increase::Models::DigitalCardProfile::Type]
93
94
  required :type, enum: -> { Increase::DigitalCardProfile::Type }
94
95
 
95
- # @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, issuer_name:, status:, text_color:, type:)
96
+ # @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_name:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, status:, text_color:, type:)
96
97
  # This contains artwork and metadata relating to a Card's appearance in digital
97
98
  # wallet apps like Apple Pay and Google Pay. For more information, see our guide
98
99
  # on [digital card artwork](https://increase.com/documentation/card-art).
@@ -108,6 +109,10 @@ module Increase
108
109
  # @param contact_email [String, nil]
109
110
  # An email address the user can contact to receive support for their card.
110
111
  #
112
+ # @param contact_name [String]
113
+ # The name of your company or card program, shown to the user as who to contact
114
+ # for support with their card.
115
+ #
111
116
  # @param contact_phone [String, nil] A phone number the user can contact to receive support for their card.
112
117
  #
113
118
  # @param contact_website [String, nil]
@@ -124,8 +129,6 @@ module Increase
124
129
  # Increase and is used to ensure that a request is only processed once. Learn more
125
130
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
126
131
  #
127
- # @param issuer_name [String] A user-facing description for whoever is issuing the card.
128
- #
129
132
  # @param status [Symbol, Increase::Models::DigitalCardProfile::Status] The status of the Card Profile.
130
133
  #
131
134
  # @param text_color [Increase::Models::DigitalCardProfile::TextColor]
@@ -37,6 +37,13 @@ module Increase
37
37
  # @return [String, nil]
38
38
  optional :contact_email, String
39
39
 
40
+ # @!attribute contact_name
41
+ # The name of your company or card program, shown to the user as who to contact
42
+ # for support with their card.
43
+ #
44
+ # @return [String, nil]
45
+ optional :contact_name, String
46
+
40
47
  # @!attribute contact_phone
41
48
  # A phone number the user can contact to receive support for their card.
42
49
  #
@@ -55,19 +62,13 @@ module Increase
55
62
  # @return [String, nil]
56
63
  optional :description, String
57
64
 
58
- # @!attribute issuer_name
59
- # A user-facing description for whoever is issuing the card.
60
- #
61
- # @return [String, nil]
62
- optional :issuer_name, String
63
-
64
65
  # @!attribute text_color
65
66
  # The Card's text color, specified as an RGB triple. The default is white.
66
67
  #
67
68
  # @return [Increase::Models::DigitalCardProfileCloneParams::TextColor, nil]
68
69
  optional :text_color, -> { Increase::DigitalCardProfileCloneParams::TextColor }
69
70
 
70
- # @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_phone: nil, contact_website: nil, description: nil, issuer_name: nil, text_color: nil, request_options: {})
71
+ # @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
71
72
  # @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
72
73
  #
73
74
  # @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
@@ -78,14 +79,16 @@ module Increase
78
79
  #
79
80
  # @param contact_email [String] An email address the user can contact to receive support for their card.
80
81
  #
82
+ # @param contact_name [String]
83
+ # The name of your company or card program, shown to the user as who to contact
84
+ # for support with their card.
85
+ #
81
86
  # @param contact_phone [String] A phone number the user can contact to receive support for their card.
82
87
  #
83
88
  # @param contact_website [String] A website the user can visit to view and receive support for their card.
84
89
  #
85
90
  # @param description [String] A description you can use to identify the Card Profile.
86
91
  #
87
- # @param issuer_name [String] A user-facing description for whoever is issuing the card.
88
- #
89
92
  # @param text_color [Increase::Models::DigitalCardProfileCloneParams::TextColor]
90
93
  # The Card's text color, specified as an RGB triple. The default is white.
91
94
  #
@@ -31,18 +31,19 @@ module Increase
31
31
  # @return [String]
32
32
  required :description, String
33
33
 
34
- # @!attribute issuer_name
35
- # A user-facing description for whoever is issuing the card.
36
- #
37
- # @return [String]
38
- required :issuer_name, String
39
-
40
34
  # @!attribute contact_email
41
35
  # An email address the user can contact to receive support for their card.
42
36
  #
43
37
  # @return [String, nil]
44
38
  optional :contact_email, String
45
39
 
40
+ # @!attribute contact_name
41
+ # The name of your company or card program, shown to the user as who to contact
42
+ # for support with their card.
43
+ #
44
+ # @return [String, nil]
45
+ optional :contact_name, String
46
+
46
47
  # @!attribute contact_phone
47
48
  # A phone number the user can contact to receive support for their card.
48
49
  #
@@ -61,7 +62,7 @@ module Increase
61
62
  # @return [Increase::Models::DigitalCardProfileCreateParams::TextColor, nil]
62
63
  optional :text_color, -> { Increase::DigitalCardProfileCreateParams::TextColor }
63
64
 
64
- # @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, issuer_name:, contact_email: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
65
+ # @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
65
66
  # @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
66
67
  #
67
68
  # @param background_image_file_id [String] The identifier of the File containing the card's front image.
@@ -70,10 +71,12 @@ module Increase
70
71
  #
71
72
  # @param description [String] A description you can use to identify the Card Profile.
72
73
  #
73
- # @param issuer_name [String] A user-facing description for whoever is issuing the card.
74
- #
75
74
  # @param contact_email [String] An email address the user can contact to receive support for their card.
76
75
  #
76
+ # @param contact_name [String]
77
+ # The name of your company or card program, shown to the user as who to contact
78
+ # for support with their card.
79
+ #
77
80
  # @param contact_phone [String] A phone number the user can contact to receive support for their card.
78
81
  #
79
82
  # @param contact_website [String] A website the user can visit to view and receive support for their card.
@@ -185,6 +185,9 @@ module Increase
185
185
  # Occurs whenever a Digital Wallet Token is updated.
186
186
  DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
187
187
 
188
+ # Occurs whenever a Digital Wallet Token Request is created.
189
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED = :"digital_wallet_token_request.created"
190
+
188
191
  # Occurs whenever an Entity is created.
189
192
  ENTITY_CREATED = :"entity.created"
190
193
 
@@ -30,8 +30,8 @@ module Increase
30
30
  optional :cursor, String
31
31
 
32
32
  # @!attribute limit
33
- # Limit the size of the list that is returned. The default (and maximum) is 100
34
- # objects.
33
+ # Limit the size of the list that is returned. The default is 100 objects and the
34
+ # maximum is 1,000.
35
35
  #
36
36
  # Defaults to `100`.
37
37
  #
@@ -54,8 +54,8 @@ module Increase
54
54
  # @param cursor [String] Return the page of entries after this one.
55
55
  #
56
56
  # @param limit [Integer]
57
- # Limit the size of the list that is returned. The default (and maximum) is 100
58
- # objects.
57
+ # Limit the size of the list that is returned. The default is 100 objects and the
58
+ # maximum is 1,000.
59
59
  #
60
60
  # Defaults to `100`.
61
61
  #
@@ -197,6 +197,9 @@ module Increase
197
197
  # Occurs whenever a Digital Wallet Token is updated.
198
198
  DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
199
199
 
200
+ # Occurs whenever a Digital Wallet Token Request is created.
201
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED = :"digital_wallet_token_request.created"
202
+
200
203
  # Occurs whenever an Entity is created.
201
204
  ENTITY_CREATED = :"entity.created"
202
205
 
@@ -226,6 +226,9 @@ module Increase
226
226
  # Occurs whenever a Digital Wallet Token is updated.
227
227
  DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
228
228
 
229
+ # Occurs whenever a Digital Wallet Token Request is created.
230
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED = :"digital_wallet_token_request.created"
231
+
229
232
  # Occurs whenever an Entity is created.
230
233
  ENTITY_CREATED = :"entity.created"
231
234
 
@@ -195,6 +195,9 @@ module Increase
195
195
  # Occurs whenever a Digital Wallet Token is updated.
196
196
  DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
197
197
 
198
+ # Occurs whenever a Digital Wallet Token Request is created.
199
+ DIGITAL_WALLET_TOKEN_REQUEST_CREATED = :"digital_wallet_token_request.created"
200
+
198
201
  # Occurs whenever an Entity is created.
199
202
  ENTITY_CREATED = :"entity.created"
200
203
 
@@ -177,7 +177,7 @@ module Increase
177
177
  # A legal document forming a trust.
178
178
  TRUST_FORMATION_DOCUMENT = :trust_formation_document
179
179
 
180
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
180
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
181
181
  DIGITAL_WALLET_ARTWORK = :digital_wallet_artwork
182
182
 
183
183
  # An icon for you app to be rendered inside digital wallet apps. This must be a 100x100 pixel PNG.
@@ -86,7 +86,7 @@ module Increase
86
86
  # A legal document forming a trust.
87
87
  TRUST_FORMATION_DOCUMENT = :trust_formation_document
88
88
 
89
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
89
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
90
90
  DIGITAL_WALLET_ARTWORK = :digital_wallet_artwork
91
91
 
92
92
  # An icon for you app to be rendered inside digital wallet apps. This must be a 100x100 pixel PNG.
@@ -181,7 +181,7 @@ module Increase
181
181
  # A legal document forming a trust.
182
182
  TRUST_FORMATION_DOCUMENT = :trust_formation_document
183
183
 
184
- # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG.
184
+ # A card image to be rendered inside digital wallet apps. This must be a 1536x969 pixel PNG with the Visa Brand Mark sized and placed as in the digital card template.
185
185
  DIGITAL_WALLET_ARTWORK = :digital_wallet_artwork
186
186
 
187
187
  # An icon for you app to be rendered inside digital wallet apps. This must be a 100x100 pixel PNG.
@@ -54,8 +54,8 @@ module Increase
54
54
  # @!attribute back_image_file_id
55
55
  # The ID for the File containing the image of the back of the check.
56
56
  #
57
- # @return [String, nil]
58
- required :back_image_file_id, String, nil?: true
57
+ # @return [String]
58
+ required :back_image_file_id, String
59
59
 
60
60
  # @!attribute bank_of_first_deposit_routing_number
61
61
  # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
@@ -116,8 +116,8 @@ module Increase
116
116
  # @!attribute front_image_file_id
117
117
  # The ID for the File containing the image of the front of the check.
118
118
  #
119
- # @return [String, nil]
120
- required :front_image_file_id, String, nil?: true
119
+ # @return [String]
120
+ required :front_image_file_id, String
121
121
 
122
122
  # @!attribute payee_name_analysis
123
123
  # Whether the details on the check match the recipient name of the check transfer.
@@ -172,7 +172,7 @@ module Increase
172
172
  # the Inbound Check Deposit will be automatically resolved if it has not been
173
173
  # actioned by then.
174
174
  #
175
- # @param back_image_file_id [String, nil] The ID for the File containing the image of the back of the check.
175
+ # @param back_image_file_id [String] The ID for the File containing the image of the back of the check.
176
176
  #
177
177
  # @param bank_of_first_deposit_routing_number [String, nil]
178
178
  # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
@@ -205,8 +205,7 @@ module Increase
205
205
  # If you requested a return of this deposit, this will contain details of the
206
206
  # return.
207
207
  #
208
- # @param front_image_file_id [String, nil]
209
- # The ID for the File containing the image of the front of the check.
208
+ # @param front_image_file_id [String] The ID for the File containing the image of the front of the check.
210
209
  #
211
210
  # @param payee_name_analysis [Symbol, Increase::Models::InboundCheckDeposit::PayeeNameAnalysis]
212
211
  # Whether the details on the check match the recipient name of the check transfer.
@@ -273,6 +272,9 @@ module Increase
273
272
  # The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
274
273
  WRONG_PAYEE_CREDIT = :wrong_payee_credit
275
274
 
275
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
276
+ DUPLICATE_ENTRY = :duplicate_entry
277
+
276
278
  # @!method self.values
277
279
  # @return [Array<Symbol>]
278
280
  end
@@ -19,9 +19,9 @@ module Increase
19
19
  # @!attribute amount
20
20
  # The Pending Transaction amount in the minor unit of its currency. For dollars,
21
21
  # for example, this is cents. For a card authorization this is the amount still
22
- # held: it decreases when the merchant reverses part of the authorization. The
23
- # amount that settled is available on the resulting Transaction and on the Card
24
- # Payment's `state.settled_amount`.
22
+ # held: it decreases when the merchant reverses or partially settles the
23
+ # authorization. The amount that settled is available on the resulting Transaction
24
+ # and on the Card Payment's `state.settled_amount`.
25
25
  #
26
26
  # @return [Integer]
27
27
  required :amount, Integer
@@ -112,9 +112,9 @@ module Increase
112
112
  # @param amount [Integer]
113
113
  # The Pending Transaction amount in the minor unit of its currency. For dollars,
114
114
  # for example, this is cents. For a card authorization this is the amount still
115
- # held: it decreases when the merchant reverses part of the authorization. The
116
- # amount that settled is available on the resulting Transaction and on the Card
117
- # Payment's `state.settled_amount`.
115
+ # held: it decreases when the merchant reverses or partially settles the
116
+ # authorization. The amount that settled is available on the resulting Transaction
117
+ # and on the Card Payment's `state.settled_amount`.
118
118
  #
119
119
  # @param completed_at [Time, nil]
120
120
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
@@ -2212,6 +2212,9 @@ module Increase
2212
2212
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2213
2213
  PULSE_SWITCH_FEE = :pulse_switch_fee
2214
2214
 
2215
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
2216
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
2217
+
2215
2218
  # @!method self.values
2216
2219
  # @return [Array<Symbol>]
2217
2220
  end
@@ -219,6 +219,12 @@ module Increase
219
219
  # @return [String]
220
220
  required :name, String
221
221
 
222
+ # @!attribute phone_number
223
+ # The phone number of the recipient.
224
+ #
225
+ # @return [String, nil]
226
+ required :phone_number, String, nil?: true
227
+
222
228
  # @!attribute postal_code
223
229
  # The postal code of the shipping address.
224
230
  #
@@ -231,7 +237,7 @@ module Increase
231
237
  # @return [String]
232
238
  required :state, String
233
239
 
234
- # @!method initialize(city:, country:, line1:, line2:, line3:, name:, postal_code:, state:)
240
+ # @!method initialize(city:, country:, line1:, line2:, line3:, name:, phone_number:, postal_code:, state:)
235
241
  # The location to where the card's packing label is addressed.
236
242
  #
237
243
  # @param city [String] The city of the shipping address.
@@ -246,6 +252,8 @@ module Increase
246
252
  #
247
253
  # @param name [String] The name of the recipient.
248
254
  #
255
+ # @param phone_number [String, nil] The phone number of the recipient.
256
+ #
249
257
  # @param postal_code [String] The postal code of the shipping address.
250
258
  #
251
259
  # @param state [String] The state of the shipping address.
@@ -68,6 +68,9 @@ module Increase
68
68
  # The check has already been deposited elsewhere and so this is a duplicate.
69
69
  PAID = :paid
70
70
 
71
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
72
+ DUPLICATE_ENTRY = :duplicate_entry
73
+
71
74
  # @!method self.values
72
75
  # @return [Array<Symbol>]
73
76
  end
@@ -55,6 +55,9 @@ module Increase
55
55
  # The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
56
56
  WRONG_PAYEE_CREDIT = :wrong_payee_credit
57
57
 
58
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
59
+ DUPLICATE_ENTRY = :duplicate_entry
60
+
58
61
  # @!method self.values
59
62
  # @return [Array<Symbol>]
60
63
  end
@@ -3048,6 +3048,9 @@ module Increase
3048
3048
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3049
3049
  PULSE_SWITCH_FEE = :pulse_switch_fee
3050
3050
 
3051
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3052
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
3053
+
3051
3054
  # @!method self.values
3052
3055
  # @return [Array<Symbol>]
3053
3056
  end
@@ -4808,6 +4811,9 @@ module Increase
4808
4811
  # Invoice number
4809
4812
  INVOICE_NUMBER = :invoice_number
4810
4813
 
4814
+ # Visa Recurrent reference identifier
4815
+ VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
4816
+
4811
4817
  # @!method self.values
4812
4818
  # @return [Array<Symbol>]
4813
4819
  end
@@ -5443,6 +5449,9 @@ module Increase
5443
5449
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5444
5450
  PULSE_SWITCH_FEE = :pulse_switch_fee
5445
5451
 
5452
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5453
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
5454
+
5446
5455
  # @!method self.values
5447
5456
  # @return [Array<Symbol>]
5448
5457
  end
@@ -7082,6 +7091,9 @@ module Increase
7082
7091
  # Invoice number
7083
7092
  INVOICE_NUMBER = :invoice_number
7084
7093
 
7094
+ # Visa Recurrent reference identifier
7095
+ VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
7096
+
7085
7097
  # @!method self.values
7086
7098
  # @return [Array<Symbol>]
7087
7099
  end
@@ -7719,6 +7731,9 @@ module Increase
7719
7731
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
7720
7732
  PULSE_SWITCH_FEE = :pulse_switch_fee
7721
7733
 
7734
+ # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
7735
+ PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
7736
+
7722
7737
  # @!method self.values
7723
7738
  # @return [Array<Symbol>]
7724
7739
  end
@@ -8644,6 +8659,9 @@ module Increase
8644
8659
  # The check has already been deposited elsewhere and so this is a duplicate.
8645
8660
  PAID = :paid
8646
8661
 
8662
+ # A previous adjustment for the check was applied twice and the duplicate has been reversed.
8663
+ DUPLICATE_ENTRY = :duplicate_entry
8664
+
8647
8665
  # @!method self.values
8648
8666
  # @return [Array<Symbol>]
8649
8667
  end