forked from orbcorp/orb-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaliases.go
More file actions
6522 lines (4640 loc) · 325 KB
/
aliases.go
File metadata and controls
6522 lines (4640 loc) · 325 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
package orb
import (
"github.com/orbcorp/orb-go/internal/apierror"
"github.com/orbcorp/orb-go/shared"
)
type Error = apierror.Error
type ErrorStatus = apierror.ErrorStatus
const ErrorStatus500 = apierror.ErrorStatus500
const ErrorStatus429 = apierror.ErrorStatus429
const ErrorStatus413 = apierror.ErrorStatus413
const ErrorStatus409 = apierror.ErrorStatus409
const ErrorStatus404 = apierror.ErrorStatus404
const ErrorStatus400 = apierror.ErrorStatus400
const ErrorStatus401 = apierror.ErrorStatus401
type ErrorType = apierror.ErrorType
const ErrorTypeOrbInternalServerError = apierror.ErrorTypeOrbInternalServerError
const ErrorTypeTooManyRequests = apierror.ErrorTypeTooManyRequests
const ErrorTypeResourceTooLarge = apierror.ErrorTypeResourceTooLarge
const ErrorTypeRequestTooLarge = apierror.ErrorTypeRequestTooLarge
const ErrorTypeResourceConflict = apierror.ErrorTypeResourceConflict
const ErrorTypeURLNotFound = apierror.ErrorTypeURLNotFound
const ErrorTypeResourceNotFound = apierror.ErrorTypeResourceNotFound
const ErrorTypeFeatureNotAvailable = apierror.ErrorTypeFeatureNotAvailable
const ErrorTypeOrbAuthenticationError = apierror.ErrorTypeOrbAuthenticationError
const ErrorTypeRequestValidationError = apierror.ErrorTypeRequestValidationError
const ErrorTypeDuplicateResourceCreation = apierror.ErrorTypeDuplicateResourceCreation
const ErrorTypeConstraintViolation = apierror.ErrorTypeConstraintViolation
// This is an alias to an internal type.
type Address = shared.Address
// This is an alias to an internal type.
type AdjustmentInterval = shared.AdjustmentInterval
// This is an alias to an internal type.
type AdjustmentIntervalAdjustment = shared.AdjustmentIntervalAdjustment
// This is an alias to an internal type.
type AdjustmentIntervalAdjustmentAdjustmentType = shared.AdjustmentIntervalAdjustmentAdjustmentType
// This is an alias to an internal value.
const AdjustmentIntervalAdjustmentAdjustmentTypeUsageDiscount = shared.AdjustmentIntervalAdjustmentAdjustmentTypeUsageDiscount
// This is an alias to an internal value.
const AdjustmentIntervalAdjustmentAdjustmentTypeAmountDiscount = shared.AdjustmentIntervalAdjustmentAdjustmentTypeAmountDiscount
// This is an alias to an internal value.
const AdjustmentIntervalAdjustmentAdjustmentTypePercentageDiscount = shared.AdjustmentIntervalAdjustmentAdjustmentTypePercentageDiscount
// This is an alias to an internal value.
const AdjustmentIntervalAdjustmentAdjustmentTypeMinimum = shared.AdjustmentIntervalAdjustmentAdjustmentTypeMinimum
// This is an alias to an internal value.
const AdjustmentIntervalAdjustmentAdjustmentTypeMaximum = shared.AdjustmentIntervalAdjustmentAdjustmentTypeMaximum
// This is an alias to an internal type.
type AggregatedCost = shared.AggregatedCost
// This is an alias to an internal type.
type Allocation = shared.Allocation
// This is an alias to an internal type.
type AmountDiscount = shared.AmountDiscount
// This is an alias to an internal type.
type AmountDiscountDiscountType = shared.AmountDiscountDiscountType
// This is an alias to an internal value.
const AmountDiscountDiscountTypeAmount = shared.AmountDiscountDiscountTypeAmount
// This is an alias to an internal type.
type AmountDiscountParam = shared.AmountDiscountParam
// This is an alias to an internal type.
type AmountDiscountInterval = shared.AmountDiscountInterval
// This is an alias to an internal type.
type AmountDiscountIntervalDiscountType = shared.AmountDiscountIntervalDiscountType
// This is an alias to an internal value.
const AmountDiscountIntervalDiscountTypeAmount = shared.AmountDiscountIntervalDiscountTypeAmount
// This is an alias to an internal type.
type BillableMetricTiny = shared.BillableMetricTiny
// This is an alias to an internal type.
type BillingCycleAnchorConfiguration = shared.BillingCycleAnchorConfiguration
// This is an alias to an internal type.
type BillingCycleAnchorConfigurationParam = shared.BillingCycleAnchorConfigurationParam
// This is an alias to an internal type.
type BillingCycleConfiguration = shared.BillingCycleConfiguration
// This is an alias to an internal type.
type BillingCycleConfigurationDurationUnit = shared.BillingCycleConfigurationDurationUnit
// This is an alias to an internal value.
const BillingCycleConfigurationDurationUnitDay = shared.BillingCycleConfigurationDurationUnitDay
// This is an alias to an internal value.
const BillingCycleConfigurationDurationUnitMonth = shared.BillingCycleConfigurationDurationUnitMonth
// This is an alias to an internal type.
type BillingCycleRelativeDate = shared.BillingCycleRelativeDate
// This is an alias to an internal value.
const BillingCycleRelativeDateStartOfTerm = shared.BillingCycleRelativeDateStartOfTerm
// This is an alias to an internal value.
const BillingCycleRelativeDateEndOfTerm = shared.BillingCycleRelativeDateEndOfTerm
// Configuration for bulk pricing
//
// This is an alias to an internal type.
type BulkConfig = shared.BulkConfig
// Configuration for bulk pricing
//
// This is an alias to an internal type.
type BulkConfigParam = shared.BulkConfigParam
// Configuration for a single bulk pricing tier
//
// This is an alias to an internal type.
type BulkTier = shared.BulkTier
// Configuration for a single bulk pricing tier
//
// This is an alias to an internal type.
type BulkTierParam = shared.BulkTierParam
// This is an alias to an internal type.
type ChangedSubscriptionResources = shared.ChangedSubscriptionResources
// This is an alias to an internal type.
type ConversionRateTier = shared.ConversionRateTier
// This is an alias to an internal type.
type ConversionRateTierParam = shared.ConversionRateTierParam
// This is an alias to an internal type.
type ConversionRateTieredConfig = shared.ConversionRateTieredConfig
// This is an alias to an internal type.
type ConversionRateTieredConfigParam = shared.ConversionRateTieredConfigParam
// This is an alias to an internal type.
type ConversionRateUnitConfig = shared.ConversionRateUnitConfig
// This is an alias to an internal type.
type ConversionRateUnitConfigParam = shared.ConversionRateUnitConfigParam
// This is an alias to an internal type.
type CouponRedemption = shared.CouponRedemption
// The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
// been applied to a particular invoice.
//
// This is an alias to an internal type.
type CreditNote = shared.CreditNote
// This is an alias to an internal type.
type CreditNoteLineItem = shared.CreditNoteLineItem
// This is an alias to an internal type.
type CreditNoteLineItemsDiscount = shared.CreditNoteLineItemsDiscount
// This is an alias to an internal type.
type CreditNoteLineItemsDiscountsDiscountType = shared.CreditNoteLineItemsDiscountsDiscountType
// This is an alias to an internal value.
const CreditNoteLineItemsDiscountsDiscountTypePercentage = shared.CreditNoteLineItemsDiscountsDiscountTypePercentage
// This is an alias to an internal value.
const CreditNoteLineItemsDiscountsDiscountTypeAmount = shared.CreditNoteLineItemsDiscountsDiscountTypeAmount
// The maximum amount applied on the original invoice
//
// This is an alias to an internal type.
type CreditNoteMaximumAmountAdjustment = shared.CreditNoteMaximumAmountAdjustment
// This is an alias to an internal type.
type CreditNoteMaximumAmountAdjustmentDiscountType = shared.CreditNoteMaximumAmountAdjustmentDiscountType
// This is an alias to an internal value.
const CreditNoteMaximumAmountAdjustmentDiscountTypePercentage = shared.CreditNoteMaximumAmountAdjustmentDiscountTypePercentage
// This is an alias to an internal type.
type CreditNoteMaximumAmountAdjustmentAppliesToPrice = shared.CreditNoteMaximumAmountAdjustmentAppliesToPrice
// This is an alias to an internal type.
type CreditNoteReason = shared.CreditNoteReason
// This is an alias to an internal value.
const CreditNoteReasonDuplicate = shared.CreditNoteReasonDuplicate
// This is an alias to an internal value.
const CreditNoteReasonFraudulent = shared.CreditNoteReasonFraudulent
// This is an alias to an internal value.
const CreditNoteReasonOrderChange = shared.CreditNoteReasonOrderChange
// This is an alias to an internal value.
const CreditNoteReasonProductUnsatisfactory = shared.CreditNoteReasonProductUnsatisfactory
// This is an alias to an internal type.
type CreditNoteType = shared.CreditNoteType
// This is an alias to an internal value.
const CreditNoteTypeRefund = shared.CreditNoteTypeRefund
// This is an alias to an internal value.
const CreditNoteTypeAdjustment = shared.CreditNoteTypeAdjustment
// This is an alias to an internal type.
type CreditNoteDiscount = shared.CreditNoteDiscount
// This is an alias to an internal type.
type CreditNoteDiscountsDiscountType = shared.CreditNoteDiscountsDiscountType
// This is an alias to an internal value.
const CreditNoteDiscountsDiscountTypePercentage = shared.CreditNoteDiscountsDiscountTypePercentage
// This is an alias to an internal type.
type CreditNoteDiscountsAppliesToPrice = shared.CreditNoteDiscountsAppliesToPrice
// This is an alias to an internal type.
type CreditNoteTiny = shared.CreditNoteTiny
// This is an alias to an internal type.
type CustomExpiration = shared.CustomExpiration
// This is an alias to an internal type.
type CustomExpirationDurationUnit = shared.CustomExpirationDurationUnit
// This is an alias to an internal value.
const CustomExpirationDurationUnitDay = shared.CustomExpirationDurationUnitDay
// This is an alias to an internal value.
const CustomExpirationDurationUnitMonth = shared.CustomExpirationDurationUnitMonth
// This is an alias to an internal type.
type CustomExpirationParam = shared.CustomExpirationParam
// This is an alias to an internal type.
type CustomerMinified = shared.CustomerMinified
// Tax IDs are commonly required to be displayed on customer invoices, which are
// added to the headers of invoices.
//
// ### Supported Tax ID Countries and Types
//
// | Country | Type | Description |
// | ---------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
// | Albania | `al_tin` | Albania Tax Identification Number |
// | Andorra | `ad_nrt` | Andorran NRT Number |
// | Angola | `ao_tin` | Angola Tax Identification Number |
// | Argentina | `ar_cuit` | Argentinian Tax ID Number |
// | Armenia | `am_tin` | Armenia Tax Identification Number |
// | Aruba | `aw_tin` | Aruba Tax Identification Number |
// | Australia | `au_abn` | Australian Business Number (AU ABN) |
// | Australia | `au_arn` | Australian Taxation Office Reference Number |
// | Austria | `eu_vat` | European VAT Number |
// | Azerbaijan | `az_tin` | Azerbaijan Tax Identification Number |
// | Bahamas | `bs_tin` | Bahamas Tax Identification Number |
// | Bahrain | `bh_vat` | Bahraini VAT Number |
// | Bangladesh | `bd_bin` | Bangladesh Business Identification Number |
// | Barbados | `bb_tin` | Barbados Tax Identification Number |
// | Belarus | `by_tin` | Belarus TIN Number |
// | Belgium | `eu_vat` | European VAT Number |
// | Benin | `bj_ifu` | Benin Tax Identification Number (Identifiant Fiscal Unique) |
// | Bolivia | `bo_tin` | Bolivian Tax ID |
// | Bosnia and Herzegovina | `ba_tin` | Bosnia and Herzegovina Tax Identification Number |
// | Brazil | `br_cnpj` | Brazilian CNPJ Number |
// | Brazil | `br_cpf` | Brazilian CPF Number |
// | Bulgaria | `bg_uic` | Bulgaria Unified Identification Code |
// | Bulgaria | `eu_vat` | European VAT Number |
// | Burkina Faso | `bf_ifu` | Burkina Faso Tax Identification Number (Numéro d'Identifiant Fiscal Unique) |
// | Cambodia | `kh_tin` | Cambodia Tax Identification Number |
// | Cameroon | `cm_niu` | Cameroon Tax Identification Number (Numéro d'Identifiant fiscal Unique) |
// | Canada | `ca_bn` | Canadian BN |
// | Canada | `ca_gst_hst` | Canadian GST/HST Number |
// | Canada | `ca_pst_bc` | Canadian PST Number (British Columbia) |
// | Canada | `ca_pst_mb` | Canadian PST Number (Manitoba) |
// | Canada | `ca_pst_sk` | Canadian PST Number (Saskatchewan) |
// | Canada | `ca_qst` | Canadian QST Number (Québec) |
// | Cape Verde | `cv_nif` | Cape Verde Tax Identification Number (Número de Identificação Fiscal) |
// | Chile | `cl_tin` | Chilean TIN |
// | China | `cn_tin` | Chinese Tax ID |
// | Colombia | `co_nit` | Colombian NIT Number |
// | Congo-Kinshasa | `cd_nif` | Congo (DR) Tax Identification Number (Número de Identificação Fiscal) |
// | Costa Rica | `cr_tin` | Costa Rican Tax ID |
// | Croatia | `eu_vat` | European VAT Number |
// | Croatia | `hr_oib` | Croatian Personal Identification Number (OIB) |
// | Cyprus | `eu_vat` | European VAT Number |
// | Czech Republic | `eu_vat` | European VAT Number |
// | Denmark | `eu_vat` | European VAT Number |
// | Dominican Republic | `do_rcn` | Dominican RCN Number |
// | Ecuador | `ec_ruc` | Ecuadorian RUC Number |
// | Egypt | `eg_tin` | Egyptian Tax Identification Number |
// | El Salvador | `sv_nit` | El Salvadorian NIT Number |
// | Estonia | `eu_vat` | European VAT Number |
// | Ethiopia | `et_tin` | Ethiopia Tax Identification Number |
// | European Union | `eu_oss_vat` | European One Stop Shop VAT Number for non-Union scheme |
// | Finland | `eu_vat` | European VAT Number |
// | France | `eu_vat` | European VAT Number |
// | Georgia | `ge_vat` | Georgian VAT |
// | Germany | `de_stn` | German Tax Number (Steuernummer) |
// | Germany | `eu_vat` | European VAT Number |
// | Greece | `eu_vat` | European VAT Number |
// | Guinea | `gn_nif` | Guinea Tax Identification Number (Número de Identificação Fiscal) |
// | Hong Kong | `hk_br` | Hong Kong BR Number |
// | Hungary | `eu_vat` | European VAT Number |
// | Hungary | `hu_tin` | Hungary Tax Number (adószám) |
// | Iceland | `is_vat` | Icelandic VAT |
// | India | `in_gst` | Indian GST Number |
// | Indonesia | `id_npwp` | Indonesian NPWP Number |
// | Ireland | `eu_vat` | European VAT Number |
// | Israel | `il_vat` | Israel VAT |
// | Italy | `eu_vat` | European VAT Number |
// | Japan | `jp_cn` | Japanese Corporate Number (_Hōjin Bangō_) |
// | Japan | `jp_rn` | Japanese Registered Foreign Businesses' Registration Number (_Tōroku Kokugai Jigyōsha no Tōroku Bangō_) |
// | Japan | `jp_trn` | Japanese Tax Registration Number (_Tōroku Bangō_) |
// | Kazakhstan | `kz_bin` | Kazakhstani Business Identification Number |
// | Kenya | `ke_pin` | Kenya Revenue Authority Personal Identification Number |
// | Kyrgyzstan | `kg_tin` | Kyrgyzstan Tax Identification Number |
// | Laos | `la_tin` | Laos Tax Identification Number |
// | Latvia | `eu_vat` | European VAT Number |
// | Liechtenstein | `li_uid` | Liechtensteinian UID Number |
// | Liechtenstein | `li_vat` | Liechtenstein VAT Number |
// | Lithuania | `eu_vat` | European VAT Number |
// | Luxembourg | `eu_vat` | European VAT Number |
// | Malaysia | `my_frp` | Malaysian FRP Number |
// | Malaysia | `my_itn` | Malaysian ITN |
// | Malaysia | `my_sst` | Malaysian SST Number |
// | Malta | `eu_vat` | European VAT Number |
// | Mauritania | `mr_nif` | Mauritania Tax Identification Number (Número de Identificação Fiscal) |
// | Mexico | `mx_rfc` | Mexican RFC Number |
// | Moldova | `md_vat` | Moldova VAT Number |
// | Montenegro | `me_pib` | Montenegro PIB Number |
// | Morocco | `ma_vat` | Morocco VAT Number |
// | Nepal | `np_pan` | Nepal PAN Number |
// | Netherlands | `eu_vat` | European VAT Number |
// | New Zealand | `nz_gst` | New Zealand GST Number |
// | Nigeria | `ng_tin` | Nigerian Tax Identification Number |
// | North Macedonia | `mk_vat` | North Macedonia VAT Number |
// | Northern Ireland | `eu_vat` | Northern Ireland VAT Number |
// | Norway | `no_vat` | Norwegian VAT Number |
// | Norway | `no_voec` | Norwegian VAT on e-commerce Number |
// | Oman | `om_vat` | Omani VAT Number |
// | Peru | `pe_ruc` | Peruvian RUC Number |
// | Philippines | `ph_tin` | Philippines Tax Identification Number |
// | Poland | `eu_vat` | European VAT Number |
// | Portugal | `eu_vat` | European VAT Number |
// | Romania | `eu_vat` | European VAT Number |
// | Romania | `ro_tin` | Romanian Tax ID Number |
// | Russia | `ru_inn` | Russian INN |
// | Russia | `ru_kpp` | Russian KPP |
// | Saudi Arabia | `sa_vat` | Saudi Arabia VAT |
// | Senegal | `sn_ninea` | Senegal NINEA Number |
// | Serbia | `rs_pib` | Serbian PIB Number |
// | Singapore | `sg_gst` | Singaporean GST |
// | Singapore | `sg_uen` | Singaporean UEN |
// | Slovakia | `eu_vat` | European VAT Number |
// | Slovenia | `eu_vat` | European VAT Number |
// | Slovenia | `si_tin` | Slovenia Tax Number (davčna številka) |
// | South Africa | `za_vat` | South African VAT Number |
// | South Korea | `kr_brn` | Korean BRN |
// | Spain | `es_cif` | Spanish NIF Number (previously Spanish CIF Number) |
// | Spain | `eu_vat` | European VAT Number |
// | Suriname | `sr_fin` | Suriname FIN Number |
// | Sweden | `eu_vat` | European VAT Number |
// | Switzerland | `ch_uid` | Switzerland UID Number |
// | Switzerland | `ch_vat` | Switzerland VAT Number |
// | Taiwan | `tw_vat` | Taiwanese VAT |
// | Tajikistan | `tj_tin` | Tajikistan Tax Identification Number |
// | Tanzania | `tz_vat` | Tanzania VAT Number |
// | Thailand | `th_vat` | Thai VAT |
// | Turkey | `tr_tin` | Turkish Tax Identification Number |
// | Uganda | `ug_tin` | Uganda Tax Identification Number |
// | Ukraine | `ua_vat` | Ukrainian VAT |
// | United Arab Emirates | `ae_trn` | United Arab Emirates TRN |
// | United Kingdom | `gb_vat` | United Kingdom VAT Number |
// | United States | `us_ein` | United States EIN |
// | Uruguay | `uy_ruc` | Uruguayan RUC Number |
// | Uzbekistan | `uz_tin` | Uzbekistan TIN Number |
// | Uzbekistan | `uz_vat` | Uzbekistan VAT Number |
// | Venezuela | `ve_rif` | Venezuelan RIF Number |
// | Vietnam | `vn_tin` | Vietnamese Tax ID Number |
// | Zambia | `zm_tin` | Zambia Tax Identification Number |
// | Zimbabwe | `zw_tin` | Zimbabwe Tax Identification Number |
//
// This is an alias to an internal type.
type CustomerTaxID = shared.CustomerTaxID
// This is an alias to an internal type.
type CustomerTaxIDCountry = shared.CustomerTaxIDCountry
// This is an alias to an internal value.
const CustomerTaxIDCountryAd = shared.CustomerTaxIDCountryAd
// This is an alias to an internal value.
const CustomerTaxIDCountryAe = shared.CustomerTaxIDCountryAe
// This is an alias to an internal value.
const CustomerTaxIDCountryAl = shared.CustomerTaxIDCountryAl
// This is an alias to an internal value.
const CustomerTaxIDCountryAm = shared.CustomerTaxIDCountryAm
// This is an alias to an internal value.
const CustomerTaxIDCountryAo = shared.CustomerTaxIDCountryAo
// This is an alias to an internal value.
const CustomerTaxIDCountryAr = shared.CustomerTaxIDCountryAr
// This is an alias to an internal value.
const CustomerTaxIDCountryAt = shared.CustomerTaxIDCountryAt
// This is an alias to an internal value.
const CustomerTaxIDCountryAu = shared.CustomerTaxIDCountryAu
// This is an alias to an internal value.
const CustomerTaxIDCountryAw = shared.CustomerTaxIDCountryAw
// This is an alias to an internal value.
const CustomerTaxIDCountryAz = shared.CustomerTaxIDCountryAz
// This is an alias to an internal value.
const CustomerTaxIDCountryBa = shared.CustomerTaxIDCountryBa
// This is an alias to an internal value.
const CustomerTaxIDCountryBb = shared.CustomerTaxIDCountryBb
// This is an alias to an internal value.
const CustomerTaxIDCountryBd = shared.CustomerTaxIDCountryBd
// This is an alias to an internal value.
const CustomerTaxIDCountryBe = shared.CustomerTaxIDCountryBe
// This is an alias to an internal value.
const CustomerTaxIDCountryBf = shared.CustomerTaxIDCountryBf
// This is an alias to an internal value.
const CustomerTaxIDCountryBg = shared.CustomerTaxIDCountryBg
// This is an alias to an internal value.
const CustomerTaxIDCountryBh = shared.CustomerTaxIDCountryBh
// This is an alias to an internal value.
const CustomerTaxIDCountryBj = shared.CustomerTaxIDCountryBj
// This is an alias to an internal value.
const CustomerTaxIDCountryBo = shared.CustomerTaxIDCountryBo
// This is an alias to an internal value.
const CustomerTaxIDCountryBr = shared.CustomerTaxIDCountryBr
// This is an alias to an internal value.
const CustomerTaxIDCountryBs = shared.CustomerTaxIDCountryBs
// This is an alias to an internal value.
const CustomerTaxIDCountryBy = shared.CustomerTaxIDCountryBy
// This is an alias to an internal value.
const CustomerTaxIDCountryCa = shared.CustomerTaxIDCountryCa
// This is an alias to an internal value.
const CustomerTaxIDCountryCd = shared.CustomerTaxIDCountryCd
// This is an alias to an internal value.
const CustomerTaxIDCountryCh = shared.CustomerTaxIDCountryCh
// This is an alias to an internal value.
const CustomerTaxIDCountryCl = shared.CustomerTaxIDCountryCl
// This is an alias to an internal value.
const CustomerTaxIDCountryCm = shared.CustomerTaxIDCountryCm
// This is an alias to an internal value.
const CustomerTaxIDCountryCn = shared.CustomerTaxIDCountryCn
// This is an alias to an internal value.
const CustomerTaxIDCountryCo = shared.CustomerTaxIDCountryCo
// This is an alias to an internal value.
const CustomerTaxIDCountryCr = shared.CustomerTaxIDCountryCr
// This is an alias to an internal value.
const CustomerTaxIDCountryCv = shared.CustomerTaxIDCountryCv
// This is an alias to an internal value.
const CustomerTaxIDCountryDe = shared.CustomerTaxIDCountryDe
// This is an alias to an internal value.
const CustomerTaxIDCountryCy = shared.CustomerTaxIDCountryCy
// This is an alias to an internal value.
const CustomerTaxIDCountryCz = shared.CustomerTaxIDCountryCz
// This is an alias to an internal value.
const CustomerTaxIDCountryDk = shared.CustomerTaxIDCountryDk
// This is an alias to an internal value.
const CustomerTaxIDCountryDo = shared.CustomerTaxIDCountryDo
// This is an alias to an internal value.
const CustomerTaxIDCountryEc = shared.CustomerTaxIDCountryEc
// This is an alias to an internal value.
const CustomerTaxIDCountryEe = shared.CustomerTaxIDCountryEe
// This is an alias to an internal value.
const CustomerTaxIDCountryEg = shared.CustomerTaxIDCountryEg
// This is an alias to an internal value.
const CustomerTaxIDCountryEs = shared.CustomerTaxIDCountryEs
// This is an alias to an internal value.
const CustomerTaxIDCountryEt = shared.CustomerTaxIDCountryEt
// This is an alias to an internal value.
const CustomerTaxIDCountryEu = shared.CustomerTaxIDCountryEu
// This is an alias to an internal value.
const CustomerTaxIDCountryFi = shared.CustomerTaxIDCountryFi
// This is an alias to an internal value.
const CustomerTaxIDCountryFr = shared.CustomerTaxIDCountryFr
// This is an alias to an internal value.
const CustomerTaxIDCountryGB = shared.CustomerTaxIDCountryGB
// This is an alias to an internal value.
const CustomerTaxIDCountryGe = shared.CustomerTaxIDCountryGe
// This is an alias to an internal value.
const CustomerTaxIDCountryGn = shared.CustomerTaxIDCountryGn
// This is an alias to an internal value.
const CustomerTaxIDCountryGr = shared.CustomerTaxIDCountryGr
// This is an alias to an internal value.
const CustomerTaxIDCountryHk = shared.CustomerTaxIDCountryHk
// This is an alias to an internal value.
const CustomerTaxIDCountryHr = shared.CustomerTaxIDCountryHr
// This is an alias to an internal value.
const CustomerTaxIDCountryHu = shared.CustomerTaxIDCountryHu
// This is an alias to an internal value.
const CustomerTaxIDCountryID = shared.CustomerTaxIDCountryID
// This is an alias to an internal value.
const CustomerTaxIDCountryIe = shared.CustomerTaxIDCountryIe
// This is an alias to an internal value.
const CustomerTaxIDCountryIl = shared.CustomerTaxIDCountryIl
// This is an alias to an internal value.
const CustomerTaxIDCountryIn = shared.CustomerTaxIDCountryIn
// This is an alias to an internal value.
const CustomerTaxIDCountryIs = shared.CustomerTaxIDCountryIs
// This is an alias to an internal value.
const CustomerTaxIDCountryIt = shared.CustomerTaxIDCountryIt
// This is an alias to an internal value.
const CustomerTaxIDCountryJp = shared.CustomerTaxIDCountryJp
// This is an alias to an internal value.
const CustomerTaxIDCountryKe = shared.CustomerTaxIDCountryKe
// This is an alias to an internal value.
const CustomerTaxIDCountryKg = shared.CustomerTaxIDCountryKg
// This is an alias to an internal value.
const CustomerTaxIDCountryKh = shared.CustomerTaxIDCountryKh
// This is an alias to an internal value.
const CustomerTaxIDCountryKr = shared.CustomerTaxIDCountryKr
// This is an alias to an internal value.
const CustomerTaxIDCountryKz = shared.CustomerTaxIDCountryKz
// This is an alias to an internal value.
const CustomerTaxIDCountryLa = shared.CustomerTaxIDCountryLa
// This is an alias to an internal value.
const CustomerTaxIDCountryLi = shared.CustomerTaxIDCountryLi
// This is an alias to an internal value.
const CustomerTaxIDCountryLt = shared.CustomerTaxIDCountryLt
// This is an alias to an internal value.
const CustomerTaxIDCountryLu = shared.CustomerTaxIDCountryLu
// This is an alias to an internal value.
const CustomerTaxIDCountryLv = shared.CustomerTaxIDCountryLv
// This is an alias to an internal value.
const CustomerTaxIDCountryMa = shared.CustomerTaxIDCountryMa
// This is an alias to an internal value.
const CustomerTaxIDCountryMd = shared.CustomerTaxIDCountryMd
// This is an alias to an internal value.
const CustomerTaxIDCountryMe = shared.CustomerTaxIDCountryMe
// This is an alias to an internal value.
const CustomerTaxIDCountryMk = shared.CustomerTaxIDCountryMk
// This is an alias to an internal value.
const CustomerTaxIDCountryMr = shared.CustomerTaxIDCountryMr
// This is an alias to an internal value.
const CustomerTaxIDCountryMt = shared.CustomerTaxIDCountryMt
// This is an alias to an internal value.
const CustomerTaxIDCountryMx = shared.CustomerTaxIDCountryMx
// This is an alias to an internal value.
const CustomerTaxIDCountryMy = shared.CustomerTaxIDCountryMy
// This is an alias to an internal value.
const CustomerTaxIDCountryNg = shared.CustomerTaxIDCountryNg
// This is an alias to an internal value.
const CustomerTaxIDCountryNl = shared.CustomerTaxIDCountryNl
// This is an alias to an internal value.
const CustomerTaxIDCountryNo = shared.CustomerTaxIDCountryNo
// This is an alias to an internal value.
const CustomerTaxIDCountryNp = shared.CustomerTaxIDCountryNp
// This is an alias to an internal value.
const CustomerTaxIDCountryNz = shared.CustomerTaxIDCountryNz
// This is an alias to an internal value.
const CustomerTaxIDCountryOm = shared.CustomerTaxIDCountryOm
// This is an alias to an internal value.
const CustomerTaxIDCountryPe = shared.CustomerTaxIDCountryPe
// This is an alias to an internal value.
const CustomerTaxIDCountryPh = shared.CustomerTaxIDCountryPh
// This is an alias to an internal value.
const CustomerTaxIDCountryPl = shared.CustomerTaxIDCountryPl
// This is an alias to an internal value.
const CustomerTaxIDCountryPt = shared.CustomerTaxIDCountryPt
// This is an alias to an internal value.
const CustomerTaxIDCountryRo = shared.CustomerTaxIDCountryRo
// This is an alias to an internal value.
const CustomerTaxIDCountryRs = shared.CustomerTaxIDCountryRs
// This is an alias to an internal value.
const CustomerTaxIDCountryRu = shared.CustomerTaxIDCountryRu
// This is an alias to an internal value.
const CustomerTaxIDCountrySa = shared.CustomerTaxIDCountrySa
// This is an alias to an internal value.
const CustomerTaxIDCountrySe = shared.CustomerTaxIDCountrySe
// This is an alias to an internal value.
const CustomerTaxIDCountrySg = shared.CustomerTaxIDCountrySg
// This is an alias to an internal value.
const CustomerTaxIDCountrySi = shared.CustomerTaxIDCountrySi
// This is an alias to an internal value.
const CustomerTaxIDCountrySk = shared.CustomerTaxIDCountrySk
// This is an alias to an internal value.
const CustomerTaxIDCountrySn = shared.CustomerTaxIDCountrySn
// This is an alias to an internal value.
const CustomerTaxIDCountrySr = shared.CustomerTaxIDCountrySr
// This is an alias to an internal value.
const CustomerTaxIDCountrySv = shared.CustomerTaxIDCountrySv
// This is an alias to an internal value.
const CustomerTaxIDCountryTh = shared.CustomerTaxIDCountryTh
// This is an alias to an internal value.
const CustomerTaxIDCountryTj = shared.CustomerTaxIDCountryTj
// This is an alias to an internal value.
const CustomerTaxIDCountryTr = shared.CustomerTaxIDCountryTr
// This is an alias to an internal value.
const CustomerTaxIDCountryTw = shared.CustomerTaxIDCountryTw
// This is an alias to an internal value.
const CustomerTaxIDCountryTz = shared.CustomerTaxIDCountryTz
// This is an alias to an internal value.
const CustomerTaxIDCountryUa = shared.CustomerTaxIDCountryUa
// This is an alias to an internal value.
const CustomerTaxIDCountryUg = shared.CustomerTaxIDCountryUg
// This is an alias to an internal value.
const CustomerTaxIDCountryUs = shared.CustomerTaxIDCountryUs
// This is an alias to an internal value.
const CustomerTaxIDCountryUy = shared.CustomerTaxIDCountryUy
// This is an alias to an internal value.
const CustomerTaxIDCountryUz = shared.CustomerTaxIDCountryUz
// This is an alias to an internal value.
const CustomerTaxIDCountryVe = shared.CustomerTaxIDCountryVe
// This is an alias to an internal value.
const CustomerTaxIDCountryVn = shared.CustomerTaxIDCountryVn
// This is an alias to an internal value.
const CustomerTaxIDCountryZa = shared.CustomerTaxIDCountryZa
// This is an alias to an internal value.
const CustomerTaxIDCountryZm = shared.CustomerTaxIDCountryZm
// This is an alias to an internal value.
const CustomerTaxIDCountryZw = shared.CustomerTaxIDCountryZw
// This is an alias to an internal type.
type CustomerTaxIDType = shared.CustomerTaxIDType
// This is an alias to an internal value.
const CustomerTaxIDTypeAdNrt = shared.CustomerTaxIDTypeAdNrt
// This is an alias to an internal value.
const CustomerTaxIDTypeAeTrn = shared.CustomerTaxIDTypeAeTrn
// This is an alias to an internal value.
const CustomerTaxIDTypeAlTin = shared.CustomerTaxIDTypeAlTin
// This is an alias to an internal value.
const CustomerTaxIDTypeAmTin = shared.CustomerTaxIDTypeAmTin
// This is an alias to an internal value.
const CustomerTaxIDTypeAoTin = shared.CustomerTaxIDTypeAoTin
// This is an alias to an internal value.
const CustomerTaxIDTypeArCuit = shared.CustomerTaxIDTypeArCuit
// This is an alias to an internal value.
const CustomerTaxIDTypeEuVat = shared.CustomerTaxIDTypeEuVat
// This is an alias to an internal value.
const CustomerTaxIDTypeAuAbn = shared.CustomerTaxIDTypeAuAbn
// This is an alias to an internal value.
const CustomerTaxIDTypeAuArn = shared.CustomerTaxIDTypeAuArn
// This is an alias to an internal value.
const CustomerTaxIDTypeAwTin = shared.CustomerTaxIDTypeAwTin
// This is an alias to an internal value.
const CustomerTaxIDTypeAzTin = shared.CustomerTaxIDTypeAzTin
// This is an alias to an internal value.
const CustomerTaxIDTypeBaTin = shared.CustomerTaxIDTypeBaTin
// This is an alias to an internal value.
const CustomerTaxIDTypeBbTin = shared.CustomerTaxIDTypeBbTin
// This is an alias to an internal value.
const CustomerTaxIDTypeBdBin = shared.CustomerTaxIDTypeBdBin
// This is an alias to an internal value.
const CustomerTaxIDTypeBfIfu = shared.CustomerTaxIDTypeBfIfu
// This is an alias to an internal value.
const CustomerTaxIDTypeBgUic = shared.CustomerTaxIDTypeBgUic
// This is an alias to an internal value.
const CustomerTaxIDTypeBhVat = shared.CustomerTaxIDTypeBhVat
// This is an alias to an internal value.
const CustomerTaxIDTypeBjIfu = shared.CustomerTaxIDTypeBjIfu
// This is an alias to an internal value.
const CustomerTaxIDTypeBoTin = shared.CustomerTaxIDTypeBoTin
// This is an alias to an internal value.
const CustomerTaxIDTypeBrCnpj = shared.CustomerTaxIDTypeBrCnpj
// This is an alias to an internal value.
const CustomerTaxIDTypeBrCpf = shared.CustomerTaxIDTypeBrCpf
// This is an alias to an internal value.
const CustomerTaxIDTypeBsTin = shared.CustomerTaxIDTypeBsTin
// This is an alias to an internal value.
const CustomerTaxIDTypeByTin = shared.CustomerTaxIDTypeByTin
// This is an alias to an internal value.
const CustomerTaxIDTypeCaBn = shared.CustomerTaxIDTypeCaBn
// This is an alias to an internal value.
const CustomerTaxIDTypeCaGstHst = shared.CustomerTaxIDTypeCaGstHst
// This is an alias to an internal value.
const CustomerTaxIDTypeCaPstBc = shared.CustomerTaxIDTypeCaPstBc
// This is an alias to an internal value.
const CustomerTaxIDTypeCaPstMB = shared.CustomerTaxIDTypeCaPstMB
// This is an alias to an internal value.
const CustomerTaxIDTypeCaPstSk = shared.CustomerTaxIDTypeCaPstSk
// This is an alias to an internal value.
const CustomerTaxIDTypeCaQst = shared.CustomerTaxIDTypeCaQst
// This is an alias to an internal value.
const CustomerTaxIDTypeCdNif = shared.CustomerTaxIDTypeCdNif
// This is an alias to an internal value.
const CustomerTaxIDTypeChUid = shared.CustomerTaxIDTypeChUid
// This is an alias to an internal value.
const CustomerTaxIDTypeChVat = shared.CustomerTaxIDTypeChVat
// This is an alias to an internal value.
const CustomerTaxIDTypeClTin = shared.CustomerTaxIDTypeClTin
// This is an alias to an internal value.
const CustomerTaxIDTypeCmNiu = shared.CustomerTaxIDTypeCmNiu
// This is an alias to an internal value.
const CustomerTaxIDTypeCnTin = shared.CustomerTaxIDTypeCnTin
// This is an alias to an internal value.
const CustomerTaxIDTypeCoNit = shared.CustomerTaxIDTypeCoNit
// This is an alias to an internal value.
const CustomerTaxIDTypeCrTin = shared.CustomerTaxIDTypeCrTin
// This is an alias to an internal value.
const CustomerTaxIDTypeCvNif = shared.CustomerTaxIDTypeCvNif
// This is an alias to an internal value.
const CustomerTaxIDTypeDeStn = shared.CustomerTaxIDTypeDeStn
// This is an alias to an internal value.
const CustomerTaxIDTypeDoRcn = shared.CustomerTaxIDTypeDoRcn
// This is an alias to an internal value.
const CustomerTaxIDTypeEcRuc = shared.CustomerTaxIDTypeEcRuc
// This is an alias to an internal value.
const CustomerTaxIDTypeEgTin = shared.CustomerTaxIDTypeEgTin
// This is an alias to an internal value.
const CustomerTaxIDTypeEsCif = shared.CustomerTaxIDTypeEsCif
// This is an alias to an internal value.
const CustomerTaxIDTypeEtTin = shared.CustomerTaxIDTypeEtTin
// This is an alias to an internal value.
const CustomerTaxIDTypeEuOssVat = shared.CustomerTaxIDTypeEuOssVat
// This is an alias to an internal value.
const CustomerTaxIDTypeGBVat = shared.CustomerTaxIDTypeGBVat
// This is an alias to an internal value.
const CustomerTaxIDTypeGeVat = shared.CustomerTaxIDTypeGeVat
// This is an alias to an internal value.
const CustomerTaxIDTypeGnNif = shared.CustomerTaxIDTypeGnNif
// This is an alias to an internal value.
const CustomerTaxIDTypeHkBr = shared.CustomerTaxIDTypeHkBr
// This is an alias to an internal value.
const CustomerTaxIDTypeHrOib = shared.CustomerTaxIDTypeHrOib
// This is an alias to an internal value.
const CustomerTaxIDTypeHuTin = shared.CustomerTaxIDTypeHuTin
// This is an alias to an internal value.
const CustomerTaxIDTypeIDNpwp = shared.CustomerTaxIDTypeIDNpwp
// This is an alias to an internal value.
const CustomerTaxIDTypeIlVat = shared.CustomerTaxIDTypeIlVat
// This is an alias to an internal value.
const CustomerTaxIDTypeInGst = shared.CustomerTaxIDTypeInGst
// This is an alias to an internal value.
const CustomerTaxIDTypeIsVat = shared.CustomerTaxIDTypeIsVat
// This is an alias to an internal value.
const CustomerTaxIDTypeJpCn = shared.CustomerTaxIDTypeJpCn
// This is an alias to an internal value.
const CustomerTaxIDTypeJpRn = shared.CustomerTaxIDTypeJpRn
// This is an alias to an internal value.
const CustomerTaxIDTypeJpTrn = shared.CustomerTaxIDTypeJpTrn
// This is an alias to an internal value.
const CustomerTaxIDTypeKePin = shared.CustomerTaxIDTypeKePin
// This is an alias to an internal value.
const CustomerTaxIDTypeKgTin = shared.CustomerTaxIDTypeKgTin
// This is an alias to an internal value.
const CustomerTaxIDTypeKhTin = shared.CustomerTaxIDTypeKhTin
// This is an alias to an internal value.
const CustomerTaxIDTypeKrBrn = shared.CustomerTaxIDTypeKrBrn
// This is an alias to an internal value.
const CustomerTaxIDTypeKzBin = shared.CustomerTaxIDTypeKzBin
// This is an alias to an internal value.
const CustomerTaxIDTypeLaTin = shared.CustomerTaxIDTypeLaTin
// This is an alias to an internal value.
const CustomerTaxIDTypeLiUid = shared.CustomerTaxIDTypeLiUid
// This is an alias to an internal value.
const CustomerTaxIDTypeLiVat = shared.CustomerTaxIDTypeLiVat
// This is an alias to an internal value.
const CustomerTaxIDTypeMaVat = shared.CustomerTaxIDTypeMaVat
// This is an alias to an internal value.
const CustomerTaxIDTypeMdVat = shared.CustomerTaxIDTypeMdVat
// This is an alias to an internal value.
const CustomerTaxIDTypeMePib = shared.CustomerTaxIDTypeMePib
// This is an alias to an internal value.
const CustomerTaxIDTypeMkVat = shared.CustomerTaxIDTypeMkVat
// This is an alias to an internal value.
const CustomerTaxIDTypeMrNif = shared.CustomerTaxIDTypeMrNif
// This is an alias to an internal value.
const CustomerTaxIDTypeMxRfc = shared.CustomerTaxIDTypeMxRfc
// This is an alias to an internal value.
const CustomerTaxIDTypeMyFrp = shared.CustomerTaxIDTypeMyFrp
// This is an alias to an internal value.
const CustomerTaxIDTypeMyItn = shared.CustomerTaxIDTypeMyItn
// This is an alias to an internal value.
const CustomerTaxIDTypeMySst = shared.CustomerTaxIDTypeMySst
// This is an alias to an internal value.
const CustomerTaxIDTypeNgTin = shared.CustomerTaxIDTypeNgTin
// This is an alias to an internal value.
const CustomerTaxIDTypeNoVat = shared.CustomerTaxIDTypeNoVat
// This is an alias to an internal value.
const CustomerTaxIDTypeNoVoec = shared.CustomerTaxIDTypeNoVoec
// This is an alias to an internal value.
const CustomerTaxIDTypeNpPan = shared.CustomerTaxIDTypeNpPan
// This is an alias to an internal value.
const CustomerTaxIDTypeNzGst = shared.CustomerTaxIDTypeNzGst
// This is an alias to an internal value.
const CustomerTaxIDTypeOmVat = shared.CustomerTaxIDTypeOmVat
// This is an alias to an internal value.
const CustomerTaxIDTypePeRuc = shared.CustomerTaxIDTypePeRuc
// This is an alias to an internal value.
const CustomerTaxIDTypePhTin = shared.CustomerTaxIDTypePhTin
// This is an alias to an internal value.
const CustomerTaxIDTypeRoTin = shared.CustomerTaxIDTypeRoTin
// This is an alias to an internal value.
const CustomerTaxIDTypeRsPib = shared.CustomerTaxIDTypeRsPib