fixer-fix 0.10.1

Generated FIX protocol types for fixer
Documentation
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
// Code generated by fixer-gen. DO NOT EDIT.
#![allow(clippy::new_without_default)]
#![allow(clippy::needless_pass_by_value)]
#![allow(clippy::too_many_arguments)]
#![allow(unused_imports)]

use fixer::message::Message;
use fixer::fix_string::FIXString;
use fixer::errors::MessageRejectErrorEnum;
use fixer::session::session_id::SessionID;

use rust_decimal::Decimal;


use crate::field;
use crate::tag;

/// `DerivativeSecurityListRequest` is the `fix50sp1` `DerivativeSecurityListRequest` type, `MsgType` = z.
pub struct DerivativeSecurityListRequest {
    pub message: Message,
}

impl DerivativeSecurityListRequest {
    /// Creates a new `DerivativeSecurityListRequest` with required fields.
    pub fn new(security_req_id: field::SecurityReqIDField, security_list_request_type: field::SecurityListRequestTypeField) -> Self {
        let mut msg = Message::new();
        msg.header.set_field(tag::MSG_TYPE, FIXString::from("z".to_string()));

        msg.body.set_field(tag::SECURITY_REQ_ID, security_req_id.0);

        msg.body.set_field(tag::SECURITY_LIST_REQUEST_TYPE, security_list_request_type.0);

        Self { message: msg }
    }

    /// Creates a `DerivativeSecurityListRequest` from an existing `Message`.
    pub fn from_message(msg: Message) -> Self {
        Self { message: msg }
    }

    /// Returns the underlying `Message`.
    pub fn to_message(self) -> Message {
        self.message
    }




    /// Sets `Currency`, Tag 15.
    pub fn set_currency(&mut self, v: String) {
        self.message.body.set_field(tag::CURRENCY, FIXString::from(v));
    }

    /// Gets `Currency`, Tag 15.
    pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::CurrencyField::new(String::new());
        self.message.body.get_field(tag::CURRENCY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `Currency` is present, Tag 15.
    pub fn has_currency(&self) -> bool {
        self.message.body.has(tag::CURRENCY)
    }




    /// Sets `DerivFlexProductEligibilityIndicator`, Tag 1243.
    pub fn set_deriv_flex_product_eligibility_indicator(&mut self, v: bool) {
        self.message.body.set_field(tag::DERIV_FLEX_PRODUCT_ELIGIBILITY_INDICATOR, fixer::fix_boolean::FIXBoolean::from(v));
    }

    /// Gets `DerivFlexProductEligibilityIndicator`, Tag 1243.
    pub fn get_deriv_flex_product_eligibility_indicator(&self) -> Result<bool, MessageRejectErrorEnum> {
        let mut fld = field::DerivFlexProductEligibilityIndicatorField::new(false);
        self.message.body.get_field(tag::DERIV_FLEX_PRODUCT_ELIGIBILITY_INDICATOR, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivFlexProductEligibilityIndicator` is present, Tag 1243.
    pub fn has_deriv_flex_product_eligibility_indicator(&self) -> bool {
        self.message.body.has(tag::DERIV_FLEX_PRODUCT_ELIGIBILITY_INDICATOR)
    }




    /// Sets `DerivativeCFICode`, Tag 1248.
    pub fn set_derivative_cfi_code(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_CFI_CODE, FIXString::from(v));
    }

    /// Gets `DerivativeCFICode`, Tag 1248.
    pub fn get_derivative_cfi_code(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeCFICodeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_CFI_CODE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeCFICode` is present, Tag 1248.
    pub fn has_derivative_cfi_code(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_CFI_CODE)
    }




    /// Sets `DerivativeCapPrice`, Tag 1321.
    pub fn set_derivative_cap_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_CAP_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeCapPrice`, Tag 1321.
    pub fn get_derivative_cap_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeCapPriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_CAP_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeCapPrice` is present, Tag 1321.
    pub fn has_derivative_cap_price(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_CAP_PRICE)
    }




    /// Sets `DerivativeContractMultiplier`, Tag 1266.
    pub fn set_derivative_contract_multiplier(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_CONTRACT_MULTIPLIER, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeContractMultiplier`, Tag 1266.
    pub fn get_derivative_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeContractMultiplierField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_CONTRACT_MULTIPLIER, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeContractMultiplier` is present, Tag 1266.
    pub fn has_derivative_contract_multiplier(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_CONTRACT_MULTIPLIER)
    }




    /// Sets `DerivativeContractSettlMonth`, Tag 1285.
    pub fn set_derivative_contract_settl_month(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_CONTRACT_SETTL_MONTH, FIXString::from(v));
    }

    /// Gets `DerivativeContractSettlMonth`, Tag 1285.
    pub fn get_derivative_contract_settl_month(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeContractSettlMonthField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_CONTRACT_SETTL_MONTH, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeContractSettlMonth` is present, Tag 1285.
    pub fn has_derivative_contract_settl_month(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_CONTRACT_SETTL_MONTH)
    }




    /// Sets `DerivativeCountryOfIssue`, Tag 1258.
    pub fn set_derivative_country_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_COUNTRY_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `DerivativeCountryOfIssue`, Tag 1258.
    pub fn get_derivative_country_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeCountryOfIssueField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_COUNTRY_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeCountryOfIssue` is present, Tag 1258.
    pub fn has_derivative_country_of_issue(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_COUNTRY_OF_ISSUE)
    }




    /// Sets `DerivativeEncodedIssuer`, Tag 1278.
    pub fn set_derivative_encoded_issuer(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_ENCODED_ISSUER, FIXString::from(v));
    }

    /// Gets `DerivativeEncodedIssuer`, Tag 1278.
    pub fn get_derivative_encoded_issuer(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeEncodedIssuerField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_ENCODED_ISSUER, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeEncodedIssuer` is present, Tag 1278.
    pub fn has_derivative_encoded_issuer(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ENCODED_ISSUER)
    }




    /// Sets `DerivativeEncodedIssuerLen`, Tag 1277.
    pub fn set_derivative_encoded_issuer_len(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_ENCODED_ISSUER_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeEncodedIssuerLen`, Tag 1277.
    pub fn get_derivative_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeEncodedIssuerLenField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_ENCODED_ISSUER_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeEncodedIssuerLen` is present, Tag 1277.
    pub fn has_derivative_encoded_issuer_len(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ENCODED_ISSUER_LEN)
    }




    /// Sets `DerivativeEncodedSecurityDesc`, Tag 1281.
    pub fn set_derivative_encoded_security_desc(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_ENCODED_SECURITY_DESC, FIXString::from(v));
    }

    /// Gets `DerivativeEncodedSecurityDesc`, Tag 1281.
    pub fn get_derivative_encoded_security_desc(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeEncodedSecurityDescField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_ENCODED_SECURITY_DESC, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeEncodedSecurityDesc` is present, Tag 1281.
    pub fn has_derivative_encoded_security_desc(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ENCODED_SECURITY_DESC)
    }




    /// Sets `DerivativeEncodedSecurityDescLen`, Tag 1280.
    pub fn set_derivative_encoded_security_desc_len(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_ENCODED_SECURITY_DESC_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeEncodedSecurityDescLen`, Tag 1280.
    pub fn get_derivative_encoded_security_desc_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeEncodedSecurityDescLenField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_ENCODED_SECURITY_DESC_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeEncodedSecurityDescLen` is present, Tag 1280.
    pub fn has_derivative_encoded_security_desc_len(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ENCODED_SECURITY_DESC_LEN)
    }




    /// Sets `DerivativeExerciseStyle`, Tag 1299.
    pub fn set_derivative_exercise_style(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_EXERCISE_STYLE, FIXString::from(v));
    }

    /// Gets `DerivativeExerciseStyle`, Tag 1299.
    pub fn get_derivative_exercise_style(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeExerciseStyleField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_EXERCISE_STYLE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeExerciseStyle` is present, Tag 1299.
    pub fn has_derivative_exercise_style(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_EXERCISE_STYLE)
    }




    /// Sets `DerivativeFloorPrice`, Tag 1322.
    pub fn set_derivative_floor_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_FLOOR_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeFloorPrice`, Tag 1322.
    pub fn get_derivative_floor_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeFloorPriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_FLOOR_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeFloorPrice` is present, Tag 1322.
    pub fn has_derivative_floor_price(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_FLOOR_PRICE)
    }




    /// Sets `DerivativeFuturesValuationMethod`, Tag 1319.
    pub fn set_derivative_futures_valuation_method(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_FUTURES_VALUATION_METHOD, FIXString::from(v));
    }

    /// Gets `DerivativeFuturesValuationMethod`, Tag 1319.
    pub fn get_derivative_futures_valuation_method(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeFuturesValuationMethodField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_FUTURES_VALUATION_METHOD, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeFuturesValuationMethod` is present, Tag 1319.
    pub fn has_derivative_futures_valuation_method(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_FUTURES_VALUATION_METHOD)
    }




    /// Sets `DerivativeInstrRegistry`, Tag 1257.
    pub fn set_derivative_instr_registry(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_INSTR_REGISTRY, FIXString::from(v));
    }

    /// Gets `DerivativeInstrRegistry`, Tag 1257.
    pub fn get_derivative_instr_registry(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeInstrRegistryField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_INSTR_REGISTRY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeInstrRegistry` is present, Tag 1257.
    pub fn has_derivative_instr_registry(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_INSTR_REGISTRY)
    }




    /// Sets `DerivativeInstrmtAssignmentMethod`, Tag 1255.
    pub fn set_derivative_instrmt_assignment_method(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_INSTRMT_ASSIGNMENT_METHOD, FIXString::from(v));
    }

    /// Gets `DerivativeInstrmtAssignmentMethod`, Tag 1255.
    pub fn get_derivative_instrmt_assignment_method(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeInstrmtAssignmentMethodField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_INSTRMT_ASSIGNMENT_METHOD, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeInstrmtAssignmentMethod` is present, Tag 1255.
    pub fn has_derivative_instrmt_assignment_method(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_INSTRMT_ASSIGNMENT_METHOD)
    }




    /// Sets `DerivativeIssueDate`, Tag 1276.
    pub fn set_derivative_issue_date(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_ISSUE_DATE, FIXString::from(v));
    }

    /// Gets `DerivativeIssueDate`, Tag 1276.
    pub fn get_derivative_issue_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeIssueDateField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_ISSUE_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeIssueDate` is present, Tag 1276.
    pub fn has_derivative_issue_date(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ISSUE_DATE)
    }




    /// Sets `DerivativeIssuer`, Tag 1275.
    pub fn set_derivative_issuer(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_ISSUER, FIXString::from(v));
    }

    /// Gets `DerivativeIssuer`, Tag 1275.
    pub fn get_derivative_issuer(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeIssuerField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_ISSUER, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeIssuer` is present, Tag 1275.
    pub fn has_derivative_issuer(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_ISSUER)
    }




    /// Sets `DerivativeListMethod`, Tag 1320.
    pub fn set_derivative_list_method(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_LIST_METHOD, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeListMethod`, Tag 1320.
    pub fn get_derivative_list_method(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeListMethodField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_LIST_METHOD, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeListMethod` is present, Tag 1320.
    pub fn has_derivative_list_method(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_LIST_METHOD)
    }




    /// Sets `DerivativeLocaleOfIssue`, Tag 1260.
    pub fn set_derivative_locale_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_LOCALE_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `DerivativeLocaleOfIssue`, Tag 1260.
    pub fn get_derivative_locale_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeLocaleOfIssueField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_LOCALE_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeLocaleOfIssue` is present, Tag 1260.
    pub fn has_derivative_locale_of_issue(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_LOCALE_OF_ISSUE)
    }




    /// Sets `DerivativeMaturityDate`, Tag 1252.
    pub fn set_derivative_maturity_date(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_MATURITY_DATE, FIXString::from(v));
    }

    /// Gets `DerivativeMaturityDate`, Tag 1252.
    pub fn get_derivative_maturity_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeMaturityDateField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_MATURITY_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeMaturityDate` is present, Tag 1252.
    pub fn has_derivative_maturity_date(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_MATURITY_DATE)
    }




    /// Sets `DerivativeMaturityMonthYear`, Tag 1251.
    pub fn set_derivative_maturity_month_year(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_MATURITY_MONTH_YEAR, FIXString::from(v));
    }

    /// Gets `DerivativeMaturityMonthYear`, Tag 1251.
    pub fn get_derivative_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeMaturityMonthYearField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_MATURITY_MONTH_YEAR, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeMaturityMonthYear` is present, Tag 1251.
    pub fn has_derivative_maturity_month_year(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_MATURITY_MONTH_YEAR)
    }




    /// Sets `DerivativeMaturityTime`, Tag 1253.
    pub fn set_derivative_maturity_time(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_MATURITY_TIME, FIXString::from(v));
    }

    /// Gets `DerivativeMaturityTime`, Tag 1253.
    pub fn get_derivative_maturity_time(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeMaturityTimeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_MATURITY_TIME, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeMaturityTime` is present, Tag 1253.
    pub fn has_derivative_maturity_time(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_MATURITY_TIME)
    }




    /// Sets `DerivativeMinPriceIncrement`, Tag 1267.
    pub fn set_derivative_min_price_increment(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_MIN_PRICE_INCREMENT, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeMinPriceIncrement`, Tag 1267.
    pub fn get_derivative_min_price_increment(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeMinPriceIncrementField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_MIN_PRICE_INCREMENT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeMinPriceIncrement` is present, Tag 1267.
    pub fn has_derivative_min_price_increment(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_MIN_PRICE_INCREMENT)
    }




    /// Sets `DerivativeMinPriceIncrementAmount`, Tag 1268.
    pub fn set_derivative_min_price_increment_amount(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_MIN_PRICE_INCREMENT_AMOUNT, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeMinPriceIncrementAmount`, Tag 1268.
    pub fn get_derivative_min_price_increment_amount(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeMinPriceIncrementAmountField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_MIN_PRICE_INCREMENT_AMOUNT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeMinPriceIncrementAmount` is present, Tag 1268.
    pub fn has_derivative_min_price_increment_amount(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_MIN_PRICE_INCREMENT_AMOUNT)
    }




    /// Sets `DerivativeNTPositionLimit`, Tag 1274.
    pub fn set_derivative_nt_position_limit(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_NT_POSITION_LIMIT, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeNTPositionLimit`, Tag 1274.
    pub fn get_derivative_nt_position_limit(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeNTPositionLimitField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_NT_POSITION_LIMIT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeNTPositionLimit` is present, Tag 1274.
    pub fn has_derivative_nt_position_limit(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_NT_POSITION_LIMIT)
    }




    /// Sets `DerivativeOptAttribute`, Tag 1265.
    pub fn set_derivative_opt_attribute(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_OPT_ATTRIBUTE, FIXString::from(v));
    }

    /// Gets `DerivativeOptAttribute`, Tag 1265.
    pub fn get_derivative_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeOptAttributeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_OPT_ATTRIBUTE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeOptAttribute` is present, Tag 1265.
    pub fn has_derivative_opt_attribute(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_OPT_ATTRIBUTE)
    }




    /// Sets `DerivativeOptPayAmount`, Tag 1225.
    pub fn set_derivative_opt_pay_amount(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_OPT_PAY_AMOUNT, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeOptPayAmount`, Tag 1225.
    pub fn get_derivative_opt_pay_amount(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeOptPayAmountField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_OPT_PAY_AMOUNT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeOptPayAmount` is present, Tag 1225.
    pub fn has_derivative_opt_pay_amount(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_OPT_PAY_AMOUNT)
    }




    /// Sets `DerivativePositionLimit`, Tag 1273.
    pub fn set_derivative_position_limit(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_POSITION_LIMIT, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativePositionLimit`, Tag 1273.
    pub fn get_derivative_position_limit(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativePositionLimitField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_POSITION_LIMIT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativePositionLimit` is present, Tag 1273.
    pub fn has_derivative_position_limit(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_POSITION_LIMIT)
    }




    /// Sets `DerivativePriceQuoteMethod`, Tag 1318.
    pub fn set_derivative_price_quote_method(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_PRICE_QUOTE_METHOD, FIXString::from(v));
    }

    /// Gets `DerivativePriceQuoteMethod`, Tag 1318.
    pub fn get_derivative_price_quote_method(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativePriceQuoteMethodField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_PRICE_QUOTE_METHOD, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativePriceQuoteMethod` is present, Tag 1318.
    pub fn has_derivative_price_quote_method(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PRICE_QUOTE_METHOD)
    }




    /// Sets `DerivativePriceUnitOfMeasure`, Tag 1315.
    pub fn set_derivative_price_unit_of_measure(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE, FIXString::from(v));
    }

    /// Gets `DerivativePriceUnitOfMeasure`, Tag 1315.
    pub fn get_derivative_price_unit_of_measure(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativePriceUnitOfMeasureField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativePriceUnitOfMeasure` is present, Tag 1315.
    pub fn has_derivative_price_unit_of_measure(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE)
    }




    /// Sets `DerivativePriceUnitOfMeasureQty`, Tag 1316.
    pub fn set_derivative_price_unit_of_measure_qty(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE_QTY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativePriceUnitOfMeasureQty`, Tag 1316.
    pub fn get_derivative_price_unit_of_measure_qty(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativePriceUnitOfMeasureQtyField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE_QTY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativePriceUnitOfMeasureQty` is present, Tag 1316.
    pub fn has_derivative_price_unit_of_measure_qty(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PRICE_UNIT_OF_MEASURE_QTY)
    }




    /// Sets `DerivativeProduct`, Tag 1246.
    pub fn set_derivative_product(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_PRODUCT, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeProduct`, Tag 1246.
    pub fn get_derivative_product(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeProductField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_PRODUCT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeProduct` is present, Tag 1246.
    pub fn has_derivative_product(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PRODUCT)
    }




    /// Sets `DerivativeProductComplex`, Tag 1228.
    pub fn set_derivative_product_complex(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_PRODUCT_COMPLEX, FIXString::from(v));
    }

    /// Gets `DerivativeProductComplex`, Tag 1228.
    pub fn get_derivative_product_complex(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeProductComplexField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_PRODUCT_COMPLEX, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeProductComplex` is present, Tag 1228.
    pub fn has_derivative_product_complex(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PRODUCT_COMPLEX)
    }




    /// Sets `DerivativePutOrCall`, Tag 1323.
    pub fn set_derivative_put_or_call(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_PUT_OR_CALL, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativePutOrCall`, Tag 1323.
    pub fn get_derivative_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativePutOrCallField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_PUT_OR_CALL, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativePutOrCall` is present, Tag 1323.
    pub fn has_derivative_put_or_call(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_PUT_OR_CALL)
    }




    /// Sets `DerivativeSecurityDesc`, Tag 1279.
    pub fn set_derivative_security_desc(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_DESC, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityDesc`, Tag 1279.
    pub fn get_derivative_security_desc(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityDescField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_DESC, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityDesc` is present, Tag 1279.
    pub fn has_derivative_security_desc(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_DESC)
    }




    /// Sets `DerivativeSecurityExchange`, Tag 1272.
    pub fn set_derivative_security_exchange(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_EXCHANGE, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityExchange`, Tag 1272.
    pub fn get_derivative_security_exchange(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityExchangeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_EXCHANGE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityExchange` is present, Tag 1272.
    pub fn has_derivative_security_exchange(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_EXCHANGE)
    }




    /// Sets `DerivativeSecurityGroup`, Tag 1247.
    pub fn set_derivative_security_group(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_GROUP, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityGroup`, Tag 1247.
    pub fn get_derivative_security_group(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityGroupField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_GROUP, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityGroup` is present, Tag 1247.
    pub fn has_derivative_security_group(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_GROUP)
    }




    /// Sets `DerivativeSecurityID`, Tag 1216.
    pub fn set_derivative_security_id(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_ID, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityID`, Tag 1216.
    pub fn get_derivative_security_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityIDField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityID` is present, Tag 1216.
    pub fn has_derivative_security_id(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_ID)
    }




    /// Sets `DerivativeSecurityIDSource`, Tag 1217.
    pub fn set_derivative_security_id_source(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_ID_SOURCE, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityIDSource`, Tag 1217.
    pub fn get_derivative_security_id_source(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityIDSourceField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_ID_SOURCE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityIDSource` is present, Tag 1217.
    pub fn has_derivative_security_id_source(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_ID_SOURCE)
    }




    /// Sets `DerivativeSecurityStatus`, Tag 1256.
    pub fn set_derivative_security_status(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_STATUS, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityStatus`, Tag 1256.
    pub fn get_derivative_security_status(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityStatusField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_STATUS, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityStatus` is present, Tag 1256.
    pub fn has_derivative_security_status(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_STATUS)
    }




    /// Sets `DerivativeSecuritySubType`, Tag 1250.
    pub fn set_derivative_security_sub_type(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_SUB_TYPE, FIXString::from(v));
    }

    /// Gets `DerivativeSecuritySubType`, Tag 1250.
    pub fn get_derivative_security_sub_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecuritySubTypeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_SUB_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecuritySubType` is present, Tag 1250.
    pub fn has_derivative_security_sub_type(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_SUB_TYPE)
    }




    /// Sets `DerivativeSecurityType`, Tag 1249.
    pub fn set_derivative_security_type(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_TYPE, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityType`, Tag 1249.
    pub fn get_derivative_security_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityTypeField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityType` is present, Tag 1249.
    pub fn has_derivative_security_type(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_TYPE)
    }




    /// Sets `DerivativeSecurityXML`, Tag 1283.
    pub fn set_derivative_security_xml(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_XML, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityXML`, Tag 1283.
    pub fn get_derivative_security_xml(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityXMLField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_XML, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityXML` is present, Tag 1283.
    pub fn has_derivative_security_xml(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_XML)
    }




    /// Sets `DerivativeSecurityXMLLen`, Tag 1282.
    pub fn set_derivative_security_xml_len(&mut self, v: isize) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_XML_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `DerivativeSecurityXMLLen`, Tag 1282.
    pub fn get_derivative_security_xml_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityXMLLenField::new(0);
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_XML_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeSecurityXMLLen` is present, Tag 1282.
    pub fn has_derivative_security_xml_len(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_XML_LEN)
    }




    /// Sets `DerivativeSecurityXMLSchema`, Tag 1284.
    pub fn set_derivative_security_xml_schema(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SECURITY_XML_SCHEMA, FIXString::from(v));
    }

    /// Gets `DerivativeSecurityXMLSchema`, Tag 1284.
    pub fn get_derivative_security_xml_schema(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSecurityXMLSchemaField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SECURITY_XML_SCHEMA, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSecurityXMLSchema` is present, Tag 1284.
    pub fn has_derivative_security_xml_schema(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SECURITY_XML_SCHEMA)
    }




    /// Sets `DerivativeSettlMethod`, Tag 1317.
    pub fn set_derivative_settl_method(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SETTL_METHOD, FIXString::from(v));
    }

    /// Gets `DerivativeSettlMethod`, Tag 1317.
    pub fn get_derivative_settl_method(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSettlMethodField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SETTL_METHOD, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSettlMethod` is present, Tag 1317.
    pub fn has_derivative_settl_method(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SETTL_METHOD)
    }




    /// Sets `DerivativeSettleOnOpenFlag`, Tag 1254.
    pub fn set_derivative_settle_on_open_flag(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SETTLE_ON_OPEN_FLAG, FIXString::from(v));
    }

    /// Gets `DerivativeSettleOnOpenFlag`, Tag 1254.
    pub fn get_derivative_settle_on_open_flag(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSettleOnOpenFlagField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SETTLE_ON_OPEN_FLAG, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSettleOnOpenFlag` is present, Tag 1254.
    pub fn has_derivative_settle_on_open_flag(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SETTLE_ON_OPEN_FLAG)
    }




    /// Sets `DerivativeStateOrProvinceOfIssue`, Tag 1259.
    pub fn set_derivative_state_or_province_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_STATE_OR_PROVINCE_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `DerivativeStateOrProvinceOfIssue`, Tag 1259.
    pub fn get_derivative_state_or_province_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeStateOrProvinceOfIssueField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_STATE_OR_PROVINCE_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeStateOrProvinceOfIssue` is present, Tag 1259.
    pub fn has_derivative_state_or_province_of_issue(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_STATE_OR_PROVINCE_OF_ISSUE)
    }




    /// Sets `DerivativeStrikeCurrency`, Tag 1262.
    pub fn set_derivative_strike_currency(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_STRIKE_CURRENCY, FIXString::from(v));
    }

    /// Gets `DerivativeStrikeCurrency`, Tag 1262.
    pub fn get_derivative_strike_currency(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeStrikeCurrencyField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_STRIKE_CURRENCY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeStrikeCurrency` is present, Tag 1262.
    pub fn has_derivative_strike_currency(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_STRIKE_CURRENCY)
    }




    /// Sets `DerivativeStrikeMultiplier`, Tag 1263.
    pub fn set_derivative_strike_multiplier(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_STRIKE_MULTIPLIER, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeStrikeMultiplier`, Tag 1263.
    pub fn get_derivative_strike_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeStrikeMultiplierField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_STRIKE_MULTIPLIER, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeStrikeMultiplier` is present, Tag 1263.
    pub fn has_derivative_strike_multiplier(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_STRIKE_MULTIPLIER)
    }




    /// Sets `DerivativeStrikePrice`, Tag 1261.
    pub fn set_derivative_strike_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_STRIKE_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeStrikePrice`, Tag 1261.
    pub fn get_derivative_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeStrikePriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_STRIKE_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeStrikePrice` is present, Tag 1261.
    pub fn has_derivative_strike_price(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_STRIKE_PRICE)
    }




    /// Sets `DerivativeStrikeValue`, Tag 1264.
    pub fn set_derivative_strike_value(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_STRIKE_VALUE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeStrikeValue`, Tag 1264.
    pub fn get_derivative_strike_value(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeStrikeValueField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_STRIKE_VALUE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeStrikeValue` is present, Tag 1264.
    pub fn has_derivative_strike_value(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_STRIKE_VALUE)
    }




    /// Sets `DerivativeSymbol`, Tag 1214.
    pub fn set_derivative_symbol(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SYMBOL, FIXString::from(v));
    }

    /// Gets `DerivativeSymbol`, Tag 1214.
    pub fn get_derivative_symbol(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSymbolField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SYMBOL, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSymbol` is present, Tag 1214.
    pub fn has_derivative_symbol(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SYMBOL)
    }




    /// Sets `DerivativeSymbolSfx`, Tag 1215.
    pub fn set_derivative_symbol_sfx(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_SYMBOL_SFX, FIXString::from(v));
    }

    /// Gets `DerivativeSymbolSfx`, Tag 1215.
    pub fn get_derivative_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeSymbolSfxField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_SYMBOL_SFX, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeSymbolSfx` is present, Tag 1215.
    pub fn has_derivative_symbol_sfx(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_SYMBOL_SFX)
    }




    /// Sets `DerivativeTimeUnit`, Tag 1271.
    pub fn set_derivative_time_unit(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_TIME_UNIT, FIXString::from(v));
    }

    /// Gets `DerivativeTimeUnit`, Tag 1271.
    pub fn get_derivative_time_unit(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeTimeUnitField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_TIME_UNIT, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeTimeUnit` is present, Tag 1271.
    pub fn has_derivative_time_unit(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_TIME_UNIT)
    }




    /// Sets `DerivativeUnitOfMeasure`, Tag 1269.
    pub fn set_derivative_unit_of_measure(&mut self, v: String) {
        self.message.body.set_field(tag::DERIVATIVE_UNIT_OF_MEASURE, FIXString::from(v));
    }

    /// Gets `DerivativeUnitOfMeasure`, Tag 1269.
    pub fn get_derivative_unit_of_measure(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeUnitOfMeasureField::new(String::new());
        self.message.body.get_field(tag::DERIVATIVE_UNIT_OF_MEASURE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `DerivativeUnitOfMeasure` is present, Tag 1269.
    pub fn has_derivative_unit_of_measure(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_UNIT_OF_MEASURE)
    }




    /// Sets `DerivativeUnitOfMeasureQty`, Tag 1270.
    pub fn set_derivative_unit_of_measure_qty(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::DERIVATIVE_UNIT_OF_MEASURE_QTY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `DerivativeUnitOfMeasureQty`, Tag 1270.
    pub fn get_derivative_unit_of_measure_qty(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::DerivativeUnitOfMeasureQtyField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::DERIVATIVE_UNIT_OF_MEASURE_QTY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `DerivativeUnitOfMeasureQty` is present, Tag 1270.
    pub fn has_derivative_unit_of_measure_qty(&self) -> bool {
        self.message.body.has(tag::DERIVATIVE_UNIT_OF_MEASURE_QTY)
    }




    /// Sets `EncodedText`, Tag 355.
    pub fn set_encoded_text(&mut self, v: String) {
        self.message.body.set_field(tag::ENCODED_TEXT, FIXString::from(v));
    }

    /// Gets `EncodedText`, Tag 355.
    pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::EncodedTextField::new(String::new());
        self.message.body.get_field(tag::ENCODED_TEXT, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `EncodedText` is present, Tag 355.
    pub fn has_encoded_text(&self) -> bool {
        self.message.body.has(tag::ENCODED_TEXT)
    }




    /// Sets `EncodedTextLen`, Tag 354.
    pub fn set_encoded_text_len(&mut self, v: isize) {
        self.message.body.set_field(tag::ENCODED_TEXT_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `EncodedTextLen`, Tag 354.
    pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::EncodedTextLenField::new(0);
        self.message.body.get_field(tag::ENCODED_TEXT_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `EncodedTextLen` is present, Tag 354.
    pub fn has_encoded_text_len(&self) -> bool {
        self.message.body.has(tag::ENCODED_TEXT_LEN)
    }




    /// Sets `EncodedUnderlyingIssuer`, Tag 363.
    pub fn set_encoded_underlying_issuer(&mut self, v: String) {
        self.message.body.set_field(tag::ENCODED_UNDERLYING_ISSUER, FIXString::from(v));
    }

    /// Gets `EncodedUnderlyingIssuer`, Tag 363.
    pub fn get_encoded_underlying_issuer(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::EncodedUnderlyingIssuerField::new(String::new());
        self.message.body.get_field(tag::ENCODED_UNDERLYING_ISSUER, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `EncodedUnderlyingIssuer` is present, Tag 363.
    pub fn has_encoded_underlying_issuer(&self) -> bool {
        self.message.body.has(tag::ENCODED_UNDERLYING_ISSUER)
    }




    /// Sets `EncodedUnderlyingIssuerLen`, Tag 362.
    pub fn set_encoded_underlying_issuer_len(&mut self, v: isize) {
        self.message.body.set_field(tag::ENCODED_UNDERLYING_ISSUER_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `EncodedUnderlyingIssuerLen`, Tag 362.
    pub fn get_encoded_underlying_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::EncodedUnderlyingIssuerLenField::new(0);
        self.message.body.get_field(tag::ENCODED_UNDERLYING_ISSUER_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `EncodedUnderlyingIssuerLen` is present, Tag 362.
    pub fn has_encoded_underlying_issuer_len(&self) -> bool {
        self.message.body.has(tag::ENCODED_UNDERLYING_ISSUER_LEN)
    }




    /// Sets `EncodedUnderlyingSecurityDesc`, Tag 365.
    pub fn set_encoded_underlying_security_desc(&mut self, v: String) {
        self.message.body.set_field(tag::ENCODED_UNDERLYING_SECURITY_DESC, FIXString::from(v));
    }

    /// Gets `EncodedUnderlyingSecurityDesc`, Tag 365.
    pub fn get_encoded_underlying_security_desc(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::EncodedUnderlyingSecurityDescField::new(String::new());
        self.message.body.get_field(tag::ENCODED_UNDERLYING_SECURITY_DESC, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `EncodedUnderlyingSecurityDesc` is present, Tag 365.
    pub fn has_encoded_underlying_security_desc(&self) -> bool {
        self.message.body.has(tag::ENCODED_UNDERLYING_SECURITY_DESC)
    }




    /// Sets `EncodedUnderlyingSecurityDescLen`, Tag 364.
    pub fn set_encoded_underlying_security_desc_len(&mut self, v: isize) {
        self.message.body.set_field(tag::ENCODED_UNDERLYING_SECURITY_DESC_LEN, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `EncodedUnderlyingSecurityDescLen`, Tag 364.
    pub fn get_encoded_underlying_security_desc_len(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::EncodedUnderlyingSecurityDescLenField::new(0);
        self.message.body.get_field(tag::ENCODED_UNDERLYING_SECURITY_DESC_LEN, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `EncodedUnderlyingSecurityDescLen` is present, Tag 364.
    pub fn has_encoded_underlying_security_desc_len(&self) -> bool {
        self.message.body.has(tag::ENCODED_UNDERLYING_SECURITY_DESC_LEN)
    }




    /// Sets `MarketID`, Tag 1301.
    pub fn set_market_id(&mut self, v: String) {
        self.message.body.set_field(tag::MARKET_ID, FIXString::from(v));
    }

    /// Gets `MarketID`, Tag 1301.
    pub fn get_market_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::MarketIDField::new(String::new());
        self.message.body.get_field(tag::MARKET_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `MarketID` is present, Tag 1301.
    pub fn has_market_id(&self) -> bool {
        self.message.body.has(tag::MARKET_ID)
    }




    /// Sets `MarketSegmentID`, Tag 1300.
    pub fn set_market_segment_id(&mut self, v: String) {
        self.message.body.set_field(tag::MARKET_SEGMENT_ID, FIXString::from(v));
    }

    /// Gets `MarketSegmentID`, Tag 1300.
    pub fn get_market_segment_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::MarketSegmentIDField::new(String::new());
        self.message.body.get_field(tag::MARKET_SEGMENT_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `MarketSegmentID` is present, Tag 1300.
    pub fn has_market_segment_id(&self) -> bool {
        self.message.body.has(tag::MARKET_SEGMENT_ID)
    }




    /// Sets `NoDerivativeEvents`, Tag 1286.
    pub fn set_no_derivative_events(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_DERIVATIVE_EVENTS, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoDerivativeEvents`, Tag 1286.
    pub fn get_no_derivative_events(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoDerivativeEventsField::new(0);
        self.message.body.get_field(tag::NO_DERIVATIVE_EVENTS, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoDerivativeEvents` is present, Tag 1286.
    pub fn has_no_derivative_events(&self) -> bool {
        self.message.body.has(tag::NO_DERIVATIVE_EVENTS)
    }




    /// Sets `NoDerivativeInstrumentParties`, Tag 1292.
    pub fn set_no_derivative_instrument_parties(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_DERIVATIVE_INSTRUMENT_PARTIES, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoDerivativeInstrumentParties`, Tag 1292.
    pub fn get_no_derivative_instrument_parties(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoDerivativeInstrumentPartiesField::new(0);
        self.message.body.get_field(tag::NO_DERIVATIVE_INSTRUMENT_PARTIES, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoDerivativeInstrumentParties` is present, Tag 1292.
    pub fn has_no_derivative_instrument_parties(&self) -> bool {
        self.message.body.has(tag::NO_DERIVATIVE_INSTRUMENT_PARTIES)
    }




    /// Sets `NoDerivativeSecurityAltID`, Tag 1218.
    pub fn set_no_derivative_security_alt_id(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_DERIVATIVE_SECURITY_ALT_ID, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoDerivativeSecurityAltID`, Tag 1218.
    pub fn get_no_derivative_security_alt_id(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoDerivativeSecurityAltIDField::new(0);
        self.message.body.get_field(tag::NO_DERIVATIVE_SECURITY_ALT_ID, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoDerivativeSecurityAltID` is present, Tag 1218.
    pub fn has_no_derivative_security_alt_id(&self) -> bool {
        self.message.body.has(tag::NO_DERIVATIVE_SECURITY_ALT_ID)
    }




    /// Sets `NoUnderlyingSecurityAltID`, Tag 457.
    pub fn set_no_underlying_security_alt_id(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_UNDERLYING_SECURITY_ALT_ID, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoUnderlyingSecurityAltID`, Tag 457.
    pub fn get_no_underlying_security_alt_id(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoUnderlyingSecurityAltIDField::new(0);
        self.message.body.get_field(tag::NO_UNDERLYING_SECURITY_ALT_ID, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoUnderlyingSecurityAltID` is present, Tag 457.
    pub fn has_no_underlying_security_alt_id(&self) -> bool {
        self.message.body.has(tag::NO_UNDERLYING_SECURITY_ALT_ID)
    }




    /// Sets `NoUnderlyingStips`, Tag 887.
    pub fn set_no_underlying_stips(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_UNDERLYING_STIPS, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoUnderlyingStips`, Tag 887.
    pub fn get_no_underlying_stips(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoUnderlyingStipsField::new(0);
        self.message.body.get_field(tag::NO_UNDERLYING_STIPS, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoUnderlyingStips` is present, Tag 887.
    pub fn has_no_underlying_stips(&self) -> bool {
        self.message.body.has(tag::NO_UNDERLYING_STIPS)
    }




    /// Sets `NoUndlyInstrumentParties`, Tag 1058.
    pub fn set_no_undly_instrument_parties(&mut self, v: isize) {
        self.message.body.set_field(tag::NO_UNDLY_INSTRUMENT_PARTIES, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `NoUndlyInstrumentParties`, Tag 1058.
    pub fn get_no_undly_instrument_parties(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::NoUndlyInstrumentPartiesField::new(0);
        self.message.body.get_field(tag::NO_UNDLY_INSTRUMENT_PARTIES, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `NoUndlyInstrumentParties` is present, Tag 1058.
    pub fn has_no_undly_instrument_parties(&self) -> bool {
        self.message.body.has(tag::NO_UNDLY_INSTRUMENT_PARTIES)
    }




    /// Sets `SecurityListRequestType`, Tag 559.
    pub fn set_security_list_request_type(&mut self, v: isize) {
        self.message.body.set_field(tag::SECURITY_LIST_REQUEST_TYPE, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `SecurityListRequestType`, Tag 559.
    pub fn get_security_list_request_type(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::SecurityListRequestTypeField::new(0);
        self.message.body.get_field(tag::SECURITY_LIST_REQUEST_TYPE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `SecurityListRequestType` is present, Tag 559.
    pub fn has_security_list_request_type(&self) -> bool {
        self.message.body.has(tag::SECURITY_LIST_REQUEST_TYPE)
    }




    /// Sets `SecurityReqID`, Tag 320.
    pub fn set_security_req_id(&mut self, v: String) {
        self.message.body.set_field(tag::SECURITY_REQ_ID, FIXString::from(v));
    }

    /// Gets `SecurityReqID`, Tag 320.
    pub fn get_security_req_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::SecurityReqIDField::new(String::new());
        self.message.body.get_field(tag::SECURITY_REQ_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `SecurityReqID` is present, Tag 320.
    pub fn has_security_req_id(&self) -> bool {
        self.message.body.has(tag::SECURITY_REQ_ID)
    }




    /// Sets `SecuritySubType`, Tag 762.
    pub fn set_security_sub_type(&mut self, v: String) {
        self.message.body.set_field(tag::SECURITY_SUB_TYPE, FIXString::from(v));
    }

    /// Gets `SecuritySubType`, Tag 762.
    pub fn get_security_sub_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::SecuritySubTypeField::new(String::new());
        self.message.body.get_field(tag::SECURITY_SUB_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `SecuritySubType` is present, Tag 762.
    pub fn has_security_sub_type(&self) -> bool {
        self.message.body.has(tag::SECURITY_SUB_TYPE)
    }




    /// Sets `SubscriptionRequestType`, Tag 263.
    pub fn set_subscription_request_type(&mut self, v: String) {
        self.message.body.set_field(tag::SUBSCRIPTION_REQUEST_TYPE, FIXString::from(v));
    }

    /// Gets `SubscriptionRequestType`, Tag 263.
    pub fn get_subscription_request_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::SubscriptionRequestTypeField::new(String::new());
        self.message.body.get_field(tag::SUBSCRIPTION_REQUEST_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `SubscriptionRequestType` is present, Tag 263.
    pub fn has_subscription_request_type(&self) -> bool {
        self.message.body.has(tag::SUBSCRIPTION_REQUEST_TYPE)
    }




    /// Sets `Text`, Tag 58.
    pub fn set_text(&mut self, v: String) {
        self.message.body.set_field(tag::TEXT, FIXString::from(v));
    }

    /// Gets `Text`, Tag 58.
    pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::TextField::new(String::new());
        self.message.body.get_field(tag::TEXT, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `Text` is present, Tag 58.
    pub fn has_text(&self) -> bool {
        self.message.body.has(tag::TEXT)
    }




    /// Sets `TradingSessionID`, Tag 336.
    pub fn set_trading_session_id(&mut self, v: String) {
        self.message.body.set_field(tag::TRADING_SESSION_ID, FIXString::from(v));
    }

    /// Gets `TradingSessionID`, Tag 336.
    pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::TradingSessionIDField::new(String::new());
        self.message.body.get_field(tag::TRADING_SESSION_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `TradingSessionID` is present, Tag 336.
    pub fn has_trading_session_id(&self) -> bool {
        self.message.body.has(tag::TRADING_SESSION_ID)
    }




    /// Sets `TradingSessionSubID`, Tag 625.
    pub fn set_trading_session_sub_id(&mut self, v: String) {
        self.message.body.set_field(tag::TRADING_SESSION_SUB_ID, FIXString::from(v));
    }

    /// Gets `TradingSessionSubID`, Tag 625.
    pub fn get_trading_session_sub_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::TradingSessionSubIDField::new(String::new());
        self.message.body.get_field(tag::TRADING_SESSION_SUB_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `TradingSessionSubID` is present, Tag 625.
    pub fn has_trading_session_sub_id(&self) -> bool {
        self.message.body.has(tag::TRADING_SESSION_SUB_ID)
    }




    /// Sets `UnderlyingAdjustedQuantity`, Tag 1044.
    pub fn set_underlying_adjusted_quantity(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_ADJUSTED_QUANTITY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingAdjustedQuantity`, Tag 1044.
    pub fn get_underlying_adjusted_quantity(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingAdjustedQuantityField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_ADJUSTED_QUANTITY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingAdjustedQuantity` is present, Tag 1044.
    pub fn has_underlying_adjusted_quantity(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_ADJUSTED_QUANTITY)
    }




    /// Sets `UnderlyingAllocationPercent`, Tag 972.
    pub fn set_underlying_allocation_percent(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_ALLOCATION_PERCENT, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingAllocationPercent`, Tag 972.
    pub fn get_underlying_allocation_percent(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingAllocationPercentField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_ALLOCATION_PERCENT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingAllocationPercent` is present, Tag 972.
    pub fn has_underlying_allocation_percent(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_ALLOCATION_PERCENT)
    }




    /// Sets `UnderlyingCFICode`, Tag 463.
    pub fn set_underlying_cfi_code(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CFI_CODE, FIXString::from(v));
    }

    /// Gets `UnderlyingCFICode`, Tag 463.
    pub fn get_underlying_cfi_code(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCFICodeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CFI_CODE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCFICode` is present, Tag 463.
    pub fn has_underlying_cfi_code(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CFI_CODE)
    }




    /// Sets `UnderlyingCPProgram`, Tag 877.
    pub fn set_underlying_cp_program(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CP_PROGRAM, FIXString::from(v));
    }

    /// Gets `UnderlyingCPProgram`, Tag 877.
    pub fn get_underlying_cp_program(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCPProgramField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CP_PROGRAM, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCPProgram` is present, Tag 877.
    pub fn has_underlying_cp_program(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CP_PROGRAM)
    }




    /// Sets `UnderlyingCPRegType`, Tag 878.
    pub fn set_underlying_cp_reg_type(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CP_REG_TYPE, FIXString::from(v));
    }

    /// Gets `UnderlyingCPRegType`, Tag 878.
    pub fn get_underlying_cp_reg_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCPRegTypeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CP_REG_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCPRegType` is present, Tag 878.
    pub fn has_underlying_cp_reg_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CP_REG_TYPE)
    }




    /// Sets `UnderlyingCapValue`, Tag 1038.
    pub fn set_underlying_cap_value(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_CAP_VALUE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingCapValue`, Tag 1038.
    pub fn get_underlying_cap_value(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCapValueField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_CAP_VALUE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingCapValue` is present, Tag 1038.
    pub fn has_underlying_cap_value(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CAP_VALUE)
    }




    /// Sets `UnderlyingCashAmount`, Tag 973.
    pub fn set_underlying_cash_amount(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_CASH_AMOUNT, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingCashAmount`, Tag 973.
    pub fn get_underlying_cash_amount(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCashAmountField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_CASH_AMOUNT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingCashAmount` is present, Tag 973.
    pub fn has_underlying_cash_amount(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CASH_AMOUNT)
    }




    /// Sets `UnderlyingCashType`, Tag 974.
    pub fn set_underlying_cash_type(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CASH_TYPE, FIXString::from(v));
    }

    /// Gets `UnderlyingCashType`, Tag 974.
    pub fn get_underlying_cash_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCashTypeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CASH_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCashType` is present, Tag 974.
    pub fn has_underlying_cash_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CASH_TYPE)
    }




    /// Sets `UnderlyingContractMultiplier`, Tag 436.
    pub fn set_underlying_contract_multiplier(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_CONTRACT_MULTIPLIER, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingContractMultiplier`, Tag 436.
    pub fn get_underlying_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingContractMultiplierField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_CONTRACT_MULTIPLIER, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingContractMultiplier` is present, Tag 436.
    pub fn has_underlying_contract_multiplier(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CONTRACT_MULTIPLIER)
    }




    /// Sets `UnderlyingCountryOfIssue`, Tag 592.
    pub fn set_underlying_country_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_COUNTRY_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `UnderlyingCountryOfIssue`, Tag 592.
    pub fn get_underlying_country_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCountryOfIssueField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_COUNTRY_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCountryOfIssue` is present, Tag 592.
    pub fn has_underlying_country_of_issue(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_COUNTRY_OF_ISSUE)
    }




    /// Sets `UnderlyingCouponPaymentDate`, Tag 241.
    pub fn set_underlying_coupon_payment_date(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_COUPON_PAYMENT_DATE, FIXString::from(v));
    }

    /// Gets `UnderlyingCouponPaymentDate`, Tag 241.
    pub fn get_underlying_coupon_payment_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCouponPaymentDateField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_COUPON_PAYMENT_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCouponPaymentDate` is present, Tag 241.
    pub fn has_underlying_coupon_payment_date(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_COUPON_PAYMENT_DATE)
    }




    /// Sets `UnderlyingCouponRate`, Tag 435.
    pub fn set_underlying_coupon_rate(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_COUPON_RATE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingCouponRate`, Tag 435.
    pub fn get_underlying_coupon_rate(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCouponRateField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_COUPON_RATE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingCouponRate` is present, Tag 435.
    pub fn has_underlying_coupon_rate(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_COUPON_RATE)
    }




    /// Sets `UnderlyingCreditRating`, Tag 256.
    pub fn set_underlying_credit_rating(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CREDIT_RATING, FIXString::from(v));
    }

    /// Gets `UnderlyingCreditRating`, Tag 256.
    pub fn get_underlying_credit_rating(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCreditRatingField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CREDIT_RATING, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCreditRating` is present, Tag 256.
    pub fn has_underlying_credit_rating(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CREDIT_RATING)
    }




    /// Sets `UnderlyingCurrency`, Tag 318.
    pub fn set_underlying_currency(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_CURRENCY, FIXString::from(v));
    }

    /// Gets `UnderlyingCurrency`, Tag 318.
    pub fn get_underlying_currency(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCurrencyField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_CURRENCY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingCurrency` is present, Tag 318.
    pub fn has_underlying_currency(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CURRENCY)
    }




    /// Sets `UnderlyingCurrentValue`, Tag 885.
    pub fn set_underlying_current_value(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_CURRENT_VALUE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingCurrentValue`, Tag 885.
    pub fn get_underlying_current_value(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingCurrentValueField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_CURRENT_VALUE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingCurrentValue` is present, Tag 885.
    pub fn has_underlying_current_value(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_CURRENT_VALUE)
    }




    /// Sets `UnderlyingDirtyPrice`, Tag 882.
    pub fn set_underlying_dirty_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_DIRTY_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingDirtyPrice`, Tag 882.
    pub fn get_underlying_dirty_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingDirtyPriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_DIRTY_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingDirtyPrice` is present, Tag 882.
    pub fn has_underlying_dirty_price(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_DIRTY_PRICE)
    }




    /// Sets `UnderlyingEndPrice`, Tag 883.
    pub fn set_underlying_end_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_END_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingEndPrice`, Tag 883.
    pub fn get_underlying_end_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingEndPriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_END_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingEndPrice` is present, Tag 883.
    pub fn has_underlying_end_price(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_END_PRICE)
    }




    /// Sets `UnderlyingEndValue`, Tag 886.
    pub fn set_underlying_end_value(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_END_VALUE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingEndValue`, Tag 886.
    pub fn get_underlying_end_value(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingEndValueField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_END_VALUE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingEndValue` is present, Tag 886.
    pub fn has_underlying_end_value(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_END_VALUE)
    }




    /// Sets `UnderlyingExerciseStyle`, Tag 1419.
    pub fn set_underlying_exercise_style(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_EXERCISE_STYLE, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingExerciseStyle`, Tag 1419.
    pub fn get_underlying_exercise_style(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingExerciseStyleField::new(0);
        self.message.body.get_field(tag::UNDERLYING_EXERCISE_STYLE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingExerciseStyle` is present, Tag 1419.
    pub fn has_underlying_exercise_style(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_EXERCISE_STYLE)
    }




    /// Sets `UnderlyingFXRate`, Tag 1045.
    pub fn set_underlying_fx_rate(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_FX_RATE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingFXRate`, Tag 1045.
    pub fn get_underlying_fx_rate(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingFXRateField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_FX_RATE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingFXRate` is present, Tag 1045.
    pub fn has_underlying_fx_rate(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_FX_RATE)
    }




    /// Sets `UnderlyingFXRateCalc`, Tag 1046.
    pub fn set_underlying_fx_rate_calc(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_FX_RATE_CALC, FIXString::from(v));
    }

    /// Gets `UnderlyingFXRateCalc`, Tag 1046.
    pub fn get_underlying_fx_rate_calc(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingFXRateCalcField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_FX_RATE_CALC, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingFXRateCalc` is present, Tag 1046.
    pub fn has_underlying_fx_rate_calc(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_FX_RATE_CALC)
    }




    /// Sets `UnderlyingFactor`, Tag 246.
    pub fn set_underlying_factor(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_FACTOR, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingFactor`, Tag 246.
    pub fn get_underlying_factor(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingFactorField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_FACTOR, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingFactor` is present, Tag 246.
    pub fn has_underlying_factor(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_FACTOR)
    }




    /// Sets `UnderlyingInstrRegistry`, Tag 595.
    pub fn set_underlying_instr_registry(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_INSTR_REGISTRY, FIXString::from(v));
    }

    /// Gets `UnderlyingInstrRegistry`, Tag 595.
    pub fn get_underlying_instr_registry(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingInstrRegistryField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_INSTR_REGISTRY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingInstrRegistry` is present, Tag 595.
    pub fn has_underlying_instr_registry(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_INSTR_REGISTRY)
    }




    /// Sets `UnderlyingIssueDate`, Tag 242.
    pub fn set_underlying_issue_date(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_ISSUE_DATE, FIXString::from(v));
    }

    /// Gets `UnderlyingIssueDate`, Tag 242.
    pub fn get_underlying_issue_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingIssueDateField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_ISSUE_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingIssueDate` is present, Tag 242.
    pub fn has_underlying_issue_date(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_ISSUE_DATE)
    }




    /// Sets `UnderlyingIssuer`, Tag 306.
    pub fn set_underlying_issuer(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_ISSUER, FIXString::from(v));
    }

    /// Gets `UnderlyingIssuer`, Tag 306.
    pub fn get_underlying_issuer(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingIssuerField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_ISSUER, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingIssuer` is present, Tag 306.
    pub fn has_underlying_issuer(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_ISSUER)
    }




    /// Sets `UnderlyingLocaleOfIssue`, Tag 594.
    pub fn set_underlying_locale_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_LOCALE_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `UnderlyingLocaleOfIssue`, Tag 594.
    pub fn get_underlying_locale_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingLocaleOfIssueField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_LOCALE_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingLocaleOfIssue` is present, Tag 594.
    pub fn has_underlying_locale_of_issue(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_LOCALE_OF_ISSUE)
    }




    /// Sets `UnderlyingMaturityDate`, Tag 542.
    pub fn set_underlying_maturity_date(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_MATURITY_DATE, FIXString::from(v));
    }

    /// Gets `UnderlyingMaturityDate`, Tag 542.
    pub fn get_underlying_maturity_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingMaturityDateField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_MATURITY_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingMaturityDate` is present, Tag 542.
    pub fn has_underlying_maturity_date(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_MATURITY_DATE)
    }




    /// Sets `UnderlyingMaturityMonthYear`, Tag 313.
    pub fn set_underlying_maturity_month_year(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_MATURITY_MONTH_YEAR, FIXString::from(v));
    }

    /// Gets `UnderlyingMaturityMonthYear`, Tag 313.
    pub fn get_underlying_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingMaturityMonthYearField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_MATURITY_MONTH_YEAR, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingMaturityMonthYear` is present, Tag 313.
    pub fn has_underlying_maturity_month_year(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_MATURITY_MONTH_YEAR)
    }




    /// Sets `UnderlyingMaturityTime`, Tag 1213.
    pub fn set_underlying_maturity_time(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_MATURITY_TIME, FIXString::from(v));
    }

    /// Gets `UnderlyingMaturityTime`, Tag 1213.
    pub fn get_underlying_maturity_time(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingMaturityTimeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_MATURITY_TIME, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingMaturityTime` is present, Tag 1213.
    pub fn has_underlying_maturity_time(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_MATURITY_TIME)
    }




    /// Sets `UnderlyingOptAttribute`, Tag 317.
    pub fn set_underlying_opt_attribute(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_OPT_ATTRIBUTE, FIXString::from(v));
    }

    /// Gets `UnderlyingOptAttribute`, Tag 317.
    pub fn get_underlying_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingOptAttributeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_OPT_ATTRIBUTE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingOptAttribute` is present, Tag 317.
    pub fn has_underlying_opt_attribute(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_OPT_ATTRIBUTE)
    }




    /// Sets `UnderlyingPriceUnitOfMeasure`, Tag 1424.
    pub fn set_underlying_price_unit_of_measure(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE, FIXString::from(v));
    }

    /// Gets `UnderlyingPriceUnitOfMeasure`, Tag 1424.
    pub fn get_underlying_price_unit_of_measure(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingPriceUnitOfMeasureField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingPriceUnitOfMeasure` is present, Tag 1424.
    pub fn has_underlying_price_unit_of_measure(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE)
    }




    /// Sets `UnderlyingPriceUnitOfMeasureQty`, Tag 1425.
    pub fn set_underlying_price_unit_of_measure_qty(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE_QTY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingPriceUnitOfMeasureQty`, Tag 1425.
    pub fn get_underlying_price_unit_of_measure_qty(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingPriceUnitOfMeasureQtyField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE_QTY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingPriceUnitOfMeasureQty` is present, Tag 1425.
    pub fn has_underlying_price_unit_of_measure_qty(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_PRICE_UNIT_OF_MEASURE_QTY)
    }




    /// Sets `UnderlyingProduct`, Tag 462.
    pub fn set_underlying_product(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_PRODUCT, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingProduct`, Tag 462.
    pub fn get_underlying_product(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingProductField::new(0);
        self.message.body.get_field(tag::UNDERLYING_PRODUCT, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingProduct` is present, Tag 462.
    pub fn has_underlying_product(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_PRODUCT)
    }




    /// Sets `UnderlyingPutOrCall`, Tag 315.
    pub fn set_underlying_put_or_call(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_PUT_OR_CALL, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingPutOrCall`, Tag 315.
    pub fn get_underlying_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingPutOrCallField::new(0);
        self.message.body.get_field(tag::UNDERLYING_PUT_OR_CALL, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingPutOrCall` is present, Tag 315.
    pub fn has_underlying_put_or_call(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_PUT_OR_CALL)
    }




    /// Sets `UnderlyingPx`, Tag 810.
    pub fn set_underlying_px(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_PX, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingPx`, Tag 810.
    pub fn get_underlying_px(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingPxField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_PX, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingPx` is present, Tag 810.
    pub fn has_underlying_px(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_PX)
    }




    /// Sets `UnderlyingQty`, Tag 879.
    pub fn set_underlying_qty(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_QTY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingQty`, Tag 879.
    pub fn get_underlying_qty(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingQtyField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_QTY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingQty` is present, Tag 879.
    pub fn has_underlying_qty(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_QTY)
    }




    /// Sets `UnderlyingRedemptionDate`, Tag 247.
    pub fn set_underlying_redemption_date(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_REDEMPTION_DATE, FIXString::from(v));
    }

    /// Gets `UnderlyingRedemptionDate`, Tag 247.
    pub fn get_underlying_redemption_date(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingRedemptionDateField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_REDEMPTION_DATE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingRedemptionDate` is present, Tag 247.
    pub fn has_underlying_redemption_date(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_REDEMPTION_DATE)
    }




    /// Sets `UnderlyingRepoCollateralSecurityType`, Tag 243.
    pub fn set_underlying_repo_collateral_security_type(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_REPO_COLLATERAL_SECURITY_TYPE, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingRepoCollateralSecurityType`, Tag 243.
    pub fn get_underlying_repo_collateral_security_type(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingRepoCollateralSecurityTypeField::new(0);
        self.message.body.get_field(tag::UNDERLYING_REPO_COLLATERAL_SECURITY_TYPE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingRepoCollateralSecurityType` is present, Tag 243.
    pub fn has_underlying_repo_collateral_security_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_REPO_COLLATERAL_SECURITY_TYPE)
    }




    /// Sets `UnderlyingRepurchaseRate`, Tag 245.
    pub fn set_underlying_repurchase_rate(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_REPURCHASE_RATE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingRepurchaseRate`, Tag 245.
    pub fn get_underlying_repurchase_rate(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingRepurchaseRateField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_REPURCHASE_RATE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingRepurchaseRate` is present, Tag 245.
    pub fn has_underlying_repurchase_rate(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_REPURCHASE_RATE)
    }




    /// Sets `UnderlyingRepurchaseTerm`, Tag 244.
    pub fn set_underlying_repurchase_term(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_REPURCHASE_TERM, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingRepurchaseTerm`, Tag 244.
    pub fn get_underlying_repurchase_term(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingRepurchaseTermField::new(0);
        self.message.body.get_field(tag::UNDERLYING_REPURCHASE_TERM, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingRepurchaseTerm` is present, Tag 244.
    pub fn has_underlying_repurchase_term(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_REPURCHASE_TERM)
    }




    /// Sets `UnderlyingSecurityDesc`, Tag 307.
    pub fn set_underlying_security_desc(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_DESC, FIXString::from(v));
    }

    /// Gets `UnderlyingSecurityDesc`, Tag 307.
    pub fn get_underlying_security_desc(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecurityDescField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_DESC, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecurityDesc` is present, Tag 307.
    pub fn has_underlying_security_desc(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_DESC)
    }




    /// Sets `UnderlyingSecurityExchange`, Tag 308.
    pub fn set_underlying_security_exchange(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_EXCHANGE, FIXString::from(v));
    }

    /// Gets `UnderlyingSecurityExchange`, Tag 308.
    pub fn get_underlying_security_exchange(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecurityExchangeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_EXCHANGE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecurityExchange` is present, Tag 308.
    pub fn has_underlying_security_exchange(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_EXCHANGE)
    }




    /// Sets `UnderlyingSecurityID`, Tag 309.
    pub fn set_underlying_security_id(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_ID, FIXString::from(v));
    }

    /// Gets `UnderlyingSecurityID`, Tag 309.
    pub fn get_underlying_security_id(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecurityIDField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_ID, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecurityID` is present, Tag 309.
    pub fn has_underlying_security_id(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_ID)
    }




    /// Sets `UnderlyingSecurityIDSource`, Tag 305.
    pub fn set_underlying_security_id_source(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_ID_SOURCE, FIXString::from(v));
    }

    /// Gets `UnderlyingSecurityIDSource`, Tag 305.
    pub fn get_underlying_security_id_source(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecurityIDSourceField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_ID_SOURCE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecurityIDSource` is present, Tag 305.
    pub fn has_underlying_security_id_source(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_ID_SOURCE)
    }




    /// Sets `UnderlyingSecuritySubType`, Tag 763.
    pub fn set_underlying_security_sub_type(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_SUB_TYPE, FIXString::from(v));
    }

    /// Gets `UnderlyingSecuritySubType`, Tag 763.
    pub fn get_underlying_security_sub_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecuritySubTypeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_SUB_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecuritySubType` is present, Tag 763.
    pub fn has_underlying_security_sub_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_SUB_TYPE)
    }




    /// Sets `UnderlyingSecurityType`, Tag 310.
    pub fn set_underlying_security_type(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SECURITY_TYPE, FIXString::from(v));
    }

    /// Gets `UnderlyingSecurityType`, Tag 310.
    pub fn get_underlying_security_type(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSecurityTypeField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SECURITY_TYPE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSecurityType` is present, Tag 310.
    pub fn has_underlying_security_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SECURITY_TYPE)
    }




    /// Sets `UnderlyingSettlMethod`, Tag 1039.
    pub fn set_underlying_settl_method(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SETTL_METHOD, FIXString::from(v));
    }

    /// Gets `UnderlyingSettlMethod`, Tag 1039.
    pub fn get_underlying_settl_method(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSettlMethodField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SETTL_METHOD, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSettlMethod` is present, Tag 1039.
    pub fn has_underlying_settl_method(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SETTL_METHOD)
    }




    /// Sets `UnderlyingSettlementType`, Tag 975.
    pub fn set_underlying_settlement_type(&mut self, v: isize) {
        self.message.body.set_field(tag::UNDERLYING_SETTLEMENT_TYPE, fixer::fix_int::FIXInt::from(v));
    }

    /// Gets `UnderlyingSettlementType`, Tag 975.
    pub fn get_underlying_settlement_type(&self) -> Result<isize, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSettlementTypeField::new(0);
        self.message.body.get_field(tag::UNDERLYING_SETTLEMENT_TYPE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingSettlementType` is present, Tag 975.
    pub fn has_underlying_settlement_type(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SETTLEMENT_TYPE)
    }




    /// Sets `UnderlyingStartValue`, Tag 884.
    pub fn set_underlying_start_value(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_START_VALUE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingStartValue`, Tag 884.
    pub fn get_underlying_start_value(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingStartValueField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_START_VALUE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingStartValue` is present, Tag 884.
    pub fn has_underlying_start_value(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_START_VALUE)
    }




    /// Sets `UnderlyingStateOrProvinceOfIssue`, Tag 593.
    pub fn set_underlying_state_or_province_of_issue(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_STATE_OR_PROVINCE_OF_ISSUE, FIXString::from(v));
    }

    /// Gets `UnderlyingStateOrProvinceOfIssue`, Tag 593.
    pub fn get_underlying_state_or_province_of_issue(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingStateOrProvinceOfIssueField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_STATE_OR_PROVINCE_OF_ISSUE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingStateOrProvinceOfIssue` is present, Tag 593.
    pub fn has_underlying_state_or_province_of_issue(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_STATE_OR_PROVINCE_OF_ISSUE)
    }




    /// Sets `UnderlyingStrikeCurrency`, Tag 941.
    pub fn set_underlying_strike_currency(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_STRIKE_CURRENCY, FIXString::from(v));
    }

    /// Gets `UnderlyingStrikeCurrency`, Tag 941.
    pub fn get_underlying_strike_currency(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingStrikeCurrencyField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_STRIKE_CURRENCY, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingStrikeCurrency` is present, Tag 941.
    pub fn has_underlying_strike_currency(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_STRIKE_CURRENCY)
    }




    /// Sets `UnderlyingStrikePrice`, Tag 316.
    pub fn set_underlying_strike_price(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_STRIKE_PRICE, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingStrikePrice`, Tag 316.
    pub fn get_underlying_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingStrikePriceField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_STRIKE_PRICE, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingStrikePrice` is present, Tag 316.
    pub fn has_underlying_strike_price(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_STRIKE_PRICE)
    }




    /// Sets `UnderlyingSymbol`, Tag 311.
    pub fn set_underlying_symbol(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SYMBOL, FIXString::from(v));
    }

    /// Gets `UnderlyingSymbol`, Tag 311.
    pub fn get_underlying_symbol(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSymbolField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SYMBOL, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSymbol` is present, Tag 311.
    pub fn has_underlying_symbol(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SYMBOL)
    }




    /// Sets `UnderlyingSymbolSfx`, Tag 312.
    pub fn set_underlying_symbol_sfx(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_SYMBOL_SFX, FIXString::from(v));
    }

    /// Gets `UnderlyingSymbolSfx`, Tag 312.
    pub fn get_underlying_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingSymbolSfxField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_SYMBOL_SFX, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingSymbolSfx` is present, Tag 312.
    pub fn has_underlying_symbol_sfx(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_SYMBOL_SFX)
    }




    /// Sets `UnderlyingTimeUnit`, Tag 1000.
    pub fn set_underlying_time_unit(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_TIME_UNIT, FIXString::from(v));
    }

    /// Gets `UnderlyingTimeUnit`, Tag 1000.
    pub fn get_underlying_time_unit(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingTimeUnitField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_TIME_UNIT, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingTimeUnit` is present, Tag 1000.
    pub fn has_underlying_time_unit(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_TIME_UNIT)
    }




    /// Sets `UnderlyingUnitOfMeasure`, Tag 998.
    pub fn set_underlying_unit_of_measure(&mut self, v: String) {
        self.message.body.set_field(tag::UNDERLYING_UNIT_OF_MEASURE, FIXString::from(v));
    }

    /// Gets `UnderlyingUnitOfMeasure`, Tag 998.
    pub fn get_underlying_unit_of_measure(&self) -> Result<String, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingUnitOfMeasureField::new(String::new());
        self.message.body.get_field(tag::UNDERLYING_UNIT_OF_MEASURE, &mut fld.0)?;
        Ok(fld.value().to_string())
    }


    /// Returns true if `UnderlyingUnitOfMeasure` is present, Tag 998.
    pub fn has_underlying_unit_of_measure(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_UNIT_OF_MEASURE)
    }




    /// Sets `UnderlyingUnitOfMeasureQty`, Tag 1423.
    pub fn set_underlying_unit_of_measure_qty(&mut self, val: Decimal, scale: i32) {
        self.message.body.set_field(tag::UNDERLYING_UNIT_OF_MEASURE_QTY, fixer::fix_decimal::FIXDecimal { decimal: val, scale });
    }

    /// Gets `UnderlyingUnitOfMeasureQty`, Tag 1423.
    pub fn get_underlying_unit_of_measure_qty(&self) -> Result<Decimal, MessageRejectErrorEnum> {
        let mut fld = field::UnderlyingUnitOfMeasureQtyField::new(Decimal::ZERO, 0);
        self.message.body.get_field(tag::UNDERLYING_UNIT_OF_MEASURE_QTY, &mut fld.0)?;
        Ok(fld.value())
    }


    /// Returns true if `UnderlyingUnitOfMeasureQty` is present, Tag 1423.
    pub fn has_underlying_unit_of_measure_qty(&self) -> bool {
        self.message.body.has(tag::UNDERLYING_UNIT_OF_MEASURE_QTY)
    }


}

/// `RouteOut` is the callback type for routing `DerivativeSecurityListRequest` messages.
pub type RouteOut = fn(msg: DerivativeSecurityListRequest, session_id: SessionID) -> Result<(), MessageRejectErrorEnum>;

/// Route type returned by the `route` function.
pub type Route = (&'static str, &'static str, Box<dyn Fn(&Message, SessionID) -> Result<(), MessageRejectErrorEnum> + Send>);

/// Returns the begin string, message type, and route function for `DerivativeSecurityListRequest`.
pub fn route(router: RouteOut) -> Route {
    let r = move |msg: &Message, session_id: SessionID| -> Result<(), MessageRejectErrorEnum> {
        router(DerivativeSecurityListRequest::from_message(msg.clone()), session_id)
    };
    ("8", "z", Box::new(r))
}