@sniipwebmaster/bill-service-client-grpcweb 0.2.4570 → 0.2.4592

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.
@@ -68,6 +68,7 @@ goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null,
68
68
  goog.exportSymbol('proto.sniipbillapi.GetBillsRequest', null, global);
69
69
  goog.exportSymbol('proto.sniipbillapi.GetBlockedOrganisationsForUserRequest', null, global);
70
70
  goog.exportSymbol('proto.sniipbillapi.GetExistingBillRequest', null, global);
71
+ goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsInternalRequest', null, global);
71
72
  goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsRequest', null, global);
72
73
  goog.exportSymbol('proto.sniipbillapi.GetPaidBillCountRequest', null, global);
73
74
  goog.exportSymbol('proto.sniipbillapi.GetSimpleBillRequest', null, global);
@@ -77,6 +78,7 @@ goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsRequest', null, global);
77
78
  goog.exportSymbol('proto.sniipbillapi.GetUnpaidMbillsResponse', null, global);
78
79
  goog.exportSymbol('proto.sniipbillapi.Invoice', null, global);
79
80
  goog.exportSymbol('proto.sniipbillapi.InvoiceBillPair', null, global);
81
+ goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsInternalResponse', null, global);
80
82
  goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsResponse', null, global);
81
83
  goog.exportSymbol('proto.sniipbillapi.LinkAnonymousBillRequest', null, global);
82
84
  goog.exportSymbol('proto.sniipbillapi.LinkedAnomymousBillResponse', null, global);
@@ -3109,7 +3111,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
3109
3111
  isdonationincluded: msg.getIsdonationincluded(),
3110
3112
  donationtext: msg.getDonationtext(),
3111
3113
  originaldonationamount: msg.getOriginaldonationamount(),
3112
- donationamountdifference: msg.getDonationamountdifference()
3114
+ donationamountdifference: msg.getDonationamountdifference(),
3115
+ billerdescription: msg.getBillerdescription()
3113
3116
  };
3114
3117
 
3115
3118
  if (includeInstance) {
@@ -3353,6 +3356,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
3353
3356
  var value = /** @type {number} */ (reader.readDouble());
3354
3357
  msg.setDonationamountdifference(value);
3355
3358
  break;
3359
+ case 52:
3360
+ var value = /** @type {string} */ (reader.readString());
3361
+ msg.setBillerdescription(value);
3362
+ break;
3356
3363
  default:
3357
3364
  reader.skipField();
3358
3365
  break;
@@ -3749,6 +3756,13 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
3749
3756
  f
3750
3757
  );
3751
3758
  }
3759
+ f = this.getBillerdescription();
3760
+ if (f.length > 0) {
3761
+ writer.writeString(
3762
+ 52,
3763
+ f
3764
+ );
3765
+ }
3752
3766
  };
3753
3767
 
3754
3768
 
@@ -4567,6 +4581,21 @@ proto.sniipbillapi.BillDetail.prototype.setDonationamountdifference = function(v
4567
4581
  };
4568
4582
 
4569
4583
 
4584
+ /**
4585
+ * optional string billerDescription = 52;
4586
+ * @return {string}
4587
+ */
4588
+ proto.sniipbillapi.BillDetail.prototype.getBillerdescription = function() {
4589
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 52, ""));
4590
+ };
4591
+
4592
+
4593
+ /** @param {string} value */
4594
+ proto.sniipbillapi.BillDetail.prototype.setBillerdescription = function(value) {
4595
+ jspb.Message.setField(this, 52, value);
4596
+ };
4597
+
4598
+
4570
4599
 
4571
4600
  /**
4572
4601
  * Generated by JsPbCodeGenerator.
@@ -14533,6 +14562,192 @@ proto.sniipbillapi.GetExistingBillRequest.prototype.hasData = function() {
14533
14562
 
14534
14563
 
14535
14564
 
14565
+ /**
14566
+ * Generated by JsPbCodeGenerator.
14567
+ * @param {Array=} opt_data Optional initial data array, typically from a
14568
+ * server response, or constructed directly in Javascript. The array is used
14569
+ * in place and becomes part of the constructed object. It is not cloned.
14570
+ * If no data is provided, the constructed object will be empty, but still
14571
+ * valid.
14572
+ * @extends {jspb.Message}
14573
+ * @constructor
14574
+ */
14575
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest = function(opt_data) {
14576
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
14577
+ };
14578
+ goog.inherits(proto.sniipbillapi.GetItemPaymentDetailsInternalRequest, jspb.Message);
14579
+ if (goog.DEBUG && !COMPILED) {
14580
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.displayName = 'proto.sniipbillapi.GetItemPaymentDetailsInternalRequest';
14581
+ }
14582
+
14583
+
14584
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14585
+ /**
14586
+ * Creates an object representation of this proto suitable for use in Soy templates.
14587
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14588
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14589
+ * For the list of reserved names please see:
14590
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
14591
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
14592
+ * for transitional soy proto support: http://goto/soy-param-migration
14593
+ * @return {!Object}
14594
+ */
14595
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.toObject = function(opt_includeInstance) {
14596
+ return proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.toObject(opt_includeInstance, this);
14597
+ };
14598
+
14599
+
14600
+ /**
14601
+ * Static version of the {@see toObject} method.
14602
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
14603
+ * instance for transitional soy proto support:
14604
+ * http://goto/soy-param-migration
14605
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} msg The msg instance to transform.
14606
+ * @return {!Object}
14607
+ */
14608
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.toObject = function(includeInstance, msg) {
14609
+ var f, obj = {
14610
+ uuid: msg.getUuid(),
14611
+ userid: msg.getUserid()
14612
+ };
14613
+
14614
+ if (includeInstance) {
14615
+ obj.$jspbMessageInstance = msg;
14616
+ }
14617
+ return obj;
14618
+ };
14619
+ }
14620
+
14621
+
14622
+ /**
14623
+ * Deserializes binary data (in protobuf wire format).
14624
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14625
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest}
14626
+ */
14627
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinary = function(bytes) {
14628
+ var reader = new jspb.BinaryReader(bytes);
14629
+ var msg = new proto.sniipbillapi.GetItemPaymentDetailsInternalRequest;
14630
+ return proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinaryFromReader(msg, reader);
14631
+ };
14632
+
14633
+
14634
+ /**
14635
+ * Deserializes binary data (in protobuf wire format) from the
14636
+ * given reader into the given message object.
14637
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} msg The message object to deserialize into.
14638
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14639
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest}
14640
+ */
14641
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
14642
+ while (reader.nextField()) {
14643
+ if (reader.isEndGroup()) {
14644
+ break;
14645
+ }
14646
+ var field = reader.getFieldNumber();
14647
+ switch (field) {
14648
+ case 1:
14649
+ var value = /** @type {string} */ (reader.readString());
14650
+ msg.setUuid(value);
14651
+ break;
14652
+ case 2:
14653
+ var value = /** @type {number} */ (reader.readInt64());
14654
+ msg.setUserid(value);
14655
+ break;
14656
+ default:
14657
+ reader.skipField();
14658
+ break;
14659
+ }
14660
+ }
14661
+ return msg;
14662
+ };
14663
+
14664
+
14665
+ /**
14666
+ * Class method variant: serializes the given message to binary data
14667
+ * (in protobuf wire format), writing to the given BinaryWriter.
14668
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} message
14669
+ * @param {!jspb.BinaryWriter} writer
14670
+ */
14671
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.serializeBinaryToWriter = function(message, writer) {
14672
+ message.serializeBinaryToWriter(writer);
14673
+ };
14674
+
14675
+
14676
+ /**
14677
+ * Serializes the message to binary data (in protobuf wire format).
14678
+ * @return {!Uint8Array}
14679
+ */
14680
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.serializeBinary = function() {
14681
+ var writer = new jspb.BinaryWriter();
14682
+ this.serializeBinaryToWriter(writer);
14683
+ return writer.getResultBuffer();
14684
+ };
14685
+
14686
+
14687
+ /**
14688
+ * Serializes the message to binary data (in protobuf wire format),
14689
+ * writing to the given BinaryWriter.
14690
+ * @param {!jspb.BinaryWriter} writer
14691
+ */
14692
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.serializeBinaryToWriter = function (writer) {
14693
+ var f = undefined;
14694
+ f = this.getUuid();
14695
+ if (f.length > 0) {
14696
+ writer.writeString(
14697
+ 1,
14698
+ f
14699
+ );
14700
+ }
14701
+ f = this.getUserid();
14702
+ if (f !== 0) {
14703
+ writer.writeInt64(
14704
+ 2,
14705
+ f
14706
+ );
14707
+ }
14708
+ };
14709
+
14710
+
14711
+ /**
14712
+ * Creates a deep clone of this proto. No data is shared with the original.
14713
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} The clone.
14714
+ */
14715
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.cloneMessage = function() {
14716
+ return /** @type {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} */ (jspb.Message.cloneMessage(this));
14717
+ };
14718
+
14719
+
14720
+ /**
14721
+ * optional string uuid = 1;
14722
+ * @return {string}
14723
+ */
14724
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.getUuid = function() {
14725
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
14726
+ };
14727
+
14728
+
14729
+ /** @param {string} value */
14730
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.setUuid = function(value) {
14731
+ jspb.Message.setField(this, 1, value);
14732
+ };
14733
+
14734
+
14735
+ /**
14736
+ * optional int64 userId = 2;
14737
+ * @return {number}
14738
+ */
14739
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.getUserid = function() {
14740
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
14741
+ };
14742
+
14743
+
14744
+ /** @param {number} value */
14745
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.setUserid = function(value) {
14746
+ jspb.Message.setField(this, 2, value);
14747
+ };
14748
+
14749
+
14750
+
14536
14751
  /**
14537
14752
  * Generated by JsPbCodeGenerator.
14538
14753
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16405,13 +16620,20 @@ proto.sniipbillapi.InvoiceBillPair.prototype.setUserid = function(value) {
16405
16620
  * @extends {jspb.Message}
16406
16621
  * @constructor
16407
16622
  */
16408
- proto.sniipbillapi.ItemPaymentDetailsResponse = function(opt_data) {
16409
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
16623
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse = function(opt_data) {
16624
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ItemPaymentDetailsInternalResponse.repeatedFields_, null);
16410
16625
  };
16411
- goog.inherits(proto.sniipbillapi.ItemPaymentDetailsResponse, jspb.Message);
16626
+ goog.inherits(proto.sniipbillapi.ItemPaymentDetailsInternalResponse, jspb.Message);
16412
16627
  if (goog.DEBUG && !COMPILED) {
16413
- proto.sniipbillapi.ItemPaymentDetailsResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsResponse';
16628
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsInternalResponse';
16414
16629
  }
16630
+ /**
16631
+ * List of repeated fields within this message type.
16632
+ * @private {!Array<number>}
16633
+ * @const
16634
+ */
16635
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.repeatedFields_ = [10];
16636
+
16415
16637
 
16416
16638
 
16417
16639
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -16425,8 +16647,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16425
16647
  * for transitional soy proto support: http://goto/soy-param-migration
16426
16648
  * @return {!Object}
16427
16649
  */
16428
- proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
16429
- return proto.sniipbillapi.ItemPaymentDetailsResponse.toObject(opt_includeInstance, this);
16650
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.toObject = function(opt_includeInstance) {
16651
+ return proto.sniipbillapi.ItemPaymentDetailsInternalResponse.toObject(opt_includeInstance, this);
16430
16652
  };
16431
16653
 
16432
16654
 
@@ -16435,12 +16657,33 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_
16435
16657
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
16436
16658
  * instance for transitional soy proto support:
16437
16659
  * http://goto/soy-param-migration
16438
- * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The msg instance to transform.
16660
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} msg The msg instance to transform.
16439
16661
  * @return {!Object}
16440
16662
  */
16441
- proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstance, msg) {
16663
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.toObject = function(includeInstance, msg) {
16442
16664
  var f, obj = {
16443
- responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f)
16665
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
16666
+ itemid: msg.getItemid(),
16667
+ amount: msg.getAmount(),
16668
+ billerid: msg.getBillerid(),
16669
+ billercode: msg.getBillercode(),
16670
+ billerlogo: msg.getBillerlogo(),
16671
+ billername: msg.getBillername(),
16672
+ maxamountpermitted: msg.getMaxamountpermitted(),
16673
+ minamountpermitted: msg.getMinamountpermitted(),
16674
+ acceptedpaymentmethodsList: jspb.Message.getField(msg, 10),
16675
+ platform: msg.getPlatform(),
16676
+ version: msg.getVersion(),
16677
+ latitude: msg.getLatitude(),
16678
+ longitude: msg.getLongitude(),
16679
+ manufacturer: msg.getManufacturer(),
16680
+ model: msg.getModel(),
16681
+ osversion: msg.getOsversion(),
16682
+ deviceid: msg.getDeviceid(),
16683
+ uuid: msg.getUuid(),
16684
+ itemcategory: msg.getItemcategory(),
16685
+ itempaymentdetailsid: msg.getItempaymentdetailsid(),
16686
+ billerdescription: msg.getBillerdescription()
16444
16687
  };
16445
16688
 
16446
16689
  if (includeInstance) {
@@ -16454,23 +16697,23 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstanc
16454
16697
  /**
16455
16698
  * Deserializes binary data (in protobuf wire format).
16456
16699
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
16457
- * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
16700
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse}
16458
16701
  */
16459
- proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinary = function(bytes) {
16702
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinary = function(bytes) {
16460
16703
  var reader = new jspb.BinaryReader(bytes);
16461
- var msg = new proto.sniipbillapi.ItemPaymentDetailsResponse;
16462
- return proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
16704
+ var msg = new proto.sniipbillapi.ItemPaymentDetailsInternalResponse;
16705
+ return proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinaryFromReader(msg, reader);
16463
16706
  };
16464
16707
 
16465
16708
 
16466
16709
  /**
16467
16710
  * Deserializes binary data (in protobuf wire format) from the
16468
16711
  * given reader into the given message object.
16469
- * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The message object to deserialize into.
16712
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} msg The message object to deserialize into.
16470
16713
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16471
- * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
16714
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse}
16472
16715
  */
16473
- proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
16716
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinaryFromReader = function(msg, reader) {
16474
16717
  while (reader.nextField()) {
16475
16718
  if (reader.isEndGroup()) {
16476
16719
  break;
@@ -16482,41 +16725,834 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = func
16482
16725
  reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
16483
16726
  msg.setResponsecode(value);
16484
16727
  break;
16485
- default:
16486
- reader.skipField();
16728
+ case 2:
16729
+ var value = /** @type {number} */ (reader.readInt64());
16730
+ msg.setItemid(value);
16487
16731
  break;
16488
- }
16489
- }
16490
- return msg;
16491
- };
16492
-
16493
-
16494
- /**
16495
- * Class method variant: serializes the given message to binary data
16496
- * (in protobuf wire format), writing to the given BinaryWriter.
16497
- * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} message
16498
- * @param {!jspb.BinaryWriter} writer
16499
- */
16500
- proto.sniipbillapi.ItemPaymentDetailsResponse.serializeBinaryToWriter = function(message, writer) {
16501
- message.serializeBinaryToWriter(writer);
16502
- };
16503
-
16504
-
16505
- /**
16506
- * Serializes the message to binary data (in protobuf wire format).
16507
- * @return {!Uint8Array}
16508
- */
16509
- proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinary = function() {
16510
- var writer = new jspb.BinaryWriter();
16511
- this.serializeBinaryToWriter(writer);
16512
- return writer.getResultBuffer();
16513
- };
16514
-
16515
-
16516
- /**
16517
- * Serializes the message to binary data (in protobuf wire format),
16518
- * writing to the given BinaryWriter.
16519
- * @param {!jspb.BinaryWriter} writer
16732
+ case 3:
16733
+ var value = /** @type {number} */ (reader.readDouble());
16734
+ msg.setAmount(value);
16735
+ break;
16736
+ case 4:
16737
+ var value = /** @type {number} */ (reader.readInt64());
16738
+ msg.setBillerid(value);
16739
+ break;
16740
+ case 5:
16741
+ var value = /** @type {string} */ (reader.readString());
16742
+ msg.setBillercode(value);
16743
+ break;
16744
+ case 6:
16745
+ var value = /** @type {string} */ (reader.readString());
16746
+ msg.setBillerlogo(value);
16747
+ break;
16748
+ case 7:
16749
+ var value = /** @type {string} */ (reader.readString());
16750
+ msg.setBillername(value);
16751
+ break;
16752
+ case 8:
16753
+ var value = /** @type {number} */ (reader.readDouble());
16754
+ msg.setMaxamountpermitted(value);
16755
+ break;
16756
+ case 9:
16757
+ var value = /** @type {number} */ (reader.readDouble());
16758
+ msg.setMinamountpermitted(value);
16759
+ break;
16760
+ case 10:
16761
+ var value = /** @type {string} */ (reader.readString());
16762
+ msg.getAcceptedpaymentmethodsList().push(value);
16763
+ msg.setAcceptedpaymentmethodsList(msg.getAcceptedpaymentmethodsList());
16764
+ break;
16765
+ case 11:
16766
+ var value = /** @type {string} */ (reader.readString());
16767
+ msg.setPlatform(value);
16768
+ break;
16769
+ case 12:
16770
+ var value = /** @type {string} */ (reader.readString());
16771
+ msg.setVersion(value);
16772
+ break;
16773
+ case 13:
16774
+ var value = /** @type {string} */ (reader.readString());
16775
+ msg.setLatitude(value);
16776
+ break;
16777
+ case 14:
16778
+ var value = /** @type {string} */ (reader.readString());
16779
+ msg.setLongitude(value);
16780
+ break;
16781
+ case 15:
16782
+ var value = /** @type {string} */ (reader.readString());
16783
+ msg.setManufacturer(value);
16784
+ break;
16785
+ case 16:
16786
+ var value = /** @type {string} */ (reader.readString());
16787
+ msg.setModel(value);
16788
+ break;
16789
+ case 17:
16790
+ var value = /** @type {string} */ (reader.readString());
16791
+ msg.setOsversion(value);
16792
+ break;
16793
+ case 18:
16794
+ var value = /** @type {string} */ (reader.readString());
16795
+ msg.setDeviceid(value);
16796
+ break;
16797
+ case 19:
16798
+ var value = /** @type {string} */ (reader.readString());
16799
+ msg.setUuid(value);
16800
+ break;
16801
+ case 20:
16802
+ var value = /** @type {string} */ (reader.readString());
16803
+ msg.setItemcategory(value);
16804
+ break;
16805
+ case 21:
16806
+ var value = /** @type {number} */ (reader.readInt64());
16807
+ msg.setItempaymentdetailsid(value);
16808
+ break;
16809
+ case 22:
16810
+ var value = /** @type {string} */ (reader.readString());
16811
+ msg.setBillerdescription(value);
16812
+ break;
16813
+ default:
16814
+ reader.skipField();
16815
+ break;
16816
+ }
16817
+ }
16818
+ return msg;
16819
+ };
16820
+
16821
+
16822
+ /**
16823
+ * Class method variant: serializes the given message to binary data
16824
+ * (in protobuf wire format), writing to the given BinaryWriter.
16825
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} message
16826
+ * @param {!jspb.BinaryWriter} writer
16827
+ */
16828
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.serializeBinaryToWriter = function(message, writer) {
16829
+ message.serializeBinaryToWriter(writer);
16830
+ };
16831
+
16832
+
16833
+ /**
16834
+ * Serializes the message to binary data (in protobuf wire format).
16835
+ * @return {!Uint8Array}
16836
+ */
16837
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.serializeBinary = function() {
16838
+ var writer = new jspb.BinaryWriter();
16839
+ this.serializeBinaryToWriter(writer);
16840
+ return writer.getResultBuffer();
16841
+ };
16842
+
16843
+
16844
+ /**
16845
+ * Serializes the message to binary data (in protobuf wire format),
16846
+ * writing to the given BinaryWriter.
16847
+ * @param {!jspb.BinaryWriter} writer
16848
+ */
16849
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.serializeBinaryToWriter = function (writer) {
16850
+ var f = undefined;
16851
+ f = this.getResponsecode();
16852
+ if (f != null) {
16853
+ writer.writeMessage(
16854
+ 1,
16855
+ f,
16856
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
16857
+ );
16858
+ }
16859
+ f = this.getItemid();
16860
+ if (f !== 0) {
16861
+ writer.writeInt64(
16862
+ 2,
16863
+ f
16864
+ );
16865
+ }
16866
+ f = this.getAmount();
16867
+ if (f !== 0.0) {
16868
+ writer.writeDouble(
16869
+ 3,
16870
+ f
16871
+ );
16872
+ }
16873
+ f = this.getBillerid();
16874
+ if (f !== 0) {
16875
+ writer.writeInt64(
16876
+ 4,
16877
+ f
16878
+ );
16879
+ }
16880
+ f = this.getBillercode();
16881
+ if (f.length > 0) {
16882
+ writer.writeString(
16883
+ 5,
16884
+ f
16885
+ );
16886
+ }
16887
+ f = this.getBillerlogo();
16888
+ if (f.length > 0) {
16889
+ writer.writeString(
16890
+ 6,
16891
+ f
16892
+ );
16893
+ }
16894
+ f = this.getBillername();
16895
+ if (f.length > 0) {
16896
+ writer.writeString(
16897
+ 7,
16898
+ f
16899
+ );
16900
+ }
16901
+ f = this.getMaxamountpermitted();
16902
+ if (f !== 0.0) {
16903
+ writer.writeDouble(
16904
+ 8,
16905
+ f
16906
+ );
16907
+ }
16908
+ f = this.getMinamountpermitted();
16909
+ if (f !== 0.0) {
16910
+ writer.writeDouble(
16911
+ 9,
16912
+ f
16913
+ );
16914
+ }
16915
+ f = this.getAcceptedpaymentmethodsList();
16916
+ if (f.length > 0) {
16917
+ writer.writeRepeatedString(
16918
+ 10,
16919
+ f
16920
+ );
16921
+ }
16922
+ f = this.getPlatform();
16923
+ if (f.length > 0) {
16924
+ writer.writeString(
16925
+ 11,
16926
+ f
16927
+ );
16928
+ }
16929
+ f = this.getVersion();
16930
+ if (f.length > 0) {
16931
+ writer.writeString(
16932
+ 12,
16933
+ f
16934
+ );
16935
+ }
16936
+ f = this.getLatitude();
16937
+ if (f.length > 0) {
16938
+ writer.writeString(
16939
+ 13,
16940
+ f
16941
+ );
16942
+ }
16943
+ f = this.getLongitude();
16944
+ if (f.length > 0) {
16945
+ writer.writeString(
16946
+ 14,
16947
+ f
16948
+ );
16949
+ }
16950
+ f = this.getManufacturer();
16951
+ if (f.length > 0) {
16952
+ writer.writeString(
16953
+ 15,
16954
+ f
16955
+ );
16956
+ }
16957
+ f = this.getModel();
16958
+ if (f.length > 0) {
16959
+ writer.writeString(
16960
+ 16,
16961
+ f
16962
+ );
16963
+ }
16964
+ f = this.getOsversion();
16965
+ if (f.length > 0) {
16966
+ writer.writeString(
16967
+ 17,
16968
+ f
16969
+ );
16970
+ }
16971
+ f = this.getDeviceid();
16972
+ if (f.length > 0) {
16973
+ writer.writeString(
16974
+ 18,
16975
+ f
16976
+ );
16977
+ }
16978
+ f = this.getUuid();
16979
+ if (f.length > 0) {
16980
+ writer.writeString(
16981
+ 19,
16982
+ f
16983
+ );
16984
+ }
16985
+ f = this.getItemcategory();
16986
+ if (f.length > 0) {
16987
+ writer.writeString(
16988
+ 20,
16989
+ f
16990
+ );
16991
+ }
16992
+ f = this.getItempaymentdetailsid();
16993
+ if (f !== 0) {
16994
+ writer.writeInt64(
16995
+ 21,
16996
+ f
16997
+ );
16998
+ }
16999
+ f = this.getBillerdescription();
17000
+ if (f.length > 0) {
17001
+ writer.writeString(
17002
+ 22,
17003
+ f
17004
+ );
17005
+ }
17006
+ };
17007
+
17008
+
17009
+ /**
17010
+ * Creates a deep clone of this proto. No data is shared with the original.
17011
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} The clone.
17012
+ */
17013
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.cloneMessage = function() {
17014
+ return /** @type {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} */ (jspb.Message.cloneMessage(this));
17015
+ };
17016
+
17017
+
17018
+ /**
17019
+ * optional ResponseCode responseCode = 1;
17020
+ * @return {proto.sniipbillapi.ResponseCode}
17021
+ */
17022
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getResponsecode = function() {
17023
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
17024
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
17025
+ };
17026
+
17027
+
17028
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
17029
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setResponsecode = function(value) {
17030
+ jspb.Message.setWrapperField(this, 1, value);
17031
+ };
17032
+
17033
+
17034
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.clearResponsecode = function() {
17035
+ this.setResponsecode(undefined);
17036
+ };
17037
+
17038
+
17039
+ /**
17040
+ * Returns whether this field is set.
17041
+ * @return{!boolean}
17042
+ */
17043
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.hasResponsecode = function() {
17044
+ return jspb.Message.getField(this, 1) != null;
17045
+ };
17046
+
17047
+
17048
+ /**
17049
+ * optional int64 itemId = 2;
17050
+ * @return {number}
17051
+ */
17052
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItemid = function() {
17053
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
17054
+ };
17055
+
17056
+
17057
+ /** @param {number} value */
17058
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItemid = function(value) {
17059
+ jspb.Message.setField(this, 2, value);
17060
+ };
17061
+
17062
+
17063
+ /**
17064
+ * optional double amount = 3;
17065
+ * @return {number}
17066
+ */
17067
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getAmount = function() {
17068
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
17069
+ };
17070
+
17071
+
17072
+ /** @param {number} value */
17073
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setAmount = function(value) {
17074
+ jspb.Message.setField(this, 3, value);
17075
+ };
17076
+
17077
+
17078
+ /**
17079
+ * optional int64 billerId = 4;
17080
+ * @return {number}
17081
+ */
17082
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillerid = function() {
17083
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
17084
+ };
17085
+
17086
+
17087
+ /** @param {number} value */
17088
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillerid = function(value) {
17089
+ jspb.Message.setField(this, 4, value);
17090
+ };
17091
+
17092
+
17093
+ /**
17094
+ * optional string billerCode = 5;
17095
+ * @return {string}
17096
+ */
17097
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillercode = function() {
17098
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
17099
+ };
17100
+
17101
+
17102
+ /** @param {string} value */
17103
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillercode = function(value) {
17104
+ jspb.Message.setField(this, 5, value);
17105
+ };
17106
+
17107
+
17108
+ /**
17109
+ * optional string billerLogo = 6;
17110
+ * @return {string}
17111
+ */
17112
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillerlogo = function() {
17113
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
17114
+ };
17115
+
17116
+
17117
+ /** @param {string} value */
17118
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillerlogo = function(value) {
17119
+ jspb.Message.setField(this, 6, value);
17120
+ };
17121
+
17122
+
17123
+ /**
17124
+ * optional string billerName = 7;
17125
+ * @return {string}
17126
+ */
17127
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillername = function() {
17128
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
17129
+ };
17130
+
17131
+
17132
+ /** @param {string} value */
17133
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillername = function(value) {
17134
+ jspb.Message.setField(this, 7, value);
17135
+ };
17136
+
17137
+
17138
+ /**
17139
+ * optional double maxAmountPermitted = 8;
17140
+ * @return {number}
17141
+ */
17142
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getMaxamountpermitted = function() {
17143
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
17144
+ };
17145
+
17146
+
17147
+ /** @param {number} value */
17148
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setMaxamountpermitted = function(value) {
17149
+ jspb.Message.setField(this, 8, value);
17150
+ };
17151
+
17152
+
17153
+ /**
17154
+ * optional double minAmountPermitted = 9;
17155
+ * @return {number}
17156
+ */
17157
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getMinamountpermitted = function() {
17158
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
17159
+ };
17160
+
17161
+
17162
+ /** @param {number} value */
17163
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setMinamountpermitted = function(value) {
17164
+ jspb.Message.setField(this, 9, value);
17165
+ };
17166
+
17167
+
17168
+ /**
17169
+ * repeated string acceptedPaymentMethods = 10;
17170
+ * If you change this array by adding, removing or replacing elements, or if you
17171
+ * replace the array itself, then you must call the setter to update it.
17172
+ * @return {!Array.<string>}
17173
+ */
17174
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getAcceptedpaymentmethodsList = function() {
17175
+ return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 10));
17176
+ };
17177
+
17178
+
17179
+ /** @param {Array.<string>} value */
17180
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setAcceptedpaymentmethodsList = function(value) {
17181
+ jspb.Message.setField(this, 10, value || []);
17182
+ };
17183
+
17184
+
17185
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.clearAcceptedpaymentmethodsList = function() {
17186
+ jspb.Message.setField(this, 10, []);
17187
+ };
17188
+
17189
+
17190
+ /**
17191
+ * optional string platform = 11;
17192
+ * @return {string}
17193
+ */
17194
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getPlatform = function() {
17195
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
17196
+ };
17197
+
17198
+
17199
+ /** @param {string} value */
17200
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setPlatform = function(value) {
17201
+ jspb.Message.setField(this, 11, value);
17202
+ };
17203
+
17204
+
17205
+ /**
17206
+ * optional string version = 12;
17207
+ * @return {string}
17208
+ */
17209
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getVersion = function() {
17210
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
17211
+ };
17212
+
17213
+
17214
+ /** @param {string} value */
17215
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setVersion = function(value) {
17216
+ jspb.Message.setField(this, 12, value);
17217
+ };
17218
+
17219
+
17220
+ /**
17221
+ * optional string latitude = 13;
17222
+ * @return {string}
17223
+ */
17224
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getLatitude = function() {
17225
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 13, ""));
17226
+ };
17227
+
17228
+
17229
+ /** @param {string} value */
17230
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setLatitude = function(value) {
17231
+ jspb.Message.setField(this, 13, value);
17232
+ };
17233
+
17234
+
17235
+ /**
17236
+ * optional string longitude = 14;
17237
+ * @return {string}
17238
+ */
17239
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getLongitude = function() {
17240
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
17241
+ };
17242
+
17243
+
17244
+ /** @param {string} value */
17245
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setLongitude = function(value) {
17246
+ jspb.Message.setField(this, 14, value);
17247
+ };
17248
+
17249
+
17250
+ /**
17251
+ * optional string manufacturer = 15;
17252
+ * @return {string}
17253
+ */
17254
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getManufacturer = function() {
17255
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
17256
+ };
17257
+
17258
+
17259
+ /** @param {string} value */
17260
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setManufacturer = function(value) {
17261
+ jspb.Message.setField(this, 15, value);
17262
+ };
17263
+
17264
+
17265
+ /**
17266
+ * optional string model = 16;
17267
+ * @return {string}
17268
+ */
17269
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getModel = function() {
17270
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 16, ""));
17271
+ };
17272
+
17273
+
17274
+ /** @param {string} value */
17275
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setModel = function(value) {
17276
+ jspb.Message.setField(this, 16, value);
17277
+ };
17278
+
17279
+
17280
+ /**
17281
+ * optional string osVersion = 17;
17282
+ * @return {string}
17283
+ */
17284
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getOsversion = function() {
17285
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
17286
+ };
17287
+
17288
+
17289
+ /** @param {string} value */
17290
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setOsversion = function(value) {
17291
+ jspb.Message.setField(this, 17, value);
17292
+ };
17293
+
17294
+
17295
+ /**
17296
+ * optional string deviceId = 18;
17297
+ * @return {string}
17298
+ */
17299
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getDeviceid = function() {
17300
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
17301
+ };
17302
+
17303
+
17304
+ /** @param {string} value */
17305
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setDeviceid = function(value) {
17306
+ jspb.Message.setField(this, 18, value);
17307
+ };
17308
+
17309
+
17310
+ /**
17311
+ * optional string uuid = 19;
17312
+ * @return {string}
17313
+ */
17314
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getUuid = function() {
17315
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 19, ""));
17316
+ };
17317
+
17318
+
17319
+ /** @param {string} value */
17320
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setUuid = function(value) {
17321
+ jspb.Message.setField(this, 19, value);
17322
+ };
17323
+
17324
+
17325
+ /**
17326
+ * optional string itemCategory = 20;
17327
+ * @return {string}
17328
+ */
17329
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItemcategory = function() {
17330
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 20, ""));
17331
+ };
17332
+
17333
+
17334
+ /** @param {string} value */
17335
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItemcategory = function(value) {
17336
+ jspb.Message.setField(this, 20, value);
17337
+ };
17338
+
17339
+
17340
+ /**
17341
+ * optional int64 itemPaymentDetailsId = 21;
17342
+ * @return {number}
17343
+ */
17344
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItempaymentdetailsid = function() {
17345
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 21, 0));
17346
+ };
17347
+
17348
+
17349
+ /** @param {number} value */
17350
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItempaymentdetailsid = function(value) {
17351
+ jspb.Message.setField(this, 21, value);
17352
+ };
17353
+
17354
+
17355
+ /**
17356
+ * optional string billerDescription = 22;
17357
+ * @return {string}
17358
+ */
17359
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillerdescription = function() {
17360
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 22, ""));
17361
+ };
17362
+
17363
+
17364
+ /** @param {string} value */
17365
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillerdescription = function(value) {
17366
+ jspb.Message.setField(this, 22, value);
17367
+ };
17368
+
17369
+
17370
+
17371
+ /**
17372
+ * Generated by JsPbCodeGenerator.
17373
+ * @param {Array=} opt_data Optional initial data array, typically from a
17374
+ * server response, or constructed directly in Javascript. The array is used
17375
+ * in place and becomes part of the constructed object. It is not cloned.
17376
+ * If no data is provided, the constructed object will be empty, but still
17377
+ * valid.
17378
+ * @extends {jspb.Message}
17379
+ * @constructor
17380
+ */
17381
+ proto.sniipbillapi.ItemPaymentDetailsResponse = function(opt_data) {
17382
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ItemPaymentDetailsResponse.repeatedFields_, null);
17383
+ };
17384
+ goog.inherits(proto.sniipbillapi.ItemPaymentDetailsResponse, jspb.Message);
17385
+ if (goog.DEBUG && !COMPILED) {
17386
+ proto.sniipbillapi.ItemPaymentDetailsResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsResponse';
17387
+ }
17388
+ /**
17389
+ * List of repeated fields within this message type.
17390
+ * @private {!Array<number>}
17391
+ * @const
17392
+ */
17393
+ proto.sniipbillapi.ItemPaymentDetailsResponse.repeatedFields_ = [10];
17394
+
17395
+
17396
+
17397
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17398
+ /**
17399
+ * Creates an object representation of this proto suitable for use in Soy templates.
17400
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17401
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17402
+ * For the list of reserved names please see:
17403
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
17404
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
17405
+ * for transitional soy proto support: http://goto/soy-param-migration
17406
+ * @return {!Object}
17407
+ */
17408
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
17409
+ return proto.sniipbillapi.ItemPaymentDetailsResponse.toObject(opt_includeInstance, this);
17410
+ };
17411
+
17412
+
17413
+ /**
17414
+ * Static version of the {@see toObject} method.
17415
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
17416
+ * instance for transitional soy proto support:
17417
+ * http://goto/soy-param-migration
17418
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The msg instance to transform.
17419
+ * @return {!Object}
17420
+ */
17421
+ proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstance, msg) {
17422
+ var f, obj = {
17423
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
17424
+ itemid: msg.getItemid(),
17425
+ amount: msg.getAmount(),
17426
+ billerid: msg.getBillerid(),
17427
+ billercode: msg.getBillercode(),
17428
+ billerlogo: msg.getBillerlogo(),
17429
+ billername: msg.getBillername(),
17430
+ maxamountpermitted: msg.getMaxamountpermitted(),
17431
+ minamountpermitted: msg.getMinamountpermitted(),
17432
+ acceptedpaymentmethodsList: jspb.Message.getField(msg, 10),
17433
+ itemcategory: msg.getItemcategory(),
17434
+ billerdescription: msg.getBillerdescription()
17435
+ };
17436
+
17437
+ if (includeInstance) {
17438
+ obj.$jspbMessageInstance = msg;
17439
+ }
17440
+ return obj;
17441
+ };
17442
+ }
17443
+
17444
+
17445
+ /**
17446
+ * Deserializes binary data (in protobuf wire format).
17447
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17448
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
17449
+ */
17450
+ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinary = function(bytes) {
17451
+ var reader = new jspb.BinaryReader(bytes);
17452
+ var msg = new proto.sniipbillapi.ItemPaymentDetailsResponse;
17453
+ return proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
17454
+ };
17455
+
17456
+
17457
+ /**
17458
+ * Deserializes binary data (in protobuf wire format) from the
17459
+ * given reader into the given message object.
17460
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The message object to deserialize into.
17461
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17462
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
17463
+ */
17464
+ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
17465
+ while (reader.nextField()) {
17466
+ if (reader.isEndGroup()) {
17467
+ break;
17468
+ }
17469
+ var field = reader.getFieldNumber();
17470
+ switch (field) {
17471
+ case 1:
17472
+ var value = new proto.sniipbillapi.ResponseCode;
17473
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
17474
+ msg.setResponsecode(value);
17475
+ break;
17476
+ case 2:
17477
+ var value = /** @type {number} */ (reader.readInt64());
17478
+ msg.setItemid(value);
17479
+ break;
17480
+ case 3:
17481
+ var value = /** @type {number} */ (reader.readDouble());
17482
+ msg.setAmount(value);
17483
+ break;
17484
+ case 4:
17485
+ var value = /** @type {number} */ (reader.readInt64());
17486
+ msg.setBillerid(value);
17487
+ break;
17488
+ case 5:
17489
+ var value = /** @type {string} */ (reader.readString());
17490
+ msg.setBillercode(value);
17491
+ break;
17492
+ case 6:
17493
+ var value = /** @type {string} */ (reader.readString());
17494
+ msg.setBillerlogo(value);
17495
+ break;
17496
+ case 7:
17497
+ var value = /** @type {string} */ (reader.readString());
17498
+ msg.setBillername(value);
17499
+ break;
17500
+ case 8:
17501
+ var value = /** @type {number} */ (reader.readDouble());
17502
+ msg.setMaxamountpermitted(value);
17503
+ break;
17504
+ case 9:
17505
+ var value = /** @type {number} */ (reader.readDouble());
17506
+ msg.setMinamountpermitted(value);
17507
+ break;
17508
+ case 10:
17509
+ var value = /** @type {string} */ (reader.readString());
17510
+ msg.getAcceptedpaymentmethodsList().push(value);
17511
+ msg.setAcceptedpaymentmethodsList(msg.getAcceptedpaymentmethodsList());
17512
+ break;
17513
+ case 11:
17514
+ var value = /** @type {string} */ (reader.readString());
17515
+ msg.setItemcategory(value);
17516
+ break;
17517
+ case 12:
17518
+ var value = /** @type {string} */ (reader.readString());
17519
+ msg.setBillerdescription(value);
17520
+ break;
17521
+ default:
17522
+ reader.skipField();
17523
+ break;
17524
+ }
17525
+ }
17526
+ return msg;
17527
+ };
17528
+
17529
+
17530
+ /**
17531
+ * Class method variant: serializes the given message to binary data
17532
+ * (in protobuf wire format), writing to the given BinaryWriter.
17533
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} message
17534
+ * @param {!jspb.BinaryWriter} writer
17535
+ */
17536
+ proto.sniipbillapi.ItemPaymentDetailsResponse.serializeBinaryToWriter = function(message, writer) {
17537
+ message.serializeBinaryToWriter(writer);
17538
+ };
17539
+
17540
+
17541
+ /**
17542
+ * Serializes the message to binary data (in protobuf wire format).
17543
+ * @return {!Uint8Array}
17544
+ */
17545
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinary = function() {
17546
+ var writer = new jspb.BinaryWriter();
17547
+ this.serializeBinaryToWriter(writer);
17548
+ return writer.getResultBuffer();
17549
+ };
17550
+
17551
+
17552
+ /**
17553
+ * Serializes the message to binary data (in protobuf wire format),
17554
+ * writing to the given BinaryWriter.
17555
+ * @param {!jspb.BinaryWriter} writer
16520
17556
  */
16521
17557
  proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinaryToWriter = function (writer) {
16522
17558
  var f = undefined;
@@ -16528,6 +17564,83 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinaryToWriter
16528
17564
  proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
16529
17565
  );
16530
17566
  }
17567
+ f = this.getItemid();
17568
+ if (f !== 0) {
17569
+ writer.writeInt64(
17570
+ 2,
17571
+ f
17572
+ );
17573
+ }
17574
+ f = this.getAmount();
17575
+ if (f !== 0.0) {
17576
+ writer.writeDouble(
17577
+ 3,
17578
+ f
17579
+ );
17580
+ }
17581
+ f = this.getBillerid();
17582
+ if (f !== 0) {
17583
+ writer.writeInt64(
17584
+ 4,
17585
+ f
17586
+ );
17587
+ }
17588
+ f = this.getBillercode();
17589
+ if (f.length > 0) {
17590
+ writer.writeString(
17591
+ 5,
17592
+ f
17593
+ );
17594
+ }
17595
+ f = this.getBillerlogo();
17596
+ if (f.length > 0) {
17597
+ writer.writeString(
17598
+ 6,
17599
+ f
17600
+ );
17601
+ }
17602
+ f = this.getBillername();
17603
+ if (f.length > 0) {
17604
+ writer.writeString(
17605
+ 7,
17606
+ f
17607
+ );
17608
+ }
17609
+ f = this.getMaxamountpermitted();
17610
+ if (f !== 0.0) {
17611
+ writer.writeDouble(
17612
+ 8,
17613
+ f
17614
+ );
17615
+ }
17616
+ f = this.getMinamountpermitted();
17617
+ if (f !== 0.0) {
17618
+ writer.writeDouble(
17619
+ 9,
17620
+ f
17621
+ );
17622
+ }
17623
+ f = this.getAcceptedpaymentmethodsList();
17624
+ if (f.length > 0) {
17625
+ writer.writeRepeatedString(
17626
+ 10,
17627
+ f
17628
+ );
17629
+ }
17630
+ f = this.getItemcategory();
17631
+ if (f.length > 0) {
17632
+ writer.writeString(
17633
+ 11,
17634
+ f
17635
+ );
17636
+ }
17637
+ f = this.getBillerdescription();
17638
+ if (f.length > 0) {
17639
+ writer.writeString(
17640
+ 12,
17641
+ f
17642
+ );
17643
+ }
16531
17644
  };
16532
17645
 
16533
17646
 
@@ -16570,6 +17683,178 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.hasResponsecode = functi
16570
17683
  };
16571
17684
 
16572
17685
 
17686
+ /**
17687
+ * optional int64 itemId = 2;
17688
+ * @return {number}
17689
+ */
17690
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getItemid = function() {
17691
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
17692
+ };
17693
+
17694
+
17695
+ /** @param {number} value */
17696
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setItemid = function(value) {
17697
+ jspb.Message.setField(this, 2, value);
17698
+ };
17699
+
17700
+
17701
+ /**
17702
+ * optional double amount = 3;
17703
+ * @return {number}
17704
+ */
17705
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getAmount = function() {
17706
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
17707
+ };
17708
+
17709
+
17710
+ /** @param {number} value */
17711
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setAmount = function(value) {
17712
+ jspb.Message.setField(this, 3, value);
17713
+ };
17714
+
17715
+
17716
+ /**
17717
+ * optional int64 billerId = 4;
17718
+ * @return {number}
17719
+ */
17720
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillerid = function() {
17721
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
17722
+ };
17723
+
17724
+
17725
+ /** @param {number} value */
17726
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillerid = function(value) {
17727
+ jspb.Message.setField(this, 4, value);
17728
+ };
17729
+
17730
+
17731
+ /**
17732
+ * optional string billerCode = 5;
17733
+ * @return {string}
17734
+ */
17735
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillercode = function() {
17736
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
17737
+ };
17738
+
17739
+
17740
+ /** @param {string} value */
17741
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillercode = function(value) {
17742
+ jspb.Message.setField(this, 5, value);
17743
+ };
17744
+
17745
+
17746
+ /**
17747
+ * optional string billerLogo = 6;
17748
+ * @return {string}
17749
+ */
17750
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillerlogo = function() {
17751
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
17752
+ };
17753
+
17754
+
17755
+ /** @param {string} value */
17756
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillerlogo = function(value) {
17757
+ jspb.Message.setField(this, 6, value);
17758
+ };
17759
+
17760
+
17761
+ /**
17762
+ * optional string billerName = 7;
17763
+ * @return {string}
17764
+ */
17765
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillername = function() {
17766
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
17767
+ };
17768
+
17769
+
17770
+ /** @param {string} value */
17771
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillername = function(value) {
17772
+ jspb.Message.setField(this, 7, value);
17773
+ };
17774
+
17775
+
17776
+ /**
17777
+ * optional double maxAmountPermitted = 8;
17778
+ * @return {number}
17779
+ */
17780
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getMaxamountpermitted = function() {
17781
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
17782
+ };
17783
+
17784
+
17785
+ /** @param {number} value */
17786
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setMaxamountpermitted = function(value) {
17787
+ jspb.Message.setField(this, 8, value);
17788
+ };
17789
+
17790
+
17791
+ /**
17792
+ * optional double minAmountPermitted = 9;
17793
+ * @return {number}
17794
+ */
17795
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getMinamountpermitted = function() {
17796
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
17797
+ };
17798
+
17799
+
17800
+ /** @param {number} value */
17801
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setMinamountpermitted = function(value) {
17802
+ jspb.Message.setField(this, 9, value);
17803
+ };
17804
+
17805
+
17806
+ /**
17807
+ * repeated string acceptedPaymentMethods = 10;
17808
+ * If you change this array by adding, removing or replacing elements, or if you
17809
+ * replace the array itself, then you must call the setter to update it.
17810
+ * @return {!Array.<string>}
17811
+ */
17812
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getAcceptedpaymentmethodsList = function() {
17813
+ return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 10));
17814
+ };
17815
+
17816
+
17817
+ /** @param {Array.<string>} value */
17818
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setAcceptedpaymentmethodsList = function(value) {
17819
+ jspb.Message.setField(this, 10, value || []);
17820
+ };
17821
+
17822
+
17823
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.clearAcceptedpaymentmethodsList = function() {
17824
+ jspb.Message.setField(this, 10, []);
17825
+ };
17826
+
17827
+
17828
+ /**
17829
+ * optional string itemCategory = 11;
17830
+ * @return {string}
17831
+ */
17832
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getItemcategory = function() {
17833
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
17834
+ };
17835
+
17836
+
17837
+ /** @param {string} value */
17838
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setItemcategory = function(value) {
17839
+ jspb.Message.setField(this, 11, value);
17840
+ };
17841
+
17842
+
17843
+ /**
17844
+ * optional string billerDescription = 12;
17845
+ * @return {string}
17846
+ */
17847
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillerdescription = function() {
17848
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
17849
+ };
17850
+
17851
+
17852
+ /** @param {string} value */
17853
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillerdescription = function(value) {
17854
+ jspb.Message.setField(this, 12, value);
17855
+ };
17856
+
17857
+
16573
17858
 
16574
17859
  /**
16575
17860
  * Generated by JsPbCodeGenerator.
@@ -20501,7 +21786,8 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
20501
21786
  isdonationincluded: msg.getIsdonationincluded(),
20502
21787
  donationtext: msg.getDonationtext(),
20503
21788
  originaldonationamount: msg.getOriginaldonationamount(),
20504
- donationamountdifference: msg.getDonationamountdifference()
21789
+ donationamountdifference: msg.getDonationamountdifference(),
21790
+ billerdescription: msg.getBillerdescription()
20505
21791
  };
20506
21792
 
20507
21793
  if (includeInstance) {
@@ -20751,6 +22037,10 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
20751
22037
  var value = /** @type {number} */ (reader.readDouble());
20752
22038
  msg.setDonationamountdifference(value);
20753
22039
  break;
22040
+ case 55:
22041
+ var value = /** @type {string} */ (reader.readString());
22042
+ msg.setBillerdescription(value);
22043
+ break;
20754
22044
  default:
20755
22045
  reader.skipField();
20756
22046
  break;
@@ -21160,6 +22450,13 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
21160
22450
  f
21161
22451
  );
21162
22452
  }
22453
+ f = this.getBillerdescription();
22454
+ if (f.length > 0) {
22455
+ writer.writeString(
22456
+ 55,
22457
+ f
22458
+ );
22459
+ }
21163
22460
  };
21164
22461
 
21165
22462
 
@@ -21998,6 +23295,21 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setDonationamountdifference = func
21998
23295
  };
21999
23296
 
22000
23297
 
23298
+ /**
23299
+ * optional string billerDescription = 55;
23300
+ * @return {string}
23301
+ */
23302
+ proto.sniipbillapi.SimpleBillDetail.prototype.getBillerdescription = function() {
23303
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 55, ""));
23304
+ };
23305
+
23306
+
23307
+ /** @param {string} value */
23308
+ proto.sniipbillapi.SimpleBillDetail.prototype.setBillerdescription = function(value) {
23309
+ jspb.Message.setField(this, 55, value);
23310
+ };
23311
+
23312
+
22001
23313
 
22002
23314
  /**
22003
23315
  * Generated by JsPbCodeGenerator.