@sniipwebmaster/bill-service-client-grpcweb 0.2.4149 → 0.2.4171

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.
@@ -3019,7 +3019,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
3019
3019
  category: msg.getCategory(),
3020
3020
  isdraft: msg.getIsdraft(),
3021
3021
  isdonationincluded: msg.getIsdonationincluded(),
3022
- donationtext: msg.getDonationtext()
3022
+ donationtext: msg.getDonationtext(),
3023
+ originaldonationamount: msg.getOriginaldonationamount()
3023
3024
  };
3024
3025
 
3025
3026
  if (includeInstance) {
@@ -3255,6 +3256,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
3255
3256
  var value = /** @type {string} */ (reader.readString());
3256
3257
  msg.setDonationtext(value);
3257
3258
  break;
3259
+ case 50:
3260
+ var value = /** @type {number} */ (reader.readDouble());
3261
+ msg.setOriginaldonationamount(value);
3262
+ break;
3258
3263
  default:
3259
3264
  reader.skipField();
3260
3265
  break;
@@ -3637,6 +3642,13 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
3637
3642
  f
3638
3643
  );
3639
3644
  }
3645
+ f = this.getOriginaldonationamount();
3646
+ if (f !== 0.0) {
3647
+ writer.writeDouble(
3648
+ 50,
3649
+ f
3650
+ );
3651
+ }
3640
3652
  };
3641
3653
 
3642
3654
 
@@ -4425,6 +4437,21 @@ proto.sniipbillapi.BillDetail.prototype.setDonationtext = function(value) {
4425
4437
  };
4426
4438
 
4427
4439
 
4440
+ /**
4441
+ * optional double originalDonationAmount = 50;
4442
+ * @return {number}
4443
+ */
4444
+ proto.sniipbillapi.BillDetail.prototype.getOriginaldonationamount = function() {
4445
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 50, 0));
4446
+ };
4447
+
4448
+
4449
+ /** @param {number} value */
4450
+ proto.sniipbillapi.BillDetail.prototype.setOriginaldonationamount = function(value) {
4451
+ jspb.Message.setField(this, 50, value);
4452
+ };
4453
+
4454
+
4428
4455
 
4429
4456
  /**
4430
4457
  * Generated by JsPbCodeGenerator.
@@ -19214,7 +19241,8 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
19214
19241
  scancontent: msg.getScancontent(),
19215
19242
  isduedateeditable: msg.getIsduedateeditable(),
19216
19243
  isdonationincluded: msg.getIsdonationincluded(),
19217
- donationtext: msg.getDonationtext()
19244
+ donationtext: msg.getDonationtext(),
19245
+ originaldonationamount: msg.getOriginaldonationamount()
19218
19246
  };
19219
19247
 
19220
19248
  if (includeInstance) {
@@ -19456,6 +19484,10 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
19456
19484
  var value = /** @type {string} */ (reader.readString());
19457
19485
  msg.setDonationtext(value);
19458
19486
  break;
19487
+ case 53:
19488
+ var value = /** @type {number} */ (reader.readDouble());
19489
+ msg.setOriginaldonationamount(value);
19490
+ break;
19459
19491
  default:
19460
19492
  reader.skipField();
19461
19493
  break;
@@ -19851,6 +19883,13 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
19851
19883
  f
19852
19884
  );
19853
19885
  }
19886
+ f = this.getOriginaldonationamount();
19887
+ if (f !== 0.0) {
19888
+ writer.writeDouble(
19889
+ 53,
19890
+ f
19891
+ );
19892
+ }
19854
19893
  };
19855
19894
 
19856
19895
 
@@ -20659,6 +20698,21 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setDonationtext = function(value)
20659
20698
  };
20660
20699
 
20661
20700
 
20701
+ /**
20702
+ * optional double originalDonationAmount = 53;
20703
+ * @return {number}
20704
+ */
20705
+ proto.sniipbillapi.SimpleBillDetail.prototype.getOriginaldonationamount = function() {
20706
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 53, 0));
20707
+ };
20708
+
20709
+
20710
+ /** @param {number} value */
20711
+ proto.sniipbillapi.SimpleBillDetail.prototype.setOriginaldonationamount = function(value) {
20712
+ jspb.Message.setField(this, 53, value);
20713
+ };
20714
+
20715
+
20662
20716
 
20663
20717
  /**
20664
20718
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "0.2.4149",
3
+ "version": "0.2.4171",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",