@fintekkers/ledger-models 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/node/fintekkers/models/security/security_pb.d.ts +0 -80
  2. package/node/fintekkers/models/security/security_pb.js +1 -723
  3. package/node/fintekkers/models/security/security_pb.test.js +15 -15
  4. package/node/fintekkers/models/security/security_pb.test.js.map +1 -1
  5. package/node/fintekkers/models/security/security_pb.test.ts +17 -18
  6. package/node/wrappers/models/price/Price.cash.test.js +1 -1
  7. package/node/wrappers/models/price/Price.cash.test.js.map +1 -1
  8. package/node/wrappers/models/price/Price.cash.test.ts +2 -2
  9. package/node/wrappers/models/security/BondSecurity.js +8 -8
  10. package/node/wrappers/models/security/BondSecurity.js.map +1 -1
  11. package/node/wrappers/models/security/BondSecurity.priceScale.test.js +5 -3
  12. package/node/wrappers/models/security/BondSecurity.priceScale.test.js.map +1 -1
  13. package/node/wrappers/models/security/BondSecurity.priceScale.test.ts +7 -5
  14. package/node/wrappers/models/security/BondSecurity.test.js +28 -20
  15. package/node/wrappers/models/security/BondSecurity.test.js.map +1 -1
  16. package/node/wrappers/models/security/BondSecurity.test.ts +29 -21
  17. package/node/wrappers/models/security/BondSecurity.ts +8 -8
  18. package/node/wrappers/models/security/security-roundtrip.test.js +77 -61
  19. package/node/wrappers/models/security/security-roundtrip.test.js.map +1 -1
  20. package/node/wrappers/models/security/security-roundtrip.test.ts +78 -62
  21. package/node/wrappers/models/security/security.d.ts +2 -3
  22. package/node/wrappers/models/security/security.js +8 -10
  23. package/node/wrappers/models/security/security.js.map +1 -1
  24. package/node/wrappers/models/security/security.test.js +16 -12
  25. package/node/wrappers/models/security/security.test.js.map +1 -1
  26. package/node/wrappers/models/security/security.test.ts +17 -15
  27. package/node/wrappers/models/security/security.ts +8 -10
  28. package/node/wrappers/models/transaction/transaction.derived.test.js +8 -6
  29. package/node/wrappers/models/transaction/transaction.derived.test.js.map +1 -1
  30. package/node/wrappers/models/transaction/transaction.derived.test.ts +9 -7
  31. package/node/wrappers/models/transaction/transaction_constructor.test.js +8 -6
  32. package/node/wrappers/models/transaction/transaction_constructor.test.js.map +1 -1
  33. package/node/wrappers/models/transaction/transaction_constructor.test.ts +9 -7
  34. package/node/wrappers/services/searchWithSecurities.test.js +2 -2
  35. package/node/wrappers/services/searchWithSecurities.test.js.map +1 -1
  36. package/node/wrappers/services/searchWithSecurities.test.ts +2 -2
  37. package/node/wrappers/services/security-service/security.maturityLadder.test.js +2 -1
  38. package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -1
  39. package/node/wrappers/services/security-service/security.maturityLadder.test.ts +2 -1
  40. package/node/wrappers/services/security-service/security.test.js +10 -8
  41. package/node/wrappers/services/security-service/security.test.js.map +1 -1
  42. package/node/wrappers/services/security-service/security.test.ts +12 -9
  43. package/node/wrappers/util/link-resolver.test.js +1 -1
  44. package/node/wrappers/util/link-resolver.test.js.map +1 -1
  45. package/node/wrappers/util/link-resolver.test.ts +1 -1
  46. package/package.json +1 -1
@@ -228,7 +228,7 @@ if (goog.DEBUG && !COMPILED) {
228
228
  * @private {!Array<number>}
229
229
  * @const
230
230
  */
231
- proto.fintekkers.models.security.SecurityProto.repeatedFields_ = [17,42,67];
231
+ proto.fintekkers.models.security.SecurityProto.repeatedFields_ = [17,42];
232
232
 
233
233
  /**
234
234
  * Oneof group definitions for this message. Each group defines the field
@@ -305,27 +305,9 @@ proto.fintekkers.models.security.SecurityProto.toObject = function(includeInstan
305
305
  issuerName: jspb.Message.getFieldWithDefault(msg, 12, ""),
306
306
  settlementCurrency: (f = msg.getSettlementCurrency()) && proto.fintekkers.models.security.SecurityProto.toObject(includeInstance, f),
307
307
  quantityType: jspb.Message.getFieldWithDefault(msg, 14, 0),
308
- identifier: (f = msg.getIdentifier()) && fintekkers_models_security_identifier_identifier_pb.IdentifierProto.toObject(includeInstance, f),
309
308
  description: jspb.Message.getFieldWithDefault(msg, 41, ""),
310
309
  identifiersList: jspb.Message.toObjectList(msg.getIdentifiersList(),
311
310
  fintekkers_models_security_identifier_identifier_pb.IdentifierProto.toObject, includeInstance),
312
- cashId: jspb.Message.getFieldWithDefault(msg, 50, ""),
313
- couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
314
- couponType: jspb.Message.getFieldWithDefault(msg, 61, 0),
315
- couponFrequency: jspb.Message.getFieldWithDefault(msg, 62, 0),
316
- datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
317
- faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
318
- issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
319
- maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
320
- issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
321
- fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance),
322
- baseCpi: (f = msg.getBaseCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
323
- indexDate: (f = msg.getIndexDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
324
- inflationIndexType: jspb.Message.getFieldWithDefault(msg, 72, 0),
325
- spread: (f = msg.getSpread()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
326
- referenceRateIndex: jspb.Message.getFieldWithDefault(msg, 91, 0),
327
- resetFrequency: jspb.Message.getFieldWithDefault(msg, 92, 0),
328
- indexType: jspb.Message.getFieldWithDefault(msg, 80, 0),
329
311
  bondDetails: (f = msg.getBondDetails()) && proto.fintekkers.models.security.BondDetailsProto.toObject(includeInstance, f),
330
312
  tipsExtension: (f = msg.getTipsExtension()) && proto.fintekkers.models.security.TipsExtensionProto.toObject(includeInstance, f),
331
313
  frnExtension: (f = msg.getFrnExtension()) && proto.fintekkers.models.security.FrnExtensionProto.toObject(includeInstance, f),
@@ -436,11 +418,6 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
436
418
  var value = /** @type {!proto.fintekkers.models.security.SecurityQuantityTypeProto} */ (reader.readEnum());
437
419
  msg.setQuantityType(value);
438
420
  break;
439
- case 40:
440
- var value = new fintekkers_models_security_identifier_identifier_pb.IdentifierProto;
441
- reader.readMessage(value,fintekkers_models_security_identifier_identifier_pb.IdentifierProto.deserializeBinaryFromReader);
442
- msg.setIdentifier(value);
443
- break;
444
421
  case 41:
445
422
  var value = /** @type {string} */ (reader.readString());
446
423
  msg.setDescription(value);
@@ -450,79 +427,6 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
450
427
  reader.readMessage(value,fintekkers_models_security_identifier_identifier_pb.IdentifierProto.deserializeBinaryFromReader);
451
428
  msg.addIdentifiers(value);
452
429
  break;
453
- case 50:
454
- var value = /** @type {string} */ (reader.readString());
455
- msg.setCashId(value);
456
- break;
457
- case 60:
458
- var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
459
- reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
460
- msg.setCouponRate(value);
461
- break;
462
- case 61:
463
- var value = /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (reader.readEnum());
464
- msg.setCouponType(value);
465
- break;
466
- case 62:
467
- var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
468
- msg.setCouponFrequency(value);
469
- break;
470
- case 63:
471
- var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
472
- reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
473
- msg.setDatedDate(value);
474
- break;
475
- case 64:
476
- var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
477
- reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
478
- msg.setFaceValue(value);
479
- break;
480
- case 65:
481
- var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
482
- reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
483
- msg.setIssueDate(value);
484
- break;
485
- case 66:
486
- var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
487
- reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
488
- msg.setMaturityDate(value);
489
- break;
490
- case 67:
491
- var value = new fintekkers_models_security_bond_issuance_pb.IssuanceProto;
492
- reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
493
- msg.addIssuanceInfo(value);
494
- break;
495
- case 70:
496
- var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
497
- reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
498
- msg.setBaseCpi(value);
499
- break;
500
- case 71:
501
- var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
502
- reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
503
- msg.setIndexDate(value);
504
- break;
505
- case 72:
506
- var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
507
- msg.setInflationIndexType(value);
508
- break;
509
- case 90:
510
- var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
511
- reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
512
- msg.setSpread(value);
513
- break;
514
- case 91:
515
- var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
516
- msg.setReferenceRateIndex(value);
517
- break;
518
- case 92:
519
- var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
520
- msg.setResetFrequency(value);
521
- break;
522
- case 80:
523
- var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
524
- msg.setIndexType(value);
525
- break;
526
430
  case 200:
527
431
  var value = new proto.fintekkers.models.security.BondDetailsProto;
528
432
  reader.readMessage(value,proto.fintekkers.models.security.BondDetailsProto.deserializeBinaryFromReader);
@@ -699,14 +603,6 @@ proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter = functio
699
603
  f
700
604
  );
701
605
  }
702
- f = message.getIdentifier();
703
- if (f != null) {
704
- writer.writeMessage(
705
- 40,
706
- f,
707
- fintekkers_models_security_identifier_identifier_pb.IdentifierProto.serializeBinaryToWriter
708
- );
709
- }
710
606
  f = message.getDescription();
711
607
  if (f.length > 0) {
712
608
  writer.writeString(
@@ -722,127 +618,6 @@ proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter = functio
722
618
  fintekkers_models_security_identifier_identifier_pb.IdentifierProto.serializeBinaryToWriter
723
619
  );
724
620
  }
725
- f = message.getCashId();
726
- if (f.length > 0) {
727
- writer.writeString(
728
- 50,
729
- f
730
- );
731
- }
732
- f = message.getCouponRate();
733
- if (f != null) {
734
- writer.writeMessage(
735
- 60,
736
- f,
737
- fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
738
- );
739
- }
740
- f = message.getCouponType();
741
- if (f !== 0.0) {
742
- writer.writeEnum(
743
- 61,
744
- f
745
- );
746
- }
747
- f = message.getCouponFrequency();
748
- if (f !== 0.0) {
749
- writer.writeEnum(
750
- 62,
751
- f
752
- );
753
- }
754
- f = message.getDatedDate();
755
- if (f != null) {
756
- writer.writeMessage(
757
- 63,
758
- f,
759
- fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
760
- );
761
- }
762
- f = message.getFaceValue();
763
- if (f != null) {
764
- writer.writeMessage(
765
- 64,
766
- f,
767
- fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
768
- );
769
- }
770
- f = message.getIssueDate();
771
- if (f != null) {
772
- writer.writeMessage(
773
- 65,
774
- f,
775
- fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
776
- );
777
- }
778
- f = message.getMaturityDate();
779
- if (f != null) {
780
- writer.writeMessage(
781
- 66,
782
- f,
783
- fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
784
- );
785
- }
786
- f = message.getIssuanceInfoList();
787
- if (f.length > 0) {
788
- writer.writeRepeatedMessage(
789
- 67,
790
- f,
791
- fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
792
- );
793
- }
794
- f = message.getBaseCpi();
795
- if (f != null) {
796
- writer.writeMessage(
797
- 70,
798
- f,
799
- fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
800
- );
801
- }
802
- f = message.getIndexDate();
803
- if (f != null) {
804
- writer.writeMessage(
805
- 71,
806
- f,
807
- fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
808
- );
809
- }
810
- f = message.getInflationIndexType();
811
- if (f !== 0.0) {
812
- writer.writeEnum(
813
- 72,
814
- f
815
- );
816
- }
817
- f = message.getSpread();
818
- if (f != null) {
819
- writer.writeMessage(
820
- 90,
821
- f,
822
- fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
823
- );
824
- }
825
- f = message.getReferenceRateIndex();
826
- if (f !== 0.0) {
827
- writer.writeEnum(
828
- 91,
829
- f
830
- );
831
- }
832
- f = message.getResetFrequency();
833
- if (f !== 0.0) {
834
- writer.writeEnum(
835
- 92,
836
- f
837
- );
838
- }
839
- f = message.getIndexType();
840
- if (f !== 0.0) {
841
- writer.writeEnum(
842
- 80,
843
- f
844
- );
845
- }
846
621
  f = message.getBondDetails();
847
622
  if (f != null) {
848
623
  writer.writeMessage(
@@ -1306,43 +1081,6 @@ proto.fintekkers.models.security.SecurityProto.prototype.setQuantityType = funct
1306
1081
  };
1307
1082
 
1308
1083
 
1309
- /**
1310
- * optional IdentifierProto identifier = 40;
1311
- * @return {?proto.fintekkers.models.security.IdentifierProto}
1312
- */
1313
- proto.fintekkers.models.security.SecurityProto.prototype.getIdentifier = function() {
1314
- return /** @type{?proto.fintekkers.models.security.IdentifierProto} */ (
1315
- jspb.Message.getWrapperField(this, fintekkers_models_security_identifier_identifier_pb.IdentifierProto, 40));
1316
- };
1317
-
1318
-
1319
- /**
1320
- * @param {?proto.fintekkers.models.security.IdentifierProto|undefined} value
1321
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1322
- */
1323
- proto.fintekkers.models.security.SecurityProto.prototype.setIdentifier = function(value) {
1324
- return jspb.Message.setWrapperField(this, 40, value);
1325
- };
1326
-
1327
-
1328
- /**
1329
- * Clears the message field making it undefined.
1330
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1331
- */
1332
- proto.fintekkers.models.security.SecurityProto.prototype.clearIdentifier = function() {
1333
- return this.setIdentifier(undefined);
1334
- };
1335
-
1336
-
1337
- /**
1338
- * Returns whether this field is set.
1339
- * @return {boolean}
1340
- */
1341
- proto.fintekkers.models.security.SecurityProto.prototype.hasIdentifier = function() {
1342
- return jspb.Message.getField(this, 40) != null;
1343
- };
1344
-
1345
-
1346
1084
  /**
1347
1085
  * optional string description = 41;
1348
1086
  * @return {string}
@@ -1399,466 +1137,6 @@ proto.fintekkers.models.security.SecurityProto.prototype.clearIdentifiersList =
1399
1137
  };
1400
1138
 
1401
1139
 
1402
- /**
1403
- * optional string cash_id = 50;
1404
- * @return {string}
1405
- */
1406
- proto.fintekkers.models.security.SecurityProto.prototype.getCashId = function() {
1407
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
1408
- };
1409
-
1410
-
1411
- /**
1412
- * @param {string} value
1413
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1414
- */
1415
- proto.fintekkers.models.security.SecurityProto.prototype.setCashId = function(value) {
1416
- return jspb.Message.setProto3StringField(this, 50, value);
1417
- };
1418
-
1419
-
1420
- /**
1421
- * optional fintekkers.models.util.DecimalValueProto coupon_rate = 60;
1422
- * @return {?proto.fintekkers.models.util.DecimalValueProto}
1423
- */
1424
- proto.fintekkers.models.security.SecurityProto.prototype.getCouponRate = function() {
1425
- return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1426
- jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 60));
1427
- };
1428
-
1429
-
1430
- /**
1431
- * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1432
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1433
- */
1434
- proto.fintekkers.models.security.SecurityProto.prototype.setCouponRate = function(value) {
1435
- return jspb.Message.setWrapperField(this, 60, value);
1436
- };
1437
-
1438
-
1439
- /**
1440
- * Clears the message field making it undefined.
1441
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1442
- */
1443
- proto.fintekkers.models.security.SecurityProto.prototype.clearCouponRate = function() {
1444
- return this.setCouponRate(undefined);
1445
- };
1446
-
1447
-
1448
- /**
1449
- * Returns whether this field is set.
1450
- * @return {boolean}
1451
- */
1452
- proto.fintekkers.models.security.SecurityProto.prototype.hasCouponRate = function() {
1453
- return jspb.Message.getField(this, 60) != null;
1454
- };
1455
-
1456
-
1457
- /**
1458
- * optional CouponTypeProto coupon_type = 61;
1459
- * @return {!proto.fintekkers.models.security.CouponTypeProto}
1460
- */
1461
- proto.fintekkers.models.security.SecurityProto.prototype.getCouponType = function() {
1462
- return /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (jspb.Message.getFieldWithDefault(this, 61, 0));
1463
- };
1464
-
1465
-
1466
- /**
1467
- * @param {!proto.fintekkers.models.security.CouponTypeProto} value
1468
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1469
- */
1470
- proto.fintekkers.models.security.SecurityProto.prototype.setCouponType = function(value) {
1471
- return jspb.Message.setProto3EnumField(this, 61, value);
1472
- };
1473
-
1474
-
1475
- /**
1476
- * optional CouponFrequencyProto coupon_frequency = 62;
1477
- * @return {!proto.fintekkers.models.security.CouponFrequencyProto}
1478
- */
1479
- proto.fintekkers.models.security.SecurityProto.prototype.getCouponFrequency = function() {
1480
- return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 62, 0));
1481
- };
1482
-
1483
-
1484
- /**
1485
- * @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
1486
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1487
- */
1488
- proto.fintekkers.models.security.SecurityProto.prototype.setCouponFrequency = function(value) {
1489
- return jspb.Message.setProto3EnumField(this, 62, value);
1490
- };
1491
-
1492
-
1493
- /**
1494
- * optional fintekkers.models.util.LocalDateProto dated_date = 63;
1495
- * @return {?proto.fintekkers.models.util.LocalDateProto}
1496
- */
1497
- proto.fintekkers.models.security.SecurityProto.prototype.getDatedDate = function() {
1498
- return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1499
- jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 63));
1500
- };
1501
-
1502
-
1503
- /**
1504
- * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1505
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1506
- */
1507
- proto.fintekkers.models.security.SecurityProto.prototype.setDatedDate = function(value) {
1508
- return jspb.Message.setWrapperField(this, 63, value);
1509
- };
1510
-
1511
-
1512
- /**
1513
- * Clears the message field making it undefined.
1514
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1515
- */
1516
- proto.fintekkers.models.security.SecurityProto.prototype.clearDatedDate = function() {
1517
- return this.setDatedDate(undefined);
1518
- };
1519
-
1520
-
1521
- /**
1522
- * Returns whether this field is set.
1523
- * @return {boolean}
1524
- */
1525
- proto.fintekkers.models.security.SecurityProto.prototype.hasDatedDate = function() {
1526
- return jspb.Message.getField(this, 63) != null;
1527
- };
1528
-
1529
-
1530
- /**
1531
- * optional fintekkers.models.util.DecimalValueProto face_value = 64;
1532
- * @return {?proto.fintekkers.models.util.DecimalValueProto}
1533
- */
1534
- proto.fintekkers.models.security.SecurityProto.prototype.getFaceValue = function() {
1535
- return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1536
- jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 64));
1537
- };
1538
-
1539
-
1540
- /**
1541
- * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1542
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1543
- */
1544
- proto.fintekkers.models.security.SecurityProto.prototype.setFaceValue = function(value) {
1545
- return jspb.Message.setWrapperField(this, 64, value);
1546
- };
1547
-
1548
-
1549
- /**
1550
- * Clears the message field making it undefined.
1551
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1552
- */
1553
- proto.fintekkers.models.security.SecurityProto.prototype.clearFaceValue = function() {
1554
- return this.setFaceValue(undefined);
1555
- };
1556
-
1557
-
1558
- /**
1559
- * Returns whether this field is set.
1560
- * @return {boolean}
1561
- */
1562
- proto.fintekkers.models.security.SecurityProto.prototype.hasFaceValue = function() {
1563
- return jspb.Message.getField(this, 64) != null;
1564
- };
1565
-
1566
-
1567
- /**
1568
- * optional fintekkers.models.util.LocalDateProto issue_date = 65;
1569
- * @return {?proto.fintekkers.models.util.LocalDateProto}
1570
- */
1571
- proto.fintekkers.models.security.SecurityProto.prototype.getIssueDate = function() {
1572
- return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1573
- jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 65));
1574
- };
1575
-
1576
-
1577
- /**
1578
- * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1579
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1580
- */
1581
- proto.fintekkers.models.security.SecurityProto.prototype.setIssueDate = function(value) {
1582
- return jspb.Message.setWrapperField(this, 65, value);
1583
- };
1584
-
1585
-
1586
- /**
1587
- * Clears the message field making it undefined.
1588
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1589
- */
1590
- proto.fintekkers.models.security.SecurityProto.prototype.clearIssueDate = function() {
1591
- return this.setIssueDate(undefined);
1592
- };
1593
-
1594
-
1595
- /**
1596
- * Returns whether this field is set.
1597
- * @return {boolean}
1598
- */
1599
- proto.fintekkers.models.security.SecurityProto.prototype.hasIssueDate = function() {
1600
- return jspb.Message.getField(this, 65) != null;
1601
- };
1602
-
1603
-
1604
- /**
1605
- * optional fintekkers.models.util.LocalDateProto maturity_date = 66;
1606
- * @return {?proto.fintekkers.models.util.LocalDateProto}
1607
- */
1608
- proto.fintekkers.models.security.SecurityProto.prototype.getMaturityDate = function() {
1609
- return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1610
- jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 66));
1611
- };
1612
-
1613
-
1614
- /**
1615
- * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1616
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1617
- */
1618
- proto.fintekkers.models.security.SecurityProto.prototype.setMaturityDate = function(value) {
1619
- return jspb.Message.setWrapperField(this, 66, value);
1620
- };
1621
-
1622
-
1623
- /**
1624
- * Clears the message field making it undefined.
1625
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1626
- */
1627
- proto.fintekkers.models.security.SecurityProto.prototype.clearMaturityDate = function() {
1628
- return this.setMaturityDate(undefined);
1629
- };
1630
-
1631
-
1632
- /**
1633
- * Returns whether this field is set.
1634
- * @return {boolean}
1635
- */
1636
- proto.fintekkers.models.security.SecurityProto.prototype.hasMaturityDate = function() {
1637
- return jspb.Message.getField(this, 66) != null;
1638
- };
1639
-
1640
-
1641
- /**
1642
- * repeated bond.IssuanceProto issuance_info = 67;
1643
- * @return {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>}
1644
- */
1645
- proto.fintekkers.models.security.SecurityProto.prototype.getIssuanceInfoList = function() {
1646
- return /** @type{!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} */ (
1647
- jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_bond_issuance_pb.IssuanceProto, 67));
1648
- };
1649
-
1650
-
1651
- /**
1652
- * @param {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} value
1653
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1654
- */
1655
- proto.fintekkers.models.security.SecurityProto.prototype.setIssuanceInfoList = function(value) {
1656
- return jspb.Message.setRepeatedWrapperField(this, 67, value);
1657
- };
1658
-
1659
-
1660
- /**
1661
- * @param {!proto.fintekkers.models.security.bond.IssuanceProto=} opt_value
1662
- * @param {number=} opt_index
1663
- * @return {!proto.fintekkers.models.security.bond.IssuanceProto}
1664
- */
1665
- proto.fintekkers.models.security.SecurityProto.prototype.addIssuanceInfo = function(opt_value, opt_index) {
1666
- return jspb.Message.addToRepeatedWrapperField(this, 67, opt_value, proto.fintekkers.models.security.bond.IssuanceProto, opt_index);
1667
- };
1668
-
1669
-
1670
- /**
1671
- * Clears the list making it empty but non-null.
1672
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1673
- */
1674
- proto.fintekkers.models.security.SecurityProto.prototype.clearIssuanceInfoList = function() {
1675
- return this.setIssuanceInfoList([]);
1676
- };
1677
-
1678
-
1679
- /**
1680
- * optional fintekkers.models.util.DecimalValueProto base_cpi = 70;
1681
- * @return {?proto.fintekkers.models.util.DecimalValueProto}
1682
- */
1683
- proto.fintekkers.models.security.SecurityProto.prototype.getBaseCpi = function() {
1684
- return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1685
- jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 70));
1686
- };
1687
-
1688
-
1689
- /**
1690
- * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1691
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1692
- */
1693
- proto.fintekkers.models.security.SecurityProto.prototype.setBaseCpi = function(value) {
1694
- return jspb.Message.setWrapperField(this, 70, value);
1695
- };
1696
-
1697
-
1698
- /**
1699
- * Clears the message field making it undefined.
1700
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1701
- */
1702
- proto.fintekkers.models.security.SecurityProto.prototype.clearBaseCpi = function() {
1703
- return this.setBaseCpi(undefined);
1704
- };
1705
-
1706
-
1707
- /**
1708
- * Returns whether this field is set.
1709
- * @return {boolean}
1710
- */
1711
- proto.fintekkers.models.security.SecurityProto.prototype.hasBaseCpi = function() {
1712
- return jspb.Message.getField(this, 70) != null;
1713
- };
1714
-
1715
-
1716
- /**
1717
- * optional fintekkers.models.util.LocalDateProto index_date = 71;
1718
- * @return {?proto.fintekkers.models.util.LocalDateProto}
1719
- */
1720
- proto.fintekkers.models.security.SecurityProto.prototype.getIndexDate = function() {
1721
- return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1722
- jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 71));
1723
- };
1724
-
1725
-
1726
- /**
1727
- * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1728
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1729
- */
1730
- proto.fintekkers.models.security.SecurityProto.prototype.setIndexDate = function(value) {
1731
- return jspb.Message.setWrapperField(this, 71, value);
1732
- };
1733
-
1734
-
1735
- /**
1736
- * Clears the message field making it undefined.
1737
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1738
- */
1739
- proto.fintekkers.models.security.SecurityProto.prototype.clearIndexDate = function() {
1740
- return this.setIndexDate(undefined);
1741
- };
1742
-
1743
-
1744
- /**
1745
- * Returns whether this field is set.
1746
- * @return {boolean}
1747
- */
1748
- proto.fintekkers.models.security.SecurityProto.prototype.hasIndexDate = function() {
1749
- return jspb.Message.getField(this, 71) != null;
1750
- };
1751
-
1752
-
1753
- /**
1754
- * optional index.IndexTypeProto inflation_index_type = 72;
1755
- * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
1756
- */
1757
- proto.fintekkers.models.security.SecurityProto.prototype.getInflationIndexType = function() {
1758
- return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 72, 0));
1759
- };
1760
-
1761
-
1762
- /**
1763
- * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
1764
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1765
- */
1766
- proto.fintekkers.models.security.SecurityProto.prototype.setInflationIndexType = function(value) {
1767
- return jspb.Message.setProto3EnumField(this, 72, value);
1768
- };
1769
-
1770
-
1771
- /**
1772
- * optional fintekkers.models.util.DecimalValueProto spread = 90;
1773
- * @return {?proto.fintekkers.models.util.DecimalValueProto}
1774
- */
1775
- proto.fintekkers.models.security.SecurityProto.prototype.getSpread = function() {
1776
- return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1777
- jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 90));
1778
- };
1779
-
1780
-
1781
- /**
1782
- * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1783
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1784
- */
1785
- proto.fintekkers.models.security.SecurityProto.prototype.setSpread = function(value) {
1786
- return jspb.Message.setWrapperField(this, 90, value);
1787
- };
1788
-
1789
-
1790
- /**
1791
- * Clears the message field making it undefined.
1792
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1793
- */
1794
- proto.fintekkers.models.security.SecurityProto.prototype.clearSpread = function() {
1795
- return this.setSpread(undefined);
1796
- };
1797
-
1798
-
1799
- /**
1800
- * Returns whether this field is set.
1801
- * @return {boolean}
1802
- */
1803
- proto.fintekkers.models.security.SecurityProto.prototype.hasSpread = function() {
1804
- return jspb.Message.getField(this, 90) != null;
1805
- };
1806
-
1807
-
1808
- /**
1809
- * optional index.IndexTypeProto reference_rate_index = 91;
1810
- * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
1811
- */
1812
- proto.fintekkers.models.security.SecurityProto.prototype.getReferenceRateIndex = function() {
1813
- return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 91, 0));
1814
- };
1815
-
1816
-
1817
- /**
1818
- * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
1819
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1820
- */
1821
- proto.fintekkers.models.security.SecurityProto.prototype.setReferenceRateIndex = function(value) {
1822
- return jspb.Message.setProto3EnumField(this, 91, value);
1823
- };
1824
-
1825
-
1826
- /**
1827
- * optional CouponFrequencyProto reset_frequency = 92;
1828
- * @return {!proto.fintekkers.models.security.CouponFrequencyProto}
1829
- */
1830
- proto.fintekkers.models.security.SecurityProto.prototype.getResetFrequency = function() {
1831
- return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 92, 0));
1832
- };
1833
-
1834
-
1835
- /**
1836
- * @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
1837
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1838
- */
1839
- proto.fintekkers.models.security.SecurityProto.prototype.setResetFrequency = function(value) {
1840
- return jspb.Message.setProto3EnumField(this, 92, value);
1841
- };
1842
-
1843
-
1844
- /**
1845
- * optional index.IndexTypeProto index_type = 80;
1846
- * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
1847
- */
1848
- proto.fintekkers.models.security.SecurityProto.prototype.getIndexType = function() {
1849
- return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 80, 0));
1850
- };
1851
-
1852
-
1853
- /**
1854
- * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
1855
- * @return {!proto.fintekkers.models.security.SecurityProto} returns this
1856
- */
1857
- proto.fintekkers.models.security.SecurityProto.prototype.setIndexType = function(value) {
1858
- return jspb.Message.setProto3EnumField(this, 80, value);
1859
- };
1860
-
1861
-
1862
1140
  /**
1863
1141
  * optional BondDetailsProto bond_details = 200;
1864
1142
  * @return {?proto.fintekkers.models.security.BondDetailsProto}