• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-java / #16698

12 Dec 2024 10:54PM UTC coverage: 12.384% (-0.007%) from 12.391%
#16698

push

github

web-flow
Update generated code for beta (#1929)

* Update generated code for v1386

* Update generated code for v1387

* Update generated code for v1388

* Update generated code for v1388

* Update generated code for v1389

* Update generated code for v1390

* Update generated code for v1392

* Update generated code for v1394

* Update generated code for v1395

* Update generated code for v1396

* Update generated code for v1397

* Update generated code for v1398

* Update generated code for v1400

* Update generated code for v1401

* Update generated code for v1405

* Update generated code for v1406

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

18 of 230 new or added lines in 16 files covered. (7.83%)

111 existing lines in 11 files now uncovered.

18879 of 152444 relevant lines covered (12.38%)

0.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.52
/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java
1
// File generated from our OpenAPI spec
2
package com.stripe.param;
3

4
import com.google.gson.annotations.SerializedName;
5
import com.stripe.net.ApiRequestParams;
6
import com.stripe.param.common.EmptyParam;
7
import java.util.ArrayList;
8
import java.util.HashMap;
9
import java.util.List;
10
import java.util.Map;
11
import lombok.Getter;
12

13
@Getter
14
public class WebhookEndpointCreateParams extends ApiRequestParams {
15
  /**
16
   * Events sent to this endpoint will be generated with this Stripe Version instead of your
17
   * account's default Stripe Version.
18
   */
19
  @SerializedName("api_version")
20
  ApiVersion apiVersion;
21

22
  /**
23
   * Whether this endpoint should receive events from connected accounts ({@code true}), or from
24
   * your account ({@code false}). Defaults to {@code false}.
25
   */
26
  @SerializedName("connect")
27
  Boolean connect;
28

29
  /** An optional description of what the webhook is used for. */
30
  @SerializedName("description")
31
  Object description;
32

33
  /**
34
   * <strong>Required.</strong> The list of events to enable for this endpoint. You may specify
35
   * {@code ['*']} to enable all events, except those that require explicit selection.
36
   */
37
  @SerializedName("enabled_events")
38
  List<WebhookEndpointCreateParams.EnabledEvent> enabledEvents;
39

40
  /** Specifies which fields in the response should be expanded. */
41
  @SerializedName("expand")
42
  List<String> expand;
43

44
  /**
45
   * Map of extra parameters for custom features not available in this client library. The content
46
   * in this map is not serialized under this field's {@code @SerializedName} value. Instead, each
47
   * key/value pair is serialized as if the key is a root-level field (serialized) name in this
48
   * param object. Effectively, this map is flattened to its parent instance.
49
   */
50
  @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
51
  Map<String, Object> extraParams;
52

53
  /**
54
   * Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach
55
   * to an object. This can be useful for storing additional information about the object in a
56
   * structured format. Individual keys can be unset by posting an empty value to them. All keys can
57
   * be unset by posting an empty value to {@code metadata}.
58
   */
59
  @SerializedName("metadata")
60
  Object metadata;
61

62
  /** <strong>Required.</strong> The URL of the webhook endpoint. */
63
  @SerializedName("url")
64
  String url;
65

66
  private WebhookEndpointCreateParams(
67
      ApiVersion apiVersion,
68
      Boolean connect,
69
      Object description,
70
      List<WebhookEndpointCreateParams.EnabledEvent> enabledEvents,
71
      List<String> expand,
72
      Map<String, Object> extraParams,
73
      Object metadata,
74
      String url) {
1✔
75
    this.apiVersion = apiVersion;
1✔
76
    this.connect = connect;
1✔
77
    this.description = description;
1✔
78
    this.enabledEvents = enabledEvents;
1✔
79
    this.expand = expand;
1✔
80
    this.extraParams = extraParams;
1✔
81
    this.metadata = metadata;
1✔
82
    this.url = url;
1✔
83
  }
1✔
84

85
  public static Builder builder() {
86
    return new Builder();
1✔
87
  }
88

89
  public static class Builder {
1✔
90
    private ApiVersion apiVersion;
91

92
    private Boolean connect;
93

94
    private Object description;
95

96
    private List<WebhookEndpointCreateParams.EnabledEvent> enabledEvents;
97

98
    private List<String> expand;
99

100
    private Map<String, Object> extraParams;
101

102
    private Object metadata;
103

104
    private String url;
105

106
    /** Finalize and obtain parameter instance from this builder. */
107
    public WebhookEndpointCreateParams build() {
108
      return new WebhookEndpointCreateParams(
1✔
109
          this.apiVersion,
110
          this.connect,
111
          this.description,
112
          this.enabledEvents,
113
          this.expand,
114
          this.extraParams,
115
          this.metadata,
116
          this.url);
117
    }
118

119
    /**
120
     * Events sent to this endpoint will be generated with this Stripe Version instead of your
121
     * account's default Stripe Version.
122
     */
123
    public Builder setApiVersion(WebhookEndpointCreateParams.ApiVersion apiVersion) {
124
      this.apiVersion = apiVersion;
×
125
      return this;
×
126
    }
127

128
    /**
129
     * Whether this endpoint should receive events from connected accounts ({@code true}), or from
130
     * your account ({@code false}). Defaults to {@code false}.
131
     */
132
    public Builder setConnect(Boolean connect) {
133
      this.connect = connect;
×
134
      return this;
×
135
    }
136

137
    /** An optional description of what the webhook is used for. */
138
    public Builder setDescription(String description) {
139
      this.description = description;
×
140
      return this;
×
141
    }
142

143
    /** An optional description of what the webhook is used for. */
144
    public Builder setDescription(EmptyParam description) {
145
      this.description = description;
×
146
      return this;
×
147
    }
148

149
    /**
150
     * Add an element to `enabledEvents` list. A list is initialized for the first `add/addAll`
151
     * call, and subsequent calls adds additional elements to the original list. See {@link
152
     * WebhookEndpointCreateParams#enabledEvents} for the field documentation.
153
     */
154
    public Builder addEnabledEvent(WebhookEndpointCreateParams.EnabledEvent element) {
155
      if (this.enabledEvents == null) {
1✔
156
        this.enabledEvents = new ArrayList<>();
1✔
157
      }
158
      this.enabledEvents.add(element);
1✔
159
      return this;
1✔
160
    }
161

162
    /**
163
     * Add all elements to `enabledEvents` list. A list is initialized for the first `add/addAll`
164
     * call, and subsequent calls adds additional elements to the original list. See {@link
165
     * WebhookEndpointCreateParams#enabledEvents} for the field documentation.
166
     */
167
    public Builder addAllEnabledEvent(List<WebhookEndpointCreateParams.EnabledEvent> elements) {
168
      if (this.enabledEvents == null) {
×
169
        this.enabledEvents = new ArrayList<>();
×
170
      }
171
      this.enabledEvents.addAll(elements);
×
172
      return this;
×
173
    }
174

175
    /**
176
     * Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and
177
     * subsequent calls adds additional elements to the original list. See {@link
178
     * WebhookEndpointCreateParams#expand} for the field documentation.
179
     */
180
    public Builder addExpand(String element) {
181
      if (this.expand == null) {
×
182
        this.expand = new ArrayList<>();
×
183
      }
184
      this.expand.add(element);
×
185
      return this;
×
186
    }
187

188
    /**
189
     * Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and
190
     * subsequent calls adds additional elements to the original list. See {@link
191
     * WebhookEndpointCreateParams#expand} for the field documentation.
192
     */
193
    public Builder addAllExpand(List<String> elements) {
194
      if (this.expand == null) {
×
195
        this.expand = new ArrayList<>();
×
196
      }
197
      this.expand.addAll(elements);
×
198
      return this;
×
199
    }
200

201
    /**
202
     * Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll`
203
     * call, and subsequent calls add additional key/value pairs to the original map. See {@link
204
     * WebhookEndpointCreateParams#extraParams} for the field documentation.
205
     */
206
    public Builder putExtraParam(String key, Object value) {
207
      if (this.extraParams == null) {
×
208
        this.extraParams = new HashMap<>();
×
209
      }
210
      this.extraParams.put(key, value);
×
211
      return this;
×
212
    }
213

214
    /**
215
     * Add all map key/value pairs to `extraParams` map. A map is initialized for the first
216
     * `put/putAll` call, and subsequent calls add additional key/value pairs to the original map.
217
     * See {@link WebhookEndpointCreateParams#extraParams} for the field documentation.
218
     */
219
    public Builder putAllExtraParam(Map<String, Object> map) {
220
      if (this.extraParams == null) {
×
221
        this.extraParams = new HashMap<>();
×
222
      }
223
      this.extraParams.putAll(map);
×
224
      return this;
×
225
    }
226

227
    /**
228
     * Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call,
229
     * and subsequent calls add additional key/value pairs to the original map. See {@link
230
     * WebhookEndpointCreateParams#metadata} for the field documentation.
231
     */
232
    @SuppressWarnings("unchecked")
233
    public Builder putMetadata(String key, String value) {
234
      if (this.metadata == null || this.metadata instanceof EmptyParam) {
×
235
        this.metadata = new HashMap<String, String>();
×
236
      }
237
      ((Map<String, String>) this.metadata).put(key, value);
×
238
      return this;
×
239
    }
240

241
    /**
242
     * Add all map key/value pairs to `metadata` map. A map is initialized for the first
243
     * `put/putAll` call, and subsequent calls add additional key/value pairs to the original map.
244
     * See {@link WebhookEndpointCreateParams#metadata} for the field documentation.
245
     */
246
    @SuppressWarnings("unchecked")
247
    public Builder putAllMetadata(Map<String, String> map) {
248
      if (this.metadata == null || this.metadata instanceof EmptyParam) {
×
249
        this.metadata = new HashMap<String, String>();
×
250
      }
251
      ((Map<String, String>) this.metadata).putAll(map);
×
252
      return this;
×
253
    }
254

255
    /**
256
     * Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach
257
     * to an object. This can be useful for storing additional information about the object in a
258
     * structured format. Individual keys can be unset by posting an empty value to them. All keys
259
     * can be unset by posting an empty value to {@code metadata}.
260
     */
261
    public Builder setMetadata(EmptyParam metadata) {
262
      this.metadata = metadata;
×
263
      return this;
×
264
    }
265

266
    /**
267
     * Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach
268
     * to an object. This can be useful for storing additional information about the object in a
269
     * structured format. Individual keys can be unset by posting an empty value to them. All keys
270
     * can be unset by posting an empty value to {@code metadata}.
271
     */
272
    public Builder setMetadata(Map<String, String> metadata) {
273
      this.metadata = metadata;
×
274
      return this;
×
275
    }
276

277
    /** <strong>Required.</strong> The URL of the webhook endpoint. */
278
    public Builder setUrl(String url) {
279
      this.url = url;
1✔
280
      return this;
1✔
281
    }
282
  }
283

284
  public enum ApiVersion implements ApiRequestParams.EnumParam {
×
285
    @SerializedName("2011-01-01")
×
286
    VERSION_2011_01_01("2011-01-01"),
287

288
    @SerializedName("2011-06-21")
×
289
    VERSION_2011_06_21("2011-06-21"),
290

291
    @SerializedName("2011-06-28")
×
292
    VERSION_2011_06_28("2011-06-28"),
293

294
    @SerializedName("2011-08-01")
×
295
    VERSION_2011_08_01("2011-08-01"),
296

297
    @SerializedName("2011-09-15")
×
298
    VERSION_2011_09_15("2011-09-15"),
299

300
    @SerializedName("2011-11-17")
×
301
    VERSION_2011_11_17("2011-11-17"),
302

303
    @SerializedName("2012-02-23")
×
304
    VERSION_2012_02_23("2012-02-23"),
305

306
    @SerializedName("2012-03-25")
×
307
    VERSION_2012_03_25("2012-03-25"),
308

309
    @SerializedName("2012-06-18")
×
310
    VERSION_2012_06_18("2012-06-18"),
311

312
    @SerializedName("2012-06-28")
×
313
    VERSION_2012_06_28("2012-06-28"),
314

315
    @SerializedName("2012-07-09")
×
316
    VERSION_2012_07_09("2012-07-09"),
317

318
    @SerializedName("2012-09-24")
×
319
    VERSION_2012_09_24("2012-09-24"),
320

321
    @SerializedName("2012-10-26")
×
322
    VERSION_2012_10_26("2012-10-26"),
323

324
    @SerializedName("2012-11-07")
×
325
    VERSION_2012_11_07("2012-11-07"),
326

327
    @SerializedName("2013-02-11")
×
328
    VERSION_2013_02_11("2013-02-11"),
329

330
    @SerializedName("2013-02-13")
×
331
    VERSION_2013_02_13("2013-02-13"),
332

333
    @SerializedName("2013-07-05")
×
334
    VERSION_2013_07_05("2013-07-05"),
335

336
    @SerializedName("2013-08-12")
×
337
    VERSION_2013_08_12("2013-08-12"),
338

339
    @SerializedName("2013-08-13")
×
340
    VERSION_2013_08_13("2013-08-13"),
341

342
    @SerializedName("2013-10-29")
×
343
    VERSION_2013_10_29("2013-10-29"),
344

345
    @SerializedName("2013-12-03")
×
346
    VERSION_2013_12_03("2013-12-03"),
347

348
    @SerializedName("2014-01-31")
×
349
    VERSION_2014_01_31("2014-01-31"),
350

351
    @SerializedName("2014-03-13")
×
352
    VERSION_2014_03_13("2014-03-13"),
353

354
    @SerializedName("2014-03-28")
×
355
    VERSION_2014_03_28("2014-03-28"),
356

357
    @SerializedName("2014-05-19")
×
358
    VERSION_2014_05_19("2014-05-19"),
359

360
    @SerializedName("2014-06-13")
×
361
    VERSION_2014_06_13("2014-06-13"),
362

363
    @SerializedName("2014-06-17")
×
364
    VERSION_2014_06_17("2014-06-17"),
365

366
    @SerializedName("2014-07-22")
×
367
    VERSION_2014_07_22("2014-07-22"),
368

369
    @SerializedName("2014-07-26")
×
370
    VERSION_2014_07_26("2014-07-26"),
371

372
    @SerializedName("2014-08-04")
×
373
    VERSION_2014_08_04("2014-08-04"),
374

375
    @SerializedName("2014-08-20")
×
376
    VERSION_2014_08_20("2014-08-20"),
377

378
    @SerializedName("2014-09-08")
×
379
    VERSION_2014_09_08("2014-09-08"),
380

381
    @SerializedName("2014-10-07")
×
382
    VERSION_2014_10_07("2014-10-07"),
383

384
    @SerializedName("2014-11-05")
×
385
    VERSION_2014_11_05("2014-11-05"),
386

387
    @SerializedName("2014-11-20")
×
388
    VERSION_2014_11_20("2014-11-20"),
389

390
    @SerializedName("2014-12-08")
×
391
    VERSION_2014_12_08("2014-12-08"),
392

393
    @SerializedName("2014-12-17")
×
394
    VERSION_2014_12_17("2014-12-17"),
395

396
    @SerializedName("2014-12-22")
×
397
    VERSION_2014_12_22("2014-12-22"),
398

399
    @SerializedName("2015-01-11")
×
400
    VERSION_2015_01_11("2015-01-11"),
401

402
    @SerializedName("2015-01-26")
×
403
    VERSION_2015_01_26("2015-01-26"),
404

405
    @SerializedName("2015-02-10")
×
406
    VERSION_2015_02_10("2015-02-10"),
407

408
    @SerializedName("2015-02-16")
×
409
    VERSION_2015_02_16("2015-02-16"),
410

411
    @SerializedName("2015-02-18")
×
412
    VERSION_2015_02_18("2015-02-18"),
413

414
    @SerializedName("2015-03-24")
×
415
    VERSION_2015_03_24("2015-03-24"),
416

417
    @SerializedName("2015-04-07")
×
418
    VERSION_2015_04_07("2015-04-07"),
419

420
    @SerializedName("2015-06-15")
×
421
    VERSION_2015_06_15("2015-06-15"),
422

423
    @SerializedName("2015-07-07")
×
424
    VERSION_2015_07_07("2015-07-07"),
425

426
    @SerializedName("2015-07-13")
×
427
    VERSION_2015_07_13("2015-07-13"),
428

429
    @SerializedName("2015-07-28")
×
430
    VERSION_2015_07_28("2015-07-28"),
431

432
    @SerializedName("2015-08-07")
×
433
    VERSION_2015_08_07("2015-08-07"),
434

435
    @SerializedName("2015-08-19")
×
436
    VERSION_2015_08_19("2015-08-19"),
437

438
    @SerializedName("2015-09-03")
×
439
    VERSION_2015_09_03("2015-09-03"),
440

441
    @SerializedName("2015-09-08")
×
442
    VERSION_2015_09_08("2015-09-08"),
443

444
    @SerializedName("2015-09-23")
×
445
    VERSION_2015_09_23("2015-09-23"),
446

447
    @SerializedName("2015-10-01")
×
448
    VERSION_2015_10_01("2015-10-01"),
449

450
    @SerializedName("2015-10-12")
×
451
    VERSION_2015_10_12("2015-10-12"),
452

453
    @SerializedName("2015-10-16")
×
454
    VERSION_2015_10_16("2015-10-16"),
455

456
    @SerializedName("2016-02-03")
×
457
    VERSION_2016_02_03("2016-02-03"),
458

459
    @SerializedName("2016-02-19")
×
460
    VERSION_2016_02_19("2016-02-19"),
461

462
    @SerializedName("2016-02-22")
×
463
    VERSION_2016_02_22("2016-02-22"),
464

465
    @SerializedName("2016-02-23")
×
466
    VERSION_2016_02_23("2016-02-23"),
467

468
    @SerializedName("2016-02-29")
×
469
    VERSION_2016_02_29("2016-02-29"),
470

471
    @SerializedName("2016-03-07")
×
472
    VERSION_2016_03_07("2016-03-07"),
473

474
    @SerializedName("2016-06-15")
×
475
    VERSION_2016_06_15("2016-06-15"),
476

477
    @SerializedName("2016-07-06")
×
478
    VERSION_2016_07_06("2016-07-06"),
479

480
    @SerializedName("2016-10-19")
×
481
    VERSION_2016_10_19("2016-10-19"),
482

483
    @SerializedName("2017-01-27")
×
484
    VERSION_2017_01_27("2017-01-27"),
485

486
    @SerializedName("2017-02-14")
×
487
    VERSION_2017_02_14("2017-02-14"),
488

489
    @SerializedName("2017-04-06")
×
490
    VERSION_2017_04_06("2017-04-06"),
491

492
    @SerializedName("2017-05-25")
×
493
    VERSION_2017_05_25("2017-05-25"),
494

495
    @SerializedName("2017-06-05")
×
496
    VERSION_2017_06_05("2017-06-05"),
497

498
    @SerializedName("2017-08-15")
×
499
    VERSION_2017_08_15("2017-08-15"),
500

501
    @SerializedName("2017-12-14")
×
502
    VERSION_2017_12_14("2017-12-14"),
503

504
    @SerializedName("2018-01-23")
×
505
    VERSION_2018_01_23("2018-01-23"),
506

507
    @SerializedName("2018-02-05")
×
508
    VERSION_2018_02_05("2018-02-05"),
509

510
    @SerializedName("2018-02-06")
×
511
    VERSION_2018_02_06("2018-02-06"),
512

513
    @SerializedName("2018-02-28")
×
514
    VERSION_2018_02_28("2018-02-28"),
515

516
    @SerializedName("2018-05-21")
×
517
    VERSION_2018_05_21("2018-05-21"),
518

519
    @SerializedName("2018-07-27")
×
520
    VERSION_2018_07_27("2018-07-27"),
521

522
    @SerializedName("2018-08-23")
×
523
    VERSION_2018_08_23("2018-08-23"),
524

525
    @SerializedName("2018-09-06")
×
526
    VERSION_2018_09_06("2018-09-06"),
527

528
    @SerializedName("2018-09-24")
×
529
    VERSION_2018_09_24("2018-09-24"),
530

531
    @SerializedName("2018-10-31")
×
532
    VERSION_2018_10_31("2018-10-31"),
533

534
    @SerializedName("2018-11-08")
×
535
    VERSION_2018_11_08("2018-11-08"),
536

537
    @SerializedName("2019-02-11")
×
538
    VERSION_2019_02_11("2019-02-11"),
539

540
    @SerializedName("2019-02-19")
×
541
    VERSION_2019_02_19("2019-02-19"),
542

543
    @SerializedName("2019-03-14")
×
544
    VERSION_2019_03_14("2019-03-14"),
545

546
    @SerializedName("2019-05-16")
×
547
    VERSION_2019_05_16("2019-05-16"),
548

549
    @SerializedName("2019-08-14")
×
550
    VERSION_2019_08_14("2019-08-14"),
551

552
    @SerializedName("2019-09-09")
×
553
    VERSION_2019_09_09("2019-09-09"),
554

555
    @SerializedName("2019-10-08")
×
556
    VERSION_2019_10_08("2019-10-08"),
557

558
    @SerializedName("2019-10-17")
×
559
    VERSION_2019_10_17("2019-10-17"),
560

561
    @SerializedName("2019-11-05")
×
562
    VERSION_2019_11_05("2019-11-05"),
563

564
    @SerializedName("2019-12-03")
×
565
    VERSION_2019_12_03("2019-12-03"),
566

567
    @SerializedName("2020-03-02")
×
568
    VERSION_2020_03_02("2020-03-02"),
569

570
    @SerializedName("2020-08-27")
×
571
    VERSION_2020_08_27("2020-08-27"),
572

573
    @SerializedName("2022-08-01")
×
574
    VERSION_2022_08_01("2022-08-01"),
575

576
    @SerializedName("2022-11-15")
×
577
    VERSION_2022_11_15("2022-11-15"),
578

579
    @SerializedName("2023-08-16")
×
580
    VERSION_2023_08_16("2023-08-16"),
581

582
    @SerializedName("2023-10-16")
×
583
    VERSION_2023_10_16("2023-10-16"),
584

585
    @SerializedName("2024-04-10")
×
586
    VERSION_2024_04_10("2024-04-10"),
587

588
    @SerializedName("2024-06-20")
×
589
    VERSION_2024_06_20("2024-06-20"),
590

591
    @SerializedName("2024-09-30.acacia")
×
592
    VERSION_2024_09_30_ACACIA("2024-09-30.acacia"),
593

594
    @SerializedName("2024-10-28.acacia")
×
595
    VERSION_2024_10_28_ACACIA("2024-10-28.acacia"),
596

597
    @SerializedName("2024-11-20.acacia")
×
598
    VERSION_2024_11_20_ACACIA("2024-11-20.acacia"),
599

NEW
600
    @SerializedName("2024-12-18.acacia")
×
601
    VERSION_2024_12_18_ACACIA("2024-12-18.acacia");
602

603
    @Getter(onMethod_ = {@Override})
604
    private final String value;
605

606
    ApiVersion(String value) {
×
607
      this.value = value;
×
608
    }
×
609
  }
610

611
  public enum EnabledEvent implements ApiRequestParams.EnumParam {
1✔
612
    @SerializedName("*")
1✔
613
    ALL("*"),
614

615
    @SerializedName("account.application.authorized")
1✔
616
    ACCOUNT__APPLICATION__AUTHORIZED("account.application.authorized"),
617

618
    @SerializedName("account.application.deauthorized")
1✔
619
    ACCOUNT__APPLICATION__DEAUTHORIZED("account.application.deauthorized"),
620

621
    @SerializedName("account.external_account.created")
1✔
622
    ACCOUNT__EXTERNAL_ACCOUNT__CREATED("account.external_account.created"),
623

624
    @SerializedName("account.external_account.deleted")
1✔
625
    ACCOUNT__EXTERNAL_ACCOUNT__DELETED("account.external_account.deleted"),
626

627
    @SerializedName("account.external_account.updated")
1✔
628
    ACCOUNT__EXTERNAL_ACCOUNT__UPDATED("account.external_account.updated"),
629

630
    @SerializedName("account.updated")
1✔
631
    ACCOUNT__UPDATED("account.updated"),
632

633
    @SerializedName("account_notice.created")
1✔
634
    ACCOUNT_NOTICE__CREATED("account_notice.created"),
635

636
    @SerializedName("account_notice.updated")
1✔
637
    ACCOUNT_NOTICE__UPDATED("account_notice.updated"),
638

639
    @SerializedName("application_fee.created")
1✔
640
    APPLICATION_FEE__CREATED("application_fee.created"),
641

642
    @SerializedName("application_fee.refund.updated")
1✔
643
    APPLICATION_FEE__REFUND__UPDATED("application_fee.refund.updated"),
644

645
    @SerializedName("application_fee.refunded")
1✔
646
    APPLICATION_FEE__REFUNDED("application_fee.refunded"),
647

648
    @SerializedName("balance.available")
1✔
649
    BALANCE__AVAILABLE("balance.available"),
650

651
    @SerializedName("billing.alert.triggered")
1✔
652
    BILLING__ALERT__TRIGGERED("billing.alert.triggered"),
653

654
    @SerializedName("billing.meter_error_report.triggered")
1✔
655
    BILLING__METER_ERROR_REPORT__TRIGGERED("billing.meter_error_report.triggered"),
656

657
    @SerializedName("billing_portal.configuration.created")
1✔
658
    BILLING_PORTAL__CONFIGURATION__CREATED("billing_portal.configuration.created"),
659

660
    @SerializedName("billing_portal.configuration.updated")
1✔
661
    BILLING_PORTAL__CONFIGURATION__UPDATED("billing_portal.configuration.updated"),
662

663
    @SerializedName("billing_portal.session.created")
1✔
664
    BILLING_PORTAL__SESSION__CREATED("billing_portal.session.created"),
665

666
    @SerializedName("capability.updated")
1✔
667
    CAPABILITY__UPDATED("capability.updated"),
668

669
    @SerializedName("capital.financing_offer.accepted")
1✔
670
    CAPITAL__FINANCING_OFFER__ACCEPTED("capital.financing_offer.accepted"),
671

672
    @SerializedName("capital.financing_offer.canceled")
1✔
673
    CAPITAL__FINANCING_OFFER__CANCELED("capital.financing_offer.canceled"),
674

675
    @SerializedName("capital.financing_offer.created")
1✔
676
    CAPITAL__FINANCING_OFFER__CREATED("capital.financing_offer.created"),
677

678
    @SerializedName("capital.financing_offer.expired")
1✔
679
    CAPITAL__FINANCING_OFFER__EXPIRED("capital.financing_offer.expired"),
680

681
    @SerializedName("capital.financing_offer.fully_repaid")
1✔
682
    CAPITAL__FINANCING_OFFER__FULLY_REPAID("capital.financing_offer.fully_repaid"),
683

684
    @SerializedName("capital.financing_offer.paid_out")
1✔
685
    CAPITAL__FINANCING_OFFER__PAID_OUT("capital.financing_offer.paid_out"),
686

687
    @SerializedName("capital.financing_offer.rejected")
1✔
688
    CAPITAL__FINANCING_OFFER__REJECTED("capital.financing_offer.rejected"),
689

690
    @SerializedName("capital.financing_offer.replacement_created")
1✔
691
    CAPITAL__FINANCING_OFFER__REPLACEMENT_CREATED("capital.financing_offer.replacement_created"),
692

693
    @SerializedName("capital.financing_transaction.created")
1✔
694
    CAPITAL__FINANCING_TRANSACTION__CREATED("capital.financing_transaction.created"),
695

696
    @SerializedName("cash_balance.funds_available")
1✔
697
    CASH_BALANCE__FUNDS_AVAILABLE("cash_balance.funds_available"),
698

699
    @SerializedName("charge.captured")
1✔
700
    CHARGE__CAPTURED("charge.captured"),
701

702
    @SerializedName("charge.dispute.closed")
1✔
703
    CHARGE__DISPUTE__CLOSED("charge.dispute.closed"),
704

705
    @SerializedName("charge.dispute.created")
1✔
706
    CHARGE__DISPUTE__CREATED("charge.dispute.created"),
707

708
    @SerializedName("charge.dispute.funds_reinstated")
1✔
709
    CHARGE__DISPUTE__FUNDS_REINSTATED("charge.dispute.funds_reinstated"),
710

711
    @SerializedName("charge.dispute.funds_withdrawn")
1✔
712
    CHARGE__DISPUTE__FUNDS_WITHDRAWN("charge.dispute.funds_withdrawn"),
713

714
    @SerializedName("charge.dispute.updated")
1✔
715
    CHARGE__DISPUTE__UPDATED("charge.dispute.updated"),
716

717
    @SerializedName("charge.expired")
1✔
718
    CHARGE__EXPIRED("charge.expired"),
719

720
    @SerializedName("charge.failed")
1✔
721
    CHARGE__FAILED("charge.failed"),
722

723
    @SerializedName("charge.pending")
1✔
724
    CHARGE__PENDING("charge.pending"),
725

726
    @SerializedName("charge.refund.updated")
1✔
727
    CHARGE__REFUND__UPDATED("charge.refund.updated"),
728

729
    @SerializedName("charge.refunded")
1✔
730
    CHARGE__REFUNDED("charge.refunded"),
731

732
    @SerializedName("charge.succeeded")
1✔
733
    CHARGE__SUCCEEDED("charge.succeeded"),
734

735
    @SerializedName("charge.updated")
1✔
736
    CHARGE__UPDATED("charge.updated"),
737

738
    @SerializedName("checkout.session.async_payment_failed")
1✔
739
    CHECKOUT__SESSION__ASYNC_PAYMENT_FAILED("checkout.session.async_payment_failed"),
740

741
    @SerializedName("checkout.session.async_payment_succeeded")
1✔
742
    CHECKOUT__SESSION__ASYNC_PAYMENT_SUCCEEDED("checkout.session.async_payment_succeeded"),
743

744
    @SerializedName("checkout.session.completed")
1✔
745
    CHECKOUT__SESSION__COMPLETED("checkout.session.completed"),
746

747
    @SerializedName("checkout.session.expired")
1✔
748
    CHECKOUT__SESSION__EXPIRED("checkout.session.expired"),
749

750
    @SerializedName("climate.order.canceled")
1✔
751
    CLIMATE__ORDER__CANCELED("climate.order.canceled"),
752

753
    @SerializedName("climate.order.created")
1✔
754
    CLIMATE__ORDER__CREATED("climate.order.created"),
755

756
    @SerializedName("climate.order.delayed")
1✔
757
    CLIMATE__ORDER__DELAYED("climate.order.delayed"),
758

759
    @SerializedName("climate.order.delivered")
1✔
760
    CLIMATE__ORDER__DELIVERED("climate.order.delivered"),
761

762
    @SerializedName("climate.order.product_substituted")
1✔
763
    CLIMATE__ORDER__PRODUCT_SUBSTITUTED("climate.order.product_substituted"),
764

765
    @SerializedName("climate.product.created")
1✔
766
    CLIMATE__PRODUCT__CREATED("climate.product.created"),
767

768
    @SerializedName("climate.product.pricing_updated")
1✔
769
    CLIMATE__PRODUCT__PRICING_UPDATED("climate.product.pricing_updated"),
770

771
    @SerializedName("coupon.created")
1✔
772
    COUPON__CREATED("coupon.created"),
773

774
    @SerializedName("coupon.deleted")
1✔
775
    COUPON__DELETED("coupon.deleted"),
776

777
    @SerializedName("coupon.updated")
1✔
778
    COUPON__UPDATED("coupon.updated"),
779

780
    @SerializedName("credit_note.created")
1✔
781
    CREDIT_NOTE__CREATED("credit_note.created"),
782

783
    @SerializedName("credit_note.updated")
1✔
784
    CREDIT_NOTE__UPDATED("credit_note.updated"),
785

786
    @SerializedName("credit_note.voided")
1✔
787
    CREDIT_NOTE__VOIDED("credit_note.voided"),
788

789
    @SerializedName("customer.created")
1✔
790
    CUSTOMER__CREATED("customer.created"),
791

792
    @SerializedName("customer.deleted")
1✔
793
    CUSTOMER__DELETED("customer.deleted"),
794

795
    @SerializedName("customer.discount.created")
1✔
796
    CUSTOMER__DISCOUNT__CREATED("customer.discount.created"),
797

798
    @SerializedName("customer.discount.deleted")
1✔
799
    CUSTOMER__DISCOUNT__DELETED("customer.discount.deleted"),
800

801
    @SerializedName("customer.discount.updated")
1✔
802
    CUSTOMER__DISCOUNT__UPDATED("customer.discount.updated"),
803

804
    @SerializedName("customer.source.created")
1✔
805
    CUSTOMER__SOURCE__CREATED("customer.source.created"),
806

807
    @SerializedName("customer.source.deleted")
1✔
808
    CUSTOMER__SOURCE__DELETED("customer.source.deleted"),
809

810
    @SerializedName("customer.source.expiring")
1✔
811
    CUSTOMER__SOURCE__EXPIRING("customer.source.expiring"),
812

813
    @SerializedName("customer.source.updated")
1✔
814
    CUSTOMER__SOURCE__UPDATED("customer.source.updated"),
815

816
    @SerializedName("customer.subscription.collection_paused")
1✔
817
    CUSTOMER__SUBSCRIPTION__COLLECTION_PAUSED("customer.subscription.collection_paused"),
818

819
    @SerializedName("customer.subscription.collection_resumed")
1✔
820
    CUSTOMER__SUBSCRIPTION__COLLECTION_RESUMED("customer.subscription.collection_resumed"),
821

822
    @SerializedName("customer.subscription.created")
1✔
823
    CUSTOMER__SUBSCRIPTION__CREATED("customer.subscription.created"),
824

825
    @SerializedName("customer.subscription.custom_event")
1✔
826
    CUSTOMER__SUBSCRIPTION__CUSTOM_EVENT("customer.subscription.custom_event"),
827

828
    @SerializedName("customer.subscription.deleted")
1✔
829
    CUSTOMER__SUBSCRIPTION__DELETED("customer.subscription.deleted"),
830

831
    @SerializedName("customer.subscription.paused")
1✔
832
    CUSTOMER__SUBSCRIPTION__PAUSED("customer.subscription.paused"),
833

834
    @SerializedName("customer.subscription.pending_update_applied")
1✔
835
    CUSTOMER__SUBSCRIPTION__PENDING_UPDATE_APPLIED("customer.subscription.pending_update_applied"),
836

837
    @SerializedName("customer.subscription.pending_update_expired")
1✔
838
    CUSTOMER__SUBSCRIPTION__PENDING_UPDATE_EXPIRED("customer.subscription.pending_update_expired"),
839

840
    @SerializedName("customer.subscription.price_migration_failed")
1✔
841
    CUSTOMER__SUBSCRIPTION__PRICE_MIGRATION_FAILED("customer.subscription.price_migration_failed"),
842

843
    @SerializedName("customer.subscription.resumed")
1✔
844
    CUSTOMER__SUBSCRIPTION__RESUMED("customer.subscription.resumed"),
845

846
    @SerializedName("customer.subscription.trial_will_end")
1✔
847
    CUSTOMER__SUBSCRIPTION__TRIAL_WILL_END("customer.subscription.trial_will_end"),
848

849
    @SerializedName("customer.subscription.updated")
1✔
850
    CUSTOMER__SUBSCRIPTION__UPDATED("customer.subscription.updated"),
851

852
    @SerializedName("customer.tax_id.created")
1✔
853
    CUSTOMER__TAX_ID__CREATED("customer.tax_id.created"),
854

855
    @SerializedName("customer.tax_id.deleted")
1✔
856
    CUSTOMER__TAX_ID__DELETED("customer.tax_id.deleted"),
857

858
    @SerializedName("customer.tax_id.updated")
1✔
859
    CUSTOMER__TAX_ID__UPDATED("customer.tax_id.updated"),
860

861
    @SerializedName("customer.updated")
1✔
862
    CUSTOMER__UPDATED("customer.updated"),
863

864
    @SerializedName("customer_cash_balance_transaction.created")
1✔
865
    CUSTOMER_CASH_BALANCE_TRANSACTION__CREATED("customer_cash_balance_transaction.created"),
866

867
    @SerializedName("entitlements.active_entitlement_summary.updated")
1✔
868
    ENTITLEMENTS__ACTIVE_ENTITLEMENT_SUMMARY__UPDATED(
869
        "entitlements.active_entitlement_summary.updated"),
870

871
    @SerializedName("file.created")
1✔
872
    FILE__CREATED("file.created"),
873

874
    @SerializedName("financial_connections.account.created")
1✔
875
    FINANCIAL_CONNECTIONS__ACCOUNT__CREATED("financial_connections.account.created"),
876

877
    @SerializedName("financial_connections.account.deactivated")
1✔
878
    FINANCIAL_CONNECTIONS__ACCOUNT__DEACTIVATED("financial_connections.account.deactivated"),
879

880
    @SerializedName("financial_connections.account.disconnected")
1✔
881
    FINANCIAL_CONNECTIONS__ACCOUNT__DISCONNECTED("financial_connections.account.disconnected"),
882

883
    @SerializedName("financial_connections.account.reactivated")
1✔
884
    FINANCIAL_CONNECTIONS__ACCOUNT__REACTIVATED("financial_connections.account.reactivated"),
885

886
    @SerializedName("financial_connections.account.refreshed_balance")
1✔
887
    FINANCIAL_CONNECTIONS__ACCOUNT__REFRESHED_BALANCE(
888
        "financial_connections.account.refreshed_balance"),
889

890
    @SerializedName("financial_connections.account.refreshed_inferred_balances")
1✔
891
    FINANCIAL_CONNECTIONS__ACCOUNT__REFRESHED_INFERRED_BALANCES(
892
        "financial_connections.account.refreshed_inferred_balances"),
893

894
    @SerializedName("financial_connections.account.refreshed_ownership")
1✔
895
    FINANCIAL_CONNECTIONS__ACCOUNT__REFRESHED_OWNERSHIP(
896
        "financial_connections.account.refreshed_ownership"),
897

898
    @SerializedName("financial_connections.account.refreshed_transactions")
1✔
899
    FINANCIAL_CONNECTIONS__ACCOUNT__REFRESHED_TRANSACTIONS(
900
        "financial_connections.account.refreshed_transactions"),
901

902
    @SerializedName("financial_connections.session.updated")
1✔
903
    FINANCIAL_CONNECTIONS__SESSION__UPDATED("financial_connections.session.updated"),
904

905
    @SerializedName("identity.verification_session.canceled")
1✔
906
    IDENTITY__VERIFICATION_SESSION__CANCELED("identity.verification_session.canceled"),
907

908
    @SerializedName("identity.verification_session.created")
1✔
909
    IDENTITY__VERIFICATION_SESSION__CREATED("identity.verification_session.created"),
910

911
    @SerializedName("identity.verification_session.processing")
1✔
912
    IDENTITY__VERIFICATION_SESSION__PROCESSING("identity.verification_session.processing"),
913

914
    @SerializedName("identity.verification_session.redacted")
1✔
915
    IDENTITY__VERIFICATION_SESSION__REDACTED("identity.verification_session.redacted"),
916

917
    @SerializedName("identity.verification_session.requires_input")
1✔
918
    IDENTITY__VERIFICATION_SESSION__REQUIRES_INPUT("identity.verification_session.requires_input"),
919

920
    @SerializedName("identity.verification_session.verified")
1✔
921
    IDENTITY__VERIFICATION_SESSION__VERIFIED("identity.verification_session.verified"),
922

923
    @SerializedName("invoice.created")
1✔
924
    INVOICE__CREATED("invoice.created"),
925

926
    @SerializedName("invoice.deleted")
1✔
927
    INVOICE__DELETED("invoice.deleted"),
928

929
    @SerializedName("invoice.finalization_failed")
1✔
930
    INVOICE__FINALIZATION_FAILED("invoice.finalization_failed"),
931

932
    @SerializedName("invoice.finalized")
1✔
933
    INVOICE__FINALIZED("invoice.finalized"),
934

935
    @SerializedName("invoice.marked_uncollectible")
1✔
936
    INVOICE__MARKED_UNCOLLECTIBLE("invoice.marked_uncollectible"),
937

938
    @SerializedName("invoice.overdue")
1✔
939
    INVOICE__OVERDUE("invoice.overdue"),
940

941
    @SerializedName("invoice.overpaid")
1✔
942
    INVOICE__OVERPAID("invoice.overpaid"),
943

944
    @SerializedName("invoice.paid")
1✔
945
    INVOICE__PAID("invoice.paid"),
946

947
    @SerializedName("invoice.payment.overpaid")
1✔
948
    INVOICE__PAYMENT__OVERPAID("invoice.payment.overpaid"),
949

950
    @SerializedName("invoice.payment_action_required")
1✔
951
    INVOICE__PAYMENT_ACTION_REQUIRED("invoice.payment_action_required"),
952

953
    @SerializedName("invoice.payment_attempt_required")
1✔
954
    INVOICE__PAYMENT_ATTEMPT_REQUIRED("invoice.payment_attempt_required"),
955

956
    @SerializedName("invoice.payment_failed")
1✔
957
    INVOICE__PAYMENT_FAILED("invoice.payment_failed"),
958

959
    @SerializedName("invoice.payment_succeeded")
1✔
960
    INVOICE__PAYMENT_SUCCEEDED("invoice.payment_succeeded"),
961

962
    @SerializedName("invoice.sent")
1✔
963
    INVOICE__SENT("invoice.sent"),
964

965
    @SerializedName("invoice.upcoming")
1✔
966
    INVOICE__UPCOMING("invoice.upcoming"),
967

968
    @SerializedName("invoice.updated")
1✔
969
    INVOICE__UPDATED("invoice.updated"),
970

971
    @SerializedName("invoice.voided")
1✔
972
    INVOICE__VOIDED("invoice.voided"),
973

974
    @SerializedName("invoice.will_be_due")
1✔
975
    INVOICE__WILL_BE_DUE("invoice.will_be_due"),
976

977
    @SerializedName("invoiceitem.created")
1✔
978
    INVOICEITEM__CREATED("invoiceitem.created"),
979

980
    @SerializedName("invoiceitem.deleted")
1✔
981
    INVOICEITEM__DELETED("invoiceitem.deleted"),
982

983
    @SerializedName("issuing_authorization.created")
1✔
984
    ISSUING_AUTHORIZATION__CREATED("issuing_authorization.created"),
985

986
    @SerializedName("issuing_authorization.request")
1✔
987
    ISSUING_AUTHORIZATION__REQUEST("issuing_authorization.request"),
988

989
    @SerializedName("issuing_authorization.updated")
1✔
990
    ISSUING_AUTHORIZATION__UPDATED("issuing_authorization.updated"),
991

992
    @SerializedName("issuing_card.created")
1✔
993
    ISSUING_CARD__CREATED("issuing_card.created"),
994

995
    @SerializedName("issuing_card.updated")
1✔
996
    ISSUING_CARD__UPDATED("issuing_card.updated"),
997

998
    @SerializedName("issuing_cardholder.created")
1✔
999
    ISSUING_CARDHOLDER__CREATED("issuing_cardholder.created"),
1000

1001
    @SerializedName("issuing_cardholder.updated")
1✔
1002
    ISSUING_CARDHOLDER__UPDATED("issuing_cardholder.updated"),
1003

1004
    @SerializedName("issuing_dispute.closed")
1✔
1005
    ISSUING_DISPUTE__CLOSED("issuing_dispute.closed"),
1006

1007
    @SerializedName("issuing_dispute.created")
1✔
1008
    ISSUING_DISPUTE__CREATED("issuing_dispute.created"),
1009

1010
    @SerializedName("issuing_dispute.funds_reinstated")
1✔
1011
    ISSUING_DISPUTE__FUNDS_REINSTATED("issuing_dispute.funds_reinstated"),
1012

1013
    @SerializedName("issuing_dispute.funds_rescinded")
1✔
1014
    ISSUING_DISPUTE__FUNDS_RESCINDED("issuing_dispute.funds_rescinded"),
1015

1016
    @SerializedName("issuing_dispute.submitted")
1✔
1017
    ISSUING_DISPUTE__SUBMITTED("issuing_dispute.submitted"),
1018

1019
    @SerializedName("issuing_dispute.updated")
1✔
1020
    ISSUING_DISPUTE__UPDATED("issuing_dispute.updated"),
1021

1022
    @SerializedName("issuing_dispute_settlement_detail.created")
1✔
1023
    ISSUING_DISPUTE_SETTLEMENT_DETAIL__CREATED("issuing_dispute_settlement_detail.created"),
1024

1025
    @SerializedName("issuing_dispute_settlement_detail.updated")
1✔
1026
    ISSUING_DISPUTE_SETTLEMENT_DETAIL__UPDATED("issuing_dispute_settlement_detail.updated"),
1027

1028
    @SerializedName("issuing_fraud_liability_debit.created")
1✔
1029
    ISSUING_FRAUD_LIABILITY_DEBIT__CREATED("issuing_fraud_liability_debit.created"),
1030

1031
    @SerializedName("issuing_personalization_design.activated")
1✔
1032
    ISSUING_PERSONALIZATION_DESIGN__ACTIVATED("issuing_personalization_design.activated"),
1033

1034
    @SerializedName("issuing_personalization_design.deactivated")
1✔
1035
    ISSUING_PERSONALIZATION_DESIGN__DEACTIVATED("issuing_personalization_design.deactivated"),
1036

1037
    @SerializedName("issuing_personalization_design.rejected")
1✔
1038
    ISSUING_PERSONALIZATION_DESIGN__REJECTED("issuing_personalization_design.rejected"),
1039

1040
    @SerializedName("issuing_personalization_design.updated")
1✔
1041
    ISSUING_PERSONALIZATION_DESIGN__UPDATED("issuing_personalization_design.updated"),
1042

1043
    @SerializedName("issuing_settlement.created")
1✔
1044
    ISSUING_SETTLEMENT__CREATED("issuing_settlement.created"),
1045

1046
    @SerializedName("issuing_settlement.updated")
1✔
1047
    ISSUING_SETTLEMENT__UPDATED("issuing_settlement.updated"),
1048

1049
    @SerializedName("issuing_token.created")
1✔
1050
    ISSUING_TOKEN__CREATED("issuing_token.created"),
1051

1052
    @SerializedName("issuing_token.updated")
1✔
1053
    ISSUING_TOKEN__UPDATED("issuing_token.updated"),
1054

1055
    @SerializedName("issuing_transaction.created")
1✔
1056
    ISSUING_TRANSACTION__CREATED("issuing_transaction.created"),
1057

1058
    @SerializedName("issuing_transaction.purchase_details_receipt_updated")
1✔
1059
    ISSUING_TRANSACTION__PURCHASE_DETAILS_RECEIPT_UPDATED(
1060
        "issuing_transaction.purchase_details_receipt_updated"),
1061

1062
    @SerializedName("issuing_transaction.updated")
1✔
1063
    ISSUING_TRANSACTION__UPDATED("issuing_transaction.updated"),
1064

1065
    @SerializedName("mandate.updated")
1✔
1066
    MANDATE__UPDATED("mandate.updated"),
1067

1068
    @SerializedName("payment_intent.amount_capturable_updated")
1✔
1069
    PAYMENT_INTENT__AMOUNT_CAPTURABLE_UPDATED("payment_intent.amount_capturable_updated"),
1070

1071
    @SerializedName("payment_intent.canceled")
1✔
1072
    PAYMENT_INTENT__CANCELED("payment_intent.canceled"),
1073

1074
    @SerializedName("payment_intent.created")
1✔
1075
    PAYMENT_INTENT__CREATED("payment_intent.created"),
1076

1077
    @SerializedName("payment_intent.partially_funded")
1✔
1078
    PAYMENT_INTENT__PARTIALLY_FUNDED("payment_intent.partially_funded"),
1079

1080
    @SerializedName("payment_intent.payment_failed")
1✔
1081
    PAYMENT_INTENT__PAYMENT_FAILED("payment_intent.payment_failed"),
1082

1083
    @SerializedName("payment_intent.processing")
1✔
1084
    PAYMENT_INTENT__PROCESSING("payment_intent.processing"),
1085

1086
    @SerializedName("payment_intent.requires_action")
1✔
1087
    PAYMENT_INTENT__REQUIRES_ACTION("payment_intent.requires_action"),
1088

1089
    @SerializedName("payment_intent.succeeded")
1✔
1090
    PAYMENT_INTENT__SUCCEEDED("payment_intent.succeeded"),
1091

1092
    @SerializedName("payment_link.created")
1✔
1093
    PAYMENT_LINK__CREATED("payment_link.created"),
1094

1095
    @SerializedName("payment_link.updated")
1✔
1096
    PAYMENT_LINK__UPDATED("payment_link.updated"),
1097

1098
    @SerializedName("payment_method.attached")
1✔
1099
    PAYMENT_METHOD__ATTACHED("payment_method.attached"),
1100

1101
    @SerializedName("payment_method.automatically_updated")
1✔
1102
    PAYMENT_METHOD__AUTOMATICALLY_UPDATED("payment_method.automatically_updated"),
1103

1104
    @SerializedName("payment_method.detached")
1✔
1105
    PAYMENT_METHOD__DETACHED("payment_method.detached"),
1106

1107
    @SerializedName("payment_method.updated")
1✔
1108
    PAYMENT_METHOD__UPDATED("payment_method.updated"),
1109

1110
    @SerializedName("payout.canceled")
1✔
1111
    PAYOUT__CANCELED("payout.canceled"),
1112

1113
    @SerializedName("payout.created")
1✔
1114
    PAYOUT__CREATED("payout.created"),
1115

1116
    @SerializedName("payout.failed")
1✔
1117
    PAYOUT__FAILED("payout.failed"),
1118

1119
    @SerializedName("payout.paid")
1✔
1120
    PAYOUT__PAID("payout.paid"),
1121

1122
    @SerializedName("payout.reconciliation_completed")
1✔
1123
    PAYOUT__RECONCILIATION_COMPLETED("payout.reconciliation_completed"),
1124

1125
    @SerializedName("payout.updated")
1✔
1126
    PAYOUT__UPDATED("payout.updated"),
1127

1128
    @SerializedName("person.created")
1✔
1129
    PERSON__CREATED("person.created"),
1130

1131
    @SerializedName("person.deleted")
1✔
1132
    PERSON__DELETED("person.deleted"),
1133

1134
    @SerializedName("person.updated")
1✔
1135
    PERSON__UPDATED("person.updated"),
1136

1137
    @SerializedName("plan.created")
1✔
1138
    PLAN__CREATED("plan.created"),
1139

1140
    @SerializedName("plan.deleted")
1✔
1141
    PLAN__DELETED("plan.deleted"),
1142

1143
    @SerializedName("plan.updated")
1✔
1144
    PLAN__UPDATED("plan.updated"),
1145

1146
    @SerializedName("price.created")
1✔
1147
    PRICE__CREATED("price.created"),
1148

1149
    @SerializedName("price.deleted")
1✔
1150
    PRICE__DELETED("price.deleted"),
1151

1152
    @SerializedName("price.updated")
1✔
1153
    PRICE__UPDATED("price.updated"),
1154

1155
    @SerializedName("product.created")
1✔
1156
    PRODUCT__CREATED("product.created"),
1157

1158
    @SerializedName("product.deleted")
1✔
1159
    PRODUCT__DELETED("product.deleted"),
1160

1161
    @SerializedName("product.updated")
1✔
1162
    PRODUCT__UPDATED("product.updated"),
1163

1164
    @SerializedName("promotion_code.created")
1✔
1165
    PROMOTION_CODE__CREATED("promotion_code.created"),
1166

1167
    @SerializedName("promotion_code.updated")
1✔
1168
    PROMOTION_CODE__UPDATED("promotion_code.updated"),
1169

1170
    @SerializedName("quote.accept_failed")
1✔
1171
    QUOTE__ACCEPT_FAILED("quote.accept_failed"),
1172

1173
    @SerializedName("quote.accepted")
1✔
1174
    QUOTE__ACCEPTED("quote.accepted"),
1175

1176
    @SerializedName("quote.accepting")
1✔
1177
    QUOTE__ACCEPTING("quote.accepting"),
1178

1179
    @SerializedName("quote.canceled")
1✔
1180
    QUOTE__CANCELED("quote.canceled"),
1181

1182
    @SerializedName("quote.created")
1✔
1183
    QUOTE__CREATED("quote.created"),
1184

1185
    @SerializedName("quote.draft")
1✔
1186
    QUOTE__DRAFT("quote.draft"),
1187

1188
    @SerializedName("quote.finalized")
1✔
1189
    QUOTE__FINALIZED("quote.finalized"),
1190

1191
    @SerializedName("quote.reestimate_failed")
1✔
1192
    QUOTE__REESTIMATE_FAILED("quote.reestimate_failed"),
1193

1194
    @SerializedName("quote.reestimated")
1✔
1195
    QUOTE__REESTIMATED("quote.reestimated"),
1196

1197
    @SerializedName("quote.stale")
1✔
1198
    QUOTE__STALE("quote.stale"),
1199

1200
    @SerializedName("radar.early_fraud_warning.created")
1✔
1201
    RADAR__EARLY_FRAUD_WARNING__CREATED("radar.early_fraud_warning.created"),
1202

1203
    @SerializedName("radar.early_fraud_warning.updated")
1✔
1204
    RADAR__EARLY_FRAUD_WARNING__UPDATED("radar.early_fraud_warning.updated"),
1205

1206
    @SerializedName("refund.created")
1✔
1207
    REFUND__CREATED("refund.created"),
1208

1209
    @SerializedName("refund.failed")
1✔
1210
    REFUND__FAILED("refund.failed"),
1211

1212
    @SerializedName("refund.updated")
1✔
1213
    REFUND__UPDATED("refund.updated"),
1214

1215
    @SerializedName("reporting.report_run.failed")
1✔
1216
    REPORTING__REPORT_RUN__FAILED("reporting.report_run.failed"),
1217

1218
    @SerializedName("reporting.report_run.succeeded")
1✔
1219
    REPORTING__REPORT_RUN__SUCCEEDED("reporting.report_run.succeeded"),
1220

1221
    @SerializedName("reporting.report_type.updated")
1✔
1222
    REPORTING__REPORT_TYPE__UPDATED("reporting.report_type.updated"),
1223

1224
    @SerializedName("review.closed")
1✔
1225
    REVIEW__CLOSED("review.closed"),
1226

1227
    @SerializedName("review.opened")
1✔
1228
    REVIEW__OPENED("review.opened"),
1229

1230
    @SerializedName("setup_intent.canceled")
1✔
1231
    SETUP_INTENT__CANCELED("setup_intent.canceled"),
1232

1233
    @SerializedName("setup_intent.created")
1✔
1234
    SETUP_INTENT__CREATED("setup_intent.created"),
1235

1236
    @SerializedName("setup_intent.requires_action")
1✔
1237
    SETUP_INTENT__REQUIRES_ACTION("setup_intent.requires_action"),
1238

1239
    @SerializedName("setup_intent.setup_failed")
1✔
1240
    SETUP_INTENT__SETUP_FAILED("setup_intent.setup_failed"),
1241

1242
    @SerializedName("setup_intent.succeeded")
1✔
1243
    SETUP_INTENT__SUCCEEDED("setup_intent.succeeded"),
1244

1245
    @SerializedName("sigma.scheduled_query_run.created")
1✔
1246
    SIGMA__SCHEDULED_QUERY_RUN__CREATED("sigma.scheduled_query_run.created"),
1247

1248
    @SerializedName("source.canceled")
1✔
1249
    SOURCE__CANCELED("source.canceled"),
1250

1251
    @SerializedName("source.chargeable")
1✔
1252
    SOURCE__CHARGEABLE("source.chargeable"),
1253

1254
    @SerializedName("source.failed")
1✔
1255
    SOURCE__FAILED("source.failed"),
1256

1257
    @SerializedName("source.mandate_notification")
1✔
1258
    SOURCE__MANDATE_NOTIFICATION("source.mandate_notification"),
1259

1260
    @SerializedName("source.refund_attributes_required")
1✔
1261
    SOURCE__REFUND_ATTRIBUTES_REQUIRED("source.refund_attributes_required"),
1262

1263
    @SerializedName("source.transaction.created")
1✔
1264
    SOURCE__TRANSACTION__CREATED("source.transaction.created"),
1265

1266
    @SerializedName("source.transaction.updated")
1✔
1267
    SOURCE__TRANSACTION__UPDATED("source.transaction.updated"),
1268

1269
    @SerializedName("subscription_schedule.aborted")
1✔
1270
    SUBSCRIPTION_SCHEDULE__ABORTED("subscription_schedule.aborted"),
1271

1272
    @SerializedName("subscription_schedule.canceled")
1✔
1273
    SUBSCRIPTION_SCHEDULE__CANCELED("subscription_schedule.canceled"),
1274

1275
    @SerializedName("subscription_schedule.completed")
1✔
1276
    SUBSCRIPTION_SCHEDULE__COMPLETED("subscription_schedule.completed"),
1277

1278
    @SerializedName("subscription_schedule.created")
1✔
1279
    SUBSCRIPTION_SCHEDULE__CREATED("subscription_schedule.created"),
1280

1281
    @SerializedName("subscription_schedule.expiring")
1✔
1282
    SUBSCRIPTION_SCHEDULE__EXPIRING("subscription_schedule.expiring"),
1283

1284
    @SerializedName("subscription_schedule.price_migration_failed")
1✔
1285
    SUBSCRIPTION_SCHEDULE__PRICE_MIGRATION_FAILED("subscription_schedule.price_migration_failed"),
1286

1287
    @SerializedName("subscription_schedule.released")
1✔
1288
    SUBSCRIPTION_SCHEDULE__RELEASED("subscription_schedule.released"),
1289

1290
    @SerializedName("subscription_schedule.updated")
1✔
1291
    SUBSCRIPTION_SCHEDULE__UPDATED("subscription_schedule.updated"),
1292

1293
    @SerializedName("tax.form.updated")
1✔
1294
    TAX__FORM__UPDATED("tax.form.updated"),
1295

1296
    @SerializedName("tax.settings.updated")
1✔
1297
    TAX__SETTINGS__UPDATED("tax.settings.updated"),
1298

1299
    @SerializedName("tax_rate.created")
1✔
1300
    TAX_RATE__CREATED("tax_rate.created"),
1301

1302
    @SerializedName("tax_rate.updated")
1✔
1303
    TAX_RATE__UPDATED("tax_rate.updated"),
1304

1305
    @SerializedName("terminal.reader.action_failed")
1✔
1306
    TERMINAL__READER__ACTION_FAILED("terminal.reader.action_failed"),
1307

1308
    @SerializedName("terminal.reader.action_succeeded")
1✔
1309
    TERMINAL__READER__ACTION_SUCCEEDED("terminal.reader.action_succeeded"),
1310

1311
    @SerializedName("terminal.reader.action_updated")
1✔
1312
    TERMINAL__READER__ACTION_UPDATED("terminal.reader.action_updated"),
1313

1314
    @SerializedName("test_helpers.test_clock.advancing")
1✔
1315
    TEST_HELPERS__TEST_CLOCK__ADVANCING("test_helpers.test_clock.advancing"),
1316

1317
    @SerializedName("test_helpers.test_clock.created")
1✔
1318
    TEST_HELPERS__TEST_CLOCK__CREATED("test_helpers.test_clock.created"),
1319

1320
    @SerializedName("test_helpers.test_clock.deleted")
1✔
1321
    TEST_HELPERS__TEST_CLOCK__DELETED("test_helpers.test_clock.deleted"),
1322

1323
    @SerializedName("test_helpers.test_clock.internal_failure")
1✔
1324
    TEST_HELPERS__TEST_CLOCK__INTERNAL_FAILURE("test_helpers.test_clock.internal_failure"),
1325

1326
    @SerializedName("test_helpers.test_clock.ready")
1✔
1327
    TEST_HELPERS__TEST_CLOCK__READY("test_helpers.test_clock.ready"),
1328

1329
    @SerializedName("topup.canceled")
1✔
1330
    TOPUP__CANCELED("topup.canceled"),
1331

1332
    @SerializedName("topup.created")
1✔
1333
    TOPUP__CREATED("topup.created"),
1334

1335
    @SerializedName("topup.failed")
1✔
1336
    TOPUP__FAILED("topup.failed"),
1337

1338
    @SerializedName("topup.reversed")
1✔
1339
    TOPUP__REVERSED("topup.reversed"),
1340

1341
    @SerializedName("topup.succeeded")
1✔
1342
    TOPUP__SUCCEEDED("topup.succeeded"),
1343

1344
    @SerializedName("transfer.created")
1✔
1345
    TRANSFER__CREATED("transfer.created"),
1346

1347
    @SerializedName("transfer.reversed")
1✔
1348
    TRANSFER__REVERSED("transfer.reversed"),
1349

1350
    @SerializedName("transfer.updated")
1✔
1351
    TRANSFER__UPDATED("transfer.updated"),
1352

1353
    @SerializedName("treasury.credit_reversal.created")
1✔
1354
    TREASURY__CREDIT_REVERSAL__CREATED("treasury.credit_reversal.created"),
1355

1356
    @SerializedName("treasury.credit_reversal.posted")
1✔
1357
    TREASURY__CREDIT_REVERSAL__POSTED("treasury.credit_reversal.posted"),
1358

1359
    @SerializedName("treasury.debit_reversal.completed")
1✔
1360
    TREASURY__DEBIT_REVERSAL__COMPLETED("treasury.debit_reversal.completed"),
1361

1362
    @SerializedName("treasury.debit_reversal.created")
1✔
1363
    TREASURY__DEBIT_REVERSAL__CREATED("treasury.debit_reversal.created"),
1364

1365
    @SerializedName("treasury.debit_reversal.initial_credit_granted")
1✔
1366
    TREASURY__DEBIT_REVERSAL__INITIAL_CREDIT_GRANTED(
1367
        "treasury.debit_reversal.initial_credit_granted"),
1368

1369
    @SerializedName("treasury.financial_account.closed")
1✔
1370
    TREASURY__FINANCIAL_ACCOUNT__CLOSED("treasury.financial_account.closed"),
1371

1372
    @SerializedName("treasury.financial_account.created")
1✔
1373
    TREASURY__FINANCIAL_ACCOUNT__CREATED("treasury.financial_account.created"),
1374

1375
    @SerializedName("treasury.financial_account.features_status_updated")
1✔
1376
    TREASURY__FINANCIAL_ACCOUNT__FEATURES_STATUS_UPDATED(
1377
        "treasury.financial_account.features_status_updated"),
1378

1379
    @SerializedName("treasury.inbound_transfer.canceled")
1✔
1380
    TREASURY__INBOUND_TRANSFER__CANCELED("treasury.inbound_transfer.canceled"),
1381

1382
    @SerializedName("treasury.inbound_transfer.created")
1✔
1383
    TREASURY__INBOUND_TRANSFER__CREATED("treasury.inbound_transfer.created"),
1384

1385
    @SerializedName("treasury.inbound_transfer.failed")
1✔
1386
    TREASURY__INBOUND_TRANSFER__FAILED("treasury.inbound_transfer.failed"),
1387

1388
    @SerializedName("treasury.inbound_transfer.succeeded")
1✔
1389
    TREASURY__INBOUND_TRANSFER__SUCCEEDED("treasury.inbound_transfer.succeeded"),
1390

1391
    @SerializedName("treasury.outbound_payment.canceled")
1✔
1392
    TREASURY__OUTBOUND_PAYMENT__CANCELED("treasury.outbound_payment.canceled"),
1393

1394
    @SerializedName("treasury.outbound_payment.created")
1✔
1395
    TREASURY__OUTBOUND_PAYMENT__CREATED("treasury.outbound_payment.created"),
1396

1397
    @SerializedName("treasury.outbound_payment.expected_arrival_date_updated")
1✔
1398
    TREASURY__OUTBOUND_PAYMENT__EXPECTED_ARRIVAL_DATE_UPDATED(
1399
        "treasury.outbound_payment.expected_arrival_date_updated"),
1400

1401
    @SerializedName("treasury.outbound_payment.failed")
1✔
1402
    TREASURY__OUTBOUND_PAYMENT__FAILED("treasury.outbound_payment.failed"),
1403

1404
    @SerializedName("treasury.outbound_payment.posted")
1✔
1405
    TREASURY__OUTBOUND_PAYMENT__POSTED("treasury.outbound_payment.posted"),
1406

1407
    @SerializedName("treasury.outbound_payment.returned")
1✔
1408
    TREASURY__OUTBOUND_PAYMENT__RETURNED("treasury.outbound_payment.returned"),
1409

1410
    @SerializedName("treasury.outbound_payment.tracking_details_updated")
1✔
1411
    TREASURY__OUTBOUND_PAYMENT__TRACKING_DETAILS_UPDATED(
1412
        "treasury.outbound_payment.tracking_details_updated"),
1413

1414
    @SerializedName("treasury.outbound_transfer.canceled")
1✔
1415
    TREASURY__OUTBOUND_TRANSFER__CANCELED("treasury.outbound_transfer.canceled"),
1416

1417
    @SerializedName("treasury.outbound_transfer.created")
1✔
1418
    TREASURY__OUTBOUND_TRANSFER__CREATED("treasury.outbound_transfer.created"),
1419

1420
    @SerializedName("treasury.outbound_transfer.expected_arrival_date_updated")
1✔
1421
    TREASURY__OUTBOUND_TRANSFER__EXPECTED_ARRIVAL_DATE_UPDATED(
1422
        "treasury.outbound_transfer.expected_arrival_date_updated"),
1423

1424
    @SerializedName("treasury.outbound_transfer.failed")
1✔
1425
    TREASURY__OUTBOUND_TRANSFER__FAILED("treasury.outbound_transfer.failed"),
1426

1427
    @SerializedName("treasury.outbound_transfer.posted")
1✔
1428
    TREASURY__OUTBOUND_TRANSFER__POSTED("treasury.outbound_transfer.posted"),
1429

1430
    @SerializedName("treasury.outbound_transfer.returned")
1✔
1431
    TREASURY__OUTBOUND_TRANSFER__RETURNED("treasury.outbound_transfer.returned"),
1432

1433
    @SerializedName("treasury.outbound_transfer.tracking_details_updated")
1✔
1434
    TREASURY__OUTBOUND_TRANSFER__TRACKING_DETAILS_UPDATED(
1435
        "treasury.outbound_transfer.tracking_details_updated"),
1436

1437
    @SerializedName("treasury.received_credit.created")
1✔
1438
    TREASURY__RECEIVED_CREDIT__CREATED("treasury.received_credit.created"),
1439

1440
    @SerializedName("treasury.received_credit.failed")
1✔
1441
    TREASURY__RECEIVED_CREDIT__FAILED("treasury.received_credit.failed"),
1442

1443
    @SerializedName("treasury.received_credit.succeeded")
1✔
1444
    TREASURY__RECEIVED_CREDIT__SUCCEEDED("treasury.received_credit.succeeded"),
1445

1446
    @SerializedName("treasury.received_debit.created")
1✔
1447
    TREASURY__RECEIVED_DEBIT__CREATED("treasury.received_debit.created");
1448

1449
    @Getter(onMethod_ = {@Override})
1450
    private final String value;
1451

1452
    EnabledEvent(String value) {
1✔
1453
      this.value = value;
1✔
1454
    }
1✔
1455
  }
1456
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc