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

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);
@@ -14533,6 +14535,192 @@ proto.sniipbillapi.GetExistingBillRequest.prototype.hasData = function() {
14533
14535
 
14534
14536
 
14535
14537
 
14538
+ /**
14539
+ * Generated by JsPbCodeGenerator.
14540
+ * @param {Array=} opt_data Optional initial data array, typically from a
14541
+ * server response, or constructed directly in Javascript. The array is used
14542
+ * in place and becomes part of the constructed object. It is not cloned.
14543
+ * If no data is provided, the constructed object will be empty, but still
14544
+ * valid.
14545
+ * @extends {jspb.Message}
14546
+ * @constructor
14547
+ */
14548
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest = function(opt_data) {
14549
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
14550
+ };
14551
+ goog.inherits(proto.sniipbillapi.GetItemPaymentDetailsInternalRequest, jspb.Message);
14552
+ if (goog.DEBUG && !COMPILED) {
14553
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.displayName = 'proto.sniipbillapi.GetItemPaymentDetailsInternalRequest';
14554
+ }
14555
+
14556
+
14557
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14558
+ /**
14559
+ * Creates an object representation of this proto suitable for use in Soy templates.
14560
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14561
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14562
+ * For the list of reserved names please see:
14563
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
14564
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
14565
+ * for transitional soy proto support: http://goto/soy-param-migration
14566
+ * @return {!Object}
14567
+ */
14568
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.toObject = function(opt_includeInstance) {
14569
+ return proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.toObject(opt_includeInstance, this);
14570
+ };
14571
+
14572
+
14573
+ /**
14574
+ * Static version of the {@see toObject} method.
14575
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
14576
+ * instance for transitional soy proto support:
14577
+ * http://goto/soy-param-migration
14578
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} msg The msg instance to transform.
14579
+ * @return {!Object}
14580
+ */
14581
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.toObject = function(includeInstance, msg) {
14582
+ var f, obj = {
14583
+ uuid: msg.getUuid(),
14584
+ userid: msg.getUserid()
14585
+ };
14586
+
14587
+ if (includeInstance) {
14588
+ obj.$jspbMessageInstance = msg;
14589
+ }
14590
+ return obj;
14591
+ };
14592
+ }
14593
+
14594
+
14595
+ /**
14596
+ * Deserializes binary data (in protobuf wire format).
14597
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14598
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest}
14599
+ */
14600
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinary = function(bytes) {
14601
+ var reader = new jspb.BinaryReader(bytes);
14602
+ var msg = new proto.sniipbillapi.GetItemPaymentDetailsInternalRequest;
14603
+ return proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinaryFromReader(msg, reader);
14604
+ };
14605
+
14606
+
14607
+ /**
14608
+ * Deserializes binary data (in protobuf wire format) from the
14609
+ * given reader into the given message object.
14610
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} msg The message object to deserialize into.
14611
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14612
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest}
14613
+ */
14614
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
14615
+ while (reader.nextField()) {
14616
+ if (reader.isEndGroup()) {
14617
+ break;
14618
+ }
14619
+ var field = reader.getFieldNumber();
14620
+ switch (field) {
14621
+ case 1:
14622
+ var value = /** @type {string} */ (reader.readString());
14623
+ msg.setUuid(value);
14624
+ break;
14625
+ case 2:
14626
+ var value = /** @type {number} */ (reader.readInt64());
14627
+ msg.setUserid(value);
14628
+ break;
14629
+ default:
14630
+ reader.skipField();
14631
+ break;
14632
+ }
14633
+ }
14634
+ return msg;
14635
+ };
14636
+
14637
+
14638
+ /**
14639
+ * Class method variant: serializes the given message to binary data
14640
+ * (in protobuf wire format), writing to the given BinaryWriter.
14641
+ * @param {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} message
14642
+ * @param {!jspb.BinaryWriter} writer
14643
+ */
14644
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.serializeBinaryToWriter = function(message, writer) {
14645
+ message.serializeBinaryToWriter(writer);
14646
+ };
14647
+
14648
+
14649
+ /**
14650
+ * Serializes the message to binary data (in protobuf wire format).
14651
+ * @return {!Uint8Array}
14652
+ */
14653
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.serializeBinary = function() {
14654
+ var writer = new jspb.BinaryWriter();
14655
+ this.serializeBinaryToWriter(writer);
14656
+ return writer.getResultBuffer();
14657
+ };
14658
+
14659
+
14660
+ /**
14661
+ * Serializes the message to binary data (in protobuf wire format),
14662
+ * writing to the given BinaryWriter.
14663
+ * @param {!jspb.BinaryWriter} writer
14664
+ */
14665
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.serializeBinaryToWriter = function (writer) {
14666
+ var f = undefined;
14667
+ f = this.getUuid();
14668
+ if (f.length > 0) {
14669
+ writer.writeString(
14670
+ 1,
14671
+ f
14672
+ );
14673
+ }
14674
+ f = this.getUserid();
14675
+ if (f !== 0) {
14676
+ writer.writeInt64(
14677
+ 2,
14678
+ f
14679
+ );
14680
+ }
14681
+ };
14682
+
14683
+
14684
+ /**
14685
+ * Creates a deep clone of this proto. No data is shared with the original.
14686
+ * @return {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} The clone.
14687
+ */
14688
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.cloneMessage = function() {
14689
+ return /** @type {!proto.sniipbillapi.GetItemPaymentDetailsInternalRequest} */ (jspb.Message.cloneMessage(this));
14690
+ };
14691
+
14692
+
14693
+ /**
14694
+ * optional string uuid = 1;
14695
+ * @return {string}
14696
+ */
14697
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.getUuid = function() {
14698
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
14699
+ };
14700
+
14701
+
14702
+ /** @param {string} value */
14703
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.setUuid = function(value) {
14704
+ jspb.Message.setField(this, 1, value);
14705
+ };
14706
+
14707
+
14708
+ /**
14709
+ * optional int64 userId = 2;
14710
+ * @return {number}
14711
+ */
14712
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.getUserid = function() {
14713
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
14714
+ };
14715
+
14716
+
14717
+ /** @param {number} value */
14718
+ proto.sniipbillapi.GetItemPaymentDetailsInternalRequest.prototype.setUserid = function(value) {
14719
+ jspb.Message.setField(this, 2, value);
14720
+ };
14721
+
14722
+
14723
+
14536
14724
  /**
14537
14725
  * Generated by JsPbCodeGenerator.
14538
14726
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16405,13 +16593,20 @@ proto.sniipbillapi.InvoiceBillPair.prototype.setUserid = function(value) {
16405
16593
  * @extends {jspb.Message}
16406
16594
  * @constructor
16407
16595
  */
16408
- proto.sniipbillapi.ItemPaymentDetailsResponse = function(opt_data) {
16409
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
16596
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse = function(opt_data) {
16597
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ItemPaymentDetailsInternalResponse.repeatedFields_, null);
16410
16598
  };
16411
- goog.inherits(proto.sniipbillapi.ItemPaymentDetailsResponse, jspb.Message);
16599
+ goog.inherits(proto.sniipbillapi.ItemPaymentDetailsInternalResponse, jspb.Message);
16412
16600
  if (goog.DEBUG && !COMPILED) {
16413
- proto.sniipbillapi.ItemPaymentDetailsResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsResponse';
16601
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsInternalResponse';
16414
16602
  }
16603
+ /**
16604
+ * List of repeated fields within this message type.
16605
+ * @private {!Array<number>}
16606
+ * @const
16607
+ */
16608
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.repeatedFields_ = [10];
16609
+
16415
16610
 
16416
16611
 
16417
16612
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -16425,8 +16620,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16425
16620
  * for transitional soy proto support: http://goto/soy-param-migration
16426
16621
  * @return {!Object}
16427
16622
  */
16428
- proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
16429
- return proto.sniipbillapi.ItemPaymentDetailsResponse.toObject(opt_includeInstance, this);
16623
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.toObject = function(opt_includeInstance) {
16624
+ return proto.sniipbillapi.ItemPaymentDetailsInternalResponse.toObject(opt_includeInstance, this);
16430
16625
  };
16431
16626
 
16432
16627
 
@@ -16435,12 +16630,32 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_
16435
16630
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
16436
16631
  * instance for transitional soy proto support:
16437
16632
  * http://goto/soy-param-migration
16438
- * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The msg instance to transform.
16633
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} msg The msg instance to transform.
16439
16634
  * @return {!Object}
16440
16635
  */
16441
- proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstance, msg) {
16636
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.toObject = function(includeInstance, msg) {
16442
16637
  var f, obj = {
16443
- responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f)
16638
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
16639
+ itemid: msg.getItemid(),
16640
+ amount: msg.getAmount(),
16641
+ billerid: msg.getBillerid(),
16642
+ billercode: msg.getBillercode(),
16643
+ billerlogo: msg.getBillerlogo(),
16644
+ billername: msg.getBillername(),
16645
+ maxamountpermitted: msg.getMaxamountpermitted(),
16646
+ minamountpermitted: msg.getMinamountpermitted(),
16647
+ acceptedpaymentmethodsList: jspb.Message.getField(msg, 10),
16648
+ platform: msg.getPlatform(),
16649
+ version: msg.getVersion(),
16650
+ latitude: msg.getLatitude(),
16651
+ longitude: msg.getLongitude(),
16652
+ manufacturer: msg.getManufacturer(),
16653
+ model: msg.getModel(),
16654
+ osversion: msg.getOsversion(),
16655
+ deviceid: msg.getDeviceid(),
16656
+ uuid: msg.getUuid(),
16657
+ itemcategory: msg.getItemcategory(),
16658
+ itempaymentdetailsid: msg.getItempaymentdetailsid()
16444
16659
  };
16445
16660
 
16446
16661
  if (includeInstance) {
@@ -16454,23 +16669,23 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstanc
16454
16669
  /**
16455
16670
  * Deserializes binary data (in protobuf wire format).
16456
16671
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
16457
- * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
16672
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse}
16458
16673
  */
16459
- proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinary = function(bytes) {
16674
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinary = function(bytes) {
16460
16675
  var reader = new jspb.BinaryReader(bytes);
16461
- var msg = new proto.sniipbillapi.ItemPaymentDetailsResponse;
16462
- return proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
16676
+ var msg = new proto.sniipbillapi.ItemPaymentDetailsInternalResponse;
16677
+ return proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinaryFromReader(msg, reader);
16463
16678
  };
16464
16679
 
16465
16680
 
16466
16681
  /**
16467
16682
  * Deserializes binary data (in protobuf wire format) from the
16468
16683
  * given reader into the given message object.
16469
- * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The message object to deserialize into.
16684
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} msg The message object to deserialize into.
16470
16685
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16471
- * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
16686
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse}
16472
16687
  */
16473
- proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
16688
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.deserializeBinaryFromReader = function(msg, reader) {
16474
16689
  while (reader.nextField()) {
16475
16690
  if (reader.isEndGroup()) {
16476
16691
  break;
@@ -16482,62 +16697,894 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = func
16482
16697
  reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
16483
16698
  msg.setResponsecode(value);
16484
16699
  break;
16485
- default:
16486
- reader.skipField();
16700
+ case 2:
16701
+ var value = /** @type {number} */ (reader.readInt64());
16702
+ msg.setItemid(value);
16487
16703
  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
16520
- */
16521
- proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinaryToWriter = function (writer) {
16522
- var f = undefined;
16523
- f = this.getResponsecode();
16524
- if (f != null) {
16525
- writer.writeMessage(
16526
- 1,
16527
- f,
16528
- proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
16529
- );
16530
- }
16531
- };
16532
-
16533
-
16534
- /**
16535
- * Creates a deep clone of this proto. No data is shared with the original.
16536
- * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse} The clone.
16537
- */
16538
- proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.cloneMessage = function() {
16539
- return /** @type {!proto.sniipbillapi.ItemPaymentDetailsResponse} */ (jspb.Message.cloneMessage(this));
16540
- };
16704
+ case 3:
16705
+ var value = /** @type {number} */ (reader.readDouble());
16706
+ msg.setAmount(value);
16707
+ break;
16708
+ case 4:
16709
+ var value = /** @type {number} */ (reader.readInt64());
16710
+ msg.setBillerid(value);
16711
+ break;
16712
+ case 5:
16713
+ var value = /** @type {string} */ (reader.readString());
16714
+ msg.setBillercode(value);
16715
+ break;
16716
+ case 6:
16717
+ var value = /** @type {string} */ (reader.readString());
16718
+ msg.setBillerlogo(value);
16719
+ break;
16720
+ case 7:
16721
+ var value = /** @type {string} */ (reader.readString());
16722
+ msg.setBillername(value);
16723
+ break;
16724
+ case 8:
16725
+ var value = /** @type {number} */ (reader.readDouble());
16726
+ msg.setMaxamountpermitted(value);
16727
+ break;
16728
+ case 9:
16729
+ var value = /** @type {number} */ (reader.readDouble());
16730
+ msg.setMinamountpermitted(value);
16731
+ break;
16732
+ case 10:
16733
+ var value = /** @type {string} */ (reader.readString());
16734
+ msg.getAcceptedpaymentmethodsList().push(value);
16735
+ msg.setAcceptedpaymentmethodsList(msg.getAcceptedpaymentmethodsList());
16736
+ break;
16737
+ case 11:
16738
+ var value = /** @type {string} */ (reader.readString());
16739
+ msg.setPlatform(value);
16740
+ break;
16741
+ case 12:
16742
+ var value = /** @type {string} */ (reader.readString());
16743
+ msg.setVersion(value);
16744
+ break;
16745
+ case 13:
16746
+ var value = /** @type {string} */ (reader.readString());
16747
+ msg.setLatitude(value);
16748
+ break;
16749
+ case 14:
16750
+ var value = /** @type {string} */ (reader.readString());
16751
+ msg.setLongitude(value);
16752
+ break;
16753
+ case 15:
16754
+ var value = /** @type {string} */ (reader.readString());
16755
+ msg.setManufacturer(value);
16756
+ break;
16757
+ case 16:
16758
+ var value = /** @type {string} */ (reader.readString());
16759
+ msg.setModel(value);
16760
+ break;
16761
+ case 17:
16762
+ var value = /** @type {string} */ (reader.readString());
16763
+ msg.setOsversion(value);
16764
+ break;
16765
+ case 18:
16766
+ var value = /** @type {string} */ (reader.readString());
16767
+ msg.setDeviceid(value);
16768
+ break;
16769
+ case 19:
16770
+ var value = /** @type {string} */ (reader.readString());
16771
+ msg.setUuid(value);
16772
+ break;
16773
+ case 20:
16774
+ var value = /** @type {string} */ (reader.readString());
16775
+ msg.setItemcategory(value);
16776
+ break;
16777
+ case 21:
16778
+ var value = /** @type {number} */ (reader.readInt64());
16779
+ msg.setItempaymentdetailsid(value);
16780
+ break;
16781
+ default:
16782
+ reader.skipField();
16783
+ break;
16784
+ }
16785
+ }
16786
+ return msg;
16787
+ };
16788
+
16789
+
16790
+ /**
16791
+ * Class method variant: serializes the given message to binary data
16792
+ * (in protobuf wire format), writing to the given BinaryWriter.
16793
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} message
16794
+ * @param {!jspb.BinaryWriter} writer
16795
+ */
16796
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.serializeBinaryToWriter = function(message, writer) {
16797
+ message.serializeBinaryToWriter(writer);
16798
+ };
16799
+
16800
+
16801
+ /**
16802
+ * Serializes the message to binary data (in protobuf wire format).
16803
+ * @return {!Uint8Array}
16804
+ */
16805
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.serializeBinary = function() {
16806
+ var writer = new jspb.BinaryWriter();
16807
+ this.serializeBinaryToWriter(writer);
16808
+ return writer.getResultBuffer();
16809
+ };
16810
+
16811
+
16812
+ /**
16813
+ * Serializes the message to binary data (in protobuf wire format),
16814
+ * writing to the given BinaryWriter.
16815
+ * @param {!jspb.BinaryWriter} writer
16816
+ */
16817
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.serializeBinaryToWriter = function (writer) {
16818
+ var f = undefined;
16819
+ f = this.getResponsecode();
16820
+ if (f != null) {
16821
+ writer.writeMessage(
16822
+ 1,
16823
+ f,
16824
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
16825
+ );
16826
+ }
16827
+ f = this.getItemid();
16828
+ if (f !== 0) {
16829
+ writer.writeInt64(
16830
+ 2,
16831
+ f
16832
+ );
16833
+ }
16834
+ f = this.getAmount();
16835
+ if (f !== 0.0) {
16836
+ writer.writeDouble(
16837
+ 3,
16838
+ f
16839
+ );
16840
+ }
16841
+ f = this.getBillerid();
16842
+ if (f !== 0) {
16843
+ writer.writeInt64(
16844
+ 4,
16845
+ f
16846
+ );
16847
+ }
16848
+ f = this.getBillercode();
16849
+ if (f.length > 0) {
16850
+ writer.writeString(
16851
+ 5,
16852
+ f
16853
+ );
16854
+ }
16855
+ f = this.getBillerlogo();
16856
+ if (f.length > 0) {
16857
+ writer.writeString(
16858
+ 6,
16859
+ f
16860
+ );
16861
+ }
16862
+ f = this.getBillername();
16863
+ if (f.length > 0) {
16864
+ writer.writeString(
16865
+ 7,
16866
+ f
16867
+ );
16868
+ }
16869
+ f = this.getMaxamountpermitted();
16870
+ if (f !== 0.0) {
16871
+ writer.writeDouble(
16872
+ 8,
16873
+ f
16874
+ );
16875
+ }
16876
+ f = this.getMinamountpermitted();
16877
+ if (f !== 0.0) {
16878
+ writer.writeDouble(
16879
+ 9,
16880
+ f
16881
+ );
16882
+ }
16883
+ f = this.getAcceptedpaymentmethodsList();
16884
+ if (f.length > 0) {
16885
+ writer.writeRepeatedString(
16886
+ 10,
16887
+ f
16888
+ );
16889
+ }
16890
+ f = this.getPlatform();
16891
+ if (f.length > 0) {
16892
+ writer.writeString(
16893
+ 11,
16894
+ f
16895
+ );
16896
+ }
16897
+ f = this.getVersion();
16898
+ if (f.length > 0) {
16899
+ writer.writeString(
16900
+ 12,
16901
+ f
16902
+ );
16903
+ }
16904
+ f = this.getLatitude();
16905
+ if (f.length > 0) {
16906
+ writer.writeString(
16907
+ 13,
16908
+ f
16909
+ );
16910
+ }
16911
+ f = this.getLongitude();
16912
+ if (f.length > 0) {
16913
+ writer.writeString(
16914
+ 14,
16915
+ f
16916
+ );
16917
+ }
16918
+ f = this.getManufacturer();
16919
+ if (f.length > 0) {
16920
+ writer.writeString(
16921
+ 15,
16922
+ f
16923
+ );
16924
+ }
16925
+ f = this.getModel();
16926
+ if (f.length > 0) {
16927
+ writer.writeString(
16928
+ 16,
16929
+ f
16930
+ );
16931
+ }
16932
+ f = this.getOsversion();
16933
+ if (f.length > 0) {
16934
+ writer.writeString(
16935
+ 17,
16936
+ f
16937
+ );
16938
+ }
16939
+ f = this.getDeviceid();
16940
+ if (f.length > 0) {
16941
+ writer.writeString(
16942
+ 18,
16943
+ f
16944
+ );
16945
+ }
16946
+ f = this.getUuid();
16947
+ if (f.length > 0) {
16948
+ writer.writeString(
16949
+ 19,
16950
+ f
16951
+ );
16952
+ }
16953
+ f = this.getItemcategory();
16954
+ if (f.length > 0) {
16955
+ writer.writeString(
16956
+ 20,
16957
+ f
16958
+ );
16959
+ }
16960
+ f = this.getItempaymentdetailsid();
16961
+ if (f !== 0) {
16962
+ writer.writeInt64(
16963
+ 21,
16964
+ f
16965
+ );
16966
+ }
16967
+ };
16968
+
16969
+
16970
+ /**
16971
+ * Creates a deep clone of this proto. No data is shared with the original.
16972
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} The clone.
16973
+ */
16974
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.cloneMessage = function() {
16975
+ return /** @type {!proto.sniipbillapi.ItemPaymentDetailsInternalResponse} */ (jspb.Message.cloneMessage(this));
16976
+ };
16977
+
16978
+
16979
+ /**
16980
+ * optional ResponseCode responseCode = 1;
16981
+ * @return {proto.sniipbillapi.ResponseCode}
16982
+ */
16983
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getResponsecode = function() {
16984
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
16985
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
16986
+ };
16987
+
16988
+
16989
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
16990
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setResponsecode = function(value) {
16991
+ jspb.Message.setWrapperField(this, 1, value);
16992
+ };
16993
+
16994
+
16995
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.clearResponsecode = function() {
16996
+ this.setResponsecode(undefined);
16997
+ };
16998
+
16999
+
17000
+ /**
17001
+ * Returns whether this field is set.
17002
+ * @return{!boolean}
17003
+ */
17004
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.hasResponsecode = function() {
17005
+ return jspb.Message.getField(this, 1) != null;
17006
+ };
17007
+
17008
+
17009
+ /**
17010
+ * optional int64 itemId = 2;
17011
+ * @return {number}
17012
+ */
17013
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItemid = function() {
17014
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
17015
+ };
17016
+
17017
+
17018
+ /** @param {number} value */
17019
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItemid = function(value) {
17020
+ jspb.Message.setField(this, 2, value);
17021
+ };
17022
+
17023
+
17024
+ /**
17025
+ * optional double amount = 3;
17026
+ * @return {number}
17027
+ */
17028
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getAmount = function() {
17029
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
17030
+ };
17031
+
17032
+
17033
+ /** @param {number} value */
17034
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setAmount = function(value) {
17035
+ jspb.Message.setField(this, 3, value);
17036
+ };
17037
+
17038
+
17039
+ /**
17040
+ * optional int64 billerId = 4;
17041
+ * @return {number}
17042
+ */
17043
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillerid = function() {
17044
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
17045
+ };
17046
+
17047
+
17048
+ /** @param {number} value */
17049
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillerid = function(value) {
17050
+ jspb.Message.setField(this, 4, value);
17051
+ };
17052
+
17053
+
17054
+ /**
17055
+ * optional string billerCode = 5;
17056
+ * @return {string}
17057
+ */
17058
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillercode = function() {
17059
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
17060
+ };
17061
+
17062
+
17063
+ /** @param {string} value */
17064
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillercode = function(value) {
17065
+ jspb.Message.setField(this, 5, value);
17066
+ };
17067
+
17068
+
17069
+ /**
17070
+ * optional string billerLogo = 6;
17071
+ * @return {string}
17072
+ */
17073
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillerlogo = function() {
17074
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
17075
+ };
17076
+
17077
+
17078
+ /** @param {string} value */
17079
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillerlogo = function(value) {
17080
+ jspb.Message.setField(this, 6, value);
17081
+ };
17082
+
17083
+
17084
+ /**
17085
+ * optional string billerName = 7;
17086
+ * @return {string}
17087
+ */
17088
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getBillername = function() {
17089
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
17090
+ };
17091
+
17092
+
17093
+ /** @param {string} value */
17094
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setBillername = function(value) {
17095
+ jspb.Message.setField(this, 7, value);
17096
+ };
17097
+
17098
+
17099
+ /**
17100
+ * optional double maxAmountPermitted = 8;
17101
+ * @return {number}
17102
+ */
17103
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getMaxamountpermitted = function() {
17104
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
17105
+ };
17106
+
17107
+
17108
+ /** @param {number} value */
17109
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setMaxamountpermitted = function(value) {
17110
+ jspb.Message.setField(this, 8, value);
17111
+ };
17112
+
17113
+
17114
+ /**
17115
+ * optional double minAmountPermitted = 9;
17116
+ * @return {number}
17117
+ */
17118
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getMinamountpermitted = function() {
17119
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
17120
+ };
17121
+
17122
+
17123
+ /** @param {number} value */
17124
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setMinamountpermitted = function(value) {
17125
+ jspb.Message.setField(this, 9, value);
17126
+ };
17127
+
17128
+
17129
+ /**
17130
+ * repeated string acceptedPaymentMethods = 10;
17131
+ * If you change this array by adding, removing or replacing elements, or if you
17132
+ * replace the array itself, then you must call the setter to update it.
17133
+ * @return {!Array.<string>}
17134
+ */
17135
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getAcceptedpaymentmethodsList = function() {
17136
+ return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 10));
17137
+ };
17138
+
17139
+
17140
+ /** @param {Array.<string>} value */
17141
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setAcceptedpaymentmethodsList = function(value) {
17142
+ jspb.Message.setField(this, 10, value || []);
17143
+ };
17144
+
17145
+
17146
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.clearAcceptedpaymentmethodsList = function() {
17147
+ jspb.Message.setField(this, 10, []);
17148
+ };
17149
+
17150
+
17151
+ /**
17152
+ * optional string platform = 11;
17153
+ * @return {string}
17154
+ */
17155
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getPlatform = function() {
17156
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
17157
+ };
17158
+
17159
+
17160
+ /** @param {string} value */
17161
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setPlatform = function(value) {
17162
+ jspb.Message.setField(this, 11, value);
17163
+ };
17164
+
17165
+
17166
+ /**
17167
+ * optional string version = 12;
17168
+ * @return {string}
17169
+ */
17170
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getVersion = function() {
17171
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
17172
+ };
17173
+
17174
+
17175
+ /** @param {string} value */
17176
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setVersion = function(value) {
17177
+ jspb.Message.setField(this, 12, value);
17178
+ };
17179
+
17180
+
17181
+ /**
17182
+ * optional string latitude = 13;
17183
+ * @return {string}
17184
+ */
17185
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getLatitude = function() {
17186
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 13, ""));
17187
+ };
17188
+
17189
+
17190
+ /** @param {string} value */
17191
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setLatitude = function(value) {
17192
+ jspb.Message.setField(this, 13, value);
17193
+ };
17194
+
17195
+
17196
+ /**
17197
+ * optional string longitude = 14;
17198
+ * @return {string}
17199
+ */
17200
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getLongitude = function() {
17201
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
17202
+ };
17203
+
17204
+
17205
+ /** @param {string} value */
17206
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setLongitude = function(value) {
17207
+ jspb.Message.setField(this, 14, value);
17208
+ };
17209
+
17210
+
17211
+ /**
17212
+ * optional string manufacturer = 15;
17213
+ * @return {string}
17214
+ */
17215
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getManufacturer = function() {
17216
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
17217
+ };
17218
+
17219
+
17220
+ /** @param {string} value */
17221
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setManufacturer = function(value) {
17222
+ jspb.Message.setField(this, 15, value);
17223
+ };
17224
+
17225
+
17226
+ /**
17227
+ * optional string model = 16;
17228
+ * @return {string}
17229
+ */
17230
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getModel = function() {
17231
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 16, ""));
17232
+ };
17233
+
17234
+
17235
+ /** @param {string} value */
17236
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setModel = function(value) {
17237
+ jspb.Message.setField(this, 16, value);
17238
+ };
17239
+
17240
+
17241
+ /**
17242
+ * optional string osVersion = 17;
17243
+ * @return {string}
17244
+ */
17245
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getOsversion = function() {
17246
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 17, ""));
17247
+ };
17248
+
17249
+
17250
+ /** @param {string} value */
17251
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setOsversion = function(value) {
17252
+ jspb.Message.setField(this, 17, value);
17253
+ };
17254
+
17255
+
17256
+ /**
17257
+ * optional string deviceId = 18;
17258
+ * @return {string}
17259
+ */
17260
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getDeviceid = function() {
17261
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
17262
+ };
17263
+
17264
+
17265
+ /** @param {string} value */
17266
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setDeviceid = function(value) {
17267
+ jspb.Message.setField(this, 18, value);
17268
+ };
17269
+
17270
+
17271
+ /**
17272
+ * optional string uuid = 19;
17273
+ * @return {string}
17274
+ */
17275
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getUuid = function() {
17276
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 19, ""));
17277
+ };
17278
+
17279
+
17280
+ /** @param {string} value */
17281
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setUuid = function(value) {
17282
+ jspb.Message.setField(this, 19, value);
17283
+ };
17284
+
17285
+
17286
+ /**
17287
+ * optional string itemCategory = 20;
17288
+ * @return {string}
17289
+ */
17290
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItemcategory = function() {
17291
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 20, ""));
17292
+ };
17293
+
17294
+
17295
+ /** @param {string} value */
17296
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItemcategory = function(value) {
17297
+ jspb.Message.setField(this, 20, value);
17298
+ };
17299
+
17300
+
17301
+ /**
17302
+ * optional int64 itemPaymentDetailsId = 21;
17303
+ * @return {number}
17304
+ */
17305
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.getItempaymentdetailsid = function() {
17306
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 21, 0));
17307
+ };
17308
+
17309
+
17310
+ /** @param {number} value */
17311
+ proto.sniipbillapi.ItemPaymentDetailsInternalResponse.prototype.setItempaymentdetailsid = function(value) {
17312
+ jspb.Message.setField(this, 21, value);
17313
+ };
17314
+
17315
+
17316
+
17317
+ /**
17318
+ * Generated by JsPbCodeGenerator.
17319
+ * @param {Array=} opt_data Optional initial data array, typically from a
17320
+ * server response, or constructed directly in Javascript. The array is used
17321
+ * in place and becomes part of the constructed object. It is not cloned.
17322
+ * If no data is provided, the constructed object will be empty, but still
17323
+ * valid.
17324
+ * @extends {jspb.Message}
17325
+ * @constructor
17326
+ */
17327
+ proto.sniipbillapi.ItemPaymentDetailsResponse = function(opt_data) {
17328
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ItemPaymentDetailsResponse.repeatedFields_, null);
17329
+ };
17330
+ goog.inherits(proto.sniipbillapi.ItemPaymentDetailsResponse, jspb.Message);
17331
+ if (goog.DEBUG && !COMPILED) {
17332
+ proto.sniipbillapi.ItemPaymentDetailsResponse.displayName = 'proto.sniipbillapi.ItemPaymentDetailsResponse';
17333
+ }
17334
+ /**
17335
+ * List of repeated fields within this message type.
17336
+ * @private {!Array<number>}
17337
+ * @const
17338
+ */
17339
+ proto.sniipbillapi.ItemPaymentDetailsResponse.repeatedFields_ = [10];
17340
+
17341
+
17342
+
17343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17344
+ /**
17345
+ * Creates an object representation of this proto suitable for use in Soy templates.
17346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17347
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17348
+ * For the list of reserved names please see:
17349
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
17350
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
17351
+ * for transitional soy proto support: http://goto/soy-param-migration
17352
+ * @return {!Object}
17353
+ */
17354
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.toObject = function(opt_includeInstance) {
17355
+ return proto.sniipbillapi.ItemPaymentDetailsResponse.toObject(opt_includeInstance, this);
17356
+ };
17357
+
17358
+
17359
+ /**
17360
+ * Static version of the {@see toObject} method.
17361
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
17362
+ * instance for transitional soy proto support:
17363
+ * http://goto/soy-param-migration
17364
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The msg instance to transform.
17365
+ * @return {!Object}
17366
+ */
17367
+ proto.sniipbillapi.ItemPaymentDetailsResponse.toObject = function(includeInstance, msg) {
17368
+ var f, obj = {
17369
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
17370
+ itemid: msg.getItemid(),
17371
+ amount: msg.getAmount(),
17372
+ billerid: msg.getBillerid(),
17373
+ billercode: msg.getBillercode(),
17374
+ billerlogo: msg.getBillerlogo(),
17375
+ billername: msg.getBillername(),
17376
+ maxamountpermitted: msg.getMaxamountpermitted(),
17377
+ minamountpermitted: msg.getMinamountpermitted(),
17378
+ acceptedpaymentmethodsList: jspb.Message.getField(msg, 10),
17379
+ itemcategory: msg.getItemcategory()
17380
+ };
17381
+
17382
+ if (includeInstance) {
17383
+ obj.$jspbMessageInstance = msg;
17384
+ }
17385
+ return obj;
17386
+ };
17387
+ }
17388
+
17389
+
17390
+ /**
17391
+ * Deserializes binary data (in protobuf wire format).
17392
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17393
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
17394
+ */
17395
+ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinary = function(bytes) {
17396
+ var reader = new jspb.BinaryReader(bytes);
17397
+ var msg = new proto.sniipbillapi.ItemPaymentDetailsResponse;
17398
+ return proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader(msg, reader);
17399
+ };
17400
+
17401
+
17402
+ /**
17403
+ * Deserializes binary data (in protobuf wire format) from the
17404
+ * given reader into the given message object.
17405
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} msg The message object to deserialize into.
17406
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17407
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse}
17408
+ */
17409
+ proto.sniipbillapi.ItemPaymentDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
17410
+ while (reader.nextField()) {
17411
+ if (reader.isEndGroup()) {
17412
+ break;
17413
+ }
17414
+ var field = reader.getFieldNumber();
17415
+ switch (field) {
17416
+ case 1:
17417
+ var value = new proto.sniipbillapi.ResponseCode;
17418
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
17419
+ msg.setResponsecode(value);
17420
+ break;
17421
+ case 2:
17422
+ var value = /** @type {number} */ (reader.readInt64());
17423
+ msg.setItemid(value);
17424
+ break;
17425
+ case 3:
17426
+ var value = /** @type {number} */ (reader.readDouble());
17427
+ msg.setAmount(value);
17428
+ break;
17429
+ case 4:
17430
+ var value = /** @type {number} */ (reader.readInt64());
17431
+ msg.setBillerid(value);
17432
+ break;
17433
+ case 5:
17434
+ var value = /** @type {string} */ (reader.readString());
17435
+ msg.setBillercode(value);
17436
+ break;
17437
+ case 6:
17438
+ var value = /** @type {string} */ (reader.readString());
17439
+ msg.setBillerlogo(value);
17440
+ break;
17441
+ case 7:
17442
+ var value = /** @type {string} */ (reader.readString());
17443
+ msg.setBillername(value);
17444
+ break;
17445
+ case 8:
17446
+ var value = /** @type {number} */ (reader.readDouble());
17447
+ msg.setMaxamountpermitted(value);
17448
+ break;
17449
+ case 9:
17450
+ var value = /** @type {number} */ (reader.readDouble());
17451
+ msg.setMinamountpermitted(value);
17452
+ break;
17453
+ case 10:
17454
+ var value = /** @type {string} */ (reader.readString());
17455
+ msg.getAcceptedpaymentmethodsList().push(value);
17456
+ msg.setAcceptedpaymentmethodsList(msg.getAcceptedpaymentmethodsList());
17457
+ break;
17458
+ case 11:
17459
+ var value = /** @type {string} */ (reader.readString());
17460
+ msg.setItemcategory(value);
17461
+ break;
17462
+ default:
17463
+ reader.skipField();
17464
+ break;
17465
+ }
17466
+ }
17467
+ return msg;
17468
+ };
17469
+
17470
+
17471
+ /**
17472
+ * Class method variant: serializes the given message to binary data
17473
+ * (in protobuf wire format), writing to the given BinaryWriter.
17474
+ * @param {!proto.sniipbillapi.ItemPaymentDetailsResponse} message
17475
+ * @param {!jspb.BinaryWriter} writer
17476
+ */
17477
+ proto.sniipbillapi.ItemPaymentDetailsResponse.serializeBinaryToWriter = function(message, writer) {
17478
+ message.serializeBinaryToWriter(writer);
17479
+ };
17480
+
17481
+
17482
+ /**
17483
+ * Serializes the message to binary data (in protobuf wire format).
17484
+ * @return {!Uint8Array}
17485
+ */
17486
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinary = function() {
17487
+ var writer = new jspb.BinaryWriter();
17488
+ this.serializeBinaryToWriter(writer);
17489
+ return writer.getResultBuffer();
17490
+ };
17491
+
17492
+
17493
+ /**
17494
+ * Serializes the message to binary data (in protobuf wire format),
17495
+ * writing to the given BinaryWriter.
17496
+ * @param {!jspb.BinaryWriter} writer
17497
+ */
17498
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.serializeBinaryToWriter = function (writer) {
17499
+ var f = undefined;
17500
+ f = this.getResponsecode();
17501
+ if (f != null) {
17502
+ writer.writeMessage(
17503
+ 1,
17504
+ f,
17505
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
17506
+ );
17507
+ }
17508
+ f = this.getItemid();
17509
+ if (f !== 0) {
17510
+ writer.writeInt64(
17511
+ 2,
17512
+ f
17513
+ );
17514
+ }
17515
+ f = this.getAmount();
17516
+ if (f !== 0.0) {
17517
+ writer.writeDouble(
17518
+ 3,
17519
+ f
17520
+ );
17521
+ }
17522
+ f = this.getBillerid();
17523
+ if (f !== 0) {
17524
+ writer.writeInt64(
17525
+ 4,
17526
+ f
17527
+ );
17528
+ }
17529
+ f = this.getBillercode();
17530
+ if (f.length > 0) {
17531
+ writer.writeString(
17532
+ 5,
17533
+ f
17534
+ );
17535
+ }
17536
+ f = this.getBillerlogo();
17537
+ if (f.length > 0) {
17538
+ writer.writeString(
17539
+ 6,
17540
+ f
17541
+ );
17542
+ }
17543
+ f = this.getBillername();
17544
+ if (f.length > 0) {
17545
+ writer.writeString(
17546
+ 7,
17547
+ f
17548
+ );
17549
+ }
17550
+ f = this.getMaxamountpermitted();
17551
+ if (f !== 0.0) {
17552
+ writer.writeDouble(
17553
+ 8,
17554
+ f
17555
+ );
17556
+ }
17557
+ f = this.getMinamountpermitted();
17558
+ if (f !== 0.0) {
17559
+ writer.writeDouble(
17560
+ 9,
17561
+ f
17562
+ );
17563
+ }
17564
+ f = this.getAcceptedpaymentmethodsList();
17565
+ if (f.length > 0) {
17566
+ writer.writeRepeatedString(
17567
+ 10,
17568
+ f
17569
+ );
17570
+ }
17571
+ f = this.getItemcategory();
17572
+ if (f.length > 0) {
17573
+ writer.writeString(
17574
+ 11,
17575
+ f
17576
+ );
17577
+ }
17578
+ };
17579
+
17580
+
17581
+ /**
17582
+ * Creates a deep clone of this proto. No data is shared with the original.
17583
+ * @return {!proto.sniipbillapi.ItemPaymentDetailsResponse} The clone.
17584
+ */
17585
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.cloneMessage = function() {
17586
+ return /** @type {!proto.sniipbillapi.ItemPaymentDetailsResponse} */ (jspb.Message.cloneMessage(this));
17587
+ };
16541
17588
 
16542
17589
 
16543
17590
  /**
@@ -16570,6 +17617,163 @@ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.hasResponsecode = functi
16570
17617
  };
16571
17618
 
16572
17619
 
17620
+ /**
17621
+ * optional int64 itemId = 2;
17622
+ * @return {number}
17623
+ */
17624
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getItemid = function() {
17625
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
17626
+ };
17627
+
17628
+
17629
+ /** @param {number} value */
17630
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setItemid = function(value) {
17631
+ jspb.Message.setField(this, 2, value);
17632
+ };
17633
+
17634
+
17635
+ /**
17636
+ * optional double amount = 3;
17637
+ * @return {number}
17638
+ */
17639
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getAmount = function() {
17640
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
17641
+ };
17642
+
17643
+
17644
+ /** @param {number} value */
17645
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setAmount = function(value) {
17646
+ jspb.Message.setField(this, 3, value);
17647
+ };
17648
+
17649
+
17650
+ /**
17651
+ * optional int64 billerId = 4;
17652
+ * @return {number}
17653
+ */
17654
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillerid = function() {
17655
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
17656
+ };
17657
+
17658
+
17659
+ /** @param {number} value */
17660
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillerid = function(value) {
17661
+ jspb.Message.setField(this, 4, value);
17662
+ };
17663
+
17664
+
17665
+ /**
17666
+ * optional string billerCode = 5;
17667
+ * @return {string}
17668
+ */
17669
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillercode = function() {
17670
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
17671
+ };
17672
+
17673
+
17674
+ /** @param {string} value */
17675
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillercode = function(value) {
17676
+ jspb.Message.setField(this, 5, value);
17677
+ };
17678
+
17679
+
17680
+ /**
17681
+ * optional string billerLogo = 6;
17682
+ * @return {string}
17683
+ */
17684
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillerlogo = function() {
17685
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
17686
+ };
17687
+
17688
+
17689
+ /** @param {string} value */
17690
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillerlogo = function(value) {
17691
+ jspb.Message.setField(this, 6, value);
17692
+ };
17693
+
17694
+
17695
+ /**
17696
+ * optional string billerName = 7;
17697
+ * @return {string}
17698
+ */
17699
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getBillername = function() {
17700
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
17701
+ };
17702
+
17703
+
17704
+ /** @param {string} value */
17705
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setBillername = function(value) {
17706
+ jspb.Message.setField(this, 7, value);
17707
+ };
17708
+
17709
+
17710
+ /**
17711
+ * optional double maxAmountPermitted = 8;
17712
+ * @return {number}
17713
+ */
17714
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getMaxamountpermitted = function() {
17715
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
17716
+ };
17717
+
17718
+
17719
+ /** @param {number} value */
17720
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setMaxamountpermitted = function(value) {
17721
+ jspb.Message.setField(this, 8, value);
17722
+ };
17723
+
17724
+
17725
+ /**
17726
+ * optional double minAmountPermitted = 9;
17727
+ * @return {number}
17728
+ */
17729
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getMinamountpermitted = function() {
17730
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
17731
+ };
17732
+
17733
+
17734
+ /** @param {number} value */
17735
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setMinamountpermitted = function(value) {
17736
+ jspb.Message.setField(this, 9, value);
17737
+ };
17738
+
17739
+
17740
+ /**
17741
+ * repeated string acceptedPaymentMethods = 10;
17742
+ * If you change this array by adding, removing or replacing elements, or if you
17743
+ * replace the array itself, then you must call the setter to update it.
17744
+ * @return {!Array.<string>}
17745
+ */
17746
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getAcceptedpaymentmethodsList = function() {
17747
+ return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 10));
17748
+ };
17749
+
17750
+
17751
+ /** @param {Array.<string>} value */
17752
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setAcceptedpaymentmethodsList = function(value) {
17753
+ jspb.Message.setField(this, 10, value || []);
17754
+ };
17755
+
17756
+
17757
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.clearAcceptedpaymentmethodsList = function() {
17758
+ jspb.Message.setField(this, 10, []);
17759
+ };
17760
+
17761
+
17762
+ /**
17763
+ * optional string itemCategory = 11;
17764
+ * @return {string}
17765
+ */
17766
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.getItemcategory = function() {
17767
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
17768
+ };
17769
+
17770
+
17771
+ /** @param {string} value */
17772
+ proto.sniipbillapi.ItemPaymentDetailsResponse.prototype.setItemcategory = function(value) {
17773
+ jspb.Message.setField(this, 11, value);
17774
+ };
17775
+
17776
+
16573
17777
 
16574
17778
  /**
16575
17779
  * Generated by JsPbCodeGenerator.