@sniipwebmaster/bill-service-client-grpcweb 22.9.8540 → 22.9.8561

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.
@@ -17,6 +17,7 @@ goog.exportSymbol('proto.sniipbillapi.ArchiveBillInternalRequest', null, global)
17
17
  goog.exportSymbol('proto.sniipbillapi.ArchiveBillRequest', null, global);
18
18
  goog.exportSymbol('proto.sniipbillapi.ArchivedRequest', null, global);
19
19
  goog.exportSymbol('proto.sniipbillapi.ArchivedResponse', null, global);
20
+ goog.exportSymbol('proto.sniipbillapi.AttachmentDetails', null, global);
20
21
  goog.exportSymbol('proto.sniipbillapi.BadgeCountRequest', null, global);
21
22
  goog.exportSymbol('proto.sniipbillapi.BadgeCountResponse', null, global);
22
23
  goog.exportSymbol('proto.sniipbillapi.BillBillInternalRequest', null, global);
@@ -53,10 +54,13 @@ goog.exportSymbol('proto.sniipbillapi.CreateOrUpdateBillFromXeroInvoiceRequest',
53
54
  goog.exportSymbol('proto.sniipbillapi.DeleteBillRequest', null, global);
54
55
  goog.exportSymbol('proto.sniipbillapi.DeleteBillsRequest', null, global);
55
56
  goog.exportSymbol('proto.sniipbillapi.DraftBillCreateRequest', null, global);
57
+ goog.exportSymbol('proto.sniipbillapi.DraftBillDetails', null, global);
58
+ goog.exportSymbol('proto.sniipbillapi.DraftBillDetailsResponse', null, global);
56
59
  goog.exportSymbol('proto.sniipbillapi.ExcludeBillerReferenceRequest', null, global);
57
60
  goog.exportSymbol('proto.sniipbillapi.ExcludeReferenceRequest', null, global);
58
61
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetRequest', null, global);
59
62
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetResponse', null, global);
63
+ goog.exportSymbol('proto.sniipbillapi.FieldsRequireUserReview', null, global);
60
64
  goog.exportSymbol('proto.sniipbillapi.GetArchiveListRequest', null, global);
61
65
  goog.exportSymbol('proto.sniipbillapi.GetArchiveListResponse', null, global);
62
66
  goog.exportSymbol('proto.sniipbillapi.GetArchivedRequest', null, global);
@@ -66,6 +70,7 @@ goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null,
66
70
  goog.exportSymbol('proto.sniipbillapi.GetBillsForUserRequest', null, global);
67
71
  goog.exportSymbol('proto.sniipbillapi.GetBillsRequest', null, global);
68
72
  goog.exportSymbol('proto.sniipbillapi.GetBlockedOrganisationsForUserRequest', null, global);
73
+ goog.exportSymbol('proto.sniipbillapi.GetDraftBillDetailsRequest', null, global);
69
74
  goog.exportSymbol('proto.sniipbillapi.GetExistingBillRequest', null, global);
70
75
  goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsInternalRequest', null, global);
71
76
  goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsRequest', null, global);
@@ -1858,6 +1863,246 @@ proto.sniipbillapi.ArchivedResponse.prototype.clearDataList = function() {
1858
1863
 
1859
1864
 
1860
1865
 
1866
+ /**
1867
+ * Generated by JsPbCodeGenerator.
1868
+ * @param {Array=} opt_data Optional initial data array, typically from a
1869
+ * server response, or constructed directly in Javascript. The array is used
1870
+ * in place and becomes part of the constructed object. It is not cloned.
1871
+ * If no data is provided, the constructed object will be empty, but still
1872
+ * valid.
1873
+ * @extends {jspb.Message}
1874
+ * @constructor
1875
+ */
1876
+ proto.sniipbillapi.AttachmentDetails = function(opt_data) {
1877
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1878
+ };
1879
+ goog.inherits(proto.sniipbillapi.AttachmentDetails, jspb.Message);
1880
+ if (goog.DEBUG && !COMPILED) {
1881
+ proto.sniipbillapi.AttachmentDetails.displayName = 'proto.sniipbillapi.AttachmentDetails';
1882
+ }
1883
+
1884
+
1885
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1886
+ /**
1887
+ * Creates an object representation of this proto suitable for use in Soy templates.
1888
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1889
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1890
+ * For the list of reserved names please see:
1891
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1892
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1893
+ * for transitional soy proto support: http://goto/soy-param-migration
1894
+ * @return {!Object}
1895
+ */
1896
+ proto.sniipbillapi.AttachmentDetails.prototype.toObject = function(opt_includeInstance) {
1897
+ return proto.sniipbillapi.AttachmentDetails.toObject(opt_includeInstance, this);
1898
+ };
1899
+
1900
+
1901
+ /**
1902
+ * Static version of the {@see toObject} method.
1903
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
1904
+ * instance for transitional soy proto support:
1905
+ * http://goto/soy-param-migration
1906
+ * @param {!proto.sniipbillapi.AttachmentDetails} msg The msg instance to transform.
1907
+ * @return {!Object}
1908
+ */
1909
+ proto.sniipbillapi.AttachmentDetails.toObject = function(includeInstance, msg) {
1910
+ var f, obj = {
1911
+ attachmentid: msg.getAttachmentid(),
1912
+ mimetype: msg.getMimetype(),
1913
+ filename: msg.getFilename(),
1914
+ attachmenturl: msg.getAttachmenturl()
1915
+ };
1916
+
1917
+ if (includeInstance) {
1918
+ obj.$jspbMessageInstance = msg;
1919
+ }
1920
+ return obj;
1921
+ };
1922
+ }
1923
+
1924
+
1925
+ /**
1926
+ * Deserializes binary data (in protobuf wire format).
1927
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1928
+ * @return {!proto.sniipbillapi.AttachmentDetails}
1929
+ */
1930
+ proto.sniipbillapi.AttachmentDetails.deserializeBinary = function(bytes) {
1931
+ var reader = new jspb.BinaryReader(bytes);
1932
+ var msg = new proto.sniipbillapi.AttachmentDetails;
1933
+ return proto.sniipbillapi.AttachmentDetails.deserializeBinaryFromReader(msg, reader);
1934
+ };
1935
+
1936
+
1937
+ /**
1938
+ * Deserializes binary data (in protobuf wire format) from the
1939
+ * given reader into the given message object.
1940
+ * @param {!proto.sniipbillapi.AttachmentDetails} msg The message object to deserialize into.
1941
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1942
+ * @return {!proto.sniipbillapi.AttachmentDetails}
1943
+ */
1944
+ proto.sniipbillapi.AttachmentDetails.deserializeBinaryFromReader = function(msg, reader) {
1945
+ while (reader.nextField()) {
1946
+ if (reader.isEndGroup()) {
1947
+ break;
1948
+ }
1949
+ var field = reader.getFieldNumber();
1950
+ switch (field) {
1951
+ case 1:
1952
+ var value = /** @type {number} */ (reader.readInt64());
1953
+ msg.setAttachmentid(value);
1954
+ break;
1955
+ case 2:
1956
+ var value = /** @type {string} */ (reader.readString());
1957
+ msg.setMimetype(value);
1958
+ break;
1959
+ case 3:
1960
+ var value = /** @type {string} */ (reader.readString());
1961
+ msg.setFilename(value);
1962
+ break;
1963
+ case 4:
1964
+ var value = /** @type {string} */ (reader.readString());
1965
+ msg.setAttachmenturl(value);
1966
+ break;
1967
+ default:
1968
+ reader.skipField();
1969
+ break;
1970
+ }
1971
+ }
1972
+ return msg;
1973
+ };
1974
+
1975
+
1976
+ /**
1977
+ * Class method variant: serializes the given message to binary data
1978
+ * (in protobuf wire format), writing to the given BinaryWriter.
1979
+ * @param {!proto.sniipbillapi.AttachmentDetails} message
1980
+ * @param {!jspb.BinaryWriter} writer
1981
+ */
1982
+ proto.sniipbillapi.AttachmentDetails.serializeBinaryToWriter = function(message, writer) {
1983
+ message.serializeBinaryToWriter(writer);
1984
+ };
1985
+
1986
+
1987
+ /**
1988
+ * Serializes the message to binary data (in protobuf wire format).
1989
+ * @return {!Uint8Array}
1990
+ */
1991
+ proto.sniipbillapi.AttachmentDetails.prototype.serializeBinary = function() {
1992
+ var writer = new jspb.BinaryWriter();
1993
+ this.serializeBinaryToWriter(writer);
1994
+ return writer.getResultBuffer();
1995
+ };
1996
+
1997
+
1998
+ /**
1999
+ * Serializes the message to binary data (in protobuf wire format),
2000
+ * writing to the given BinaryWriter.
2001
+ * @param {!jspb.BinaryWriter} writer
2002
+ */
2003
+ proto.sniipbillapi.AttachmentDetails.prototype.serializeBinaryToWriter = function (writer) {
2004
+ var f = undefined;
2005
+ f = this.getAttachmentid();
2006
+ if (f !== 0) {
2007
+ writer.writeInt64(
2008
+ 1,
2009
+ f
2010
+ );
2011
+ }
2012
+ f = this.getMimetype();
2013
+ if (f.length > 0) {
2014
+ writer.writeString(
2015
+ 2,
2016
+ f
2017
+ );
2018
+ }
2019
+ f = this.getFilename();
2020
+ if (f.length > 0) {
2021
+ writer.writeString(
2022
+ 3,
2023
+ f
2024
+ );
2025
+ }
2026
+ f = this.getAttachmenturl();
2027
+ if (f.length > 0) {
2028
+ writer.writeString(
2029
+ 4,
2030
+ f
2031
+ );
2032
+ }
2033
+ };
2034
+
2035
+
2036
+ /**
2037
+ * Creates a deep clone of this proto. No data is shared with the original.
2038
+ * @return {!proto.sniipbillapi.AttachmentDetails} The clone.
2039
+ */
2040
+ proto.sniipbillapi.AttachmentDetails.prototype.cloneMessage = function() {
2041
+ return /** @type {!proto.sniipbillapi.AttachmentDetails} */ (jspb.Message.cloneMessage(this));
2042
+ };
2043
+
2044
+
2045
+ /**
2046
+ * optional int64 attachmentId = 1;
2047
+ * @return {number}
2048
+ */
2049
+ proto.sniipbillapi.AttachmentDetails.prototype.getAttachmentid = function() {
2050
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
2051
+ };
2052
+
2053
+
2054
+ /** @param {number} value */
2055
+ proto.sniipbillapi.AttachmentDetails.prototype.setAttachmentid = function(value) {
2056
+ jspb.Message.setField(this, 1, value);
2057
+ };
2058
+
2059
+
2060
+ /**
2061
+ * optional string mimeType = 2;
2062
+ * @return {string}
2063
+ */
2064
+ proto.sniipbillapi.AttachmentDetails.prototype.getMimetype = function() {
2065
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
2066
+ };
2067
+
2068
+
2069
+ /** @param {string} value */
2070
+ proto.sniipbillapi.AttachmentDetails.prototype.setMimetype = function(value) {
2071
+ jspb.Message.setField(this, 2, value);
2072
+ };
2073
+
2074
+
2075
+ /**
2076
+ * optional string filename = 3;
2077
+ * @return {string}
2078
+ */
2079
+ proto.sniipbillapi.AttachmentDetails.prototype.getFilename = function() {
2080
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
2081
+ };
2082
+
2083
+
2084
+ /** @param {string} value */
2085
+ proto.sniipbillapi.AttachmentDetails.prototype.setFilename = function(value) {
2086
+ jspb.Message.setField(this, 3, value);
2087
+ };
2088
+
2089
+
2090
+ /**
2091
+ * optional string attachmentUrl = 4;
2092
+ * @return {string}
2093
+ */
2094
+ proto.sniipbillapi.AttachmentDetails.prototype.getAttachmenturl = function() {
2095
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
2096
+ };
2097
+
2098
+
2099
+ /** @param {string} value */
2100
+ proto.sniipbillapi.AttachmentDetails.prototype.setAttachmenturl = function(value) {
2101
+ jspb.Message.setField(this, 4, value);
2102
+ };
2103
+
2104
+
2105
+
1861
2106
  /**
1862
2107
  * Generated by JsPbCodeGenerator.
1863
2108
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -12117,12 +12362,12 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.setOriginaldonationamount =
12117
12362
  * @extends {jspb.Message}
12118
12363
  * @constructor
12119
12364
  */
12120
- proto.sniipbillapi.ExcludeBillerReferenceRequest = function(opt_data) {
12365
+ proto.sniipbillapi.DraftBillDetails = function(opt_data) {
12121
12366
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12122
12367
  };
12123
- goog.inherits(proto.sniipbillapi.ExcludeBillerReferenceRequest, jspb.Message);
12368
+ goog.inherits(proto.sniipbillapi.DraftBillDetails, jspb.Message);
12124
12369
  if (goog.DEBUG && !COMPILED) {
12125
- proto.sniipbillapi.ExcludeBillerReferenceRequest.displayName = 'proto.sniipbillapi.ExcludeBillerReferenceRequest';
12370
+ proto.sniipbillapi.DraftBillDetails.displayName = 'proto.sniipbillapi.DraftBillDetails';
12126
12371
  }
12127
12372
 
12128
12373
 
@@ -12137,8 +12382,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12137
12382
  * for transitional soy proto support: http://goto/soy-param-migration
12138
12383
  * @return {!Object}
12139
12384
  */
12140
- proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.toObject = function(opt_includeInstance) {
12141
- return proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject(opt_includeInstance, this);
12385
+ proto.sniipbillapi.DraftBillDetails.prototype.toObject = function(opt_includeInstance) {
12386
+ return proto.sniipbillapi.DraftBillDetails.toObject(opt_includeInstance, this);
12142
12387
  };
12143
12388
 
12144
12389
 
@@ -12147,12 +12392,25 @@ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.toObject = function(o
12147
12392
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
12148
12393
  * instance for transitional soy proto support:
12149
12394
  * http://goto/soy-param-migration
12150
- * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The msg instance to transform.
12395
+ * @param {!proto.sniipbillapi.DraftBillDetails} msg The msg instance to transform.
12151
12396
  * @return {!Object}
12152
12397
  */
12153
- proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject = function(includeInstance, msg) {
12398
+ proto.sniipbillapi.DraftBillDetails.toObject = function(includeInstance, msg) {
12154
12399
  var f, obj = {
12155
- data: (f = msg.getData()) && proto.sniipbillapi.ExcludeReferenceRequest.toObject(includeInstance, f)
12400
+ billid: msg.getBillid(),
12401
+ billerid: msg.getBillerid(),
12402
+ billercode: msg.getBillercode(),
12403
+ billername: msg.getBillername(),
12404
+ reference: msg.getReference(),
12405
+ remainingunpaidamount: msg.getRemainingunpaidamount(),
12406
+ duedate: msg.getDuedate(),
12407
+ category: msg.getCategory(),
12408
+ billerabn: msg.getBillerabn(),
12409
+ billerbsb: msg.getBillerbsb(),
12410
+ billerbankaccountno: msg.getBillerbankaccountno(),
12411
+ paymentprocessor: msg.getPaymentprocessor(),
12412
+ originalattachment: (f = msg.getOriginalattachment()) && proto.sniipbillapi.AttachmentDetails.toObject(includeInstance, f),
12413
+ fieldsrequireuserreview: (f = msg.getFieldsrequireuserreview()) && proto.sniipbillapi.FieldsRequireUserReview.toObject(includeInstance, f)
12156
12414
  };
12157
12415
 
12158
12416
  if (includeInstance) {
@@ -12166,23 +12424,23 @@ proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject = function(includeInst
12166
12424
  /**
12167
12425
  * Deserializes binary data (in protobuf wire format).
12168
12426
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
12169
- * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
12427
+ * @return {!proto.sniipbillapi.DraftBillDetails}
12170
12428
  */
12171
- proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinary = function(bytes) {
12429
+ proto.sniipbillapi.DraftBillDetails.deserializeBinary = function(bytes) {
12172
12430
  var reader = new jspb.BinaryReader(bytes);
12173
- var msg = new proto.sniipbillapi.ExcludeBillerReferenceRequest;
12174
- return proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader(msg, reader);
12431
+ var msg = new proto.sniipbillapi.DraftBillDetails;
12432
+ return proto.sniipbillapi.DraftBillDetails.deserializeBinaryFromReader(msg, reader);
12175
12433
  };
12176
12434
 
12177
12435
 
12178
12436
  /**
12179
12437
  * Deserializes binary data (in protobuf wire format) from the
12180
12438
  * given reader into the given message object.
12181
- * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The message object to deserialize into.
12439
+ * @param {!proto.sniipbillapi.DraftBillDetails} msg The message object to deserialize into.
12182
12440
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12183
- * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
12441
+ * @return {!proto.sniipbillapi.DraftBillDetails}
12184
12442
  */
12185
- proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
12443
+ proto.sniipbillapi.DraftBillDetails.deserializeBinaryFromReader = function(msg, reader) {
12186
12444
  while (reader.nextField()) {
12187
12445
  if (reader.isEndGroup()) {
12188
12446
  break;
@@ -12190,37 +12448,788 @@ proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader = f
12190
12448
  var field = reader.getFieldNumber();
12191
12449
  switch (field) {
12192
12450
  case 1:
12193
- var value = new proto.sniipbillapi.ExcludeReferenceRequest;
12194
- reader.readMessage(value,proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinaryFromReader);
12195
- msg.setData(value);
12451
+ var value = /** @type {number} */ (reader.readInt64());
12452
+ msg.setBillid(value);
12196
12453
  break;
12197
- default:
12198
- reader.skipField();
12454
+ case 2:
12455
+ var value = /** @type {number} */ (reader.readInt64());
12456
+ msg.setBillerid(value);
12199
12457
  break;
12200
- }
12201
- }
12202
- return msg;
12203
- };
12204
-
12205
-
12206
- /**
12207
- * Class method variant: serializes the given message to binary data
12208
- * (in protobuf wire format), writing to the given BinaryWriter.
12209
- * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} message
12210
- * @param {!jspb.BinaryWriter} writer
12211
- */
12212
- proto.sniipbillapi.ExcludeBillerReferenceRequest.serializeBinaryToWriter = function(message, writer) {
12213
- message.serializeBinaryToWriter(writer);
12214
- };
12215
-
12216
-
12217
- /**
12218
- * Serializes the message to binary data (in protobuf wire format).
12219
- * @return {!Uint8Array}
12220
- */
12221
- proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.serializeBinary = function() {
12222
- var writer = new jspb.BinaryWriter();
12223
- this.serializeBinaryToWriter(writer);
12458
+ case 3:
12459
+ var value = /** @type {string} */ (reader.readString());
12460
+ msg.setBillercode(value);
12461
+ break;
12462
+ case 4:
12463
+ var value = /** @type {string} */ (reader.readString());
12464
+ msg.setBillername(value);
12465
+ break;
12466
+ case 5:
12467
+ var value = /** @type {string} */ (reader.readString());
12468
+ msg.setReference(value);
12469
+ break;
12470
+ case 6:
12471
+ var value = /** @type {number} */ (reader.readDouble());
12472
+ msg.setRemainingunpaidamount(value);
12473
+ break;
12474
+ case 7:
12475
+ var value = /** @type {string} */ (reader.readString());
12476
+ msg.setDuedate(value);
12477
+ break;
12478
+ case 8:
12479
+ var value = /** @type {string} */ (reader.readString());
12480
+ msg.setCategory(value);
12481
+ break;
12482
+ case 9:
12483
+ var value = /** @type {string} */ (reader.readString());
12484
+ msg.setBillerabn(value);
12485
+ break;
12486
+ case 10:
12487
+ var value = /** @type {string} */ (reader.readString());
12488
+ msg.setBillerbsb(value);
12489
+ break;
12490
+ case 11:
12491
+ var value = /** @type {string} */ (reader.readString());
12492
+ msg.setBillerbankaccountno(value);
12493
+ break;
12494
+ case 12:
12495
+ var value = /** @type {string} */ (reader.readString());
12496
+ msg.setPaymentprocessor(value);
12497
+ break;
12498
+ case 13:
12499
+ var value = new proto.sniipbillapi.AttachmentDetails;
12500
+ reader.readMessage(value,proto.sniipbillapi.AttachmentDetails.deserializeBinaryFromReader);
12501
+ msg.setOriginalattachment(value);
12502
+ break;
12503
+ case 14:
12504
+ var value = new proto.sniipbillapi.FieldsRequireUserReview;
12505
+ reader.readMessage(value,proto.sniipbillapi.FieldsRequireUserReview.deserializeBinaryFromReader);
12506
+ msg.setFieldsrequireuserreview(value);
12507
+ break;
12508
+ default:
12509
+ reader.skipField();
12510
+ break;
12511
+ }
12512
+ }
12513
+ return msg;
12514
+ };
12515
+
12516
+
12517
+ /**
12518
+ * Class method variant: serializes the given message to binary data
12519
+ * (in protobuf wire format), writing to the given BinaryWriter.
12520
+ * @param {!proto.sniipbillapi.DraftBillDetails} message
12521
+ * @param {!jspb.BinaryWriter} writer
12522
+ */
12523
+ proto.sniipbillapi.DraftBillDetails.serializeBinaryToWriter = function(message, writer) {
12524
+ message.serializeBinaryToWriter(writer);
12525
+ };
12526
+
12527
+
12528
+ /**
12529
+ * Serializes the message to binary data (in protobuf wire format).
12530
+ * @return {!Uint8Array}
12531
+ */
12532
+ proto.sniipbillapi.DraftBillDetails.prototype.serializeBinary = function() {
12533
+ var writer = new jspb.BinaryWriter();
12534
+ this.serializeBinaryToWriter(writer);
12535
+ return writer.getResultBuffer();
12536
+ };
12537
+
12538
+
12539
+ /**
12540
+ * Serializes the message to binary data (in protobuf wire format),
12541
+ * writing to the given BinaryWriter.
12542
+ * @param {!jspb.BinaryWriter} writer
12543
+ */
12544
+ proto.sniipbillapi.DraftBillDetails.prototype.serializeBinaryToWriter = function (writer) {
12545
+ var f = undefined;
12546
+ f = this.getBillid();
12547
+ if (f !== 0) {
12548
+ writer.writeInt64(
12549
+ 1,
12550
+ f
12551
+ );
12552
+ }
12553
+ f = this.getBillerid();
12554
+ if (f !== 0) {
12555
+ writer.writeInt64(
12556
+ 2,
12557
+ f
12558
+ );
12559
+ }
12560
+ f = this.getBillercode();
12561
+ if (f.length > 0) {
12562
+ writer.writeString(
12563
+ 3,
12564
+ f
12565
+ );
12566
+ }
12567
+ f = this.getBillername();
12568
+ if (f.length > 0) {
12569
+ writer.writeString(
12570
+ 4,
12571
+ f
12572
+ );
12573
+ }
12574
+ f = this.getReference();
12575
+ if (f.length > 0) {
12576
+ writer.writeString(
12577
+ 5,
12578
+ f
12579
+ );
12580
+ }
12581
+ f = this.getRemainingunpaidamount();
12582
+ if (f !== 0.0) {
12583
+ writer.writeDouble(
12584
+ 6,
12585
+ f
12586
+ );
12587
+ }
12588
+ f = this.getDuedate();
12589
+ if (f.length > 0) {
12590
+ writer.writeString(
12591
+ 7,
12592
+ f
12593
+ );
12594
+ }
12595
+ f = this.getCategory();
12596
+ if (f.length > 0) {
12597
+ writer.writeString(
12598
+ 8,
12599
+ f
12600
+ );
12601
+ }
12602
+ f = this.getBillerabn();
12603
+ if (f.length > 0) {
12604
+ writer.writeString(
12605
+ 9,
12606
+ f
12607
+ );
12608
+ }
12609
+ f = this.getBillerbsb();
12610
+ if (f.length > 0) {
12611
+ writer.writeString(
12612
+ 10,
12613
+ f
12614
+ );
12615
+ }
12616
+ f = this.getBillerbankaccountno();
12617
+ if (f.length > 0) {
12618
+ writer.writeString(
12619
+ 11,
12620
+ f
12621
+ );
12622
+ }
12623
+ f = this.getPaymentprocessor();
12624
+ if (f.length > 0) {
12625
+ writer.writeString(
12626
+ 12,
12627
+ f
12628
+ );
12629
+ }
12630
+ f = this.getOriginalattachment();
12631
+ if (f != null) {
12632
+ writer.writeMessage(
12633
+ 13,
12634
+ f,
12635
+ proto.sniipbillapi.AttachmentDetails.serializeBinaryToWriter
12636
+ );
12637
+ }
12638
+ f = this.getFieldsrequireuserreview();
12639
+ if (f != null) {
12640
+ writer.writeMessage(
12641
+ 14,
12642
+ f,
12643
+ proto.sniipbillapi.FieldsRequireUserReview.serializeBinaryToWriter
12644
+ );
12645
+ }
12646
+ };
12647
+
12648
+
12649
+ /**
12650
+ * Creates a deep clone of this proto. No data is shared with the original.
12651
+ * @return {!proto.sniipbillapi.DraftBillDetails} The clone.
12652
+ */
12653
+ proto.sniipbillapi.DraftBillDetails.prototype.cloneMessage = function() {
12654
+ return /** @type {!proto.sniipbillapi.DraftBillDetails} */ (jspb.Message.cloneMessage(this));
12655
+ };
12656
+
12657
+
12658
+ /**
12659
+ * optional int64 billId = 1;
12660
+ * @return {number}
12661
+ */
12662
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillid = function() {
12663
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
12664
+ };
12665
+
12666
+
12667
+ /** @param {number} value */
12668
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillid = function(value) {
12669
+ jspb.Message.setField(this, 1, value);
12670
+ };
12671
+
12672
+
12673
+ /**
12674
+ * optional int64 billerId = 2;
12675
+ * @return {number}
12676
+ */
12677
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillerid = function() {
12678
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
12679
+ };
12680
+
12681
+
12682
+ /** @param {number} value */
12683
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillerid = function(value) {
12684
+ jspb.Message.setField(this, 2, value);
12685
+ };
12686
+
12687
+
12688
+ /**
12689
+ * optional string billerCode = 3;
12690
+ * @return {string}
12691
+ */
12692
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillercode = function() {
12693
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
12694
+ };
12695
+
12696
+
12697
+ /** @param {string} value */
12698
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillercode = function(value) {
12699
+ jspb.Message.setField(this, 3, value);
12700
+ };
12701
+
12702
+
12703
+ /**
12704
+ * optional string billerName = 4;
12705
+ * @return {string}
12706
+ */
12707
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillername = function() {
12708
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
12709
+ };
12710
+
12711
+
12712
+ /** @param {string} value */
12713
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillername = function(value) {
12714
+ jspb.Message.setField(this, 4, value);
12715
+ };
12716
+
12717
+
12718
+ /**
12719
+ * optional string reference = 5;
12720
+ * @return {string}
12721
+ */
12722
+ proto.sniipbillapi.DraftBillDetails.prototype.getReference = function() {
12723
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
12724
+ };
12725
+
12726
+
12727
+ /** @param {string} value */
12728
+ proto.sniipbillapi.DraftBillDetails.prototype.setReference = function(value) {
12729
+ jspb.Message.setField(this, 5, value);
12730
+ };
12731
+
12732
+
12733
+ /**
12734
+ * optional double remainingUnpaidAmount = 6;
12735
+ * @return {number}
12736
+ */
12737
+ proto.sniipbillapi.DraftBillDetails.prototype.getRemainingunpaidamount = function() {
12738
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
12739
+ };
12740
+
12741
+
12742
+ /** @param {number} value */
12743
+ proto.sniipbillapi.DraftBillDetails.prototype.setRemainingunpaidamount = function(value) {
12744
+ jspb.Message.setField(this, 6, value);
12745
+ };
12746
+
12747
+
12748
+ /**
12749
+ * optional string dueDate = 7;
12750
+ * @return {string}
12751
+ */
12752
+ proto.sniipbillapi.DraftBillDetails.prototype.getDuedate = function() {
12753
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
12754
+ };
12755
+
12756
+
12757
+ /** @param {string} value */
12758
+ proto.sniipbillapi.DraftBillDetails.prototype.setDuedate = function(value) {
12759
+ jspb.Message.setField(this, 7, value);
12760
+ };
12761
+
12762
+
12763
+ /**
12764
+ * optional string category = 8;
12765
+ * @return {string}
12766
+ */
12767
+ proto.sniipbillapi.DraftBillDetails.prototype.getCategory = function() {
12768
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
12769
+ };
12770
+
12771
+
12772
+ /** @param {string} value */
12773
+ proto.sniipbillapi.DraftBillDetails.prototype.setCategory = function(value) {
12774
+ jspb.Message.setField(this, 8, value);
12775
+ };
12776
+
12777
+
12778
+ /**
12779
+ * optional string billerAbn = 9;
12780
+ * @return {string}
12781
+ */
12782
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillerabn = function() {
12783
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
12784
+ };
12785
+
12786
+
12787
+ /** @param {string} value */
12788
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillerabn = function(value) {
12789
+ jspb.Message.setField(this, 9, value);
12790
+ };
12791
+
12792
+
12793
+ /**
12794
+ * optional string billerBsb = 10;
12795
+ * @return {string}
12796
+ */
12797
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillerbsb = function() {
12798
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
12799
+ };
12800
+
12801
+
12802
+ /** @param {string} value */
12803
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillerbsb = function(value) {
12804
+ jspb.Message.setField(this, 10, value);
12805
+ };
12806
+
12807
+
12808
+ /**
12809
+ * optional string billerBankAccountNo = 11;
12810
+ * @return {string}
12811
+ */
12812
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillerbankaccountno = function() {
12813
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 11, ""));
12814
+ };
12815
+
12816
+
12817
+ /** @param {string} value */
12818
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillerbankaccountno = function(value) {
12819
+ jspb.Message.setField(this, 11, value);
12820
+ };
12821
+
12822
+
12823
+ /**
12824
+ * optional string paymentProcessor = 12;
12825
+ * @return {string}
12826
+ */
12827
+ proto.sniipbillapi.DraftBillDetails.prototype.getPaymentprocessor = function() {
12828
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
12829
+ };
12830
+
12831
+
12832
+ /** @param {string} value */
12833
+ proto.sniipbillapi.DraftBillDetails.prototype.setPaymentprocessor = function(value) {
12834
+ jspb.Message.setField(this, 12, value);
12835
+ };
12836
+
12837
+
12838
+ /**
12839
+ * optional AttachmentDetails originalAttachment = 13;
12840
+ * @return {proto.sniipbillapi.AttachmentDetails}
12841
+ */
12842
+ proto.sniipbillapi.DraftBillDetails.prototype.getOriginalattachment = function() {
12843
+ return /** @type{proto.sniipbillapi.AttachmentDetails} */ (
12844
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.AttachmentDetails, 13));
12845
+ };
12846
+
12847
+
12848
+ /** @param {proto.sniipbillapi.AttachmentDetails|undefined} value */
12849
+ proto.sniipbillapi.DraftBillDetails.prototype.setOriginalattachment = function(value) {
12850
+ jspb.Message.setWrapperField(this, 13, value);
12851
+ };
12852
+
12853
+
12854
+ proto.sniipbillapi.DraftBillDetails.prototype.clearOriginalattachment = function() {
12855
+ this.setOriginalattachment(undefined);
12856
+ };
12857
+
12858
+
12859
+ /**
12860
+ * Returns whether this field is set.
12861
+ * @return{!boolean}
12862
+ */
12863
+ proto.sniipbillapi.DraftBillDetails.prototype.hasOriginalattachment = function() {
12864
+ return jspb.Message.getField(this, 13) != null;
12865
+ };
12866
+
12867
+
12868
+ /**
12869
+ * optional FieldsRequireUserReview fieldsRequireUserReview = 14;
12870
+ * @return {proto.sniipbillapi.FieldsRequireUserReview}
12871
+ */
12872
+ proto.sniipbillapi.DraftBillDetails.prototype.getFieldsrequireuserreview = function() {
12873
+ return /** @type{proto.sniipbillapi.FieldsRequireUserReview} */ (
12874
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.FieldsRequireUserReview, 14));
12875
+ };
12876
+
12877
+
12878
+ /** @param {proto.sniipbillapi.FieldsRequireUserReview|undefined} value */
12879
+ proto.sniipbillapi.DraftBillDetails.prototype.setFieldsrequireuserreview = function(value) {
12880
+ jspb.Message.setWrapperField(this, 14, value);
12881
+ };
12882
+
12883
+
12884
+ proto.sniipbillapi.DraftBillDetails.prototype.clearFieldsrequireuserreview = function() {
12885
+ this.setFieldsrequireuserreview(undefined);
12886
+ };
12887
+
12888
+
12889
+ /**
12890
+ * Returns whether this field is set.
12891
+ * @return{!boolean}
12892
+ */
12893
+ proto.sniipbillapi.DraftBillDetails.prototype.hasFieldsrequireuserreview = function() {
12894
+ return jspb.Message.getField(this, 14) != null;
12895
+ };
12896
+
12897
+
12898
+
12899
+ /**
12900
+ * Generated by JsPbCodeGenerator.
12901
+ * @param {Array=} opt_data Optional initial data array, typically from a
12902
+ * server response, or constructed directly in Javascript. The array is used
12903
+ * in place and becomes part of the constructed object. It is not cloned.
12904
+ * If no data is provided, the constructed object will be empty, but still
12905
+ * valid.
12906
+ * @extends {jspb.Message}
12907
+ * @constructor
12908
+ */
12909
+ proto.sniipbillapi.DraftBillDetailsResponse = function(opt_data) {
12910
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12911
+ };
12912
+ goog.inherits(proto.sniipbillapi.DraftBillDetailsResponse, jspb.Message);
12913
+ if (goog.DEBUG && !COMPILED) {
12914
+ proto.sniipbillapi.DraftBillDetailsResponse.displayName = 'proto.sniipbillapi.DraftBillDetailsResponse';
12915
+ }
12916
+
12917
+
12918
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12919
+ /**
12920
+ * Creates an object representation of this proto suitable for use in Soy templates.
12921
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12922
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12923
+ * For the list of reserved names please see:
12924
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12925
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12926
+ * for transitional soy proto support: http://goto/soy-param-migration
12927
+ * @return {!Object}
12928
+ */
12929
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.toObject = function(opt_includeInstance) {
12930
+ return proto.sniipbillapi.DraftBillDetailsResponse.toObject(opt_includeInstance, this);
12931
+ };
12932
+
12933
+
12934
+ /**
12935
+ * Static version of the {@see toObject} method.
12936
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12937
+ * instance for transitional soy proto support:
12938
+ * http://goto/soy-param-migration
12939
+ * @param {!proto.sniipbillapi.DraftBillDetailsResponse} msg The msg instance to transform.
12940
+ * @return {!Object}
12941
+ */
12942
+ proto.sniipbillapi.DraftBillDetailsResponse.toObject = function(includeInstance, msg) {
12943
+ var f, obj = {
12944
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
12945
+ draftbilldetails: (f = msg.getDraftbilldetails()) && proto.sniipbillapi.DraftBillDetails.toObject(includeInstance, f)
12946
+ };
12947
+
12948
+ if (includeInstance) {
12949
+ obj.$jspbMessageInstance = msg;
12950
+ }
12951
+ return obj;
12952
+ };
12953
+ }
12954
+
12955
+
12956
+ /**
12957
+ * Deserializes binary data (in protobuf wire format).
12958
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12959
+ * @return {!proto.sniipbillapi.DraftBillDetailsResponse}
12960
+ */
12961
+ proto.sniipbillapi.DraftBillDetailsResponse.deserializeBinary = function(bytes) {
12962
+ var reader = new jspb.BinaryReader(bytes);
12963
+ var msg = new proto.sniipbillapi.DraftBillDetailsResponse;
12964
+ return proto.sniipbillapi.DraftBillDetailsResponse.deserializeBinaryFromReader(msg, reader);
12965
+ };
12966
+
12967
+
12968
+ /**
12969
+ * Deserializes binary data (in protobuf wire format) from the
12970
+ * given reader into the given message object.
12971
+ * @param {!proto.sniipbillapi.DraftBillDetailsResponse} msg The message object to deserialize into.
12972
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12973
+ * @return {!proto.sniipbillapi.DraftBillDetailsResponse}
12974
+ */
12975
+ proto.sniipbillapi.DraftBillDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
12976
+ while (reader.nextField()) {
12977
+ if (reader.isEndGroup()) {
12978
+ break;
12979
+ }
12980
+ var field = reader.getFieldNumber();
12981
+ switch (field) {
12982
+ case 1:
12983
+ var value = new proto.sniipbillapi.ResponseCode;
12984
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
12985
+ msg.setResponsecode(value);
12986
+ break;
12987
+ case 2:
12988
+ var value = new proto.sniipbillapi.DraftBillDetails;
12989
+ reader.readMessage(value,proto.sniipbillapi.DraftBillDetails.deserializeBinaryFromReader);
12990
+ msg.setDraftbilldetails(value);
12991
+ break;
12992
+ default:
12993
+ reader.skipField();
12994
+ break;
12995
+ }
12996
+ }
12997
+ return msg;
12998
+ };
12999
+
13000
+
13001
+ /**
13002
+ * Class method variant: serializes the given message to binary data
13003
+ * (in protobuf wire format), writing to the given BinaryWriter.
13004
+ * @param {!proto.sniipbillapi.DraftBillDetailsResponse} message
13005
+ * @param {!jspb.BinaryWriter} writer
13006
+ */
13007
+ proto.sniipbillapi.DraftBillDetailsResponse.serializeBinaryToWriter = function(message, writer) {
13008
+ message.serializeBinaryToWriter(writer);
13009
+ };
13010
+
13011
+
13012
+ /**
13013
+ * Serializes the message to binary data (in protobuf wire format).
13014
+ * @return {!Uint8Array}
13015
+ */
13016
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.serializeBinary = function() {
13017
+ var writer = new jspb.BinaryWriter();
13018
+ this.serializeBinaryToWriter(writer);
13019
+ return writer.getResultBuffer();
13020
+ };
13021
+
13022
+
13023
+ /**
13024
+ * Serializes the message to binary data (in protobuf wire format),
13025
+ * writing to the given BinaryWriter.
13026
+ * @param {!jspb.BinaryWriter} writer
13027
+ */
13028
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.serializeBinaryToWriter = function (writer) {
13029
+ var f = undefined;
13030
+ f = this.getResponsecode();
13031
+ if (f != null) {
13032
+ writer.writeMessage(
13033
+ 1,
13034
+ f,
13035
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
13036
+ );
13037
+ }
13038
+ f = this.getDraftbilldetails();
13039
+ if (f != null) {
13040
+ writer.writeMessage(
13041
+ 2,
13042
+ f,
13043
+ proto.sniipbillapi.DraftBillDetails.serializeBinaryToWriter
13044
+ );
13045
+ }
13046
+ };
13047
+
13048
+
13049
+ /**
13050
+ * Creates a deep clone of this proto. No data is shared with the original.
13051
+ * @return {!proto.sniipbillapi.DraftBillDetailsResponse} The clone.
13052
+ */
13053
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.cloneMessage = function() {
13054
+ return /** @type {!proto.sniipbillapi.DraftBillDetailsResponse} */ (jspb.Message.cloneMessage(this));
13055
+ };
13056
+
13057
+
13058
+ /**
13059
+ * optional ResponseCode responseCode = 1;
13060
+ * @return {proto.sniipbillapi.ResponseCode}
13061
+ */
13062
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.getResponsecode = function() {
13063
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
13064
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
13065
+ };
13066
+
13067
+
13068
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
13069
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.setResponsecode = function(value) {
13070
+ jspb.Message.setWrapperField(this, 1, value);
13071
+ };
13072
+
13073
+
13074
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.clearResponsecode = function() {
13075
+ this.setResponsecode(undefined);
13076
+ };
13077
+
13078
+
13079
+ /**
13080
+ * Returns whether this field is set.
13081
+ * @return{!boolean}
13082
+ */
13083
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.hasResponsecode = function() {
13084
+ return jspb.Message.getField(this, 1) != null;
13085
+ };
13086
+
13087
+
13088
+ /**
13089
+ * optional DraftBillDetails draftBillDetails = 2;
13090
+ * @return {proto.sniipbillapi.DraftBillDetails}
13091
+ */
13092
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.getDraftbilldetails = function() {
13093
+ return /** @type{proto.sniipbillapi.DraftBillDetails} */ (
13094
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.DraftBillDetails, 2));
13095
+ };
13096
+
13097
+
13098
+ /** @param {proto.sniipbillapi.DraftBillDetails|undefined} value */
13099
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.setDraftbilldetails = function(value) {
13100
+ jspb.Message.setWrapperField(this, 2, value);
13101
+ };
13102
+
13103
+
13104
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.clearDraftbilldetails = function() {
13105
+ this.setDraftbilldetails(undefined);
13106
+ };
13107
+
13108
+
13109
+ /**
13110
+ * Returns whether this field is set.
13111
+ * @return{!boolean}
13112
+ */
13113
+ proto.sniipbillapi.DraftBillDetailsResponse.prototype.hasDraftbilldetails = function() {
13114
+ return jspb.Message.getField(this, 2) != null;
13115
+ };
13116
+
13117
+
13118
+
13119
+ /**
13120
+ * Generated by JsPbCodeGenerator.
13121
+ * @param {Array=} opt_data Optional initial data array, typically from a
13122
+ * server response, or constructed directly in Javascript. The array is used
13123
+ * in place and becomes part of the constructed object. It is not cloned.
13124
+ * If no data is provided, the constructed object will be empty, but still
13125
+ * valid.
13126
+ * @extends {jspb.Message}
13127
+ * @constructor
13128
+ */
13129
+ proto.sniipbillapi.ExcludeBillerReferenceRequest = function(opt_data) {
13130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
13131
+ };
13132
+ goog.inherits(proto.sniipbillapi.ExcludeBillerReferenceRequest, jspb.Message);
13133
+ if (goog.DEBUG && !COMPILED) {
13134
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.displayName = 'proto.sniipbillapi.ExcludeBillerReferenceRequest';
13135
+ }
13136
+
13137
+
13138
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13139
+ /**
13140
+ * Creates an object representation of this proto suitable for use in Soy templates.
13141
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13142
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13143
+ * For the list of reserved names please see:
13144
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
13145
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
13146
+ * for transitional soy proto support: http://goto/soy-param-migration
13147
+ * @return {!Object}
13148
+ */
13149
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.toObject = function(opt_includeInstance) {
13150
+ return proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject(opt_includeInstance, this);
13151
+ };
13152
+
13153
+
13154
+ /**
13155
+ * Static version of the {@see toObject} method.
13156
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
13157
+ * instance for transitional soy proto support:
13158
+ * http://goto/soy-param-migration
13159
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The msg instance to transform.
13160
+ * @return {!Object}
13161
+ */
13162
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject = function(includeInstance, msg) {
13163
+ var f, obj = {
13164
+ data: (f = msg.getData()) && proto.sniipbillapi.ExcludeReferenceRequest.toObject(includeInstance, f)
13165
+ };
13166
+
13167
+ if (includeInstance) {
13168
+ obj.$jspbMessageInstance = msg;
13169
+ }
13170
+ return obj;
13171
+ };
13172
+ }
13173
+
13174
+
13175
+ /**
13176
+ * Deserializes binary data (in protobuf wire format).
13177
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13178
+ * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
13179
+ */
13180
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinary = function(bytes) {
13181
+ var reader = new jspb.BinaryReader(bytes);
13182
+ var msg = new proto.sniipbillapi.ExcludeBillerReferenceRequest;
13183
+ return proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader(msg, reader);
13184
+ };
13185
+
13186
+
13187
+ /**
13188
+ * Deserializes binary data (in protobuf wire format) from the
13189
+ * given reader into the given message object.
13190
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The message object to deserialize into.
13191
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13192
+ * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
13193
+ */
13194
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
13195
+ while (reader.nextField()) {
13196
+ if (reader.isEndGroup()) {
13197
+ break;
13198
+ }
13199
+ var field = reader.getFieldNumber();
13200
+ switch (field) {
13201
+ case 1:
13202
+ var value = new proto.sniipbillapi.ExcludeReferenceRequest;
13203
+ reader.readMessage(value,proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinaryFromReader);
13204
+ msg.setData(value);
13205
+ break;
13206
+ default:
13207
+ reader.skipField();
13208
+ break;
13209
+ }
13210
+ }
13211
+ return msg;
13212
+ };
13213
+
13214
+
13215
+ /**
13216
+ * Class method variant: serializes the given message to binary data
13217
+ * (in protobuf wire format), writing to the given BinaryWriter.
13218
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} message
13219
+ * @param {!jspb.BinaryWriter} writer
13220
+ */
13221
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.serializeBinaryToWriter = function(message, writer) {
13222
+ message.serializeBinaryToWriter(writer);
13223
+ };
13224
+
13225
+
13226
+ /**
13227
+ * Serializes the message to binary data (in protobuf wire format).
13228
+ * @return {!Uint8Array}
13229
+ */
13230
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.serializeBinary = function() {
13231
+ var writer = new jspb.BinaryWriter();
13232
+ this.serializeBinaryToWriter(writer);
12224
13233
  return writer.getResultBuffer();
12225
13234
  };
12226
13235
 
@@ -12881,12 +13890,215 @@ proto.sniipbillapi.ExistingBillGetRequest.prototype.setItemcategory = function(v
12881
13890
  * @extends {jspb.Message}
12882
13891
  * @constructor
12883
13892
  */
12884
- proto.sniipbillapi.ExistingBillGetResponse = function(opt_data) {
13893
+ proto.sniipbillapi.ExistingBillGetResponse = function(opt_data) {
13894
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
13895
+ };
13896
+ goog.inherits(proto.sniipbillapi.ExistingBillGetResponse, jspb.Message);
13897
+ if (goog.DEBUG && !COMPILED) {
13898
+ proto.sniipbillapi.ExistingBillGetResponse.displayName = 'proto.sniipbillapi.ExistingBillGetResponse';
13899
+ }
13900
+
13901
+
13902
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13903
+ /**
13904
+ * Creates an object representation of this proto suitable for use in Soy templates.
13905
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13906
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13907
+ * For the list of reserved names please see:
13908
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
13909
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
13910
+ * for transitional soy proto support: http://goto/soy-param-migration
13911
+ * @return {!Object}
13912
+ */
13913
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.toObject = function(opt_includeInstance) {
13914
+ return proto.sniipbillapi.ExistingBillGetResponse.toObject(opt_includeInstance, this);
13915
+ };
13916
+
13917
+
13918
+ /**
13919
+ * Static version of the {@see toObject} method.
13920
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
13921
+ * instance for transitional soy proto support:
13922
+ * http://goto/soy-param-migration
13923
+ * @param {!proto.sniipbillapi.ExistingBillGetResponse} msg The msg instance to transform.
13924
+ * @return {!Object}
13925
+ */
13926
+ proto.sniipbillapi.ExistingBillGetResponse.toObject = function(includeInstance, msg) {
13927
+ var f, obj = {
13928
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
13929
+ billid: msg.getBillid()
13930
+ };
13931
+
13932
+ if (includeInstance) {
13933
+ obj.$jspbMessageInstance = msg;
13934
+ }
13935
+ return obj;
13936
+ };
13937
+ }
13938
+
13939
+
13940
+ /**
13941
+ * Deserializes binary data (in protobuf wire format).
13942
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13943
+ * @return {!proto.sniipbillapi.ExistingBillGetResponse}
13944
+ */
13945
+ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinary = function(bytes) {
13946
+ var reader = new jspb.BinaryReader(bytes);
13947
+ var msg = new proto.sniipbillapi.ExistingBillGetResponse;
13948
+ return proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader(msg, reader);
13949
+ };
13950
+
13951
+
13952
+ /**
13953
+ * Deserializes binary data (in protobuf wire format) from the
13954
+ * given reader into the given message object.
13955
+ * @param {!proto.sniipbillapi.ExistingBillGetResponse} msg The message object to deserialize into.
13956
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13957
+ * @return {!proto.sniipbillapi.ExistingBillGetResponse}
13958
+ */
13959
+ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = function(msg, reader) {
13960
+ while (reader.nextField()) {
13961
+ if (reader.isEndGroup()) {
13962
+ break;
13963
+ }
13964
+ var field = reader.getFieldNumber();
13965
+ switch (field) {
13966
+ case 1:
13967
+ var value = new proto.sniipbillapi.ResponseCode;
13968
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
13969
+ msg.setResponsecode(value);
13970
+ break;
13971
+ case 2:
13972
+ var value = /** @type {number} */ (reader.readInt64());
13973
+ msg.setBillid(value);
13974
+ break;
13975
+ default:
13976
+ reader.skipField();
13977
+ break;
13978
+ }
13979
+ }
13980
+ return msg;
13981
+ };
13982
+
13983
+
13984
+ /**
13985
+ * Class method variant: serializes the given message to binary data
13986
+ * (in protobuf wire format), writing to the given BinaryWriter.
13987
+ * @param {!proto.sniipbillapi.ExistingBillGetResponse} message
13988
+ * @param {!jspb.BinaryWriter} writer
13989
+ */
13990
+ proto.sniipbillapi.ExistingBillGetResponse.serializeBinaryToWriter = function(message, writer) {
13991
+ message.serializeBinaryToWriter(writer);
13992
+ };
13993
+
13994
+
13995
+ /**
13996
+ * Serializes the message to binary data (in protobuf wire format).
13997
+ * @return {!Uint8Array}
13998
+ */
13999
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.serializeBinary = function() {
14000
+ var writer = new jspb.BinaryWriter();
14001
+ this.serializeBinaryToWriter(writer);
14002
+ return writer.getResultBuffer();
14003
+ };
14004
+
14005
+
14006
+ /**
14007
+ * Serializes the message to binary data (in protobuf wire format),
14008
+ * writing to the given BinaryWriter.
14009
+ * @param {!jspb.BinaryWriter} writer
14010
+ */
14011
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.serializeBinaryToWriter = function (writer) {
14012
+ var f = undefined;
14013
+ f = this.getResponsecode();
14014
+ if (f != null) {
14015
+ writer.writeMessage(
14016
+ 1,
14017
+ f,
14018
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
14019
+ );
14020
+ }
14021
+ f = this.getBillid();
14022
+ if (f !== 0) {
14023
+ writer.writeInt64(
14024
+ 2,
14025
+ f
14026
+ );
14027
+ }
14028
+ };
14029
+
14030
+
14031
+ /**
14032
+ * Creates a deep clone of this proto. No data is shared with the original.
14033
+ * @return {!proto.sniipbillapi.ExistingBillGetResponse} The clone.
14034
+ */
14035
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.cloneMessage = function() {
14036
+ return /** @type {!proto.sniipbillapi.ExistingBillGetResponse} */ (jspb.Message.cloneMessage(this));
14037
+ };
14038
+
14039
+
14040
+ /**
14041
+ * optional ResponseCode responseCode = 1;
14042
+ * @return {proto.sniipbillapi.ResponseCode}
14043
+ */
14044
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.getResponsecode = function() {
14045
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
14046
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
14047
+ };
14048
+
14049
+
14050
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
14051
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.setResponsecode = function(value) {
14052
+ jspb.Message.setWrapperField(this, 1, value);
14053
+ };
14054
+
14055
+
14056
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.clearResponsecode = function() {
14057
+ this.setResponsecode(undefined);
14058
+ };
14059
+
14060
+
14061
+ /**
14062
+ * Returns whether this field is set.
14063
+ * @return{!boolean}
14064
+ */
14065
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.hasResponsecode = function() {
14066
+ return jspb.Message.getField(this, 1) != null;
14067
+ };
14068
+
14069
+
14070
+ /**
14071
+ * optional int64 billId = 2;
14072
+ * @return {number}
14073
+ */
14074
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.getBillid = function() {
14075
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
14076
+ };
14077
+
14078
+
14079
+ /** @param {number} value */
14080
+ proto.sniipbillapi.ExistingBillGetResponse.prototype.setBillid = function(value) {
14081
+ jspb.Message.setField(this, 2, value);
14082
+ };
14083
+
14084
+
14085
+
14086
+ /**
14087
+ * Generated by JsPbCodeGenerator.
14088
+ * @param {Array=} opt_data Optional initial data array, typically from a
14089
+ * server response, or constructed directly in Javascript. The array is used
14090
+ * in place and becomes part of the constructed object. It is not cloned.
14091
+ * If no data is provided, the constructed object will be empty, but still
14092
+ * valid.
14093
+ * @extends {jspb.Message}
14094
+ * @constructor
14095
+ */
14096
+ proto.sniipbillapi.FieldsRequireUserReview = function(opt_data) {
12885
14097
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12886
14098
  };
12887
- goog.inherits(proto.sniipbillapi.ExistingBillGetResponse, jspb.Message);
14099
+ goog.inherits(proto.sniipbillapi.FieldsRequireUserReview, jspb.Message);
12888
14100
  if (goog.DEBUG && !COMPILED) {
12889
- proto.sniipbillapi.ExistingBillGetResponse.displayName = 'proto.sniipbillapi.ExistingBillGetResponse';
14101
+ proto.sniipbillapi.FieldsRequireUserReview.displayName = 'proto.sniipbillapi.FieldsRequireUserReview';
12890
14102
  }
12891
14103
 
12892
14104
 
@@ -12901,8 +14113,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12901
14113
  * for transitional soy proto support: http://goto/soy-param-migration
12902
14114
  * @return {!Object}
12903
14115
  */
12904
- proto.sniipbillapi.ExistingBillGetResponse.prototype.toObject = function(opt_includeInstance) {
12905
- return proto.sniipbillapi.ExistingBillGetResponse.toObject(opt_includeInstance, this);
14116
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.toObject = function(opt_includeInstance) {
14117
+ return proto.sniipbillapi.FieldsRequireUserReview.toObject(opt_includeInstance, this);
12906
14118
  };
12907
14119
 
12908
14120
 
@@ -12911,13 +14123,15 @@ proto.sniipbillapi.ExistingBillGetResponse.prototype.toObject = function(opt_inc
12911
14123
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
12912
14124
  * instance for transitional soy proto support:
12913
14125
  * http://goto/soy-param-migration
12914
- * @param {!proto.sniipbillapi.ExistingBillGetResponse} msg The msg instance to transform.
14126
+ * @param {!proto.sniipbillapi.FieldsRequireUserReview} msg The msg instance to transform.
12915
14127
  * @return {!Object}
12916
14128
  */
12917
- proto.sniipbillapi.ExistingBillGetResponse.toObject = function(includeInstance, msg) {
14129
+ proto.sniipbillapi.FieldsRequireUserReview.toObject = function(includeInstance, msg) {
12918
14130
  var f, obj = {
12919
- responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
12920
- billid: msg.getBillid()
14131
+ billername: msg.getBillername(),
14132
+ billerabn: msg.getBillerabn(),
14133
+ billerbsb: msg.getBillerbsb(),
14134
+ billerbankaccountno: msg.getBillerbankaccountno()
12921
14135
  };
12922
14136
 
12923
14137
  if (includeInstance) {
@@ -12931,23 +14145,23 @@ proto.sniipbillapi.ExistingBillGetResponse.toObject = function(includeInstance,
12931
14145
  /**
12932
14146
  * Deserializes binary data (in protobuf wire format).
12933
14147
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
12934
- * @return {!proto.sniipbillapi.ExistingBillGetResponse}
14148
+ * @return {!proto.sniipbillapi.FieldsRequireUserReview}
12935
14149
  */
12936
- proto.sniipbillapi.ExistingBillGetResponse.deserializeBinary = function(bytes) {
14150
+ proto.sniipbillapi.FieldsRequireUserReview.deserializeBinary = function(bytes) {
12937
14151
  var reader = new jspb.BinaryReader(bytes);
12938
- var msg = new proto.sniipbillapi.ExistingBillGetResponse;
12939
- return proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader(msg, reader);
14152
+ var msg = new proto.sniipbillapi.FieldsRequireUserReview;
14153
+ return proto.sniipbillapi.FieldsRequireUserReview.deserializeBinaryFromReader(msg, reader);
12940
14154
  };
12941
14155
 
12942
14156
 
12943
14157
  /**
12944
14158
  * Deserializes binary data (in protobuf wire format) from the
12945
14159
  * given reader into the given message object.
12946
- * @param {!proto.sniipbillapi.ExistingBillGetResponse} msg The message object to deserialize into.
14160
+ * @param {!proto.sniipbillapi.FieldsRequireUserReview} msg The message object to deserialize into.
12947
14161
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12948
- * @return {!proto.sniipbillapi.ExistingBillGetResponse}
14162
+ * @return {!proto.sniipbillapi.FieldsRequireUserReview}
12949
14163
  */
12950
- proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = function(msg, reader) {
14164
+ proto.sniipbillapi.FieldsRequireUserReview.deserializeBinaryFromReader = function(msg, reader) {
12951
14165
  while (reader.nextField()) {
12952
14166
  if (reader.isEndGroup()) {
12953
14167
  break;
@@ -12955,13 +14169,20 @@ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = functio
12955
14169
  var field = reader.getFieldNumber();
12956
14170
  switch (field) {
12957
14171
  case 1:
12958
- var value = new proto.sniipbillapi.ResponseCode;
12959
- reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
12960
- msg.setResponsecode(value);
14172
+ var value = /** @type {boolean} */ (reader.readBool());
14173
+ msg.setBillername(value);
12961
14174
  break;
12962
14175
  case 2:
12963
- var value = /** @type {number} */ (reader.readInt64());
12964
- msg.setBillid(value);
14176
+ var value = /** @type {boolean} */ (reader.readBool());
14177
+ msg.setBillerabn(value);
14178
+ break;
14179
+ case 3:
14180
+ var value = /** @type {boolean} */ (reader.readBool());
14181
+ msg.setBillerbsb(value);
14182
+ break;
14183
+ case 4:
14184
+ var value = /** @type {boolean} */ (reader.readBool());
14185
+ msg.setBillerbankaccountno(value);
12965
14186
  break;
12966
14187
  default:
12967
14188
  reader.skipField();
@@ -12975,10 +14196,10 @@ proto.sniipbillapi.ExistingBillGetResponse.deserializeBinaryFromReader = functio
12975
14196
  /**
12976
14197
  * Class method variant: serializes the given message to binary data
12977
14198
  * (in protobuf wire format), writing to the given BinaryWriter.
12978
- * @param {!proto.sniipbillapi.ExistingBillGetResponse} message
14199
+ * @param {!proto.sniipbillapi.FieldsRequireUserReview} message
12979
14200
  * @param {!jspb.BinaryWriter} writer
12980
14201
  */
12981
- proto.sniipbillapi.ExistingBillGetResponse.serializeBinaryToWriter = function(message, writer) {
14202
+ proto.sniipbillapi.FieldsRequireUserReview.serializeBinaryToWriter = function(message, writer) {
12982
14203
  message.serializeBinaryToWriter(writer);
12983
14204
  };
12984
14205
 
@@ -12987,7 +14208,7 @@ proto.sniipbillapi.ExistingBillGetResponse.serializeBinaryToWriter = function(me
12987
14208
  * Serializes the message to binary data (in protobuf wire format).
12988
14209
  * @return {!Uint8Array}
12989
14210
  */
12990
- proto.sniipbillapi.ExistingBillGetResponse.prototype.serializeBinary = function() {
14211
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.serializeBinary = function() {
12991
14212
  var writer = new jspb.BinaryWriter();
12992
14213
  this.serializeBinaryToWriter(writer);
12993
14214
  return writer.getResultBuffer();
@@ -12999,77 +14220,113 @@ proto.sniipbillapi.ExistingBillGetResponse.prototype.serializeBinary = function(
12999
14220
  * writing to the given BinaryWriter.
13000
14221
  * @param {!jspb.BinaryWriter} writer
13001
14222
  */
13002
- proto.sniipbillapi.ExistingBillGetResponse.prototype.serializeBinaryToWriter = function (writer) {
14223
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.serializeBinaryToWriter = function (writer) {
13003
14224
  var f = undefined;
13004
- f = this.getResponsecode();
13005
- if (f != null) {
13006
- writer.writeMessage(
14225
+ f = this.getBillername();
14226
+ if (f) {
14227
+ writer.writeBool(
13007
14228
  1,
13008
- f,
13009
- proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
14229
+ f
13010
14230
  );
13011
14231
  }
13012
- f = this.getBillid();
13013
- if (f !== 0) {
13014
- writer.writeInt64(
14232
+ f = this.getBillerabn();
14233
+ if (f) {
14234
+ writer.writeBool(
13015
14235
  2,
13016
14236
  f
13017
14237
  );
13018
14238
  }
14239
+ f = this.getBillerbsb();
14240
+ if (f) {
14241
+ writer.writeBool(
14242
+ 3,
14243
+ f
14244
+ );
14245
+ }
14246
+ f = this.getBillerbankaccountno();
14247
+ if (f) {
14248
+ writer.writeBool(
14249
+ 4,
14250
+ f
14251
+ );
14252
+ }
13019
14253
  };
13020
14254
 
13021
14255
 
13022
14256
  /**
13023
14257
  * Creates a deep clone of this proto. No data is shared with the original.
13024
- * @return {!proto.sniipbillapi.ExistingBillGetResponse} The clone.
14258
+ * @return {!proto.sniipbillapi.FieldsRequireUserReview} The clone.
13025
14259
  */
13026
- proto.sniipbillapi.ExistingBillGetResponse.prototype.cloneMessage = function() {
13027
- return /** @type {!proto.sniipbillapi.ExistingBillGetResponse} */ (jspb.Message.cloneMessage(this));
14260
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.cloneMessage = function() {
14261
+ return /** @type {!proto.sniipbillapi.FieldsRequireUserReview} */ (jspb.Message.cloneMessage(this));
13028
14262
  };
13029
14263
 
13030
14264
 
13031
14265
  /**
13032
- * optional ResponseCode responseCode = 1;
13033
- * @return {proto.sniipbillapi.ResponseCode}
14266
+ * optional bool billerName = 1;
14267
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
14268
+ * You should avoid comparisons like {@code val === true/false} in those cases.
14269
+ * @return {boolean}
13034
14270
  */
13035
- proto.sniipbillapi.ExistingBillGetResponse.prototype.getResponsecode = function() {
13036
- return /** @type{proto.sniipbillapi.ResponseCode} */ (
13037
- jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
14271
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.getBillername = function() {
14272
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
13038
14273
  };
13039
14274
 
13040
14275
 
13041
- /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
13042
- proto.sniipbillapi.ExistingBillGetResponse.prototype.setResponsecode = function(value) {
13043
- jspb.Message.setWrapperField(this, 1, value);
14276
+ /** @param {boolean} value */
14277
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.setBillername = function(value) {
14278
+ jspb.Message.setField(this, 1, value);
13044
14279
  };
13045
14280
 
13046
14281
 
13047
- proto.sniipbillapi.ExistingBillGetResponse.prototype.clearResponsecode = function() {
13048
- this.setResponsecode(undefined);
14282
+ /**
14283
+ * optional bool billerAbn = 2;
14284
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
14285
+ * You should avoid comparisons like {@code val === true/false} in those cases.
14286
+ * @return {boolean}
14287
+ */
14288
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.getBillerabn = function() {
14289
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
14290
+ };
14291
+
14292
+
14293
+ /** @param {boolean} value */
14294
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.setBillerabn = function(value) {
14295
+ jspb.Message.setField(this, 2, value);
13049
14296
  };
13050
14297
 
13051
14298
 
13052
14299
  /**
13053
- * Returns whether this field is set.
13054
- * @return{!boolean}
14300
+ * optional bool billerBsb = 3;
14301
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
14302
+ * You should avoid comparisons like {@code val === true/false} in those cases.
14303
+ * @return {boolean}
13055
14304
  */
13056
- proto.sniipbillapi.ExistingBillGetResponse.prototype.hasResponsecode = function() {
13057
- return jspb.Message.getField(this, 1) != null;
14305
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.getBillerbsb = function() {
14306
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
14307
+ };
14308
+
14309
+
14310
+ /** @param {boolean} value */
14311
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.setBillerbsb = function(value) {
14312
+ jspb.Message.setField(this, 3, value);
13058
14313
  };
13059
14314
 
13060
14315
 
13061
14316
  /**
13062
- * optional int64 billId = 2;
13063
- * @return {number}
14317
+ * optional bool billerBankAccountNo = 4;
14318
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
14319
+ * You should avoid comparisons like {@code val === true/false} in those cases.
14320
+ * @return {boolean}
13064
14321
  */
13065
- proto.sniipbillapi.ExistingBillGetResponse.prototype.getBillid = function() {
13066
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
14322
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.getBillerbankaccountno = function() {
14323
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
13067
14324
  };
13068
14325
 
13069
14326
 
13070
- /** @param {number} value */
13071
- proto.sniipbillapi.ExistingBillGetResponse.prototype.setBillid = function(value) {
13072
- jspb.Message.setField(this, 2, value);
14327
+ /** @param {boolean} value */
14328
+ proto.sniipbillapi.FieldsRequireUserReview.prototype.setBillerbankaccountno = function(value) {
14329
+ jspb.Message.setField(this, 4, value);
13073
14330
  };
13074
14331
 
13075
14332
 
@@ -14788,6 +16045,165 @@ proto.sniipbillapi.GetBlockedOrganisationsForUserRequest.prototype.hasData = fun
14788
16045
 
14789
16046
 
14790
16047
 
16048
+ /**
16049
+ * Generated by JsPbCodeGenerator.
16050
+ * @param {Array=} opt_data Optional initial data array, typically from a
16051
+ * server response, or constructed directly in Javascript. The array is used
16052
+ * in place and becomes part of the constructed object. It is not cloned.
16053
+ * If no data is provided, the constructed object will be empty, but still
16054
+ * valid.
16055
+ * @extends {jspb.Message}
16056
+ * @constructor
16057
+ */
16058
+ proto.sniipbillapi.GetDraftBillDetailsRequest = function(opt_data) {
16059
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
16060
+ };
16061
+ goog.inherits(proto.sniipbillapi.GetDraftBillDetailsRequest, jspb.Message);
16062
+ if (goog.DEBUG && !COMPILED) {
16063
+ proto.sniipbillapi.GetDraftBillDetailsRequest.displayName = 'proto.sniipbillapi.GetDraftBillDetailsRequest';
16064
+ }
16065
+
16066
+
16067
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16068
+ /**
16069
+ * Creates an object representation of this proto suitable for use in Soy templates.
16070
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16071
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16072
+ * For the list of reserved names please see:
16073
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
16074
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
16075
+ * for transitional soy proto support: http://goto/soy-param-migration
16076
+ * @return {!Object}
16077
+ */
16078
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.toObject = function(opt_includeInstance) {
16079
+ return proto.sniipbillapi.GetDraftBillDetailsRequest.toObject(opt_includeInstance, this);
16080
+ };
16081
+
16082
+
16083
+ /**
16084
+ * Static version of the {@see toObject} method.
16085
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
16086
+ * instance for transitional soy proto support:
16087
+ * http://goto/soy-param-migration
16088
+ * @param {!proto.sniipbillapi.GetDraftBillDetailsRequest} msg The msg instance to transform.
16089
+ * @return {!Object}
16090
+ */
16091
+ proto.sniipbillapi.GetDraftBillDetailsRequest.toObject = function(includeInstance, msg) {
16092
+ var f, obj = {
16093
+ billid: msg.getBillid()
16094
+ };
16095
+
16096
+ if (includeInstance) {
16097
+ obj.$jspbMessageInstance = msg;
16098
+ }
16099
+ return obj;
16100
+ };
16101
+ }
16102
+
16103
+
16104
+ /**
16105
+ * Deserializes binary data (in protobuf wire format).
16106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16107
+ * @return {!proto.sniipbillapi.GetDraftBillDetailsRequest}
16108
+ */
16109
+ proto.sniipbillapi.GetDraftBillDetailsRequest.deserializeBinary = function(bytes) {
16110
+ var reader = new jspb.BinaryReader(bytes);
16111
+ var msg = new proto.sniipbillapi.GetDraftBillDetailsRequest;
16112
+ return proto.sniipbillapi.GetDraftBillDetailsRequest.deserializeBinaryFromReader(msg, reader);
16113
+ };
16114
+
16115
+
16116
+ /**
16117
+ * Deserializes binary data (in protobuf wire format) from the
16118
+ * given reader into the given message object.
16119
+ * @param {!proto.sniipbillapi.GetDraftBillDetailsRequest} msg The message object to deserialize into.
16120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16121
+ * @return {!proto.sniipbillapi.GetDraftBillDetailsRequest}
16122
+ */
16123
+ proto.sniipbillapi.GetDraftBillDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
16124
+ while (reader.nextField()) {
16125
+ if (reader.isEndGroup()) {
16126
+ break;
16127
+ }
16128
+ var field = reader.getFieldNumber();
16129
+ switch (field) {
16130
+ case 1:
16131
+ var value = /** @type {number} */ (reader.readInt64());
16132
+ msg.setBillid(value);
16133
+ break;
16134
+ default:
16135
+ reader.skipField();
16136
+ break;
16137
+ }
16138
+ }
16139
+ return msg;
16140
+ };
16141
+
16142
+
16143
+ /**
16144
+ * Class method variant: serializes the given message to binary data
16145
+ * (in protobuf wire format), writing to the given BinaryWriter.
16146
+ * @param {!proto.sniipbillapi.GetDraftBillDetailsRequest} message
16147
+ * @param {!jspb.BinaryWriter} writer
16148
+ */
16149
+ proto.sniipbillapi.GetDraftBillDetailsRequest.serializeBinaryToWriter = function(message, writer) {
16150
+ message.serializeBinaryToWriter(writer);
16151
+ };
16152
+
16153
+
16154
+ /**
16155
+ * Serializes the message to binary data (in protobuf wire format).
16156
+ * @return {!Uint8Array}
16157
+ */
16158
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.serializeBinary = function() {
16159
+ var writer = new jspb.BinaryWriter();
16160
+ this.serializeBinaryToWriter(writer);
16161
+ return writer.getResultBuffer();
16162
+ };
16163
+
16164
+
16165
+ /**
16166
+ * Serializes the message to binary data (in protobuf wire format),
16167
+ * writing to the given BinaryWriter.
16168
+ * @param {!jspb.BinaryWriter} writer
16169
+ */
16170
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.serializeBinaryToWriter = function (writer) {
16171
+ var f = undefined;
16172
+ f = this.getBillid();
16173
+ if (f !== 0) {
16174
+ writer.writeInt64(
16175
+ 1,
16176
+ f
16177
+ );
16178
+ }
16179
+ };
16180
+
16181
+
16182
+ /**
16183
+ * Creates a deep clone of this proto. No data is shared with the original.
16184
+ * @return {!proto.sniipbillapi.GetDraftBillDetailsRequest} The clone.
16185
+ */
16186
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.cloneMessage = function() {
16187
+ return /** @type {!proto.sniipbillapi.GetDraftBillDetailsRequest} */ (jspb.Message.cloneMessage(this));
16188
+ };
16189
+
16190
+
16191
+ /**
16192
+ * optional int64 billId = 1;
16193
+ * @return {number}
16194
+ */
16195
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.getBillid = function() {
16196
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
16197
+ };
16198
+
16199
+
16200
+ /** @param {number} value */
16201
+ proto.sniipbillapi.GetDraftBillDetailsRequest.prototype.setBillid = function(value) {
16202
+ jspb.Message.setField(this, 1, value);
16203
+ };
16204
+
16205
+
16206
+
14791
16207
  /**
14792
16208
  * Generated by JsPbCodeGenerator.
14793
16209
  * @param {Array=} opt_data Optional initial data array, typically from a