increase 1.359.0 → 1.361.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 +1 -1
- data/lib/increase/models/ach_transfer_create_params.rb +4 -4
- data/lib/increase/models/digital_card_profile.rb +63 -1
- data/lib/increase/models/digital_card_profile_clone_params.rb +65 -1
- data/lib/increase/models/digital_card_profile_create_params.rb +62 -1
- data/lib/increase/models/digital_wallet_token.rb +1 -71
- data/lib/increase/models/digital_wallet_token_request.rb +3 -0
- data/lib/increase/models/event.rb +5 -2
- data/lib/increase/models/event_list_params.rb +5 -2
- data/lib/increase/models/event_subscription.rb +5 -2
- data/lib/increase/models/event_subscription_create_params.rb +5 -2
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/physical_card.rb +4 -3
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +3 -0
- data/lib/increase/models/simulations/program_create_params.rb +3 -3
- data/lib/increase/models/unwrap_webhook_event.rb +5 -2
- data/lib/increase/resources/ach_transfers.rb +2 -2
- data/lib/increase/resources/digital_card_profiles.rb +9 -2
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/simulations/programs.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_transfer_create_params.rbi +4 -4
- data/rbi/increase/models/digital_card_profile.rbi +137 -0
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +166 -0
- data/rbi/increase/models/digital_card_profile_create_params.rbi +163 -0
- data/rbi/increase/models/digital_wallet_token.rbi +0 -152
- data/rbi/increase/models/digital_wallet_token_request.rbi +7 -0
- data/rbi/increase/models/event.rbi +10 -3
- data/rbi/increase/models/event_list_params.rbi +10 -3
- data/rbi/increase/models/event_subscription.rbi +10 -3
- data/rbi/increase/models/event_subscription_create_params.rbi +10 -3
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/physical_card.rbi +3 -3
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +7 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +3 -3
- data/rbi/increase/models/unwrap_webhook_event.rbi +10 -3
- data/rbi/increase/resources/ach_transfers.rbi +2 -2
- data/rbi/increase/resources/digital_card_profiles.rbi +7 -0
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/simulations/programs.rbi +1 -1
- data/sig/increase/models/digital_card_profile.rbs +47 -0
- data/sig/increase/models/digital_card_profile_clone_params.rbs +59 -0
- data/sig/increase/models/digital_card_profile_create_params.rbs +59 -0
- data/sig/increase/models/digital_wallet_token.rbs +1 -77
- data/sig/increase/models/digital_wallet_token_request.rbs +4 -0
- data/sig/increase/models/event.rbs +7 -3
- data/sig/increase/models/event_list_params.rbs +7 -3
- data/sig/increase/models/event_subscription.rbs +7 -3
- data/sig/increase/models/event_subscription_create_params.rbs +7 -3
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +4 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +7 -3
- data/sig/increase/resources/digital_card_profiles.rbs +2 -0
- 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: 693a4c244c1ccd7cd6ce2efec35ed0bb1c7852ffb11df31789decc7fdaaa703d
|
|
4
|
+
data.tar.gz: 71892bf2ecf9a4c8a3ad2738b00b835cccda0c7cbcd51c26b62782eb1b8cc04b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08f7b1d238efae08f9195514392d5c4f4c2b35e2a6c7c07b61392d61445b92bba69edc231a3a922d6fd40fdac5753814db285ee49c718c4abda9126fde19f53c'
|
|
7
|
+
data.tar.gz: 711946095b9706ebb435a07e0ac013805f6161f5848eb9e90226caebb23fb18279068f518f4b5476c766f38d43320c4f92be566cfd39a5b38f43d3df41e594bf
|
data/README.md
CHANGED
|
@@ -77,8 +77,8 @@ module Increase
|
|
|
77
77
|
|
|
78
78
|
# @!attribute company_name
|
|
79
79
|
# The name by which the recipient knows you, sent in the company batch header. We
|
|
80
|
-
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
81
|
-
#
|
|
80
|
+
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
81
|
+
# `statement_descriptor`.
|
|
82
82
|
#
|
|
83
83
|
# @return [String, nil]
|
|
84
84
|
optional :company_name, String
|
|
@@ -197,8 +197,8 @@ module Increase
|
|
|
197
197
|
#
|
|
198
198
|
# @param company_name [String]
|
|
199
199
|
# The name by which the recipient knows you, sent in the company batch header. We
|
|
200
|
-
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
201
|
-
#
|
|
200
|
+
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
201
|
+
# `statement_descriptor`.
|
|
202
202
|
#
|
|
203
203
|
# @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder]
|
|
204
204
|
# The type of entity that owns the receiver's account.
|
|
@@ -16,6 +16,12 @@ module Increase
|
|
|
16
16
|
# @return [String]
|
|
17
17
|
required :app_icon_file_id, String
|
|
18
18
|
|
|
19
|
+
# @!attribute apple_pay
|
|
20
|
+
# Apple Pay specific settings for the Card Profile.
|
|
21
|
+
#
|
|
22
|
+
# @return [Increase::Models::DigitalCardProfile::ApplePay, nil]
|
|
23
|
+
required :apple_pay, -> { Increase::DigitalCardProfile::ApplePay }, nil?: true
|
|
24
|
+
|
|
19
25
|
# @!attribute background_image_file_id
|
|
20
26
|
# The identifier of the File containing the card's front image.
|
|
21
27
|
#
|
|
@@ -93,7 +99,7 @@ module Increase
|
|
|
93
99
|
# @return [Symbol, Increase::Models::DigitalCardProfile::Type]
|
|
94
100
|
required :type, enum: -> { Increase::DigitalCardProfile::Type }
|
|
95
101
|
|
|
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:)
|
|
102
|
+
# @!method initialize(id:, app_icon_file_id:, apple_pay:, background_image_file_id:, card_description:, contact_email:, contact_name:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, status:, text_color:, type:)
|
|
97
103
|
# This contains artwork and metadata relating to a Card's appearance in digital
|
|
98
104
|
# wallet apps like Apple Pay and Google Pay. For more information, see our guide
|
|
99
105
|
# on [digital card artwork](https://increase.com/documentation/card-art).
|
|
@@ -102,6 +108,9 @@ module Increase
|
|
|
102
108
|
#
|
|
103
109
|
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
|
|
104
110
|
#
|
|
111
|
+
# @param apple_pay [Increase::Models::DigitalCardProfile::ApplePay, nil]
|
|
112
|
+
# Apple Pay specific settings for the Card Profile.
|
|
113
|
+
#
|
|
105
114
|
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
|
|
106
115
|
#
|
|
107
116
|
# @param card_description [String] A user-facing description for the card itself.
|
|
@@ -138,6 +147,59 @@ module Increase
|
|
|
138
147
|
# A constant representing the object's type. For this resource it will always be
|
|
139
148
|
# `digital_card_profile`.
|
|
140
149
|
|
|
150
|
+
# @see Increase::Models::DigitalCardProfile#apple_pay
|
|
151
|
+
class ApplePay < Increase::Internal::Type::BaseModel
|
|
152
|
+
# @!attribute associated_application_identifiers
|
|
153
|
+
# The applications associated with cards using this Card Profile.
|
|
154
|
+
#
|
|
155
|
+
# @return [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier>]
|
|
156
|
+
required :associated_application_identifiers,
|
|
157
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier] }
|
|
158
|
+
|
|
159
|
+
# @!attribute associated_store_identifiers
|
|
160
|
+
# The App Store listings of the applications associated with cards using this Card
|
|
161
|
+
# Profile.
|
|
162
|
+
#
|
|
163
|
+
# @return [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier>]
|
|
164
|
+
required :associated_store_identifiers,
|
|
165
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier] }
|
|
166
|
+
|
|
167
|
+
# @!method initialize(associated_application_identifiers:, associated_store_identifiers:)
|
|
168
|
+
# Apple Pay specific settings for the Card Profile.
|
|
169
|
+
#
|
|
170
|
+
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier>]
|
|
171
|
+
# The applications associated with cards using this Card Profile.
|
|
172
|
+
#
|
|
173
|
+
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier>]
|
|
174
|
+
# The App Store listings of the applications associated with cards using this Card
|
|
175
|
+
# Profile.
|
|
176
|
+
|
|
177
|
+
class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
|
|
178
|
+
# @!attribute identifier
|
|
179
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
180
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
181
|
+
#
|
|
182
|
+
# @return [String]
|
|
183
|
+
required :identifier, String
|
|
184
|
+
|
|
185
|
+
# @!method initialize(identifier:)
|
|
186
|
+
# @param identifier [String]
|
|
187
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
188
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
|
|
192
|
+
# @!attribute identifier
|
|
193
|
+
# The numeric App Store identifier.
|
|
194
|
+
#
|
|
195
|
+
# @return [String]
|
|
196
|
+
required :identifier, String
|
|
197
|
+
|
|
198
|
+
# @!method initialize(identifier:)
|
|
199
|
+
# @param identifier [String] The numeric App Store identifier.
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
141
203
|
# The status of the Card Profile.
|
|
142
204
|
#
|
|
143
205
|
# @see Increase::Models::DigitalCardProfile#status
|
|
@@ -19,6 +19,13 @@ module Increase
|
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :app_icon_file_id, String
|
|
21
21
|
|
|
22
|
+
# @!attribute apple_pay
|
|
23
|
+
# Apple Pay specific settings for the Card Profile. Each list you leave out is
|
|
24
|
+
# copied from the original Card Profile.
|
|
25
|
+
#
|
|
26
|
+
# @return [Increase::Models::DigitalCardProfileCloneParams::ApplePay, nil]
|
|
27
|
+
optional :apple_pay, -> { Increase::DigitalCardProfileCloneParams::ApplePay }
|
|
28
|
+
|
|
22
29
|
# @!attribute background_image_file_id
|
|
23
30
|
# The identifier of the File containing the card's front image.
|
|
24
31
|
#
|
|
@@ -68,11 +75,15 @@ module Increase
|
|
|
68
75
|
# @return [Increase::Models::DigitalCardProfileCloneParams::TextColor, nil]
|
|
69
76
|
optional :text_color, -> { Increase::DigitalCardProfileCloneParams::TextColor }
|
|
70
77
|
|
|
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: {})
|
|
78
|
+
# @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, apple_pay: 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: {})
|
|
72
79
|
# @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
|
|
73
80
|
#
|
|
74
81
|
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
|
|
75
82
|
#
|
|
83
|
+
# @param apple_pay [Increase::Models::DigitalCardProfileCloneParams::ApplePay]
|
|
84
|
+
# Apple Pay specific settings for the Card Profile. Each list you leave out is
|
|
85
|
+
# copied from the original Card Profile.
|
|
86
|
+
#
|
|
76
87
|
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
|
|
77
88
|
#
|
|
78
89
|
# @param card_description [String] A user-facing description for the card itself.
|
|
@@ -94,6 +105,59 @@ module Increase
|
|
|
94
105
|
#
|
|
95
106
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
96
107
|
|
|
108
|
+
class ApplePay < Increase::Internal::Type::BaseModel
|
|
109
|
+
# @!attribute associated_application_identifiers
|
|
110
|
+
# The applications to associate with cards using this Card Profile.
|
|
111
|
+
#
|
|
112
|
+
# @return [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier>, nil]
|
|
113
|
+
optional :associated_application_identifiers,
|
|
114
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier] }
|
|
115
|
+
|
|
116
|
+
# @!attribute associated_store_identifiers
|
|
117
|
+
# The App Store listings of the applications to associate with cards using this
|
|
118
|
+
# Card Profile.
|
|
119
|
+
#
|
|
120
|
+
# @return [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier>, nil]
|
|
121
|
+
optional :associated_store_identifiers,
|
|
122
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier] }
|
|
123
|
+
|
|
124
|
+
# @!method initialize(associated_application_identifiers: nil, associated_store_identifiers: nil)
|
|
125
|
+
# Apple Pay specific settings for the Card Profile. Each list you leave out is
|
|
126
|
+
# copied from the original Card Profile.
|
|
127
|
+
#
|
|
128
|
+
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier>]
|
|
129
|
+
# The applications to associate with cards using this Card Profile.
|
|
130
|
+
#
|
|
131
|
+
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier>]
|
|
132
|
+
# The App Store listings of the applications to associate with cards using this
|
|
133
|
+
# Card Profile.
|
|
134
|
+
|
|
135
|
+
class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
|
|
136
|
+
# @!attribute identifier
|
|
137
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
138
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
139
|
+
#
|
|
140
|
+
# @return [String]
|
|
141
|
+
required :identifier, String
|
|
142
|
+
|
|
143
|
+
# @!method initialize(identifier:)
|
|
144
|
+
# @param identifier [String]
|
|
145
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
146
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
|
|
150
|
+
# @!attribute identifier
|
|
151
|
+
# The numeric App Store identifier.
|
|
152
|
+
#
|
|
153
|
+
# @return [String]
|
|
154
|
+
required :identifier, String
|
|
155
|
+
|
|
156
|
+
# @!method initialize(identifier:)
|
|
157
|
+
# @param identifier [String] The numeric App Store identifier.
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
97
161
|
class TextColor < Increase::Internal::Type::BaseModel
|
|
98
162
|
# @!attribute blue
|
|
99
163
|
# The value of the blue channel in the RGB color.
|
|
@@ -31,6 +31,12 @@ module Increase
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
required :description, String
|
|
33
33
|
|
|
34
|
+
# @!attribute apple_pay
|
|
35
|
+
# Apple Pay specific settings for the Card Profile.
|
|
36
|
+
#
|
|
37
|
+
# @return [Increase::Models::DigitalCardProfileCreateParams::ApplePay, nil]
|
|
38
|
+
optional :apple_pay, -> { Increase::DigitalCardProfileCreateParams::ApplePay }
|
|
39
|
+
|
|
34
40
|
# @!attribute contact_email
|
|
35
41
|
# An email address the user can contact to receive support for their card.
|
|
36
42
|
#
|
|
@@ -62,7 +68,7 @@ module Increase
|
|
|
62
68
|
# @return [Increase::Models::DigitalCardProfileCreateParams::TextColor, nil]
|
|
63
69
|
optional :text_color, -> { Increase::DigitalCardProfileCreateParams::TextColor }
|
|
64
70
|
|
|
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: {})
|
|
71
|
+
# @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, apple_pay: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
|
|
66
72
|
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
|
|
67
73
|
#
|
|
68
74
|
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
|
|
@@ -71,6 +77,9 @@ module Increase
|
|
|
71
77
|
#
|
|
72
78
|
# @param description [String] A description you can use to identify the Card Profile.
|
|
73
79
|
#
|
|
80
|
+
# @param apple_pay [Increase::Models::DigitalCardProfileCreateParams::ApplePay]
|
|
81
|
+
# Apple Pay specific settings for the Card Profile.
|
|
82
|
+
#
|
|
74
83
|
# @param contact_email [String] An email address the user can contact to receive support for their card.
|
|
75
84
|
#
|
|
76
85
|
# @param contact_name [String]
|
|
@@ -86,6 +95,58 @@ module Increase
|
|
|
86
95
|
#
|
|
87
96
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
88
97
|
|
|
98
|
+
class ApplePay < Increase::Internal::Type::BaseModel
|
|
99
|
+
# @!attribute associated_application_identifiers
|
|
100
|
+
# The applications to associate with cards using this Card Profile.
|
|
101
|
+
#
|
|
102
|
+
# @return [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier>, nil]
|
|
103
|
+
optional :associated_application_identifiers,
|
|
104
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier] }
|
|
105
|
+
|
|
106
|
+
# @!attribute associated_store_identifiers
|
|
107
|
+
# The App Store listings of the applications to associate with cards using this
|
|
108
|
+
# Card Profile.
|
|
109
|
+
#
|
|
110
|
+
# @return [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier>, nil]
|
|
111
|
+
optional :associated_store_identifiers,
|
|
112
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier] }
|
|
113
|
+
|
|
114
|
+
# @!method initialize(associated_application_identifiers: nil, associated_store_identifiers: nil)
|
|
115
|
+
# Apple Pay specific settings for the Card Profile.
|
|
116
|
+
#
|
|
117
|
+
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier>]
|
|
118
|
+
# The applications to associate with cards using this Card Profile.
|
|
119
|
+
#
|
|
120
|
+
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier>]
|
|
121
|
+
# The App Store listings of the applications to associate with cards using this
|
|
122
|
+
# Card Profile.
|
|
123
|
+
|
|
124
|
+
class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
|
|
125
|
+
# @!attribute identifier
|
|
126
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
127
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
128
|
+
#
|
|
129
|
+
# @return [String]
|
|
130
|
+
required :identifier, String
|
|
131
|
+
|
|
132
|
+
# @!method initialize(identifier:)
|
|
133
|
+
# @param identifier [String]
|
|
134
|
+
# The application identifier, composed of your Apple Developer Team ID and the
|
|
135
|
+
# application's bundle identifier, like `ABCDE12345.com.example.app`.
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
|
|
139
|
+
# @!attribute identifier
|
|
140
|
+
# The numeric App Store identifier.
|
|
141
|
+
#
|
|
142
|
+
# @return [String]
|
|
143
|
+
required :identifier, String
|
|
144
|
+
|
|
145
|
+
# @!method initialize(identifier:)
|
|
146
|
+
# @param identifier [String] The numeric App Store identifier.
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
89
150
|
class TextColor < Increase::Internal::Type::BaseModel
|
|
90
151
|
# @!attribute blue
|
|
91
152
|
# The value of the blue channel in the RGB color.
|
|
@@ -35,13 +35,6 @@ module Increase
|
|
|
35
35
|
# @return [Time]
|
|
36
36
|
required :created_at, Time
|
|
37
37
|
|
|
38
|
-
# @!attribute decline
|
|
39
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
40
|
-
# decline.
|
|
41
|
-
#
|
|
42
|
-
# @return [Increase::Models::DigitalWalletToken::Decline, nil]
|
|
43
|
-
required :decline, -> { Increase::DigitalWalletToken::Decline }, nil?: true
|
|
44
|
-
|
|
45
38
|
# @!attribute device
|
|
46
39
|
# The device that was used to create the Digital Wallet Token.
|
|
47
40
|
#
|
|
@@ -93,7 +86,7 @@ module Increase
|
|
|
93
86
|
# @return [Array<Increase::Models::DigitalWalletToken::Update>]
|
|
94
87
|
required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }
|
|
95
88
|
|
|
96
|
-
# @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:,
|
|
89
|
+
# @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, device:, dynamic_primary_account_number:, primary_account_number_reference_identifier:, status:, token_reference_identifier:, token_requestor:, type:, updates:)
|
|
97
90
|
# A Digital Wallet Token is created when a user adds a Card to their Apple Pay or
|
|
98
91
|
# Google Pay app. The Digital Wallet Token can be used for purchases just like a
|
|
99
92
|
# Card.
|
|
@@ -111,10 +104,6 @@ module Increase
|
|
|
111
104
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
112
105
|
# the Digital Wallet Token was created.
|
|
113
106
|
#
|
|
114
|
-
# @param decline [Increase::Models::DigitalWalletToken::Decline, nil]
|
|
115
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
116
|
-
# decline.
|
|
117
|
-
#
|
|
118
107
|
# @param device [Increase::Models::DigitalWalletToken::Device]
|
|
119
108
|
# The device that was used to create the Digital Wallet Token.
|
|
120
109
|
#
|
|
@@ -153,59 +142,6 @@ module Increase
|
|
|
153
142
|
# @param name [String, nil] Name of the cardholder, for example "John Smith".
|
|
154
143
|
end
|
|
155
144
|
|
|
156
|
-
# @see Increase::Models::DigitalWalletToken#decline
|
|
157
|
-
class Decline < Increase::Internal::Type::BaseModel
|
|
158
|
-
# @!attribute reason
|
|
159
|
-
# The reason the token provisioning was declined.
|
|
160
|
-
#
|
|
161
|
-
# @return [Symbol, Increase::Models::DigitalWalletToken::Decline::Reason]
|
|
162
|
-
required :reason, enum: -> { Increase::DigitalWalletToken::Decline::Reason }
|
|
163
|
-
|
|
164
|
-
# @!method initialize(reason:)
|
|
165
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
166
|
-
# decline.
|
|
167
|
-
#
|
|
168
|
-
# @param reason [Symbol, Increase::Models::DigitalWalletToken::Decline::Reason]
|
|
169
|
-
# The reason the token provisioning was declined.
|
|
170
|
-
|
|
171
|
-
# The reason the token provisioning was declined.
|
|
172
|
-
#
|
|
173
|
-
# @see Increase::Models::DigitalWalletToken::Decline#reason
|
|
174
|
-
module Reason
|
|
175
|
-
extend Increase::Internal::Type::Enum
|
|
176
|
-
|
|
177
|
-
# The card is not active.
|
|
178
|
-
CARD_NOT_ACTIVE = :card_not_active
|
|
179
|
-
|
|
180
|
-
# The card does not have a two-factor authentication method.
|
|
181
|
-
NO_VERIFICATION_METHOD = :no_verification_method
|
|
182
|
-
|
|
183
|
-
# Your webhook timed out when evaluating the token provisioning attempt.
|
|
184
|
-
WEBHOOK_TIMED_OUT = :webhook_timed_out
|
|
185
|
-
|
|
186
|
-
# Your webhook declined the token provisioning attempt.
|
|
187
|
-
WEBHOOK_DECLINED = :webhook_declined
|
|
188
|
-
|
|
189
|
-
# The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
|
|
190
|
-
INCORRECT_CARD_VERIFICATION_CODE = :incorrect_card_verification_code
|
|
191
|
-
|
|
192
|
-
# The tokenization attempt was declined by the token requestor.
|
|
193
|
-
DECLINED_BY_TOKEN_REQUESTOR = :declined_by_token_requestor
|
|
194
|
-
|
|
195
|
-
# The group was locked.
|
|
196
|
-
GROUP_LOCKED = :group_locked
|
|
197
|
-
|
|
198
|
-
# The account has been closed.
|
|
199
|
-
ACCOUNT_CLOSED = :account_closed
|
|
200
|
-
|
|
201
|
-
# The account's entity was not active.
|
|
202
|
-
ENTITY_NOT_ACTIVE = :entity_not_active
|
|
203
|
-
|
|
204
|
-
# @!method self.values
|
|
205
|
-
# @return [Array<Symbol>]
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
|
|
209
145
|
# @see Increase::Models::DigitalWalletToken#device
|
|
210
146
|
class Device < Increase::Internal::Type::BaseModel
|
|
211
147
|
# @!attribute device_type
|
|
@@ -321,9 +257,6 @@ module Increase
|
|
|
321
257
|
# The digital wallet token has been permanently canceled.
|
|
322
258
|
DEACTIVATED = :deactivated
|
|
323
259
|
|
|
324
|
-
# The digital wallet token was declined during provisioning.
|
|
325
|
-
DECLINED = :declined
|
|
326
|
-
|
|
327
260
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
328
261
|
PENDING_TRANSITIONING = :pending_transitioning
|
|
329
262
|
|
|
@@ -409,9 +342,6 @@ module Increase
|
|
|
409
342
|
# The digital wallet token has been permanently canceled.
|
|
410
343
|
DEACTIVATED = :deactivated
|
|
411
344
|
|
|
412
|
-
# The digital wallet token was declined during provisioning.
|
|
413
|
-
DECLINED = :declined
|
|
414
|
-
|
|
415
345
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
416
346
|
PENDING_TRANSITIONING = :pending_transitioning
|
|
417
347
|
|
|
@@ -149,6 +149,9 @@ module Increase
|
|
|
149
149
|
# The account's entity was not active.
|
|
150
150
|
ENTITY_NOT_ACTIVE = :entity_not_active
|
|
151
151
|
|
|
152
|
+
# The given expiration date did not match the card's value.
|
|
153
|
+
CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
|
|
154
|
+
|
|
152
155
|
# @!method self.values
|
|
153
156
|
# @return [Array<Symbol>]
|
|
154
157
|
end
|
|
@@ -316,8 +316,11 @@ module Increase
|
|
|
316
316
|
# Occurs whenever a Loan Offer is updated.
|
|
317
317
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
318
318
|
|
|
319
|
-
# Occurs whenever a Loan Purchase is created.
|
|
320
|
-
|
|
319
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
320
|
+
LOAN_PURCHASE_OFFER_CREATED = :"loan_purchase_offer.created"
|
|
321
|
+
|
|
322
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
323
|
+
LOAN_PURCHASE_OFFER_UPDATED = :"loan_purchase_offer.updated"
|
|
321
324
|
|
|
322
325
|
# Occurs whenever a Lockbox is created.
|
|
323
326
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
@@ -328,8 +328,11 @@ module Increase
|
|
|
328
328
|
# Occurs whenever a Loan Offer is updated.
|
|
329
329
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
330
330
|
|
|
331
|
-
# Occurs whenever a Loan Purchase is created.
|
|
332
|
-
|
|
331
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
332
|
+
LOAN_PURCHASE_OFFER_CREATED = :"loan_purchase_offer.created"
|
|
333
|
+
|
|
334
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
335
|
+
LOAN_PURCHASE_OFFER_UPDATED = :"loan_purchase_offer.updated"
|
|
333
336
|
|
|
334
337
|
# Occurs whenever a Lockbox is created.
|
|
335
338
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
@@ -357,8 +357,11 @@ module Increase
|
|
|
357
357
|
# Occurs whenever a Loan Offer is updated.
|
|
358
358
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
359
359
|
|
|
360
|
-
# Occurs whenever a Loan Purchase is created.
|
|
361
|
-
|
|
360
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
361
|
+
LOAN_PURCHASE_OFFER_CREATED = :"loan_purchase_offer.created"
|
|
362
|
+
|
|
363
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
364
|
+
LOAN_PURCHASE_OFFER_UPDATED = :"loan_purchase_offer.updated"
|
|
362
365
|
|
|
363
366
|
# Occurs whenever a Lockbox is created.
|
|
364
367
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
@@ -326,8 +326,11 @@ module Increase
|
|
|
326
326
|
# Occurs whenever a Loan Offer is updated.
|
|
327
327
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
328
328
|
|
|
329
|
-
# Occurs whenever a Loan Purchase is created.
|
|
330
|
-
|
|
329
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
330
|
+
LOAN_PURCHASE_OFFER_CREATED = :"loan_purchase_offer.created"
|
|
331
|
+
|
|
332
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
333
|
+
LOAN_PURCHASE_OFFER_UPDATED = :"loan_purchase_offer.updated"
|
|
331
334
|
|
|
332
335
|
# Occurs whenever a Lockbox is created.
|
|
333
336
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
@@ -78,6 +78,12 @@ module Increase
|
|
|
78
78
|
# @return [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil]
|
|
79
79
|
required :decline, -> { Increase::InboundRealTimePaymentsTransfer::Decline }, nil?: true
|
|
80
80
|
|
|
81
|
+
# @!attribute end_to_end_identification
|
|
82
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
83
|
+
#
|
|
84
|
+
# @return [String, nil]
|
|
85
|
+
required :end_to_end_identification, String, nil?: true
|
|
86
|
+
|
|
81
87
|
# @!attribute status
|
|
82
88
|
# The lifecycle status of the transfer.
|
|
83
89
|
#
|
|
@@ -103,7 +109,7 @@ module Increase
|
|
|
103
109
|
# @return [String, nil]
|
|
104
110
|
required :unstructured_remittance_information, String, nil?: true
|
|
105
111
|
|
|
106
|
-
# @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, status:, transaction_identification:, type:, unstructured_remittance_information:)
|
|
112
|
+
# @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, end_to_end_identification:, status:, transaction_identification:, type:, unstructured_remittance_information:)
|
|
107
113
|
# An Inbound Real-Time Payments Transfer is a Real-Time Payments transfer
|
|
108
114
|
# initiated outside of Increase to your account.
|
|
109
115
|
#
|
|
@@ -138,6 +144,9 @@ module Increase
|
|
|
138
144
|
# @param decline [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil]
|
|
139
145
|
# If your transfer is declined, this will contain details of the decline.
|
|
140
146
|
#
|
|
147
|
+
# @param end_to_end_identification [String, nil]
|
|
148
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
149
|
+
#
|
|
141
150
|
# @param status [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Status]
|
|
142
151
|
# The lifecycle status of the transfer.
|
|
143
152
|
#
|
|
@@ -70,7 +70,7 @@ module Increase
|
|
|
70
70
|
required :shipment, -> { Increase::PhysicalCard::Shipment }
|
|
71
71
|
|
|
72
72
|
# @!attribute status
|
|
73
|
-
# The status of the Physical Card.
|
|
73
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
74
74
|
#
|
|
75
75
|
# @return [Symbol, Increase::Models::PhysicalCard::Status]
|
|
76
76
|
required :status, enum: -> { Increase::PhysicalCard::Status }
|
|
@@ -120,7 +120,8 @@ module Increase
|
|
|
120
120
|
#
|
|
121
121
|
# @param shipment [Increase::Models::PhysicalCard::Shipment] The details used to ship this physical card.
|
|
122
122
|
#
|
|
123
|
-
# @param status [Symbol, Increase::Models::PhysicalCard::Status]
|
|
123
|
+
# @param status [Symbol, Increase::Models::PhysicalCard::Status]
|
|
124
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
124
125
|
#
|
|
125
126
|
# @param type [Symbol, Increase::Models::PhysicalCard::Type]
|
|
126
127
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -498,7 +499,7 @@ module Increase
|
|
|
498
499
|
end
|
|
499
500
|
end
|
|
500
501
|
|
|
501
|
-
# The status of the Physical Card.
|
|
502
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
502
503
|
#
|
|
503
504
|
# @see Increase::Models::PhysicalCard#status
|
|
504
505
|
module Status
|
|
@@ -77,6 +77,9 @@ module Increase
|
|
|
77
77
|
# The account's entity was not active.
|
|
78
78
|
ENTITY_NOT_ACTIVE = :entity_not_active
|
|
79
79
|
|
|
80
|
+
# The given expiration date did not match the card's value.
|
|
81
|
+
CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
|
|
82
|
+
|
|
80
83
|
# @!method self.values
|
|
81
84
|
# @return [Array<Symbol>]
|
|
82
85
|
end
|
|
@@ -15,7 +15,7 @@ module Increase
|
|
|
15
15
|
required :name, String
|
|
16
16
|
|
|
17
17
|
# @!attribute bank
|
|
18
|
-
# The bank for the program's accounts, defaults to
|
|
18
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
19
19
|
#
|
|
20
20
|
# @return [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank, nil]
|
|
21
21
|
optional :bank, enum: -> { Increase::Simulations::ProgramCreateParams::Bank }
|
|
@@ -43,7 +43,7 @@ module Increase
|
|
|
43
43
|
# @param name [String] The name of the program being added.
|
|
44
44
|
#
|
|
45
45
|
# @param bank [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank]
|
|
46
|
-
# The bank for the program's accounts, defaults to
|
|
46
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
47
47
|
#
|
|
48
48
|
# @param lending_maximum_extendable_credit [Integer]
|
|
49
49
|
# The maximum extendable credit of the program being added.
|
|
@@ -56,7 +56,7 @@ module Increase
|
|
|
56
56
|
#
|
|
57
57
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
58
58
|
|
|
59
|
-
# The bank for the program's accounts, defaults to
|
|
59
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
60
60
|
module Bank
|
|
61
61
|
extend Increase::Internal::Type::Enum
|
|
62
62
|
|
|
@@ -315,8 +315,11 @@ module Increase
|
|
|
315
315
|
# Occurs whenever a Loan Offer is updated.
|
|
316
316
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
317
317
|
|
|
318
|
-
# Occurs whenever a Loan Purchase is created.
|
|
319
|
-
|
|
318
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
319
|
+
LOAN_PURCHASE_OFFER_CREATED = :"loan_purchase_offer.created"
|
|
320
|
+
|
|
321
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
322
|
+
LOAN_PURCHASE_OFFER_UPDATED = :"loan_purchase_offer.updated"
|
|
320
323
|
|
|
321
324
|
# Occurs whenever a Lockbox is created.
|
|
322
325
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
@@ -52,8 +52,8 @@ module Increase
|
|
|
52
52
|
#
|
|
53
53
|
# @param company_name [String]
|
|
54
54
|
# The name by which the recipient knows you, sent in the company batch header. We
|
|
55
|
-
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
56
|
-
#
|
|
55
|
+
# recommend setting this on every transfer; if you do not, we fall back to the
|
|
56
|
+
# `statement_descriptor`.
|
|
57
57
|
#
|
|
58
58
|
# @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder]
|
|
59
59
|
# The type of entity that owns the receiver's account.
|