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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer_create_params.rb +4 -4
  4. data/lib/increase/models/digital_card_profile.rb +63 -1
  5. data/lib/increase/models/digital_card_profile_clone_params.rb +65 -1
  6. data/lib/increase/models/digital_card_profile_create_params.rb +62 -1
  7. data/lib/increase/models/digital_wallet_token.rb +1 -71
  8. data/lib/increase/models/digital_wallet_token_request.rb +3 -0
  9. data/lib/increase/models/event.rb +5 -2
  10. data/lib/increase/models/event_list_params.rb +5 -2
  11. data/lib/increase/models/event_subscription.rb +5 -2
  12. data/lib/increase/models/event_subscription_create_params.rb +5 -2
  13. data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
  14. data/lib/increase/models/physical_card.rb +4 -3
  15. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +3 -0
  16. data/lib/increase/models/simulations/program_create_params.rb +3 -3
  17. data/lib/increase/models/unwrap_webhook_event.rb +5 -2
  18. data/lib/increase/resources/ach_transfers.rb +2 -2
  19. data/lib/increase/resources/digital_card_profiles.rb +9 -2
  20. data/lib/increase/resources/physical_cards.rb +2 -1
  21. data/lib/increase/resources/simulations/programs.rb +1 -1
  22. data/lib/increase/version.rb +1 -1
  23. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -4
  24. data/rbi/increase/models/digital_card_profile.rbi +137 -0
  25. data/rbi/increase/models/digital_card_profile_clone_params.rbi +166 -0
  26. data/rbi/increase/models/digital_card_profile_create_params.rbi +163 -0
  27. data/rbi/increase/models/digital_wallet_token.rbi +0 -152
  28. data/rbi/increase/models/digital_wallet_token_request.rbi +7 -0
  29. data/rbi/increase/models/event.rbi +10 -3
  30. data/rbi/increase/models/event_list_params.rbi +10 -3
  31. data/rbi/increase/models/event_subscription.rbi +10 -3
  32. data/rbi/increase/models/event_subscription_create_params.rbi +10 -3
  33. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
  34. data/rbi/increase/models/physical_card.rbi +3 -3
  35. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +7 -0
  36. data/rbi/increase/models/simulations/program_create_params.rbi +3 -3
  37. data/rbi/increase/models/unwrap_webhook_event.rbi +10 -3
  38. data/rbi/increase/resources/ach_transfers.rbi +2 -2
  39. data/rbi/increase/resources/digital_card_profiles.rbi +7 -0
  40. data/rbi/increase/resources/physical_cards.rbi +2 -1
  41. data/rbi/increase/resources/simulations/programs.rbi +1 -1
  42. data/sig/increase/models/digital_card_profile.rbs +47 -0
  43. data/sig/increase/models/digital_card_profile_clone_params.rbs +59 -0
  44. data/sig/increase/models/digital_card_profile_create_params.rbs +59 -0
  45. data/sig/increase/models/digital_wallet_token.rbs +1 -77
  46. data/sig/increase/models/digital_wallet_token_request.rbs +4 -0
  47. data/sig/increase/models/event.rbs +7 -3
  48. data/sig/increase/models/event_list_params.rbs +7 -3
  49. data/sig/increase/models/event_subscription.rbs +7 -3
  50. data/sig/increase/models/event_subscription_create_params.rbs +7 -3
  51. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
  52. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +4 -0
  53. data/sig/increase/models/unwrap_webhook_event.rbs +7 -3
  54. data/sig/increase/resources/digital_card_profiles.rbs +2 -0
  55. metadata +2 -2
@@ -5,7 +5,7 @@ module Increase
5
5
  class DigitalCardProfiles
6
6
  # Create a Digital Card Profile
7
7
  #
8
- # @overload create(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: {})
8
+ # @overload create(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: {})
9
9
  #
10
10
  # @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
11
11
  #
@@ -15,6 +15,9 @@ module Increase
15
15
  #
16
16
  # @param description [String] A description you can use to identify the Card Profile.
17
17
  #
18
+ # @param apple_pay [Increase::Models::DigitalCardProfileCreateParams::ApplePay]
19
+ # Apple Pay specific settings for the Card Profile.
20
+ #
18
21
  # @param contact_email [String] An email address the user can contact to receive support for their card.
19
22
  #
20
23
  # @param contact_name [String]
@@ -124,12 +127,16 @@ module Increase
124
127
 
125
128
  # Clone a Digital Card Profile
126
129
  #
127
- # @overload clone_(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: {})
130
+ # @overload clone_(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: {})
128
131
  #
129
132
  # @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
130
133
  #
131
134
  # @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
132
135
  #
136
+ # @param apple_pay [Increase::Models::DigitalCardProfileCloneParams::ApplePay]
137
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
138
+ # copied from the original Card Profile.
139
+ #
133
140
  # @param background_image_file_id [String] The identifier of the File containing the card's front image.
134
141
  #
135
142
  # @param card_description [String] A user-facing description for the card itself.
@@ -3,7 +3,8 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class PhysicalCards
6
- # Create a Physical Card
6
+ # Physical Cards start in the status `disabled`. Activate the card once it arrives
7
+ # at the destination and the recipient confirms receipt.
7
8
  #
8
9
  # @overload create(card_id:, cardholder:, shipment:, physical_card_profile_id: nil, request_options: {})
9
10
  #
@@ -14,7 +14,7 @@ module Increase
14
14
  # @param name [String] The name of the program being added.
15
15
  #
16
16
  # @param bank [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank]
17
- # The bank for the program's accounts, defaults to First Internet Bank.
17
+ # The bank for the program's accounts, defaults to Increase Bank.
18
18
  #
19
19
  # @param lending_maximum_extendable_credit [Integer]
20
20
  # The maximum extendable credit of the program being added.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.359.0"
4
+ VERSION = "1.361.0"
5
5
  end
@@ -81,8 +81,8 @@ module Increase
81
81
  attr_writer :company_entry_description
82
82
 
83
83
  # The name by which the recipient knows you, sent in the company batch header. We
84
- # recommend setting this on every transfer; if you do not, we fall back to the ACH
85
- # company name configured on your account.
84
+ # recommend setting this on every transfer; if you do not, we fall back to the
85
+ # `statement_descriptor`.
86
86
  sig { returns(T.nilable(String)) }
87
87
  attr_reader :company_name
88
88
 
@@ -265,8 +265,8 @@ module Increase
265
265
  # `PAYROLL`, and reversals must use `REVERSAL`.
266
266
  company_entry_description: nil,
267
267
  # The name by which the recipient knows you, sent in the company batch header. We
268
- # recommend setting this on every transfer; if you do not, we fall back to the ACH
269
- # company name configured on your account.
268
+ # recommend setting this on every transfer; if you do not, we fall back to the
269
+ # `statement_descriptor`.
270
270
  company_name: nil,
271
271
  # The type of entity that owns the receiver's account.
272
272
  destination_account_holder: nil,
@@ -16,6 +16,17 @@ module Increase
16
16
  sig { returns(String) }
17
17
  attr_accessor :app_icon_file_id
18
18
 
19
+ # Apple Pay specific settings for the Card Profile.
20
+ sig { returns(T.nilable(Increase::DigitalCardProfile::ApplePay)) }
21
+ attr_reader :apple_pay
22
+
23
+ sig do
24
+ params(
25
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay::OrHash)
26
+ ).void
27
+ end
28
+ attr_writer :apple_pay
29
+
19
30
  # The identifier of the File containing the card's front image.
20
31
  sig { returns(String) }
21
32
  attr_accessor :background_image_file_id
@@ -81,6 +92,7 @@ module Increase
81
92
  params(
82
93
  id: String,
83
94
  app_icon_file_id: String,
95
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay::OrHash),
84
96
  background_image_file_id: String,
85
97
  card_description: String,
86
98
  contact_email: T.nilable(String),
@@ -100,6 +112,8 @@ module Increase
100
112
  id:,
101
113
  # The identifier of the File containing the card's icon image.
102
114
  app_icon_file_id:,
115
+ # Apple Pay specific settings for the Card Profile.
116
+ apple_pay:,
103
117
  # The identifier of the File containing the card's front image.
104
118
  background_image_file_id:,
105
119
  # A user-facing description for the card itself.
@@ -137,6 +151,7 @@ module Increase
137
151
  {
138
152
  id: String,
139
153
  app_icon_file_id: String,
154
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay),
140
155
  background_image_file_id: String,
141
156
  card_description: String,
142
157
  contact_email: T.nilable(String),
@@ -155,6 +170,128 @@ module Increase
155
170
  def to_hash
156
171
  end
157
172
 
173
+ class ApplePay < Increase::Internal::Type::BaseModel
174
+ OrHash =
175
+ T.type_alias do
176
+ T.any(
177
+ Increase::DigitalCardProfile::ApplePay,
178
+ Increase::Internal::AnyHash
179
+ )
180
+ end
181
+
182
+ # The applications associated with cards using this Card Profile.
183
+ sig do
184
+ returns(
185
+ T::Array[
186
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier
187
+ ]
188
+ )
189
+ end
190
+ attr_accessor :associated_application_identifiers
191
+
192
+ # The App Store listings of the applications associated with cards using this Card
193
+ # Profile.
194
+ sig do
195
+ returns(
196
+ T::Array[
197
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier
198
+ ]
199
+ )
200
+ end
201
+ attr_accessor :associated_store_identifiers
202
+
203
+ # Apple Pay specific settings for the Card Profile.
204
+ sig do
205
+ params(
206
+ associated_application_identifiers:
207
+ T::Array[
208
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier::OrHash
209
+ ],
210
+ associated_store_identifiers:
211
+ T::Array[
212
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier::OrHash
213
+ ]
214
+ ).returns(T.attached_class)
215
+ end
216
+ def self.new(
217
+ # The applications associated with cards using this Card Profile.
218
+ associated_application_identifiers:,
219
+ # The App Store listings of the applications associated with cards using this Card
220
+ # Profile.
221
+ associated_store_identifiers:
222
+ )
223
+ end
224
+
225
+ sig do
226
+ override.returns(
227
+ {
228
+ associated_application_identifiers:
229
+ T::Array[
230
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier
231
+ ],
232
+ associated_store_identifiers:
233
+ T::Array[
234
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier
235
+ ]
236
+ }
237
+ )
238
+ end
239
+ def to_hash
240
+ end
241
+
242
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
243
+ OrHash =
244
+ T.type_alias do
245
+ T.any(
246
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier,
247
+ Increase::Internal::AnyHash
248
+ )
249
+ end
250
+
251
+ # The application identifier, composed of your Apple Developer Team ID and the
252
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
253
+ sig { returns(String) }
254
+ attr_accessor :identifier
255
+
256
+ sig { params(identifier: String).returns(T.attached_class) }
257
+ def self.new(
258
+ # The application identifier, composed of your Apple Developer Team ID and the
259
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
260
+ identifier:
261
+ )
262
+ end
263
+
264
+ sig { override.returns({ identifier: String }) }
265
+ def to_hash
266
+ end
267
+ end
268
+
269
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
270
+ OrHash =
271
+ T.type_alias do
272
+ T.any(
273
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier,
274
+ Increase::Internal::AnyHash
275
+ )
276
+ end
277
+
278
+ # The numeric App Store identifier.
279
+ sig { returns(String) }
280
+ attr_accessor :identifier
281
+
282
+ sig { params(identifier: String).returns(T.attached_class) }
283
+ def self.new(
284
+ # The numeric App Store identifier.
285
+ identifier:
286
+ )
287
+ end
288
+
289
+ sig { override.returns({ identifier: String }) }
290
+ def to_hash
291
+ end
292
+ end
293
+ end
294
+
158
295
  # The status of the Card Profile.
159
296
  module Status
160
297
  extend Increase::Internal::Type::Enum
@@ -25,6 +25,20 @@ module Increase
25
25
  sig { params(app_icon_file_id: String).void }
26
26
  attr_writer :app_icon_file_id
27
27
 
28
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
29
+ # copied from the original Card Profile.
30
+ sig do
31
+ returns(T.nilable(Increase::DigitalCardProfileCloneParams::ApplePay))
32
+ end
33
+ attr_reader :apple_pay
34
+
35
+ sig do
36
+ params(
37
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay::OrHash
38
+ ).void
39
+ end
40
+ attr_writer :apple_pay
41
+
28
42
  # The identifier of the File containing the card's front image.
29
43
  sig { returns(T.nilable(String)) }
30
44
  attr_reader :background_image_file_id
@@ -92,6 +106,7 @@ module Increase
92
106
  params(
93
107
  digital_card_profile_id: String,
94
108
  app_icon_file_id: String,
109
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay::OrHash,
95
110
  background_image_file_id: String,
96
111
  card_description: String,
97
112
  contact_email: String,
@@ -109,6 +124,9 @@ module Increase
109
124
  digital_card_profile_id:,
110
125
  # The identifier of the File containing the card's icon image.
111
126
  app_icon_file_id: nil,
127
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
128
+ # copied from the original Card Profile.
129
+ apple_pay: nil,
112
130
  # The identifier of the File containing the card's front image.
113
131
  background_image_file_id: nil,
114
132
  # A user-facing description for the card itself.
@@ -135,6 +153,7 @@ module Increase
135
153
  {
136
154
  digital_card_profile_id: String,
137
155
  app_icon_file_id: String,
156
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay,
138
157
  background_image_file_id: String,
139
158
  card_description: String,
140
159
  contact_email: String,
@@ -150,6 +169,153 @@ module Increase
150
169
  def to_hash
151
170
  end
152
171
 
172
+ class ApplePay < Increase::Internal::Type::BaseModel
173
+ OrHash =
174
+ T.type_alias do
175
+ T.any(
176
+ Increase::DigitalCardProfileCloneParams::ApplePay,
177
+ Increase::Internal::AnyHash
178
+ )
179
+ end
180
+
181
+ # The applications to associate with cards using this Card Profile.
182
+ sig do
183
+ returns(
184
+ T.nilable(
185
+ T::Array[
186
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier
187
+ ]
188
+ )
189
+ )
190
+ end
191
+ attr_reader :associated_application_identifiers
192
+
193
+ sig do
194
+ params(
195
+ associated_application_identifiers:
196
+ T::Array[
197
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier::OrHash
198
+ ]
199
+ ).void
200
+ end
201
+ attr_writer :associated_application_identifiers
202
+
203
+ # The App Store listings of the applications to associate with cards using this
204
+ # Card Profile.
205
+ sig do
206
+ returns(
207
+ T.nilable(
208
+ T::Array[
209
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier
210
+ ]
211
+ )
212
+ )
213
+ end
214
+ attr_reader :associated_store_identifiers
215
+
216
+ sig do
217
+ params(
218
+ associated_store_identifiers:
219
+ T::Array[
220
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier::OrHash
221
+ ]
222
+ ).void
223
+ end
224
+ attr_writer :associated_store_identifiers
225
+
226
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
227
+ # copied from the original Card Profile.
228
+ sig do
229
+ params(
230
+ associated_application_identifiers:
231
+ T::Array[
232
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier::OrHash
233
+ ],
234
+ associated_store_identifiers:
235
+ T::Array[
236
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier::OrHash
237
+ ]
238
+ ).returns(T.attached_class)
239
+ end
240
+ def self.new(
241
+ # The applications to associate with cards using this Card Profile.
242
+ associated_application_identifiers: nil,
243
+ # The App Store listings of the applications to associate with cards using this
244
+ # Card Profile.
245
+ associated_store_identifiers: nil
246
+ )
247
+ end
248
+
249
+ sig do
250
+ override.returns(
251
+ {
252
+ associated_application_identifiers:
253
+ T::Array[
254
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier
255
+ ],
256
+ associated_store_identifiers:
257
+ T::Array[
258
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier
259
+ ]
260
+ }
261
+ )
262
+ end
263
+ def to_hash
264
+ end
265
+
266
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
267
+ OrHash =
268
+ T.type_alias do
269
+ T.any(
270
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier,
271
+ Increase::Internal::AnyHash
272
+ )
273
+ end
274
+
275
+ # The application identifier, composed of your Apple Developer Team ID and the
276
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
277
+ sig { returns(String) }
278
+ attr_accessor :identifier
279
+
280
+ sig { params(identifier: String).returns(T.attached_class) }
281
+ def self.new(
282
+ # The application identifier, composed of your Apple Developer Team ID and the
283
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
284
+ identifier:
285
+ )
286
+ end
287
+
288
+ sig { override.returns({ identifier: String }) }
289
+ def to_hash
290
+ end
291
+ end
292
+
293
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
294
+ OrHash =
295
+ T.type_alias do
296
+ T.any(
297
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier,
298
+ Increase::Internal::AnyHash
299
+ )
300
+ end
301
+
302
+ # The numeric App Store identifier.
303
+ sig { returns(String) }
304
+ attr_accessor :identifier
305
+
306
+ sig { params(identifier: String).returns(T.attached_class) }
307
+ def self.new(
308
+ # The numeric App Store identifier.
309
+ identifier:
310
+ )
311
+ end
312
+
313
+ sig { override.returns({ identifier: String }) }
314
+ def to_hash
315
+ end
316
+ end
317
+ end
318
+
153
319
  class TextColor < Increase::Internal::Type::BaseModel
154
320
  OrHash =
155
321
  T.type_alias do
@@ -30,6 +30,19 @@ module Increase
30
30
  sig { returns(String) }
31
31
  attr_accessor :description
32
32
 
33
+ # Apple Pay specific settings for the Card Profile.
34
+ sig do
35
+ returns(T.nilable(Increase::DigitalCardProfileCreateParams::ApplePay))
36
+ end
37
+ attr_reader :apple_pay
38
+
39
+ sig do
40
+ params(
41
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay::OrHash
42
+ ).void
43
+ end
44
+ attr_writer :apple_pay
45
+
33
46
  # An email address the user can contact to receive support for their card.
34
47
  sig { returns(T.nilable(String)) }
35
48
  attr_reader :contact_email
@@ -79,6 +92,7 @@ module Increase
79
92
  background_image_file_id: String,
80
93
  card_description: String,
81
94
  description: String,
95
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay::OrHash,
82
96
  contact_email: String,
83
97
  contact_name: String,
84
98
  contact_phone: String,
@@ -97,6 +111,8 @@ module Increase
97
111
  card_description:,
98
112
  # A description you can use to identify the Card Profile.
99
113
  description:,
114
+ # Apple Pay specific settings for the Card Profile.
115
+ apple_pay: nil,
100
116
  # An email address the user can contact to receive support for their card.
101
117
  contact_email: nil,
102
118
  # The name of your company or card program, shown to the user as who to contact
@@ -119,6 +135,7 @@ module Increase
119
135
  background_image_file_id: String,
120
136
  card_description: String,
121
137
  description: String,
138
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay,
122
139
  contact_email: String,
123
140
  contact_name: String,
124
141
  contact_phone: String,
@@ -131,6 +148,152 @@ module Increase
131
148
  def to_hash
132
149
  end
133
150
 
151
+ class ApplePay < Increase::Internal::Type::BaseModel
152
+ OrHash =
153
+ T.type_alias do
154
+ T.any(
155
+ Increase::DigitalCardProfileCreateParams::ApplePay,
156
+ Increase::Internal::AnyHash
157
+ )
158
+ end
159
+
160
+ # The applications to associate with cards using this Card Profile.
161
+ sig do
162
+ returns(
163
+ T.nilable(
164
+ T::Array[
165
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier
166
+ ]
167
+ )
168
+ )
169
+ end
170
+ attr_reader :associated_application_identifiers
171
+
172
+ sig do
173
+ params(
174
+ associated_application_identifiers:
175
+ T::Array[
176
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier::OrHash
177
+ ]
178
+ ).void
179
+ end
180
+ attr_writer :associated_application_identifiers
181
+
182
+ # The App Store listings of the applications to associate with cards using this
183
+ # Card Profile.
184
+ sig do
185
+ returns(
186
+ T.nilable(
187
+ T::Array[
188
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier
189
+ ]
190
+ )
191
+ )
192
+ end
193
+ attr_reader :associated_store_identifiers
194
+
195
+ sig do
196
+ params(
197
+ associated_store_identifiers:
198
+ T::Array[
199
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier::OrHash
200
+ ]
201
+ ).void
202
+ end
203
+ attr_writer :associated_store_identifiers
204
+
205
+ # Apple Pay specific settings for the Card Profile.
206
+ sig do
207
+ params(
208
+ associated_application_identifiers:
209
+ T::Array[
210
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier::OrHash
211
+ ],
212
+ associated_store_identifiers:
213
+ T::Array[
214
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier::OrHash
215
+ ]
216
+ ).returns(T.attached_class)
217
+ end
218
+ def self.new(
219
+ # The applications to associate with cards using this Card Profile.
220
+ associated_application_identifiers: nil,
221
+ # The App Store listings of the applications to associate with cards using this
222
+ # Card Profile.
223
+ associated_store_identifiers: nil
224
+ )
225
+ end
226
+
227
+ sig do
228
+ override.returns(
229
+ {
230
+ associated_application_identifiers:
231
+ T::Array[
232
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier
233
+ ],
234
+ associated_store_identifiers:
235
+ T::Array[
236
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier
237
+ ]
238
+ }
239
+ )
240
+ end
241
+ def to_hash
242
+ end
243
+
244
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
245
+ OrHash =
246
+ T.type_alias do
247
+ T.any(
248
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier,
249
+ Increase::Internal::AnyHash
250
+ )
251
+ end
252
+
253
+ # The application identifier, composed of your Apple Developer Team ID and the
254
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
255
+ sig { returns(String) }
256
+ attr_accessor :identifier
257
+
258
+ sig { params(identifier: String).returns(T.attached_class) }
259
+ def self.new(
260
+ # The application identifier, composed of your Apple Developer Team ID and the
261
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
262
+ identifier:
263
+ )
264
+ end
265
+
266
+ sig { override.returns({ identifier: String }) }
267
+ def to_hash
268
+ end
269
+ end
270
+
271
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
272
+ OrHash =
273
+ T.type_alias do
274
+ T.any(
275
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier,
276
+ Increase::Internal::AnyHash
277
+ )
278
+ end
279
+
280
+ # The numeric App Store identifier.
281
+ sig { returns(String) }
282
+ attr_accessor :identifier
283
+
284
+ sig { params(identifier: String).returns(T.attached_class) }
285
+ def self.new(
286
+ # The numeric App Store identifier.
287
+ identifier:
288
+ )
289
+ end
290
+
291
+ sig { override.returns({ identifier: String }) }
292
+ def to_hash
293
+ end
294
+ end
295
+ end
296
+
134
297
  class TextColor < Increase::Internal::Type::BaseModel
135
298
  OrHash =
136
299
  T.type_alias do