@sniipwebmaster/bill-service-client-grpcweb 0.2.4160 → 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 +110 -2
- package/package.json +1 -1
|
@@ -3019,7 +3019,9 @@ 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(),
|
|
3024
|
+
donationamountdifference: msg.getDonationamountdifference()
|
|
3023
3025
|
};
|
|
3024
3026
|
|
|
3025
3027
|
if (includeInstance) {
|
|
@@ -3255,6 +3257,14 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
|
|
|
3255
3257
|
var value = /** @type {string} */ (reader.readString());
|
|
3256
3258
|
msg.setDonationtext(value);
|
|
3257
3259
|
break;
|
|
3260
|
+
case 50:
|
|
3261
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3262
|
+
msg.setOriginaldonationamount(value);
|
|
3263
|
+
break;
|
|
3264
|
+
case 51:
|
|
3265
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3266
|
+
msg.setDonationamountdifference(value);
|
|
3267
|
+
break;
|
|
3258
3268
|
default:
|
|
3259
3269
|
reader.skipField();
|
|
3260
3270
|
break;
|
|
@@ -3637,6 +3647,20 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
|
|
|
3637
3647
|
f
|
|
3638
3648
|
);
|
|
3639
3649
|
}
|
|
3650
|
+
f = this.getOriginaldonationamount();
|
|
3651
|
+
if (f !== 0.0) {
|
|
3652
|
+
writer.writeDouble(
|
|
3653
|
+
50,
|
|
3654
|
+
f
|
|
3655
|
+
);
|
|
3656
|
+
}
|
|
3657
|
+
f = this.getDonationamountdifference();
|
|
3658
|
+
if (f !== 0.0) {
|
|
3659
|
+
writer.writeDouble(
|
|
3660
|
+
51,
|
|
3661
|
+
f
|
|
3662
|
+
);
|
|
3663
|
+
}
|
|
3640
3664
|
};
|
|
3641
3665
|
|
|
3642
3666
|
|
|
@@ -4425,6 +4449,36 @@ proto.sniipbillapi.BillDetail.prototype.setDonationtext = function(value) {
|
|
|
4425
4449
|
};
|
|
4426
4450
|
|
|
4427
4451
|
|
|
4452
|
+
/**
|
|
4453
|
+
* optional double originalDonationAmount = 50;
|
|
4454
|
+
* @return {number}
|
|
4455
|
+
*/
|
|
4456
|
+
proto.sniipbillapi.BillDetail.prototype.getOriginaldonationamount = function() {
|
|
4457
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 50, 0));
|
|
4458
|
+
};
|
|
4459
|
+
|
|
4460
|
+
|
|
4461
|
+
/** @param {number} value */
|
|
4462
|
+
proto.sniipbillapi.BillDetail.prototype.setOriginaldonationamount = function(value) {
|
|
4463
|
+
jspb.Message.setField(this, 50, value);
|
|
4464
|
+
};
|
|
4465
|
+
|
|
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
|
+
|
|
4428
4482
|
|
|
4429
4483
|
/**
|
|
4430
4484
|
* Generated by JsPbCodeGenerator.
|
|
@@ -19214,7 +19268,9 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
|
|
|
19214
19268
|
scancontent: msg.getScancontent(),
|
|
19215
19269
|
isduedateeditable: msg.getIsduedateeditable(),
|
|
19216
19270
|
isdonationincluded: msg.getIsdonationincluded(),
|
|
19217
|
-
donationtext: msg.getDonationtext()
|
|
19271
|
+
donationtext: msg.getDonationtext(),
|
|
19272
|
+
originaldonationamount: msg.getOriginaldonationamount(),
|
|
19273
|
+
donationamountdifference: msg.getDonationamountdifference()
|
|
19218
19274
|
};
|
|
19219
19275
|
|
|
19220
19276
|
if (includeInstance) {
|
|
@@ -19456,6 +19512,14 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
|
|
|
19456
19512
|
var value = /** @type {string} */ (reader.readString());
|
|
19457
19513
|
msg.setDonationtext(value);
|
|
19458
19514
|
break;
|
|
19515
|
+
case 53:
|
|
19516
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
19517
|
+
msg.setOriginaldonationamount(value);
|
|
19518
|
+
break;
|
|
19519
|
+
case 54:
|
|
19520
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
19521
|
+
msg.setDonationamountdifference(value);
|
|
19522
|
+
break;
|
|
19459
19523
|
default:
|
|
19460
19524
|
reader.skipField();
|
|
19461
19525
|
break;
|
|
@@ -19851,6 +19915,20 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
|
|
|
19851
19915
|
f
|
|
19852
19916
|
);
|
|
19853
19917
|
}
|
|
19918
|
+
f = this.getOriginaldonationamount();
|
|
19919
|
+
if (f !== 0.0) {
|
|
19920
|
+
writer.writeDouble(
|
|
19921
|
+
53,
|
|
19922
|
+
f
|
|
19923
|
+
);
|
|
19924
|
+
}
|
|
19925
|
+
f = this.getDonationamountdifference();
|
|
19926
|
+
if (f !== 0.0) {
|
|
19927
|
+
writer.writeDouble(
|
|
19928
|
+
54,
|
|
19929
|
+
f
|
|
19930
|
+
);
|
|
19931
|
+
}
|
|
19854
19932
|
};
|
|
19855
19933
|
|
|
19856
19934
|
|
|
@@ -20659,6 +20737,36 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setDonationtext = function(value)
|
|
|
20659
20737
|
};
|
|
20660
20738
|
|
|
20661
20739
|
|
|
20740
|
+
/**
|
|
20741
|
+
* optional double originalDonationAmount = 53;
|
|
20742
|
+
* @return {number}
|
|
20743
|
+
*/
|
|
20744
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.getOriginaldonationamount = function() {
|
|
20745
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 53, 0));
|
|
20746
|
+
};
|
|
20747
|
+
|
|
20748
|
+
|
|
20749
|
+
/** @param {number} value */
|
|
20750
|
+
proto.sniipbillapi.SimpleBillDetail.prototype.setOriginaldonationamount = function(value) {
|
|
20751
|
+
jspb.Message.setField(this, 53, value);
|
|
20752
|
+
};
|
|
20753
|
+
|
|
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
|
+
|
|
20662
20770
|
|
|
20663
20771
|
/**
|
|
20664
20772
|
* Generated by JsPbCodeGenerator.
|