@sniipwebmaster/bill-service-client-grpcweb 0.2.4171 → 0.2.4182
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.
- package/dependancies/service_pb.js +56 -2
- package/package.json +1 -1
|
@@ -3020,7 +3020,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
|
|
|
3020
3020
|
isdraft: msg.getIsdraft(),
|
|
3021
3021
|
isdonationincluded: msg.getIsdonationincluded(),
|
|
3022
3022
|
donationtext: msg.getDonationtext(),
|
|
3023
|
-
originaldonationamount: msg.getOriginaldonationamount()
|
|
3023
|
+
originaldonationamount: msg.getOriginaldonationamount(),
|
|
3024
|
+
donationamountdifference: msg.getDonationamountdifference()
|
|
3024
3025
|
};
|
|
3025
3026
|
|
|
3026
3027
|
if (includeInstance) {
|
|
@@ -3260,6 +3261,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3260
3261
|
var value = /** @type {number} */ (reader.readDouble());
|
|
3261
3262
|
msg.setOriginaldonationamount(value);
|
|
3262
3263
|
break;
|
|
3264
|
+
case 51:
|
|
3265
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3266
|
+
msg.setDonationamountdifference(value);
|
|
3267
|
+
break;
|
|
3263
3268
|
default:
|
|
3264
3269
|
reader.skipField();
|
|
3265
3270
|
break;
|
|
@@ -3649,6 +3654,13 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3649
3654
|
f
|
|
3650
3655
|
);
|
|
3651
3656
|
}
|
|
3657
|
+
f = this.getDonationamountdifference();
|
|
3658
|
+
if (f !== 0.0) {
|
|
3659
|
+
writer.writeDouble(
|
|
3660
|
+
51,
|
|
3661
|
+
f
|
|
3662
|
+
);
|
|
3663
|
+
}
|
|
3652
3664
|
};
|
|
3653
3665
|
|
|
3654
3666
|
|
|
@@ -4452,6 +4464,21 @@ proto.sniipbillapi.BillDetail.prototype.setOriginaldonationamount = function(val
|
|
|
4452
4464
|
};
|
|
4453
4465
|
|
|
4454
4466
|
|
|
4467
|
+
/**
|
|
4468
|
+
* optional double donationAmountDifference = 51;
|
|
4469
|
+
* @return {number}
|
|
4470
|
+
*/
|
|
4471
|
+
proto.sniipbillapi.BillDetail.prototype.getDonationamountdifference = function() {
|
|
4472
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 51, 0));
|
|
4473
|
+
};
|
|
4474
|
+
|
|
4475
|
+
|
|
4476
|
+
/** @param {number} value */
|
|
4477
|
+
proto.sniipbillapi.BillDetail.prototype.setDonationamountdifference = function(value) {
|
|
4478
|
+
jspb.Message.setField(this, 51, value);
|
|
4479
|
+
};
|
|
4480
|
+
|
|
4481
|
+
|
|
4455
4482
|
|
|
4456
4483
|
/**
|
|
4457
4484
|
* Generated by JsPbCodeGenerator.
|
|
@@ -19242,7 +19269,8 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
19242
19269
|
isduedateeditable: msg.getIsduedateeditable(),
|
|
19243
19270
|
isdonationincluded: msg.getIsdonationincluded(),
|
|
19244
19271
|
donationtext: msg.getDonationtext(),
|
|
19245
|
-
originaldonationamount: msg.getOriginaldonationamount()
|
|
19272
|
+
originaldonationamount: msg.getOriginaldonationamount(),
|
|
19273
|
+
donationamountdifference: msg.getDonationamountdifference()
|
|
19246
19274
|
};
|
|
19247
19275
|
|
|
19248
19276
|
if (includeInstance) {
|
|
@@ -19488,6 +19516,10 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
19488
19516
|
var value = /** @type {number} */ (reader.readDouble());
|
|
19489
19517
|
msg.setOriginaldonationamount(value);
|
|
19490
19518
|
break;
|
|
19519
|
+
case 54:
|
|
19520
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
19521
|
+
msg.setDonationamountdifference(value);
|
|
19522
|
+
break;
|
|
19491
19523
|
default:
|
|
19492
19524
|
reader.skipField();
|
|
19493
19525
|
break;
|
|
@@ -19890,6 +19922,13 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
19890
19922
|
f
|
|
19891
19923
|
);
|
|
19892
19924
|
}
|
|
19925
|
+
f = this.getDonationamountdifference();
|
|
19926
|
+
if (f !== 0.0) {
|
|
19927
|
+
writer.writeDouble(
|
|
19928
|
+
54,
|
|
19929
|
+
f
|
|
19930
|
+
);
|
|
19931
|
+
}
|
|
19893
19932
|
};
|
|
19894
19933
|
|
|
19895
19934
|
|
|
@@ -20713,6 +20752,21 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setOriginaldonationamount = functi
|
|
|
20713
20752
|
};
|
|
20714
20753
|
|
|
20715
20754
|
|
|
20755
|
+
/**
|
|
20756
|
+
* optional double donationAmountDifference = 54;
|
|
20757
|
+
* @return {number}
|
|
20758
|
+
*/
|
|
20759
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getDonationamountdifference = function() {
|
|
20760
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 54, 0));
|
|
20761
|
+
};
|
|
20762
|
+
|
|
20763
|
+
|
|
20764
|
+
/** @param {number} value */
|
|
20765
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setDonationamountdifference = function(value) {
|
|
20766
|
+
jspb.Message.setField(this, 54, value);
|
|
20767
|
+
};
|
|
20768
|
+
|
|
20769
|
+
|
|
20716
20770
|
|
|
20717
20771
|
/**
|
|
20718
20772
|
* Generated by JsPbCodeGenerator.
|