@sniipwebmaster/realtime-message-client-grpcweb 21.18.11 → 21.18.27
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 +1347 -101
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ goog.exportSymbol('proto.realtimemessageapi.EventType', null, global);
|
|
|
19
19
|
goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
|
|
20
20
|
goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
|
|
21
21
|
goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
|
|
22
|
+
goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Generated by JsPbCodeGenerator.
|
|
@@ -375,151 +376,1396 @@ proto.realtimemessageapi.PostRequest.prototype.setValue = function(value) {
|
|
|
375
376
|
* @extends {jspb.Message}
|
|
376
377
|
* @constructor
|
|
377
378
|
*/
|
|
378
|
-
proto.realtimemessageapi.
|
|
379
|
+
proto.realtimemessageapi.TransactionFailed = function(opt_data) {
|
|
379
380
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
380
381
|
};
|
|
381
|
-
goog.inherits(proto.realtimemessageapi.
|
|
382
|
-
if (goog.DEBUG && !COMPILED) {
|
|
383
|
-
proto.realtimemessageapi.
|
|
384
|
-
}
|
|
382
|
+
goog.inherits(proto.realtimemessageapi.TransactionFailed, jspb.Message);
|
|
383
|
+
if (goog.DEBUG && !COMPILED) {
|
|
384
|
+
proto.realtimemessageapi.TransactionFailed.displayName = 'proto.realtimemessageapi.TransactionFailed';
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
389
|
+
/**
|
|
390
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
391
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
392
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
393
|
+
* For the list of reserved names please see:
|
|
394
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
395
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
396
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
397
|
+
* @return {!Object}
|
|
398
|
+
*/
|
|
399
|
+
proto.realtimemessageapi.TransactionFailed.prototype.toObject = function(opt_includeInstance) {
|
|
400
|
+
return proto.realtimemessageapi.TransactionFailed.toObject(opt_includeInstance, this);
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Static version of the {@see toObject} method.
|
|
406
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
407
|
+
* instance for transitional soy proto support:
|
|
408
|
+
* http://goto/soy-param-migration
|
|
409
|
+
* @param {!proto.realtimemessageapi.TransactionFailed} msg The msg instance to transform.
|
|
410
|
+
* @return {!Object}
|
|
411
|
+
*/
|
|
412
|
+
proto.realtimemessageapi.TransactionFailed.toObject = function(includeInstance, msg) {
|
|
413
|
+
var f, obj = {
|
|
414
|
+
userid: msg.getUserid(),
|
|
415
|
+
billid: msg.getBillid(),
|
|
416
|
+
billerid: msg.getBillerid(),
|
|
417
|
+
transactionid: msg.getTransactionid(),
|
|
418
|
+
billercode: msg.getBillercode(),
|
|
419
|
+
paymentgatewayid: msg.getPaymentgatewayid(),
|
|
420
|
+
paidamountexcludingsurcharges: msg.getPaidamountexcludingsurcharges(),
|
|
421
|
+
paidamountincludingsurcharges: msg.getPaidamountincludingsurcharges(),
|
|
422
|
+
paymentprocessorsurchargeamount: msg.getPaymentprocessorsurchargeamount(),
|
|
423
|
+
createdat: msg.getCreatedat(),
|
|
424
|
+
latitude: msg.getLatitude(),
|
|
425
|
+
longitude: msg.getLongitude(),
|
|
426
|
+
errormessage: msg.getErrormessage(),
|
|
427
|
+
customerfirstname: msg.getCustomerfirstname(),
|
|
428
|
+
customerlastname: msg.getCustomerlastname(),
|
|
429
|
+
paymentgatewaybankresponsecode: msg.getPaymentgatewaybankresponsecode(),
|
|
430
|
+
paymentgatewayresponseerrormessage: msg.getPaymentgatewayresponseerrormessage(),
|
|
431
|
+
scheduledpaymentid: msg.getScheduledpaymentid(),
|
|
432
|
+
processpayment: msg.getProcesspayment(),
|
|
433
|
+
rewardamount: msg.getRewardamount()
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
if (includeInstance) {
|
|
437
|
+
obj.$jspbMessageInstance = msg;
|
|
438
|
+
}
|
|
439
|
+
return obj;
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Deserializes binary data (in protobuf wire format).
|
|
446
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
447
|
+
* @return {!proto.realtimemessageapi.TransactionFailed}
|
|
448
|
+
*/
|
|
449
|
+
proto.realtimemessageapi.TransactionFailed.deserializeBinary = function(bytes) {
|
|
450
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
451
|
+
var msg = new proto.realtimemessageapi.TransactionFailed;
|
|
452
|
+
return proto.realtimemessageapi.TransactionFailed.deserializeBinaryFromReader(msg, reader);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
458
|
+
* given reader into the given message object.
|
|
459
|
+
* @param {!proto.realtimemessageapi.TransactionFailed} msg The message object to deserialize into.
|
|
460
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
461
|
+
* @return {!proto.realtimemessageapi.TransactionFailed}
|
|
462
|
+
*/
|
|
463
|
+
proto.realtimemessageapi.TransactionFailed.deserializeBinaryFromReader = function(msg, reader) {
|
|
464
|
+
while (reader.nextField()) {
|
|
465
|
+
if (reader.isEndGroup()) {
|
|
466
|
+
break;
|
|
467
|
+
}
|
|
468
|
+
var field = reader.getFieldNumber();
|
|
469
|
+
switch (field) {
|
|
470
|
+
case 1:
|
|
471
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
472
|
+
msg.setUserid(value);
|
|
473
|
+
break;
|
|
474
|
+
case 2:
|
|
475
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
476
|
+
msg.setBillid(value);
|
|
477
|
+
break;
|
|
478
|
+
case 3:
|
|
479
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
480
|
+
msg.setBillerid(value);
|
|
481
|
+
break;
|
|
482
|
+
case 4:
|
|
483
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
484
|
+
msg.setTransactionid(value);
|
|
485
|
+
break;
|
|
486
|
+
case 5:
|
|
487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
488
|
+
msg.setBillercode(value);
|
|
489
|
+
break;
|
|
490
|
+
case 6:
|
|
491
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
492
|
+
msg.setPaymentgatewayid(value);
|
|
493
|
+
break;
|
|
494
|
+
case 7:
|
|
495
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
496
|
+
msg.setPaidamountexcludingsurcharges(value);
|
|
497
|
+
break;
|
|
498
|
+
case 8:
|
|
499
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
500
|
+
msg.setPaidamountincludingsurcharges(value);
|
|
501
|
+
break;
|
|
502
|
+
case 9:
|
|
503
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
504
|
+
msg.setPaymentprocessorsurchargeamount(value);
|
|
505
|
+
break;
|
|
506
|
+
case 10:
|
|
507
|
+
var value = /** @type {string} */ (reader.readString());
|
|
508
|
+
msg.setCreatedat(value);
|
|
509
|
+
break;
|
|
510
|
+
case 11:
|
|
511
|
+
var value = /** @type {string} */ (reader.readString());
|
|
512
|
+
msg.setLatitude(value);
|
|
513
|
+
break;
|
|
514
|
+
case 12:
|
|
515
|
+
var value = /** @type {string} */ (reader.readString());
|
|
516
|
+
msg.setLongitude(value);
|
|
517
|
+
break;
|
|
518
|
+
case 13:
|
|
519
|
+
var value = /** @type {string} */ (reader.readString());
|
|
520
|
+
msg.setErrormessage(value);
|
|
521
|
+
break;
|
|
522
|
+
case 14:
|
|
523
|
+
var value = /** @type {string} */ (reader.readString());
|
|
524
|
+
msg.setCustomerfirstname(value);
|
|
525
|
+
break;
|
|
526
|
+
case 15:
|
|
527
|
+
var value = /** @type {string} */ (reader.readString());
|
|
528
|
+
msg.setCustomerlastname(value);
|
|
529
|
+
break;
|
|
530
|
+
case 16:
|
|
531
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
532
|
+
msg.setPaymentgatewaybankresponsecode(value);
|
|
533
|
+
break;
|
|
534
|
+
case 17:
|
|
535
|
+
var value = /** @type {string} */ (reader.readString());
|
|
536
|
+
msg.setPaymentgatewayresponseerrormessage(value);
|
|
537
|
+
break;
|
|
538
|
+
case 18:
|
|
539
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
540
|
+
msg.setScheduledpaymentid(value);
|
|
541
|
+
break;
|
|
542
|
+
case 19:
|
|
543
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
544
|
+
msg.setProcesspayment(value);
|
|
545
|
+
break;
|
|
546
|
+
case 20:
|
|
547
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
548
|
+
msg.setRewardamount(value);
|
|
549
|
+
break;
|
|
550
|
+
default:
|
|
551
|
+
reader.skipField();
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
return msg;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Class method variant: serializes the given message to binary data
|
|
561
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
562
|
+
* @param {!proto.realtimemessageapi.TransactionFailed} message
|
|
563
|
+
* @param {!jspb.BinaryWriter} writer
|
|
564
|
+
*/
|
|
565
|
+
proto.realtimemessageapi.TransactionFailed.serializeBinaryToWriter = function(message, writer) {
|
|
566
|
+
message.serializeBinaryToWriter(writer);
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
572
|
+
* @return {!Uint8Array}
|
|
573
|
+
*/
|
|
574
|
+
proto.realtimemessageapi.TransactionFailed.prototype.serializeBinary = function() {
|
|
575
|
+
var writer = new jspb.BinaryWriter();
|
|
576
|
+
this.serializeBinaryToWriter(writer);
|
|
577
|
+
return writer.getResultBuffer();
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
583
|
+
* writing to the given BinaryWriter.
|
|
584
|
+
* @param {!jspb.BinaryWriter} writer
|
|
585
|
+
*/
|
|
586
|
+
proto.realtimemessageapi.TransactionFailed.prototype.serializeBinaryToWriter = function (writer) {
|
|
587
|
+
var f = undefined;
|
|
588
|
+
f = this.getUserid();
|
|
589
|
+
if (f !== 0) {
|
|
590
|
+
writer.writeInt64(
|
|
591
|
+
1,
|
|
592
|
+
f
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
f = this.getBillid();
|
|
596
|
+
if (f !== 0) {
|
|
597
|
+
writer.writeInt64(
|
|
598
|
+
2,
|
|
599
|
+
f
|
|
600
|
+
);
|
|
601
|
+
}
|
|
602
|
+
f = this.getBillerid();
|
|
603
|
+
if (f !== 0) {
|
|
604
|
+
writer.writeInt64(
|
|
605
|
+
3,
|
|
606
|
+
f
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
f = this.getTransactionid();
|
|
610
|
+
if (f !== 0) {
|
|
611
|
+
writer.writeInt64(
|
|
612
|
+
4,
|
|
613
|
+
f
|
|
614
|
+
);
|
|
615
|
+
}
|
|
616
|
+
f = this.getBillercode();
|
|
617
|
+
if (f.length > 0) {
|
|
618
|
+
writer.writeString(
|
|
619
|
+
5,
|
|
620
|
+
f
|
|
621
|
+
);
|
|
622
|
+
}
|
|
623
|
+
f = this.getPaymentgatewayid();
|
|
624
|
+
if (f !== 0) {
|
|
625
|
+
writer.writeInt64(
|
|
626
|
+
6,
|
|
627
|
+
f
|
|
628
|
+
);
|
|
629
|
+
}
|
|
630
|
+
f = this.getPaidamountexcludingsurcharges();
|
|
631
|
+
if (f !== 0.0) {
|
|
632
|
+
writer.writeDouble(
|
|
633
|
+
7,
|
|
634
|
+
f
|
|
635
|
+
);
|
|
636
|
+
}
|
|
637
|
+
f = this.getPaidamountincludingsurcharges();
|
|
638
|
+
if (f !== 0.0) {
|
|
639
|
+
writer.writeDouble(
|
|
640
|
+
8,
|
|
641
|
+
f
|
|
642
|
+
);
|
|
643
|
+
}
|
|
644
|
+
f = this.getPaymentprocessorsurchargeamount();
|
|
645
|
+
if (f !== 0.0) {
|
|
646
|
+
writer.writeDouble(
|
|
647
|
+
9,
|
|
648
|
+
f
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
f = this.getCreatedat();
|
|
652
|
+
if (f.length > 0) {
|
|
653
|
+
writer.writeString(
|
|
654
|
+
10,
|
|
655
|
+
f
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
f = this.getLatitude();
|
|
659
|
+
if (f.length > 0) {
|
|
660
|
+
writer.writeString(
|
|
661
|
+
11,
|
|
662
|
+
f
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
f = this.getLongitude();
|
|
666
|
+
if (f.length > 0) {
|
|
667
|
+
writer.writeString(
|
|
668
|
+
12,
|
|
669
|
+
f
|
|
670
|
+
);
|
|
671
|
+
}
|
|
672
|
+
f = this.getErrormessage();
|
|
673
|
+
if (f.length > 0) {
|
|
674
|
+
writer.writeString(
|
|
675
|
+
13,
|
|
676
|
+
f
|
|
677
|
+
);
|
|
678
|
+
}
|
|
679
|
+
f = this.getCustomerfirstname();
|
|
680
|
+
if (f.length > 0) {
|
|
681
|
+
writer.writeString(
|
|
682
|
+
14,
|
|
683
|
+
f
|
|
684
|
+
);
|
|
685
|
+
}
|
|
686
|
+
f = this.getCustomerlastname();
|
|
687
|
+
if (f.length > 0) {
|
|
688
|
+
writer.writeString(
|
|
689
|
+
15,
|
|
690
|
+
f
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
f = this.getPaymentgatewaybankresponsecode();
|
|
694
|
+
if (f !== 0) {
|
|
695
|
+
writer.writeInt32(
|
|
696
|
+
16,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
f = this.getPaymentgatewayresponseerrormessage();
|
|
701
|
+
if (f.length > 0) {
|
|
702
|
+
writer.writeString(
|
|
703
|
+
17,
|
|
704
|
+
f
|
|
705
|
+
);
|
|
706
|
+
}
|
|
707
|
+
f = this.getScheduledpaymentid();
|
|
708
|
+
if (f !== 0) {
|
|
709
|
+
writer.writeInt64(
|
|
710
|
+
18,
|
|
711
|
+
f
|
|
712
|
+
);
|
|
713
|
+
}
|
|
714
|
+
f = this.getProcesspayment();
|
|
715
|
+
if (f) {
|
|
716
|
+
writer.writeBool(
|
|
717
|
+
19,
|
|
718
|
+
f
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
f = this.getRewardamount();
|
|
722
|
+
if (f !== 0.0) {
|
|
723
|
+
writer.writeDouble(
|
|
724
|
+
20,
|
|
725
|
+
f
|
|
726
|
+
);
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
733
|
+
* @return {!proto.realtimemessageapi.TransactionFailed} The clone.
|
|
734
|
+
*/
|
|
735
|
+
proto.realtimemessageapi.TransactionFailed.prototype.cloneMessage = function() {
|
|
736
|
+
return /** @type {!proto.realtimemessageapi.TransactionFailed} */ (jspb.Message.cloneMessage(this));
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* optional int64 userId = 1;
|
|
742
|
+
* @return {number}
|
|
743
|
+
*/
|
|
744
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getUserid = function() {
|
|
745
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/** @param {number} value */
|
|
750
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setUserid = function(value) {
|
|
751
|
+
jspb.Message.setField(this, 1, value);
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* optional int64 billId = 2;
|
|
757
|
+
* @return {number}
|
|
758
|
+
*/
|
|
759
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getBillid = function() {
|
|
760
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
/** @param {number} value */
|
|
765
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setBillid = function(value) {
|
|
766
|
+
jspb.Message.setField(this, 2, value);
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* optional int64 billerId = 3;
|
|
772
|
+
* @return {number}
|
|
773
|
+
*/
|
|
774
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getBillerid = function() {
|
|
775
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/** @param {number} value */
|
|
780
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setBillerid = function(value) {
|
|
781
|
+
jspb.Message.setField(this, 3, value);
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* optional int64 transactionId = 4;
|
|
787
|
+
* @return {number}
|
|
788
|
+
*/
|
|
789
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getTransactionid = function() {
|
|
790
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
/** @param {number} value */
|
|
795
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setTransactionid = function(value) {
|
|
796
|
+
jspb.Message.setField(this, 4, value);
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* optional string billerCode = 5;
|
|
802
|
+
* @return {string}
|
|
803
|
+
*/
|
|
804
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getBillercode = function() {
|
|
805
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/** @param {string} value */
|
|
810
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setBillercode = function(value) {
|
|
811
|
+
jspb.Message.setField(this, 5, value);
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* optional int64 paymentGatewayId = 6;
|
|
817
|
+
* @return {number}
|
|
818
|
+
*/
|
|
819
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaymentgatewayid = function() {
|
|
820
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/** @param {number} value */
|
|
825
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaymentgatewayid = function(value) {
|
|
826
|
+
jspb.Message.setField(this, 6, value);
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* optional double paidAmountExcludingSurcharges = 7;
|
|
832
|
+
* @return {number}
|
|
833
|
+
*/
|
|
834
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaidamountexcludingsurcharges = function() {
|
|
835
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
/** @param {number} value */
|
|
840
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaidamountexcludingsurcharges = function(value) {
|
|
841
|
+
jspb.Message.setField(this, 7, value);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* optional double paidAmountIncludingSurcharges = 8;
|
|
847
|
+
* @return {number}
|
|
848
|
+
*/
|
|
849
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaidamountincludingsurcharges = function() {
|
|
850
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/** @param {number} value */
|
|
855
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaidamountincludingsurcharges = function(value) {
|
|
856
|
+
jspb.Message.setField(this, 8, value);
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* optional double paymentProcessorSurchargeAmount = 9;
|
|
862
|
+
* @return {number}
|
|
863
|
+
*/
|
|
864
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaymentprocessorsurchargeamount = function() {
|
|
865
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
/** @param {number} value */
|
|
870
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaymentprocessorsurchargeamount = function(value) {
|
|
871
|
+
jspb.Message.setField(this, 9, value);
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* optional string createdAt = 10;
|
|
877
|
+
* @return {string}
|
|
878
|
+
*/
|
|
879
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getCreatedat = function() {
|
|
880
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/** @param {string} value */
|
|
885
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setCreatedat = function(value) {
|
|
886
|
+
jspb.Message.setField(this, 10, value);
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* optional string latitude = 11;
|
|
892
|
+
* @return {string}
|
|
893
|
+
*/
|
|
894
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getLatitude = function() {
|
|
895
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
/** @param {string} value */
|
|
900
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setLatitude = function(value) {
|
|
901
|
+
jspb.Message.setField(this, 11, value);
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* optional string longitude = 12;
|
|
907
|
+
* @return {string}
|
|
908
|
+
*/
|
|
909
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getLongitude = function() {
|
|
910
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
/** @param {string} value */
|
|
915
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setLongitude = function(value) {
|
|
916
|
+
jspb.Message.setField(this, 12, value);
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* optional string errorMessage = 13;
|
|
922
|
+
* @return {string}
|
|
923
|
+
*/
|
|
924
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getErrormessage = function() {
|
|
925
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 13, ""));
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
/** @param {string} value */
|
|
930
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setErrormessage = function(value) {
|
|
931
|
+
jspb.Message.setField(this, 13, value);
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* optional string customerFirstName = 14;
|
|
937
|
+
* @return {string}
|
|
938
|
+
*/
|
|
939
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getCustomerfirstname = function() {
|
|
940
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
/** @param {string} value */
|
|
945
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setCustomerfirstname = function(value) {
|
|
946
|
+
jspb.Message.setField(this, 14, value);
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* optional string customerLastName = 15;
|
|
952
|
+
* @return {string}
|
|
953
|
+
*/
|
|
954
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getCustomerlastname = function() {
|
|
955
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
|
|
956
|
+
};
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
/** @param {string} value */
|
|
960
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setCustomerlastname = function(value) {
|
|
961
|
+
jspb.Message.setField(this, 15, value);
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* optional int32 paymentGatewayBankResponseCode = 16;
|
|
967
|
+
* @return {number}
|
|
968
|
+
*/
|
|
969
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaymentgatewaybankresponsecode = function() {
|
|
970
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 16, 0));
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
/** @param {number} value */
|
|
975
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaymentgatewaybankresponsecode = function(value) {
|
|
976
|
+
jspb.Message.setField(this, 16, value);
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* optional string paymentGatewayResponseErrorMessage = 17;
|
|
982
|
+
* @return {string}
|
|
983
|
+
*/
|
|
984
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getPaymentgatewayresponseerrormessage = function() {
|
|
985
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/** @param {string} value */
|
|
990
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setPaymentgatewayresponseerrormessage = function(value) {
|
|
991
|
+
jspb.Message.setField(this, 17, value);
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* optional int64 scheduledPaymentId = 18;
|
|
997
|
+
* @return {number}
|
|
998
|
+
*/
|
|
999
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getScheduledpaymentid = function() {
|
|
1000
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 18, 0));
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
/** @param {number} value */
|
|
1005
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setScheduledpaymentid = function(value) {
|
|
1006
|
+
jspb.Message.setField(this, 18, value);
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* optional bool processPayment = 19;
|
|
1012
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1013
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1014
|
+
* @return {boolean}
|
|
1015
|
+
*/
|
|
1016
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getProcesspayment = function() {
|
|
1017
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 19, false));
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
/** @param {boolean} value */
|
|
1022
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setProcesspayment = function(value) {
|
|
1023
|
+
jspb.Message.setField(this, 19, value);
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* optional double rewardAmount = 20;
|
|
1029
|
+
* @return {number}
|
|
1030
|
+
*/
|
|
1031
|
+
proto.realtimemessageapi.TransactionFailed.prototype.getRewardamount = function() {
|
|
1032
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 20, 0));
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
/** @param {number} value */
|
|
1037
|
+
proto.realtimemessageapi.TransactionFailed.prototype.setRewardamount = function(value) {
|
|
1038
|
+
jspb.Message.setField(this, 20, value);
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Generated by JsPbCodeGenerator.
|
|
1045
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1046
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1047
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1048
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1049
|
+
* valid.
|
|
1050
|
+
* @extends {jspb.Message}
|
|
1051
|
+
* @constructor
|
|
1052
|
+
*/
|
|
1053
|
+
proto.realtimemessageapi.BillPaid = function(opt_data) {
|
|
1054
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1055
|
+
};
|
|
1056
|
+
goog.inherits(proto.realtimemessageapi.BillPaid, jspb.Message);
|
|
1057
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1058
|
+
proto.realtimemessageapi.BillPaid.displayName = 'proto.realtimemessageapi.BillPaid';
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1063
|
+
/**
|
|
1064
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1065
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1066
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1067
|
+
* For the list of reserved names please see:
|
|
1068
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1069
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1070
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1071
|
+
* @return {!Object}
|
|
1072
|
+
*/
|
|
1073
|
+
proto.realtimemessageapi.BillPaid.prototype.toObject = function(opt_includeInstance) {
|
|
1074
|
+
return proto.realtimemessageapi.BillPaid.toObject(opt_includeInstance, this);
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Static version of the {@see toObject} method.
|
|
1080
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1081
|
+
* instance for transitional soy proto support:
|
|
1082
|
+
* http://goto/soy-param-migration
|
|
1083
|
+
* @param {!proto.realtimemessageapi.BillPaid} msg The msg instance to transform.
|
|
1084
|
+
* @return {!Object}
|
|
1085
|
+
*/
|
|
1086
|
+
proto.realtimemessageapi.BillPaid.toObject = function(includeInstance, msg) {
|
|
1087
|
+
var f, obj = {
|
|
1088
|
+
userid: msg.getUserid(),
|
|
1089
|
+
billid: msg.getBillid(),
|
|
1090
|
+
billerid: msg.getBillerid(),
|
|
1091
|
+
transactionid: msg.getTransactionid(),
|
|
1092
|
+
billercode: msg.getBillercode(),
|
|
1093
|
+
amountpaid: msg.getAmountpaid(),
|
|
1094
|
+
totalamount: msg.getTotalamount(),
|
|
1095
|
+
paidamountexcludingsurcharges: msg.getPaidamountexcludingsurcharges(),
|
|
1096
|
+
scheduledamountexcludingsurcharges: msg.getScheduledamountexcludingsurcharges(),
|
|
1097
|
+
overduefeeamount: msg.getOverduefeeamount(),
|
|
1098
|
+
originalamount: msg.getOriginalamount(),
|
|
1099
|
+
originaloverdueamount: msg.getOriginaloverdueamount(),
|
|
1100
|
+
remainingamount: msg.getRemainingamount(),
|
|
1101
|
+
scheduledpaymentid: msg.getScheduledpaymentid(),
|
|
1102
|
+
paidat: msg.getPaidat(),
|
|
1103
|
+
reference: msg.getReference(),
|
|
1104
|
+
externalid: msg.getExternalid(),
|
|
1105
|
+
paymentmethodpaymenttype: msg.getPaymentmethodpaymenttype(),
|
|
1106
|
+
processpayment: msg.getProcesspayment(),
|
|
1107
|
+
rewardamount: msg.getRewardamount(),
|
|
1108
|
+
anotheruserpaidsamebillwithrewards: msg.getAnotheruserpaidsamebillwithrewards(),
|
|
1109
|
+
numberofotheruserswhopaidsamebillwithrewards: msg.getNumberofotheruserswhopaidsamebillwithrewards()
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
if (includeInstance) {
|
|
1113
|
+
obj.$jspbMessageInstance = msg;
|
|
1114
|
+
}
|
|
1115
|
+
return obj;
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1122
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1123
|
+
* @return {!proto.realtimemessageapi.BillPaid}
|
|
1124
|
+
*/
|
|
1125
|
+
proto.realtimemessageapi.BillPaid.deserializeBinary = function(bytes) {
|
|
1126
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1127
|
+
var msg = new proto.realtimemessageapi.BillPaid;
|
|
1128
|
+
return proto.realtimemessageapi.BillPaid.deserializeBinaryFromReader(msg, reader);
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1134
|
+
* given reader into the given message object.
|
|
1135
|
+
* @param {!proto.realtimemessageapi.BillPaid} msg The message object to deserialize into.
|
|
1136
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1137
|
+
* @return {!proto.realtimemessageapi.BillPaid}
|
|
1138
|
+
*/
|
|
1139
|
+
proto.realtimemessageapi.BillPaid.deserializeBinaryFromReader = function(msg, reader) {
|
|
1140
|
+
while (reader.nextField()) {
|
|
1141
|
+
if (reader.isEndGroup()) {
|
|
1142
|
+
break;
|
|
1143
|
+
}
|
|
1144
|
+
var field = reader.getFieldNumber();
|
|
1145
|
+
switch (field) {
|
|
1146
|
+
case 1:
|
|
1147
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1148
|
+
msg.setUserid(value);
|
|
1149
|
+
break;
|
|
1150
|
+
case 2:
|
|
1151
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1152
|
+
msg.setBillid(value);
|
|
1153
|
+
break;
|
|
1154
|
+
case 3:
|
|
1155
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1156
|
+
msg.setBillerid(value);
|
|
1157
|
+
break;
|
|
1158
|
+
case 4:
|
|
1159
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1160
|
+
msg.setTransactionid(value);
|
|
1161
|
+
break;
|
|
1162
|
+
case 5:
|
|
1163
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1164
|
+
msg.setBillercode(value);
|
|
1165
|
+
break;
|
|
1166
|
+
case 7:
|
|
1167
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1168
|
+
msg.setAmountpaid(value);
|
|
1169
|
+
break;
|
|
1170
|
+
case 9:
|
|
1171
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1172
|
+
msg.setTotalamount(value);
|
|
1173
|
+
break;
|
|
1174
|
+
case 10:
|
|
1175
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1176
|
+
msg.setPaidamountexcludingsurcharges(value);
|
|
1177
|
+
break;
|
|
1178
|
+
case 11:
|
|
1179
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1180
|
+
msg.setScheduledamountexcludingsurcharges(value);
|
|
1181
|
+
break;
|
|
1182
|
+
case 12:
|
|
1183
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1184
|
+
msg.setOverduefeeamount(value);
|
|
1185
|
+
break;
|
|
1186
|
+
case 13:
|
|
1187
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1188
|
+
msg.setOriginalamount(value);
|
|
1189
|
+
break;
|
|
1190
|
+
case 14:
|
|
1191
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1192
|
+
msg.setOriginaloverdueamount(value);
|
|
1193
|
+
break;
|
|
1194
|
+
case 15:
|
|
1195
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1196
|
+
msg.setRemainingamount(value);
|
|
1197
|
+
break;
|
|
1198
|
+
case 16:
|
|
1199
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1200
|
+
msg.setScheduledpaymentid(value);
|
|
1201
|
+
break;
|
|
1202
|
+
case 17:
|
|
1203
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1204
|
+
msg.setPaidat(value);
|
|
1205
|
+
break;
|
|
1206
|
+
case 22:
|
|
1207
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1208
|
+
msg.setReference(value);
|
|
1209
|
+
break;
|
|
1210
|
+
case 23:
|
|
1211
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1212
|
+
msg.setExternalid(value);
|
|
1213
|
+
break;
|
|
1214
|
+
case 24:
|
|
1215
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1216
|
+
msg.setPaymentmethodpaymenttype(value);
|
|
1217
|
+
break;
|
|
1218
|
+
case 25:
|
|
1219
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1220
|
+
msg.setProcesspayment(value);
|
|
1221
|
+
break;
|
|
1222
|
+
case 26:
|
|
1223
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1224
|
+
msg.setRewardamount(value);
|
|
1225
|
+
break;
|
|
1226
|
+
case 27:
|
|
1227
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1228
|
+
msg.setAnotheruserpaidsamebillwithrewards(value);
|
|
1229
|
+
break;
|
|
1230
|
+
case 28:
|
|
1231
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1232
|
+
msg.setNumberofotheruserswhopaidsamebillwithrewards(value);
|
|
1233
|
+
break;
|
|
1234
|
+
default:
|
|
1235
|
+
reader.skipField();
|
|
1236
|
+
break;
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
return msg;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Class method variant: serializes the given message to binary data
|
|
1245
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1246
|
+
* @param {!proto.realtimemessageapi.BillPaid} message
|
|
1247
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1248
|
+
*/
|
|
1249
|
+
proto.realtimemessageapi.BillPaid.serializeBinaryToWriter = function(message, writer) {
|
|
1250
|
+
message.serializeBinaryToWriter(writer);
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1256
|
+
* @return {!Uint8Array}
|
|
1257
|
+
*/
|
|
1258
|
+
proto.realtimemessageapi.BillPaid.prototype.serializeBinary = function() {
|
|
1259
|
+
var writer = new jspb.BinaryWriter();
|
|
1260
|
+
this.serializeBinaryToWriter(writer);
|
|
1261
|
+
return writer.getResultBuffer();
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1267
|
+
* writing to the given BinaryWriter.
|
|
1268
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1269
|
+
*/
|
|
1270
|
+
proto.realtimemessageapi.BillPaid.prototype.serializeBinaryToWriter = function (writer) {
|
|
1271
|
+
var f = undefined;
|
|
1272
|
+
f = this.getUserid();
|
|
1273
|
+
if (f !== 0) {
|
|
1274
|
+
writer.writeInt64(
|
|
1275
|
+
1,
|
|
1276
|
+
f
|
|
1277
|
+
);
|
|
1278
|
+
}
|
|
1279
|
+
f = this.getBillid();
|
|
1280
|
+
if (f !== 0) {
|
|
1281
|
+
writer.writeInt64(
|
|
1282
|
+
2,
|
|
1283
|
+
f
|
|
1284
|
+
);
|
|
1285
|
+
}
|
|
1286
|
+
f = this.getBillerid();
|
|
1287
|
+
if (f !== 0) {
|
|
1288
|
+
writer.writeInt64(
|
|
1289
|
+
3,
|
|
1290
|
+
f
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
f = this.getTransactionid();
|
|
1294
|
+
if (f !== 0) {
|
|
1295
|
+
writer.writeInt64(
|
|
1296
|
+
4,
|
|
1297
|
+
f
|
|
1298
|
+
);
|
|
1299
|
+
}
|
|
1300
|
+
f = this.getBillercode();
|
|
1301
|
+
if (f.length > 0) {
|
|
1302
|
+
writer.writeString(
|
|
1303
|
+
5,
|
|
1304
|
+
f
|
|
1305
|
+
);
|
|
1306
|
+
}
|
|
1307
|
+
f = this.getAmountpaid();
|
|
1308
|
+
if (f !== 0.0) {
|
|
1309
|
+
writer.writeDouble(
|
|
1310
|
+
7,
|
|
1311
|
+
f
|
|
1312
|
+
);
|
|
1313
|
+
}
|
|
1314
|
+
f = this.getTotalamount();
|
|
1315
|
+
if (f !== 0.0) {
|
|
1316
|
+
writer.writeDouble(
|
|
1317
|
+
9,
|
|
1318
|
+
f
|
|
1319
|
+
);
|
|
1320
|
+
}
|
|
1321
|
+
f = this.getPaidamountexcludingsurcharges();
|
|
1322
|
+
if (f !== 0.0) {
|
|
1323
|
+
writer.writeDouble(
|
|
1324
|
+
10,
|
|
1325
|
+
f
|
|
1326
|
+
);
|
|
1327
|
+
}
|
|
1328
|
+
f = this.getScheduledamountexcludingsurcharges();
|
|
1329
|
+
if (f !== 0.0) {
|
|
1330
|
+
writer.writeDouble(
|
|
1331
|
+
11,
|
|
1332
|
+
f
|
|
1333
|
+
);
|
|
1334
|
+
}
|
|
1335
|
+
f = this.getOverduefeeamount();
|
|
1336
|
+
if (f !== 0.0) {
|
|
1337
|
+
writer.writeDouble(
|
|
1338
|
+
12,
|
|
1339
|
+
f
|
|
1340
|
+
);
|
|
1341
|
+
}
|
|
1342
|
+
f = this.getOriginalamount();
|
|
1343
|
+
if (f !== 0.0) {
|
|
1344
|
+
writer.writeDouble(
|
|
1345
|
+
13,
|
|
1346
|
+
f
|
|
1347
|
+
);
|
|
1348
|
+
}
|
|
1349
|
+
f = this.getOriginaloverdueamount();
|
|
1350
|
+
if (f !== 0.0) {
|
|
1351
|
+
writer.writeDouble(
|
|
1352
|
+
14,
|
|
1353
|
+
f
|
|
1354
|
+
);
|
|
1355
|
+
}
|
|
1356
|
+
f = this.getRemainingamount();
|
|
1357
|
+
if (f !== 0.0) {
|
|
1358
|
+
writer.writeDouble(
|
|
1359
|
+
15,
|
|
1360
|
+
f
|
|
1361
|
+
);
|
|
1362
|
+
}
|
|
1363
|
+
f = this.getScheduledpaymentid();
|
|
1364
|
+
if (f !== 0) {
|
|
1365
|
+
writer.writeInt64(
|
|
1366
|
+
16,
|
|
1367
|
+
f
|
|
1368
|
+
);
|
|
1369
|
+
}
|
|
1370
|
+
f = this.getPaidat();
|
|
1371
|
+
if (f.length > 0) {
|
|
1372
|
+
writer.writeString(
|
|
1373
|
+
17,
|
|
1374
|
+
f
|
|
1375
|
+
);
|
|
1376
|
+
}
|
|
1377
|
+
f = this.getReference();
|
|
1378
|
+
if (f.length > 0) {
|
|
1379
|
+
writer.writeString(
|
|
1380
|
+
22,
|
|
1381
|
+
f
|
|
1382
|
+
);
|
|
1383
|
+
}
|
|
1384
|
+
f = this.getExternalid();
|
|
1385
|
+
if (f.length > 0) {
|
|
1386
|
+
writer.writeString(
|
|
1387
|
+
23,
|
|
1388
|
+
f
|
|
1389
|
+
);
|
|
1390
|
+
}
|
|
1391
|
+
f = this.getPaymentmethodpaymenttype();
|
|
1392
|
+
if (f.length > 0) {
|
|
1393
|
+
writer.writeString(
|
|
1394
|
+
24,
|
|
1395
|
+
f
|
|
1396
|
+
);
|
|
1397
|
+
}
|
|
1398
|
+
f = this.getProcesspayment();
|
|
1399
|
+
if (f) {
|
|
1400
|
+
writer.writeBool(
|
|
1401
|
+
25,
|
|
1402
|
+
f
|
|
1403
|
+
);
|
|
1404
|
+
}
|
|
1405
|
+
f = this.getRewardamount();
|
|
1406
|
+
if (f !== 0.0) {
|
|
1407
|
+
writer.writeDouble(
|
|
1408
|
+
26,
|
|
1409
|
+
f
|
|
1410
|
+
);
|
|
1411
|
+
}
|
|
1412
|
+
f = this.getAnotheruserpaidsamebillwithrewards();
|
|
1413
|
+
if (f) {
|
|
1414
|
+
writer.writeBool(
|
|
1415
|
+
27,
|
|
1416
|
+
f
|
|
1417
|
+
);
|
|
1418
|
+
}
|
|
1419
|
+
f = this.getNumberofotheruserswhopaidsamebillwithrewards();
|
|
1420
|
+
if (f !== 0) {
|
|
1421
|
+
writer.writeInt32(
|
|
1422
|
+
28,
|
|
1423
|
+
f
|
|
1424
|
+
);
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1431
|
+
* @return {!proto.realtimemessageapi.BillPaid} The clone.
|
|
1432
|
+
*/
|
|
1433
|
+
proto.realtimemessageapi.BillPaid.prototype.cloneMessage = function() {
|
|
1434
|
+
return /** @type {!proto.realtimemessageapi.BillPaid} */ (jspb.Message.cloneMessage(this));
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* optional int64 userId = 1;
|
|
1440
|
+
* @return {number}
|
|
1441
|
+
*/
|
|
1442
|
+
proto.realtimemessageapi.BillPaid.prototype.getUserid = function() {
|
|
1443
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
/** @param {number} value */
|
|
1448
|
+
proto.realtimemessageapi.BillPaid.prototype.setUserid = function(value) {
|
|
1449
|
+
jspb.Message.setField(this, 1, value);
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* optional int64 billId = 2;
|
|
1455
|
+
* @return {number}
|
|
1456
|
+
*/
|
|
1457
|
+
proto.realtimemessageapi.BillPaid.prototype.getBillid = function() {
|
|
1458
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
/** @param {number} value */
|
|
1463
|
+
proto.realtimemessageapi.BillPaid.prototype.setBillid = function(value) {
|
|
1464
|
+
jspb.Message.setField(this, 2, value);
|
|
1465
|
+
};
|
|
385
1466
|
|
|
386
1467
|
|
|
387
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
388
1468
|
/**
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
392
|
-
* For the list of reserved names please see:
|
|
393
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
394
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
395
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
396
|
-
* @return {!Object}
|
|
1469
|
+
* optional int64 billerId = 3;
|
|
1470
|
+
* @return {number}
|
|
397
1471
|
*/
|
|
398
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
399
|
-
return
|
|
1472
|
+
proto.realtimemessageapi.BillPaid.prototype.getBillerid = function() {
|
|
1473
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
1474
|
+
};
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
/** @param {number} value */
|
|
1478
|
+
proto.realtimemessageapi.BillPaid.prototype.setBillerid = function(value) {
|
|
1479
|
+
jspb.Message.setField(this, 3, value);
|
|
400
1480
|
};
|
|
401
1481
|
|
|
402
1482
|
|
|
403
1483
|
/**
|
|
404
|
-
*
|
|
405
|
-
* @
|
|
406
|
-
* instance for transitional soy proto support:
|
|
407
|
-
* http://goto/soy-param-migration
|
|
408
|
-
* @param {!proto.realtimemessageapi.BillPaid} msg The msg instance to transform.
|
|
409
|
-
* @return {!Object}
|
|
1484
|
+
* optional int64 transactionId = 4;
|
|
1485
|
+
* @return {number}
|
|
410
1486
|
*/
|
|
411
|
-
proto.realtimemessageapi.BillPaid.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
};
|
|
1487
|
+
proto.realtimemessageapi.BillPaid.prototype.getTransactionid = function() {
|
|
1488
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
1489
|
+
};
|
|
415
1490
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
1491
|
+
|
|
1492
|
+
/** @param {number} value */
|
|
1493
|
+
proto.realtimemessageapi.BillPaid.prototype.setTransactionid = function(value) {
|
|
1494
|
+
jspb.Message.setField(this, 4, value);
|
|
420
1495
|
};
|
|
421
|
-
}
|
|
422
1496
|
|
|
423
1497
|
|
|
424
1498
|
/**
|
|
425
|
-
*
|
|
426
|
-
* @
|
|
427
|
-
* @return {!proto.realtimemessageapi.BillPaid}
|
|
1499
|
+
* optional string billerCode = 5;
|
|
1500
|
+
* @return {string}
|
|
428
1501
|
*/
|
|
429
|
-
proto.realtimemessageapi.BillPaid.
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
1502
|
+
proto.realtimemessageapi.BillPaid.prototype.getBillercode = function() {
|
|
1503
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
/** @param {string} value */
|
|
1508
|
+
proto.realtimemessageapi.BillPaid.prototype.setBillercode = function(value) {
|
|
1509
|
+
jspb.Message.setField(this, 5, value);
|
|
433
1510
|
};
|
|
434
1511
|
|
|
435
1512
|
|
|
436
1513
|
/**
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* @param {!proto.realtimemessageapi.BillPaid} msg The message object to deserialize into.
|
|
440
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
441
|
-
* @return {!proto.realtimemessageapi.BillPaid}
|
|
1514
|
+
* optional double amountPaid = 7;
|
|
1515
|
+
* @return {number}
|
|
442
1516
|
*/
|
|
443
|
-
proto.realtimemessageapi.BillPaid.
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
452
|
-
msg.setUserid(value);
|
|
453
|
-
break;
|
|
454
|
-
default:
|
|
455
|
-
reader.skipField();
|
|
456
|
-
break;
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
return msg;
|
|
1517
|
+
proto.realtimemessageapi.BillPaid.prototype.getAmountpaid = function() {
|
|
1518
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 7, 0));
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
/** @param {number} value */
|
|
1523
|
+
proto.realtimemessageapi.BillPaid.prototype.setAmountpaid = function(value) {
|
|
1524
|
+
jspb.Message.setField(this, 7, value);
|
|
460
1525
|
};
|
|
461
1526
|
|
|
462
1527
|
|
|
463
1528
|
/**
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
* @param {!proto.realtimemessageapi.BillPaid} message
|
|
467
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1529
|
+
* optional double totalAmount = 9;
|
|
1530
|
+
* @return {number}
|
|
468
1531
|
*/
|
|
469
|
-
proto.realtimemessageapi.BillPaid.
|
|
470
|
-
|
|
1532
|
+
proto.realtimemessageapi.BillPaid.prototype.getTotalamount = function() {
|
|
1533
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
/** @param {number} value */
|
|
1538
|
+
proto.realtimemessageapi.BillPaid.prototype.setTotalamount = function(value) {
|
|
1539
|
+
jspb.Message.setField(this, 9, value);
|
|
471
1540
|
};
|
|
472
1541
|
|
|
473
1542
|
|
|
474
1543
|
/**
|
|
475
|
-
*
|
|
476
|
-
* @return {
|
|
1544
|
+
* optional double paidAmountExcludingSurcharges = 10;
|
|
1545
|
+
* @return {number}
|
|
477
1546
|
*/
|
|
478
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
1547
|
+
proto.realtimemessageapi.BillPaid.prototype.getPaidamountexcludingsurcharges = function() {
|
|
1548
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 10, 0));
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/** @param {number} value */
|
|
1553
|
+
proto.realtimemessageapi.BillPaid.prototype.setPaidamountexcludingsurcharges = function(value) {
|
|
1554
|
+
jspb.Message.setField(this, 10, value);
|
|
482
1555
|
};
|
|
483
1556
|
|
|
484
1557
|
|
|
485
1558
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1559
|
+
* optional double scheduledAmountExcludingSurcharges = 11;
|
|
1560
|
+
* @return {number}
|
|
489
1561
|
*/
|
|
490
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}
|
|
1562
|
+
proto.realtimemessageapi.BillPaid.prototype.getScheduledamountexcludingsurcharges = function() {
|
|
1563
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 11, 0));
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
/** @param {number} value */
|
|
1568
|
+
proto.realtimemessageapi.BillPaid.prototype.setScheduledamountexcludingsurcharges = function(value) {
|
|
1569
|
+
jspb.Message.setField(this, 11, value);
|
|
499
1570
|
};
|
|
500
1571
|
|
|
501
1572
|
|
|
502
1573
|
/**
|
|
503
|
-
*
|
|
504
|
-
* @return {
|
|
1574
|
+
* optional double overDueFeeAmount = 12;
|
|
1575
|
+
* @return {number}
|
|
505
1576
|
*/
|
|
506
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
507
|
-
return /** @type {
|
|
1577
|
+
proto.realtimemessageapi.BillPaid.prototype.getOverduefeeamount = function() {
|
|
1578
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 12, 0));
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
/** @param {number} value */
|
|
1583
|
+
proto.realtimemessageapi.BillPaid.prototype.setOverduefeeamount = function(value) {
|
|
1584
|
+
jspb.Message.setField(this, 12, value);
|
|
508
1585
|
};
|
|
509
1586
|
|
|
510
1587
|
|
|
511
1588
|
/**
|
|
512
|
-
* optional
|
|
1589
|
+
* optional double originalAmount = 13;
|
|
513
1590
|
* @return {number}
|
|
514
1591
|
*/
|
|
515
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
516
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this,
|
|
1592
|
+
proto.realtimemessageapi.BillPaid.prototype.getOriginalamount = function() {
|
|
1593
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 13, 0));
|
|
517
1594
|
};
|
|
518
1595
|
|
|
519
1596
|
|
|
520
1597
|
/** @param {number} value */
|
|
521
|
-
proto.realtimemessageapi.BillPaid.prototype.
|
|
522
|
-
jspb.Message.setField(this,
|
|
1598
|
+
proto.realtimemessageapi.BillPaid.prototype.setOriginalamount = function(value) {
|
|
1599
|
+
jspb.Message.setField(this, 13, value);
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* optional double originalOverdueAmount = 14;
|
|
1605
|
+
* @return {number}
|
|
1606
|
+
*/
|
|
1607
|
+
proto.realtimemessageapi.BillPaid.prototype.getOriginaloverdueamount = function() {
|
|
1608
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 14, 0));
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
/** @param {number} value */
|
|
1613
|
+
proto.realtimemessageapi.BillPaid.prototype.setOriginaloverdueamount = function(value) {
|
|
1614
|
+
jspb.Message.setField(this, 14, value);
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* optional double remainingAmount = 15;
|
|
1620
|
+
* @return {number}
|
|
1621
|
+
*/
|
|
1622
|
+
proto.realtimemessageapi.BillPaid.prototype.getRemainingamount = function() {
|
|
1623
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 15, 0));
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
/** @param {number} value */
|
|
1628
|
+
proto.realtimemessageapi.BillPaid.prototype.setRemainingamount = function(value) {
|
|
1629
|
+
jspb.Message.setField(this, 15, value);
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* optional int64 scheduledPaymentId = 16;
|
|
1635
|
+
* @return {number}
|
|
1636
|
+
*/
|
|
1637
|
+
proto.realtimemessageapi.BillPaid.prototype.getScheduledpaymentid = function() {
|
|
1638
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 16, 0));
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
/** @param {number} value */
|
|
1643
|
+
proto.realtimemessageapi.BillPaid.prototype.setScheduledpaymentid = function(value) {
|
|
1644
|
+
jspb.Message.setField(this, 16, value);
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* optional string paidAt = 17;
|
|
1650
|
+
* @return {string}
|
|
1651
|
+
*/
|
|
1652
|
+
proto.realtimemessageapi.BillPaid.prototype.getPaidat = function() {
|
|
1653
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
/** @param {string} value */
|
|
1658
|
+
proto.realtimemessageapi.BillPaid.prototype.setPaidat = function(value) {
|
|
1659
|
+
jspb.Message.setField(this, 17, value);
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* optional string reference = 22;
|
|
1665
|
+
* @return {string}
|
|
1666
|
+
*/
|
|
1667
|
+
proto.realtimemessageapi.BillPaid.prototype.getReference = function() {
|
|
1668
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 22, ""));
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
/** @param {string} value */
|
|
1673
|
+
proto.realtimemessageapi.BillPaid.prototype.setReference = function(value) {
|
|
1674
|
+
jspb.Message.setField(this, 22, value);
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* optional string externalId = 23;
|
|
1680
|
+
* @return {string}
|
|
1681
|
+
*/
|
|
1682
|
+
proto.realtimemessageapi.BillPaid.prototype.getExternalid = function() {
|
|
1683
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 23, ""));
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
/** @param {string} value */
|
|
1688
|
+
proto.realtimemessageapi.BillPaid.prototype.setExternalid = function(value) {
|
|
1689
|
+
jspb.Message.setField(this, 23, value);
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* optional string paymentMethodPaymentType = 24;
|
|
1695
|
+
* @return {string}
|
|
1696
|
+
*/
|
|
1697
|
+
proto.realtimemessageapi.BillPaid.prototype.getPaymentmethodpaymenttype = function() {
|
|
1698
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 24, ""));
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/** @param {string} value */
|
|
1703
|
+
proto.realtimemessageapi.BillPaid.prototype.setPaymentmethodpaymenttype = function(value) {
|
|
1704
|
+
jspb.Message.setField(this, 24, value);
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* optional bool processPayment = 25;
|
|
1710
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1711
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1712
|
+
* @return {boolean}
|
|
1713
|
+
*/
|
|
1714
|
+
proto.realtimemessageapi.BillPaid.prototype.getProcesspayment = function() {
|
|
1715
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 25, false));
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
/** @param {boolean} value */
|
|
1720
|
+
proto.realtimemessageapi.BillPaid.prototype.setProcesspayment = function(value) {
|
|
1721
|
+
jspb.Message.setField(this, 25, value);
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* optional double rewardAmount = 26;
|
|
1727
|
+
* @return {number}
|
|
1728
|
+
*/
|
|
1729
|
+
proto.realtimemessageapi.BillPaid.prototype.getRewardamount = function() {
|
|
1730
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 26, 0));
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
/** @param {number} value */
|
|
1735
|
+
proto.realtimemessageapi.BillPaid.prototype.setRewardamount = function(value) {
|
|
1736
|
+
jspb.Message.setField(this, 26, value);
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* optional bool anotherUserPaidSameBillWithRewards = 27;
|
|
1742
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1743
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1744
|
+
* @return {boolean}
|
|
1745
|
+
*/
|
|
1746
|
+
proto.realtimemessageapi.BillPaid.prototype.getAnotheruserpaidsamebillwithrewards = function() {
|
|
1747
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 27, false));
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
/** @param {boolean} value */
|
|
1752
|
+
proto.realtimemessageapi.BillPaid.prototype.setAnotheruserpaidsamebillwithrewards = function(value) {
|
|
1753
|
+
jspb.Message.setField(this, 27, value);
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* optional int32 numberOfOtherUsersWhoPaidSameBillWithRewards = 28;
|
|
1759
|
+
* @return {number}
|
|
1760
|
+
*/
|
|
1761
|
+
proto.realtimemessageapi.BillPaid.prototype.getNumberofotheruserswhopaidsamebillwithrewards = function() {
|
|
1762
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 28, 0));
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
/** @param {number} value */
|
|
1767
|
+
proto.realtimemessageapi.BillPaid.prototype.setNumberofotheruserswhopaidsamebillwithrewards = function(value) {
|
|
1768
|
+
jspb.Message.setField(this, 28, value);
|
|
523
1769
|
};
|
|
524
1770
|
|
|
525
1771
|
|
|
@@ -901,7 +2147,7 @@ proto.realtimemessageapi.Event.deserializeBinaryFromReader = function(msg, reade
|
|
|
901
2147
|
var field = reader.getFieldNumber();
|
|
902
2148
|
switch (field) {
|
|
903
2149
|
case 1:
|
|
904
|
-
var value = /** @type {
|
|
2150
|
+
var value = /** @type {!proto.realtimemessageapi.EventType} */ (reader.readEnum());
|
|
905
2151
|
msg.setEventtype(value);
|
|
906
2152
|
break;
|
|
907
2153
|
case 2:
|
|
@@ -951,8 +2197,8 @@ proto.realtimemessageapi.Event.prototype.serializeBinary = function() {
|
|
|
951
2197
|
proto.realtimemessageapi.Event.prototype.serializeBinaryToWriter = function (writer) {
|
|
952
2198
|
var f = undefined;
|
|
953
2199
|
f = this.getEventtype();
|
|
954
|
-
if (f
|
|
955
|
-
writer.
|
|
2200
|
+
if (f !== 0.0) {
|
|
2201
|
+
writer.writeEnum(
|
|
956
2202
|
1,
|
|
957
2203
|
f
|
|
958
2204
|
);
|
|
@@ -984,15 +2230,15 @@ proto.realtimemessageapi.Event.prototype.cloneMessage = function() {
|
|
|
984
2230
|
|
|
985
2231
|
|
|
986
2232
|
/**
|
|
987
|
-
* optional
|
|
988
|
-
* @return {
|
|
2233
|
+
* optional EventType eventType = 1;
|
|
2234
|
+
* @return {!proto.realtimemessageapi.EventType}
|
|
989
2235
|
*/
|
|
990
2236
|
proto.realtimemessageapi.Event.prototype.getEventtype = function() {
|
|
991
|
-
return /** @type {
|
|
2237
|
+
return /** @type {!proto.realtimemessageapi.EventType} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
992
2238
|
};
|
|
993
2239
|
|
|
994
2240
|
|
|
995
|
-
/** @param {
|
|
2241
|
+
/** @param {!proto.realtimemessageapi.EventType} value */
|
|
996
2242
|
proto.realtimemessageapi.Event.prototype.setEventtype = function(value) {
|
|
997
2243
|
jspb.Message.setField(this, 1, value);
|
|
998
2244
|
};
|
|
@@ -1057,7 +2303,7 @@ proto.realtimemessageapi.Event.prototype.setUserid = function(value) {
|
|
|
1057
2303
|
*/
|
|
1058
2304
|
proto.realtimemessageapi.EventType = {
|
|
1059
2305
|
BILL_PAID: 0,
|
|
1060
|
-
|
|
2306
|
+
TRANSACTION_FAILED: 1
|
|
1061
2307
|
};
|
|
1062
2308
|
|
|
1063
2309
|
goog.object.extend(exports, proto.realtimemessageapi);
|