@sniipwebmaster/bill-service-client-grpcweb 0.2.4193 → 0.2.4204
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 +84 -1
- package/package.json +1 -1
|
@@ -166,7 +166,10 @@ proto.sniipbillapi.AddBillInfo.toObject = function(includeInstance, msg) {
|
|
|
166
166
|
maxamountpermitted: msg.getMaxamountpermitted(),
|
|
167
167
|
nickname: msg.getNickname(),
|
|
168
168
|
issupported: msg.getIssupported(),
|
|
169
|
-
filtertype: msg.getFiltertype()
|
|
169
|
+
filtertype: msg.getFiltertype(),
|
|
170
|
+
isdonationavailable: msg.getIsdonationavailable(),
|
|
171
|
+
donationtext: msg.getDonationtext(),
|
|
172
|
+
originaldonationamount: msg.getOriginaldonationamount()
|
|
170
173
|
};
|
|
171
174
|
|
|
172
175
|
if (includeInstance) {
|
|
@@ -255,6 +258,18 @@ proto.sniipbillapi.AddBillInfo.deserializeBinaryFromReader = function(msg, reade
|
|
|
255
258
|
var value = /** @type {string} */ (reader.readString());
|
|
256
259
|
msg.setFiltertype(value);
|
|
257
260
|
break;
|
|
261
|
+
case 14:
|
|
262
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
263
|
+
msg.setIsdonationavailable(value);
|
|
264
|
+
break;
|
|
265
|
+
case 15:
|
|
266
|
+
var value = /** @type {string} */ (reader.readString());
|
|
267
|
+
msg.setDonationtext(value);
|
|
268
|
+
break;
|
|
269
|
+
case 16:
|
|
270
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
271
|
+
msg.setOriginaldonationamount(value);
|
|
272
|
+
break;
|
|
258
273
|
default:
|
|
259
274
|
reader.skipField();
|
|
260
275
|
break;
|
|
@@ -384,6 +399,27 @@ proto.sniipbillapi.AddBillInfo.prototype.serializeBinaryToWriter = function (wri
|
|
|
384
399
|
f
|
|
385
400
|
);
|
|
386
401
|
}
|
|
402
|
+
f = this.getIsdonationavailable();
|
|
403
|
+
if (f) {
|
|
404
|
+
writer.writeBool(
|
|
405
|
+
14,
|
|
406
|
+
f
|
|
407
|
+
);
|
|
408
|
+
}
|
|
409
|
+
f = this.getDonationtext();
|
|
410
|
+
if (f.length > 0) {
|
|
411
|
+
writer.writeString(
|
|
412
|
+
15,
|
|
413
|
+
f
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
f = this.getOriginaldonationamount();
|
|
417
|
+
if (f !== 0.0) {
|
|
418
|
+
writer.writeDouble(
|
|
419
|
+
16,
|
|
420
|
+
f
|
|
421
|
+
);
|
|
422
|
+
}
|
|
387
423
|
};
|
|
388
424
|
|
|
389
425
|
|
|
@@ -593,6 +629,53 @@ proto.sniipbillapi.AddBillInfo.prototype.setFiltertype = function(value) {
|
|
|
593
629
|
};
|
|
594
630
|
|
|
595
631
|
|
|
632
|
+
/**
|
|
633
|
+
* optional bool isDonationAvailable = 14;
|
|
634
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
635
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
636
|
+
* @return {boolean}
|
|
637
|
+
*/
|
|
638
|
+
proto.sniipbillapi.AddBillInfo.prototype.getIsdonationavailable = function() {
|
|
639
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 14, false));
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
/** @param {boolean} value */
|
|
644
|
+
proto.sniipbillapi.AddBillInfo.prototype.setIsdonationavailable = function(value) {
|
|
645
|
+
jspb.Message.setField(this, 14, value);
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* optional string donationText = 15;
|
|
651
|
+
* @return {string}
|
|
652
|
+
*/
|
|
653
|
+
proto.sniipbillapi.AddBillInfo.prototype.getDonationtext = function() {
|
|
654
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
/** @param {string} value */
|
|
659
|
+
proto.sniipbillapi.AddBillInfo.prototype.setDonationtext = function(value) {
|
|
660
|
+
jspb.Message.setField(this, 15, value);
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* optional double originalDonationAmount = 16;
|
|
666
|
+
* @return {number}
|
|
667
|
+
*/
|
|
668
|
+
proto.sniipbillapi.AddBillInfo.prototype.getOriginaldonationamount = function() {
|
|
669
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 16, 0));
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
/** @param {number} value */
|
|
674
|
+
proto.sniipbillapi.AddBillInfo.prototype.setOriginaldonationamount = function(value) {
|
|
675
|
+
jspb.Message.setField(this, 16, value);
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
|
|
596
679
|
|
|
597
680
|
/**
|
|
598
681
|
* Generated by JsPbCodeGenerator.
|