increase 1.355.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/increase/internal/transport/base_client.rb +1 -2
- data/lib/increase/models/account_number.rb +1 -1
- data/lib/increase/models/account_number_create_params.rb +1 -1
- data/lib/increase/models/account_number_list_params.rb +1 -1
- data/lib/increase/models/account_number_update_params.rb +1 -1
- data/lib/increase/models/card_payment.rb +37 -1
- data/lib/increase/models/check_deposit.rb +6 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_card_profile.rb +12 -9
- data/lib/increase/models/digital_card_profile_clone_params.rb +12 -9
- data/lib/increase/models/digital_card_profile_create_params.rb +12 -9
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +7 -4
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/file.rb +1 -1
- data/lib/increase/models/file_create_params.rb +1 -1
- data/lib/increase/models/file_list_params.rb +1 -1
- data/lib/increase/models/inbound_check_deposit.rb +9 -7
- data/lib/increase/models/pending_transaction.rb +9 -6
- data/lib/increase/models/physical_card.rb +9 -1
- data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/transaction.rb +18 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/resources/digital_card_profiles.rb +10 -6
- data/lib/increase/resources/events.rb +2 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_number.rbi +1 -1
- data/rbi/increase/models/account_number_create_params.rbi +1 -1
- data/rbi/increase/models/account_number_list_params.rbi +1 -1
- data/rbi/increase/models/account_number_update_params.rbi +1 -1
- data/rbi/increase/models/card_payment.rbi +85 -1
- data/rbi/increase/models/check_deposit.rbi +14 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_card_profile.rbi +10 -8
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +13 -11
- data/rbi/increase/models/digital_card_profile_create_params.rbi +13 -8
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +11 -4
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/file.rbi +1 -1
- data/rbi/increase/models/file_create_params.rbi +1 -1
- data/rbi/increase/models/file_list_params.rbi +1 -1
- data/rbi/increase/models/inbound_check_deposit.rbi +13 -6
- data/rbi/increase/models/pending_transaction.rbi +13 -6
- data/rbi/increase/models/physical_card.rbi +8 -0
- data/rbi/increase/models/simulations/check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/transaction.rbi +42 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/resources/digital_card_profiles.rbi +8 -6
- data/rbi/increase/resources/events.rbi +2 -2
- data/sig/increase/models/account_number.rbs +1 -1
- data/sig/increase/models/account_number_create_params.rbs +1 -1
- data/sig/increase/models/account_number_list_params.rbs +1 -1
- data/sig/increase/models/account_number_update_params.rbs +1 -1
- data/sig/increase/models/card_payment.rbs +49 -1
- data/sig/increase/models/check_deposit.rbs +12 -1
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_card_profile.rbs +5 -5
- data/sig/increase/models/digital_card_profile_clone_params.rbs +7 -7
- data/sig/increase/models/digital_card_profile_create_params.rbs +7 -5
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/file.rbs +1 -1
- data/sig/increase/models/file_create_params.rbs +1 -1
- data/sig/increase/models/file_list_params.rbs +1 -1
- data/sig/increase/models/inbound_check_deposit.rbs +12 -9
- data/sig/increase/models/pending_transaction.rbs +4 -0
- data/sig/increase/models/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/check_deposit_adjustment_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +4 -1
- data/sig/increase/models/transaction.rbs +24 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/resources/digital_card_profiles.rbs +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f01d0ab2d4c4e7d3224af1f12d5a47d8038890b0f4248c24c62e5450b6431d9d
|
|
4
|
+
data.tar.gz: 35131164b9241ae6e520e93d7f2aa0d846bd3f06647fe848176086a73d10cd5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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,
|
|
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
|
|
|
@@ -141,7 +141,7 @@ module Increase
|
|
|
141
141
|
# ACH Debits are allowed.
|
|
142
142
|
ALLOWED = :allowed
|
|
143
143
|
|
|
144
|
-
# ACH Debits are blocked.
|
|
144
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
145
145
|
BLOCKED = :blocked
|
|
146
146
|
|
|
147
147
|
# @!method self.values
|
|
@@ -74,7 +74,7 @@ module Increase
|
|
|
74
74
|
# ACH Debits are allowed.
|
|
75
75
|
ALLOWED = :allowed
|
|
76
76
|
|
|
77
|
-
# ACH Debits are blocked.
|
|
77
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
78
78
|
BLOCKED = :blocked
|
|
79
79
|
|
|
80
80
|
# @!method self.values
|
|
@@ -100,7 +100,7 @@ module Increase
|
|
|
100
100
|
# ACH Debits are allowed.
|
|
101
101
|
ALLOWED = :allowed
|
|
102
102
|
|
|
103
|
-
# ACH Debits are blocked.
|
|
103
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
104
104
|
BLOCKED = :blocked
|
|
105
105
|
|
|
106
106
|
# @!method self.values
|
|
@@ -80,7 +80,7 @@ module Increase
|
|
|
80
80
|
# ACH Debits are allowed.
|
|
81
81
|
ALLOWED = :allowed
|
|
82
82
|
|
|
83
|
-
# ACH Debits are blocked.
|
|
83
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
84
84
|
BLOCKED = :blocked
|
|
85
85
|
|
|
86
86
|
# @!method self.values
|
|
@@ -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
|
|
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
|
|
@@ -333,6 +333,9 @@ module Increase
|
|
|
333
333
|
module Reason
|
|
334
334
|
extend Increase::Internal::Type::Enum
|
|
335
335
|
|
|
336
|
+
# The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
|
|
337
|
+
WRONG_PAYEE_CREDIT = :wrong_payee_credit
|
|
338
|
+
|
|
336
339
|
# The check was deposited with a different amount than what was written on the check.
|
|
337
340
|
ADJUSTED_AMOUNT = :adjusted_amount
|
|
338
341
|
|
|
@@ -342,6 +345,9 @@ module Increase
|
|
|
342
345
|
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
343
346
|
PAID = :paid
|
|
344
347
|
|
|
348
|
+
# A previous adjustment for the check was applied twice and the duplicate has been reversed.
|
|
349
|
+
DUPLICATE_ENTRY = :duplicate_entry
|
|
350
|
+
|
|
345
351
|
# @!method self.values
|
|
346
352
|
# @return [Array<Symbol>]
|
|
347
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:,
|
|
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,
|
|
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:,
|
|
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
|
|
34
|
-
#
|
|
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
|
|
58
|
-
#
|
|
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
|
|
data/lib/increase/models/file.rb
CHANGED
|
@@ -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
|
|
58
|
-
required :back_image_file_id, String
|
|
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
|
|
120
|
-
required :front_image_file_id, String
|
|
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
|
|
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
|
|
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
|
|
23
|
-
# amount that settled is available on the resulting Transaction
|
|
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
|
|
116
|
-
# amount that settled is available on the resulting Transaction
|
|
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
|