@sniipwebmaster/agent-billing-client-grpcweb 24.2.1555 → 24.2.1583
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_grpc_web_pb.js +122 -0
- package/dependancies/service_pb.js +2035 -347
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@ goog.object.extend(proto, google_api_annotations_pb);
|
|
|
17
17
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
18
18
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
19
19
|
goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
|
|
20
|
+
goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentInfo', null, global);
|
|
21
|
+
goog.exportSymbol('proto.agentbillingserviceapi.AgentAttachmentsResponse', null, global);
|
|
20
22
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
|
|
21
23
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
|
|
22
24
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransaction', null, global);
|
|
@@ -24,9 +26,10 @@ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, g
|
|
|
24
26
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
|
|
25
27
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.agentbillingserviceapi.AttachmentStatus', null, global);
|
|
27
30
|
goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
|
|
28
31
|
goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
|
|
29
|
-
goog.exportSymbol('proto.agentbillingserviceapi.
|
|
32
|
+
goog.exportSymbol('proto.agentbillingserviceapi.BillScanType', null, global);
|
|
30
33
|
goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
|
|
31
34
|
goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
32
35
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
@@ -46,6 +49,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchRequest', nul
|
|
|
46
49
|
goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
|
|
47
50
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
48
51
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
|
|
49
53
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
50
54
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
|
|
51
55
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
|
|
@@ -77,6 +81,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null,
|
|
|
77
81
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
|
|
78
82
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
79
83
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
|
|
84
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ImportAgentBillRequest', null, global);
|
|
80
85
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest', null, global);
|
|
81
86
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse', null, global);
|
|
82
87
|
goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
|
|
@@ -428,6 +433,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
428
433
|
*/
|
|
429
434
|
proto.agentbillingserviceapi.CreateAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateAgentBillRequest';
|
|
430
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* Generated by JsPbCodeGenerator.
|
|
438
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
439
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
440
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
441
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
442
|
+
* valid.
|
|
443
|
+
* @extends {jspb.Message}
|
|
444
|
+
* @constructor
|
|
445
|
+
*/
|
|
446
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest = function(opt_data) {
|
|
447
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.ImportAgentBillRequest.repeatedFields_, null);
|
|
448
|
+
};
|
|
449
|
+
goog.inherits(proto.agentbillingserviceapi.ImportAgentBillRequest, jspb.Message);
|
|
450
|
+
if (goog.DEBUG && !COMPILED) {
|
|
451
|
+
/**
|
|
452
|
+
* @public
|
|
453
|
+
* @override
|
|
454
|
+
*/
|
|
455
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.displayName = 'proto.agentbillingserviceapi.ImportAgentBillRequest';
|
|
456
|
+
}
|
|
431
457
|
/**
|
|
432
458
|
* Generated by JsPbCodeGenerator.
|
|
433
459
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -449,6 +475,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
449
475
|
*/
|
|
450
476
|
proto.agentbillingserviceapi.BillConfigRequest.displayName = 'proto.agentbillingserviceapi.BillConfigRequest';
|
|
451
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Generated by JsPbCodeGenerator.
|
|
480
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
481
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
482
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
483
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
484
|
+
* valid.
|
|
485
|
+
* @extends {jspb.Message}
|
|
486
|
+
* @constructor
|
|
487
|
+
*/
|
|
488
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest = function(opt_data) {
|
|
489
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentAttachmentsRequest.repeatedFields_, null);
|
|
490
|
+
};
|
|
491
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentAttachmentsRequest, jspb.Message);
|
|
492
|
+
if (goog.DEBUG && !COMPILED) {
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* @override
|
|
496
|
+
*/
|
|
497
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.displayName = 'proto.agentbillingserviceapi.GetAgentAttachmentsRequest';
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Generated by JsPbCodeGenerator.
|
|
501
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
502
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
503
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
504
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
505
|
+
* valid.
|
|
506
|
+
* @extends {jspb.Message}
|
|
507
|
+
* @constructor
|
|
508
|
+
*/
|
|
509
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse = function(opt_data) {
|
|
510
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.AgentAttachmentsResponse.repeatedFields_, null);
|
|
511
|
+
};
|
|
512
|
+
goog.inherits(proto.agentbillingserviceapi.AgentAttachmentsResponse, jspb.Message);
|
|
513
|
+
if (goog.DEBUG && !COMPILED) {
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
* @override
|
|
517
|
+
*/
|
|
518
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.displayName = 'proto.agentbillingserviceapi.AgentAttachmentsResponse';
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Generated by JsPbCodeGenerator.
|
|
522
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
523
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
524
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
525
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
526
|
+
* valid.
|
|
527
|
+
* @extends {jspb.Message}
|
|
528
|
+
* @constructor
|
|
529
|
+
*/
|
|
530
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo = function(opt_data) {
|
|
531
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
532
|
+
};
|
|
533
|
+
goog.inherits(proto.agentbillingserviceapi.AgentAttachmentInfo, jspb.Message);
|
|
534
|
+
if (goog.DEBUG && !COMPILED) {
|
|
535
|
+
/**
|
|
536
|
+
* @public
|
|
537
|
+
* @override
|
|
538
|
+
*/
|
|
539
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.displayName = 'proto.agentbillingserviceapi.AgentAttachmentInfo';
|
|
540
|
+
}
|
|
452
541
|
/**
|
|
453
542
|
* Generated by JsPbCodeGenerator.
|
|
454
543
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1573,7 +1662,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1573
1662
|
* @constructor
|
|
1574
1663
|
*/
|
|
1575
1664
|
proto.agentbillingserviceapi.AgentBillTransaction = function(opt_data) {
|
|
1576
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1665
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_, null);
|
|
1577
1666
|
};
|
|
1578
1667
|
goog.inherits(proto.agentbillingserviceapi.AgentBillTransaction, jspb.Message);
|
|
1579
1668
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4679,7 +4768,9 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includ
|
|
|
4679
4768
|
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4680
4769
|
addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4681
4770
|
uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4682
|
-
agentbillstatus: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
4771
|
+
agentbillstatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4772
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
4773
|
+
billid: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
4683
4774
|
};
|
|
4684
4775
|
|
|
4685
4776
|
if (includeInstance) {
|
|
@@ -4737,6 +4828,14 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
|
|
|
4737
4828
|
var value = /** @type {string} */ (reader.readString());
|
|
4738
4829
|
msg.setAgentbillstatus(value);
|
|
4739
4830
|
break;
|
|
4831
|
+
case 6:
|
|
4832
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4833
|
+
msg.setAgentbillid(value);
|
|
4834
|
+
break;
|
|
4835
|
+
case 7:
|
|
4836
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4837
|
+
msg.setBillid(value);
|
|
4838
|
+
break;
|
|
4740
4839
|
default:
|
|
4741
4840
|
reader.skipField();
|
|
4742
4841
|
break;
|
|
@@ -4802,6 +4901,20 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter =
|
|
|
4802
4901
|
f
|
|
4803
4902
|
);
|
|
4804
4903
|
}
|
|
4904
|
+
f = message.getAgentbillid();
|
|
4905
|
+
if (f !== 0) {
|
|
4906
|
+
writer.writeInt64(
|
|
4907
|
+
6,
|
|
4908
|
+
f
|
|
4909
|
+
);
|
|
4910
|
+
}
|
|
4911
|
+
f = message.getBillid();
|
|
4912
|
+
if (f !== 0) {
|
|
4913
|
+
writer.writeInt64(
|
|
4914
|
+
7,
|
|
4915
|
+
f
|
|
4916
|
+
);
|
|
4917
|
+
}
|
|
4805
4918
|
};
|
|
4806
4919
|
|
|
4807
4920
|
|
|
@@ -4914,6 +5027,42 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAgentbillstat
|
|
|
4914
5027
|
};
|
|
4915
5028
|
|
|
4916
5029
|
|
|
5030
|
+
/**
|
|
5031
|
+
* optional int64 agentBillId = 6;
|
|
5032
|
+
* @return {number}
|
|
5033
|
+
*/
|
|
5034
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAgentbillid = function() {
|
|
5035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
5036
|
+
};
|
|
5037
|
+
|
|
5038
|
+
|
|
5039
|
+
/**
|
|
5040
|
+
* @param {number} value
|
|
5041
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
|
|
5042
|
+
*/
|
|
5043
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAgentbillid = function(value) {
|
|
5044
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
5045
|
+
};
|
|
5046
|
+
|
|
5047
|
+
|
|
5048
|
+
/**
|
|
5049
|
+
* optional int64 billId = 7;
|
|
5050
|
+
* @return {number}
|
|
5051
|
+
*/
|
|
5052
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getBillid = function() {
|
|
5053
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
5054
|
+
};
|
|
5055
|
+
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* @param {number} value
|
|
5059
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
|
|
5060
|
+
*/
|
|
5061
|
+
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setBillid = function(value) {
|
|
5062
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
5063
|
+
};
|
|
5064
|
+
|
|
5065
|
+
|
|
4917
5066
|
|
|
4918
5067
|
/**
|
|
4919
5068
|
* List of repeated fields within this message type.
|
|
@@ -5961,6 +6110,13 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.clearBillconfigsLi
|
|
|
5961
6110
|
|
|
5962
6111
|
|
|
5963
6112
|
|
|
6113
|
+
/**
|
|
6114
|
+
* List of repeated fields within this message type.
|
|
6115
|
+
* @private {!Array<number>}
|
|
6116
|
+
* @const
|
|
6117
|
+
*/
|
|
6118
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.repeatedFields_ = [23];
|
|
6119
|
+
|
|
5964
6120
|
|
|
5965
6121
|
|
|
5966
6122
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5976,8 +6132,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5976
6132
|
* http://goto/soy-param-migration
|
|
5977
6133
|
* @return {!Object}
|
|
5978
6134
|
*/
|
|
5979
|
-
proto.agentbillingserviceapi.
|
|
5980
|
-
return proto.agentbillingserviceapi.
|
|
6135
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6136
|
+
return proto.agentbillingserviceapi.ImportAgentBillRequest.toObject(opt_includeInstance, this);
|
|
5981
6137
|
};
|
|
5982
6138
|
|
|
5983
6139
|
|
|
@@ -5986,19 +6142,41 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.toObject = function(opt
|
|
|
5986
6142
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5987
6143
|
* the JSPB instance for transitional soy proto support:
|
|
5988
6144
|
* http://goto/soy-param-migration
|
|
5989
|
-
* @param {!proto.agentbillingserviceapi.
|
|
6145
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} msg The msg instance to transform.
|
|
5990
6146
|
* @return {!Object}
|
|
5991
6147
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5992
6148
|
*/
|
|
5993
|
-
proto.agentbillingserviceapi.
|
|
6149
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.toObject = function(includeInstance, msg) {
|
|
5994
6150
|
var f, obj = {
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6151
|
+
billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6152
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6153
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6154
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
6155
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
6156
|
+
overdueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
6157
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6158
|
+
source: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6159
|
+
scannedcontent: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6160
|
+
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6161
|
+
sourceid: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
6162
|
+
category: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
6163
|
+
billid: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6164
|
+
isduedateeditable: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
6165
|
+
isdonationincluded: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
6166
|
+
originaldonationamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
6167
|
+
sendnotification: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
6168
|
+
issystemdraft: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
6169
|
+
isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
6170
|
+
attachmentid: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
6171
|
+
customercategory: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
6172
|
+
hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
6173
|
+
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
6174
|
+
proto.agentbillingserviceapi.BillConfigRequest.toObject, includeInstance),
|
|
6175
|
+
isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
6176
|
+
requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
6177
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
6178
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
6179
|
+
abn: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
6002
6180
|
};
|
|
6003
6181
|
|
|
6004
6182
|
if (includeInstance) {
|
|
@@ -6012,23 +6190,23 @@ proto.agentbillingserviceapi.BillConfigRequest.toObject = function(includeInstan
|
|
|
6012
6190
|
/**
|
|
6013
6191
|
* Deserializes binary data (in protobuf wire format).
|
|
6014
6192
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6015
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6193
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest}
|
|
6016
6194
|
*/
|
|
6017
|
-
proto.agentbillingserviceapi.
|
|
6195
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinary = function(bytes) {
|
|
6018
6196
|
var reader = new jspb.BinaryReader(bytes);
|
|
6019
|
-
var msg = new proto.agentbillingserviceapi.
|
|
6020
|
-
return proto.agentbillingserviceapi.
|
|
6197
|
+
var msg = new proto.agentbillingserviceapi.ImportAgentBillRequest;
|
|
6198
|
+
return proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
6021
6199
|
};
|
|
6022
6200
|
|
|
6023
6201
|
|
|
6024
6202
|
/**
|
|
6025
6203
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6026
6204
|
* given reader into the given message object.
|
|
6027
|
-
* @param {!proto.agentbillingserviceapi.
|
|
6205
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} msg The message object to deserialize into.
|
|
6028
6206
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6029
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6207
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest}
|
|
6030
6208
|
*/
|
|
6031
|
-
proto.agentbillingserviceapi.
|
|
6209
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6032
6210
|
while (reader.nextField()) {
|
|
6033
6211
|
if (reader.isEndGroup()) {
|
|
6034
6212
|
break;
|
|
@@ -6036,32 +6214,117 @@ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = fun
|
|
|
6036
6214
|
var field = reader.getFieldNumber();
|
|
6037
6215
|
switch (field) {
|
|
6038
6216
|
case 1:
|
|
6039
|
-
var value = /** @type {
|
|
6040
|
-
msg.
|
|
6217
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6218
|
+
msg.setBillerid(value);
|
|
6041
6219
|
break;
|
|
6042
6220
|
case 2:
|
|
6043
|
-
var value = /** @type {
|
|
6044
|
-
msg.
|
|
6221
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6222
|
+
msg.setUserid(value);
|
|
6045
6223
|
break;
|
|
6046
6224
|
case 3:
|
|
6047
6225
|
var value = /** @type {string} */ (reader.readString());
|
|
6048
|
-
msg.
|
|
6226
|
+
msg.setType(value);
|
|
6049
6227
|
break;
|
|
6050
6228
|
case 4:
|
|
6051
|
-
var value = /** @type {
|
|
6052
|
-
msg.
|
|
6229
|
+
var value = /** @type {!proto.agentbillingserviceapi.BillScanType} */ (reader.readEnum());
|
|
6230
|
+
msg.setPaymentprocessor(value);
|
|
6053
6231
|
break;
|
|
6054
6232
|
case 5:
|
|
6055
|
-
var value = /** @type {
|
|
6056
|
-
msg.
|
|
6233
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6234
|
+
msg.setAmount(value);
|
|
6057
6235
|
break;
|
|
6058
6236
|
case 6:
|
|
6059
|
-
var value = /** @type {
|
|
6060
|
-
msg.
|
|
6237
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6238
|
+
msg.setOverdueamount(value);
|
|
6061
6239
|
break;
|
|
6062
6240
|
case 7:
|
|
6063
6241
|
var value = /** @type {string} */ (reader.readString());
|
|
6064
|
-
msg.
|
|
6242
|
+
msg.setDuedate(value);
|
|
6243
|
+
break;
|
|
6244
|
+
case 8:
|
|
6245
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6246
|
+
msg.setSource(value);
|
|
6247
|
+
break;
|
|
6248
|
+
case 9:
|
|
6249
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6250
|
+
msg.setScannedcontent(value);
|
|
6251
|
+
break;
|
|
6252
|
+
case 10:
|
|
6253
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6254
|
+
msg.setDescription(value);
|
|
6255
|
+
break;
|
|
6256
|
+
case 11:
|
|
6257
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6258
|
+
msg.setSourceid(value);
|
|
6259
|
+
break;
|
|
6260
|
+
case 12:
|
|
6261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6262
|
+
msg.setCategory(value);
|
|
6263
|
+
break;
|
|
6264
|
+
case 13:
|
|
6265
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6266
|
+
msg.setBillid(value);
|
|
6267
|
+
break;
|
|
6268
|
+
case 14:
|
|
6269
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6270
|
+
msg.setIsduedateeditable(value);
|
|
6271
|
+
break;
|
|
6272
|
+
case 15:
|
|
6273
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6274
|
+
msg.setIsdonationincluded(value);
|
|
6275
|
+
break;
|
|
6276
|
+
case 16:
|
|
6277
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6278
|
+
msg.setOriginaldonationamount(value);
|
|
6279
|
+
break;
|
|
6280
|
+
case 17:
|
|
6281
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6282
|
+
msg.setSendnotification(value);
|
|
6283
|
+
break;
|
|
6284
|
+
case 18:
|
|
6285
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6286
|
+
msg.setIssystemdraft(value);
|
|
6287
|
+
break;
|
|
6288
|
+
case 19:
|
|
6289
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6290
|
+
msg.setIsdraft(value);
|
|
6291
|
+
break;
|
|
6292
|
+
case 20:
|
|
6293
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6294
|
+
msg.setAttachmentid(value);
|
|
6295
|
+
break;
|
|
6296
|
+
case 21:
|
|
6297
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6298
|
+
msg.setCustomercategory(value);
|
|
6299
|
+
break;
|
|
6300
|
+
case 22:
|
|
6301
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6302
|
+
msg.setHasbeenimported(value);
|
|
6303
|
+
break;
|
|
6304
|
+
case 23:
|
|
6305
|
+
var value = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
6306
|
+
reader.readMessage(value,proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader);
|
|
6307
|
+
msg.addBillconfigs(value);
|
|
6308
|
+
break;
|
|
6309
|
+
case 24:
|
|
6310
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6311
|
+
msg.setIsagentbill(value);
|
|
6312
|
+
break;
|
|
6313
|
+
case 25:
|
|
6314
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6315
|
+
msg.setRequiresdraftreview(value);
|
|
6316
|
+
break;
|
|
6317
|
+
case 26:
|
|
6318
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6319
|
+
msg.setAgentbillid(value);
|
|
6320
|
+
break;
|
|
6321
|
+
case 27:
|
|
6322
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6323
|
+
msg.setUploadbatchid(value);
|
|
6324
|
+
break;
|
|
6325
|
+
case 28:
|
|
6326
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6327
|
+
msg.setAbn(value);
|
|
6065
6328
|
break;
|
|
6066
6329
|
default:
|
|
6067
6330
|
reader.skipField();
|
|
@@ -6076,9 +6339,9 @@ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = fun
|
|
|
6076
6339
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6077
6340
|
* @return {!Uint8Array}
|
|
6078
6341
|
*/
|
|
6079
|
-
proto.agentbillingserviceapi.
|
|
6342
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.serializeBinary = function() {
|
|
6080
6343
|
var writer = new jspb.BinaryWriter();
|
|
6081
|
-
proto.agentbillingserviceapi.
|
|
6344
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.serializeBinaryToWriter(this, writer);
|
|
6082
6345
|
return writer.getResultBuffer();
|
|
6083
6346
|
};
|
|
6084
6347
|
|
|
@@ -6086,58 +6349,206 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.serializeBinary = funct
|
|
|
6086
6349
|
/**
|
|
6087
6350
|
* Serializes the given message to binary data (in protobuf wire
|
|
6088
6351
|
* format), writing to the given BinaryWriter.
|
|
6089
|
-
* @param {!proto.agentbillingserviceapi.
|
|
6352
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} message
|
|
6090
6353
|
* @param {!jspb.BinaryWriter} writer
|
|
6091
6354
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6092
6355
|
*/
|
|
6093
|
-
proto.agentbillingserviceapi.
|
|
6356
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6094
6357
|
var f = undefined;
|
|
6095
|
-
f = message.
|
|
6096
|
-
if (f !== 0
|
|
6097
|
-
writer.
|
|
6358
|
+
f = message.getBillerid();
|
|
6359
|
+
if (f !== 0) {
|
|
6360
|
+
writer.writeInt64(
|
|
6098
6361
|
1,
|
|
6099
6362
|
f
|
|
6100
6363
|
);
|
|
6101
6364
|
}
|
|
6102
|
-
f = message.
|
|
6103
|
-
if (f
|
|
6104
|
-
writer.
|
|
6365
|
+
f = message.getUserid();
|
|
6366
|
+
if (f !== 0) {
|
|
6367
|
+
writer.writeInt64(
|
|
6105
6368
|
2,
|
|
6106
6369
|
f
|
|
6107
6370
|
);
|
|
6108
6371
|
}
|
|
6109
|
-
f = message.
|
|
6372
|
+
f = message.getType();
|
|
6110
6373
|
if (f.length > 0) {
|
|
6111
6374
|
writer.writeString(
|
|
6112
6375
|
3,
|
|
6113
6376
|
f
|
|
6114
6377
|
);
|
|
6115
6378
|
}
|
|
6116
|
-
f = message.
|
|
6117
|
-
if (f
|
|
6118
|
-
writer.
|
|
6379
|
+
f = message.getPaymentprocessor();
|
|
6380
|
+
if (f !== 0.0) {
|
|
6381
|
+
writer.writeEnum(
|
|
6119
6382
|
4,
|
|
6120
6383
|
f
|
|
6121
6384
|
);
|
|
6122
6385
|
}
|
|
6123
|
-
f = message.
|
|
6386
|
+
f = message.getAmount();
|
|
6387
|
+
if (f !== 0.0) {
|
|
6388
|
+
writer.writeDouble(
|
|
6389
|
+
5,
|
|
6390
|
+
f
|
|
6391
|
+
);
|
|
6392
|
+
}
|
|
6393
|
+
f = message.getOverdueamount();
|
|
6394
|
+
if (f !== 0.0) {
|
|
6395
|
+
writer.writeDouble(
|
|
6396
|
+
6,
|
|
6397
|
+
f
|
|
6398
|
+
);
|
|
6399
|
+
}
|
|
6400
|
+
f = message.getDuedate();
|
|
6124
6401
|
if (f.length > 0) {
|
|
6125
6402
|
writer.writeString(
|
|
6126
|
-
|
|
6403
|
+
7,
|
|
6127
6404
|
f
|
|
6128
6405
|
);
|
|
6129
6406
|
}
|
|
6130
|
-
f = message.
|
|
6407
|
+
f = message.getSource();
|
|
6131
6408
|
if (f.length > 0) {
|
|
6132
6409
|
writer.writeString(
|
|
6133
|
-
|
|
6410
|
+
8,
|
|
6134
6411
|
f
|
|
6135
6412
|
);
|
|
6136
6413
|
}
|
|
6137
|
-
f = message.
|
|
6414
|
+
f = message.getScannedcontent();
|
|
6138
6415
|
if (f.length > 0) {
|
|
6139
6416
|
writer.writeString(
|
|
6140
|
-
|
|
6417
|
+
9,
|
|
6418
|
+
f
|
|
6419
|
+
);
|
|
6420
|
+
}
|
|
6421
|
+
f = message.getDescription();
|
|
6422
|
+
if (f.length > 0) {
|
|
6423
|
+
writer.writeString(
|
|
6424
|
+
10,
|
|
6425
|
+
f
|
|
6426
|
+
);
|
|
6427
|
+
}
|
|
6428
|
+
f = message.getSourceid();
|
|
6429
|
+
if (f !== 0) {
|
|
6430
|
+
writer.writeInt64(
|
|
6431
|
+
11,
|
|
6432
|
+
f
|
|
6433
|
+
);
|
|
6434
|
+
}
|
|
6435
|
+
f = message.getCategory();
|
|
6436
|
+
if (f.length > 0) {
|
|
6437
|
+
writer.writeString(
|
|
6438
|
+
12,
|
|
6439
|
+
f
|
|
6440
|
+
);
|
|
6441
|
+
}
|
|
6442
|
+
f = message.getBillid();
|
|
6443
|
+
if (f !== 0) {
|
|
6444
|
+
writer.writeInt64(
|
|
6445
|
+
13,
|
|
6446
|
+
f
|
|
6447
|
+
);
|
|
6448
|
+
}
|
|
6449
|
+
f = message.getIsduedateeditable();
|
|
6450
|
+
if (f) {
|
|
6451
|
+
writer.writeBool(
|
|
6452
|
+
14,
|
|
6453
|
+
f
|
|
6454
|
+
);
|
|
6455
|
+
}
|
|
6456
|
+
f = message.getIsdonationincluded();
|
|
6457
|
+
if (f) {
|
|
6458
|
+
writer.writeBool(
|
|
6459
|
+
15,
|
|
6460
|
+
f
|
|
6461
|
+
);
|
|
6462
|
+
}
|
|
6463
|
+
f = message.getOriginaldonationamount();
|
|
6464
|
+
if (f !== 0.0) {
|
|
6465
|
+
writer.writeDouble(
|
|
6466
|
+
16,
|
|
6467
|
+
f
|
|
6468
|
+
);
|
|
6469
|
+
}
|
|
6470
|
+
f = message.getSendnotification();
|
|
6471
|
+
if (f) {
|
|
6472
|
+
writer.writeBool(
|
|
6473
|
+
17,
|
|
6474
|
+
f
|
|
6475
|
+
);
|
|
6476
|
+
}
|
|
6477
|
+
f = message.getIssystemdraft();
|
|
6478
|
+
if (f) {
|
|
6479
|
+
writer.writeBool(
|
|
6480
|
+
18,
|
|
6481
|
+
f
|
|
6482
|
+
);
|
|
6483
|
+
}
|
|
6484
|
+
f = message.getIsdraft();
|
|
6485
|
+
if (f) {
|
|
6486
|
+
writer.writeBool(
|
|
6487
|
+
19,
|
|
6488
|
+
f
|
|
6489
|
+
);
|
|
6490
|
+
}
|
|
6491
|
+
f = message.getAttachmentid();
|
|
6492
|
+
if (f !== 0) {
|
|
6493
|
+
writer.writeInt64(
|
|
6494
|
+
20,
|
|
6495
|
+
f
|
|
6496
|
+
);
|
|
6497
|
+
}
|
|
6498
|
+
f = message.getCustomercategory();
|
|
6499
|
+
if (f.length > 0) {
|
|
6500
|
+
writer.writeString(
|
|
6501
|
+
21,
|
|
6502
|
+
f
|
|
6503
|
+
);
|
|
6504
|
+
}
|
|
6505
|
+
f = message.getHasbeenimported();
|
|
6506
|
+
if (f) {
|
|
6507
|
+
writer.writeBool(
|
|
6508
|
+
22,
|
|
6509
|
+
f
|
|
6510
|
+
);
|
|
6511
|
+
}
|
|
6512
|
+
f = message.getBillconfigsList();
|
|
6513
|
+
if (f.length > 0) {
|
|
6514
|
+
writer.writeRepeatedMessage(
|
|
6515
|
+
23,
|
|
6516
|
+
f,
|
|
6517
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter
|
|
6518
|
+
);
|
|
6519
|
+
}
|
|
6520
|
+
f = message.getIsagentbill();
|
|
6521
|
+
if (f) {
|
|
6522
|
+
writer.writeBool(
|
|
6523
|
+
24,
|
|
6524
|
+
f
|
|
6525
|
+
);
|
|
6526
|
+
}
|
|
6527
|
+
f = message.getRequiresdraftreview();
|
|
6528
|
+
if (f) {
|
|
6529
|
+
writer.writeBool(
|
|
6530
|
+
25,
|
|
6531
|
+
f
|
|
6532
|
+
);
|
|
6533
|
+
}
|
|
6534
|
+
f = message.getAgentbillid();
|
|
6535
|
+
if (f !== 0) {
|
|
6536
|
+
writer.writeInt64(
|
|
6537
|
+
26,
|
|
6538
|
+
f
|
|
6539
|
+
);
|
|
6540
|
+
}
|
|
6541
|
+
f = message.getUploadbatchid();
|
|
6542
|
+
if (f !== 0) {
|
|
6543
|
+
writer.writeInt64(
|
|
6544
|
+
27,
|
|
6545
|
+
f
|
|
6546
|
+
);
|
|
6547
|
+
}
|
|
6548
|
+
f = message.getAbn();
|
|
6549
|
+
if (f.length > 0) {
|
|
6550
|
+
writer.writeString(
|
|
6551
|
+
28,
|
|
6141
6552
|
f
|
|
6142
6553
|
);
|
|
6143
6554
|
}
|
|
@@ -6145,136 +6556,1572 @@ proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter = functio
|
|
|
6145
6556
|
|
|
6146
6557
|
|
|
6147
6558
|
/**
|
|
6148
|
-
*
|
|
6559
|
+
* optional int64 billerId = 1;
|
|
6560
|
+
* @return {number}
|
|
6149
6561
|
*/
|
|
6150
|
-
proto.agentbillingserviceapi.
|
|
6151
|
-
|
|
6152
|
-
BPAY: 1,
|
|
6153
|
-
SME: 2
|
|
6562
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getBillerid = function() {
|
|
6563
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6154
6564
|
};
|
|
6155
6565
|
|
|
6566
|
+
|
|
6156
6567
|
/**
|
|
6157
|
-
*
|
|
6158
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6568
|
+
* @param {number} value
|
|
6569
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6159
6570
|
*/
|
|
6160
|
-
proto.agentbillingserviceapi.
|
|
6161
|
-
return
|
|
6571
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setBillerid = function(value) {
|
|
6572
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6162
6573
|
};
|
|
6163
6574
|
|
|
6164
6575
|
|
|
6165
6576
|
/**
|
|
6166
|
-
*
|
|
6167
|
-
* @return {
|
|
6577
|
+
* optional int64 userId = 2;
|
|
6578
|
+
* @return {number}
|
|
6168
6579
|
*/
|
|
6169
|
-
proto.agentbillingserviceapi.
|
|
6170
|
-
return jspb.Message.
|
|
6580
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getUserid = function() {
|
|
6581
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6171
6582
|
};
|
|
6172
6583
|
|
|
6173
6584
|
|
|
6174
6585
|
/**
|
|
6175
|
-
*
|
|
6586
|
+
* @param {number} value
|
|
6587
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6588
|
+
*/
|
|
6589
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setUserid = function(value) {
|
|
6590
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6591
|
+
};
|
|
6592
|
+
|
|
6593
|
+
|
|
6594
|
+
/**
|
|
6595
|
+
* optional string type = 3;
|
|
6176
6596
|
* @return {string}
|
|
6177
6597
|
*/
|
|
6178
|
-
proto.agentbillingserviceapi.
|
|
6179
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6598
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getType = function() {
|
|
6599
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6180
6600
|
};
|
|
6181
6601
|
|
|
6182
6602
|
|
|
6183
6603
|
/**
|
|
6184
6604
|
* @param {string} value
|
|
6185
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6605
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6186
6606
|
*/
|
|
6187
|
-
proto.agentbillingserviceapi.
|
|
6188
|
-
return jspb.Message.setProto3StringField(this,
|
|
6607
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setType = function(value) {
|
|
6608
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6189
6609
|
};
|
|
6190
6610
|
|
|
6191
6611
|
|
|
6192
6612
|
/**
|
|
6193
|
-
* optional
|
|
6613
|
+
* optional BillScanType paymentProcessor = 4;
|
|
6614
|
+
* @return {!proto.agentbillingserviceapi.BillScanType}
|
|
6615
|
+
*/
|
|
6616
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getPaymentprocessor = function() {
|
|
6617
|
+
return /** @type {!proto.agentbillingserviceapi.BillScanType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6618
|
+
};
|
|
6619
|
+
|
|
6620
|
+
|
|
6621
|
+
/**
|
|
6622
|
+
* @param {!proto.agentbillingserviceapi.BillScanType} value
|
|
6623
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6624
|
+
*/
|
|
6625
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setPaymentprocessor = function(value) {
|
|
6626
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
6627
|
+
};
|
|
6628
|
+
|
|
6629
|
+
|
|
6630
|
+
/**
|
|
6631
|
+
* optional double amount = 5;
|
|
6632
|
+
* @return {number}
|
|
6633
|
+
*/
|
|
6634
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getAmount = function() {
|
|
6635
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
6636
|
+
};
|
|
6637
|
+
|
|
6638
|
+
|
|
6639
|
+
/**
|
|
6640
|
+
* @param {number} value
|
|
6641
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6642
|
+
*/
|
|
6643
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setAmount = function(value) {
|
|
6644
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
6645
|
+
};
|
|
6646
|
+
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* optional double overdueAmount = 6;
|
|
6650
|
+
* @return {number}
|
|
6651
|
+
*/
|
|
6652
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getOverdueamount = function() {
|
|
6653
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
6654
|
+
};
|
|
6655
|
+
|
|
6656
|
+
|
|
6657
|
+
/**
|
|
6658
|
+
* @param {number} value
|
|
6659
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6660
|
+
*/
|
|
6661
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setOverdueamount = function(value) {
|
|
6662
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
6663
|
+
};
|
|
6664
|
+
|
|
6665
|
+
|
|
6666
|
+
/**
|
|
6667
|
+
* optional string dueDate = 7;
|
|
6194
6668
|
* @return {string}
|
|
6195
6669
|
*/
|
|
6196
|
-
proto.agentbillingserviceapi.
|
|
6197
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6670
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getDuedate = function() {
|
|
6671
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6198
6672
|
};
|
|
6199
6673
|
|
|
6200
6674
|
|
|
6201
6675
|
/**
|
|
6202
6676
|
* @param {string} value
|
|
6203
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6677
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6204
6678
|
*/
|
|
6205
|
-
proto.agentbillingserviceapi.
|
|
6206
|
-
return jspb.Message.setProto3StringField(this,
|
|
6679
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setDuedate = function(value) {
|
|
6680
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6207
6681
|
};
|
|
6208
6682
|
|
|
6209
6683
|
|
|
6210
6684
|
/**
|
|
6211
|
-
* optional string
|
|
6685
|
+
* optional string source = 8;
|
|
6212
6686
|
* @return {string}
|
|
6213
6687
|
*/
|
|
6214
|
-
proto.agentbillingserviceapi.
|
|
6215
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6688
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getSource = function() {
|
|
6689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
6216
6690
|
};
|
|
6217
6691
|
|
|
6218
6692
|
|
|
6219
6693
|
/**
|
|
6220
6694
|
* @param {string} value
|
|
6221
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6695
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6222
6696
|
*/
|
|
6223
|
-
proto.agentbillingserviceapi.
|
|
6224
|
-
return jspb.Message.setProto3StringField(this,
|
|
6697
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setSource = function(value) {
|
|
6698
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
6225
6699
|
};
|
|
6226
6700
|
|
|
6227
6701
|
|
|
6228
6702
|
/**
|
|
6229
|
-
* optional string
|
|
6703
|
+
* optional string scannedContent = 9;
|
|
6230
6704
|
* @return {string}
|
|
6231
6705
|
*/
|
|
6232
|
-
proto.agentbillingserviceapi.
|
|
6233
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6706
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getScannedcontent = function() {
|
|
6707
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6708
|
+
};
|
|
6709
|
+
|
|
6710
|
+
|
|
6711
|
+
/**
|
|
6712
|
+
* @param {string} value
|
|
6713
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6714
|
+
*/
|
|
6715
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setScannedcontent = function(value) {
|
|
6716
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
6717
|
+
};
|
|
6718
|
+
|
|
6719
|
+
|
|
6720
|
+
/**
|
|
6721
|
+
* optional string description = 10;
|
|
6722
|
+
* @return {string}
|
|
6723
|
+
*/
|
|
6724
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getDescription = function() {
|
|
6725
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
6726
|
+
};
|
|
6727
|
+
|
|
6728
|
+
|
|
6729
|
+
/**
|
|
6730
|
+
* @param {string} value
|
|
6731
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6732
|
+
*/
|
|
6733
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setDescription = function(value) {
|
|
6734
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
6735
|
+
};
|
|
6736
|
+
|
|
6737
|
+
|
|
6738
|
+
/**
|
|
6739
|
+
* optional int64 sourceId = 11;
|
|
6740
|
+
* @return {number}
|
|
6741
|
+
*/
|
|
6742
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getSourceid = function() {
|
|
6743
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
6744
|
+
};
|
|
6745
|
+
|
|
6746
|
+
|
|
6747
|
+
/**
|
|
6748
|
+
* @param {number} value
|
|
6749
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6750
|
+
*/
|
|
6751
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setSourceid = function(value) {
|
|
6752
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
6753
|
+
};
|
|
6754
|
+
|
|
6755
|
+
|
|
6756
|
+
/**
|
|
6757
|
+
* optional string category = 12;
|
|
6758
|
+
* @return {string}
|
|
6759
|
+
*/
|
|
6760
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getCategory = function() {
|
|
6761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
6762
|
+
};
|
|
6763
|
+
|
|
6764
|
+
|
|
6765
|
+
/**
|
|
6766
|
+
* @param {string} value
|
|
6767
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6768
|
+
*/
|
|
6769
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setCategory = function(value) {
|
|
6770
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
6771
|
+
};
|
|
6772
|
+
|
|
6773
|
+
|
|
6774
|
+
/**
|
|
6775
|
+
* optional int64 billId = 13;
|
|
6776
|
+
* @return {number}
|
|
6777
|
+
*/
|
|
6778
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getBillid = function() {
|
|
6779
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
6780
|
+
};
|
|
6781
|
+
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* @param {number} value
|
|
6785
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6786
|
+
*/
|
|
6787
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setBillid = function(value) {
|
|
6788
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
6789
|
+
};
|
|
6790
|
+
|
|
6791
|
+
|
|
6792
|
+
/**
|
|
6793
|
+
* optional bool isDueDateEditable = 14;
|
|
6794
|
+
* @return {boolean}
|
|
6795
|
+
*/
|
|
6796
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getIsduedateeditable = function() {
|
|
6797
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
6798
|
+
};
|
|
6799
|
+
|
|
6800
|
+
|
|
6801
|
+
/**
|
|
6802
|
+
* @param {boolean} value
|
|
6803
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6804
|
+
*/
|
|
6805
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setIsduedateeditable = function(value) {
|
|
6806
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
6807
|
+
};
|
|
6808
|
+
|
|
6809
|
+
|
|
6810
|
+
/**
|
|
6811
|
+
* optional bool isDonationIncluded = 15;
|
|
6812
|
+
* @return {boolean}
|
|
6813
|
+
*/
|
|
6814
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getIsdonationincluded = function() {
|
|
6815
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
6816
|
+
};
|
|
6817
|
+
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* @param {boolean} value
|
|
6821
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6822
|
+
*/
|
|
6823
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setIsdonationincluded = function(value) {
|
|
6824
|
+
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
6825
|
+
};
|
|
6826
|
+
|
|
6827
|
+
|
|
6828
|
+
/**
|
|
6829
|
+
* optional double originalDonationAmount = 16;
|
|
6830
|
+
* @return {number}
|
|
6831
|
+
*/
|
|
6832
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getOriginaldonationamount = function() {
|
|
6833
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
|
6834
|
+
};
|
|
6835
|
+
|
|
6836
|
+
|
|
6837
|
+
/**
|
|
6838
|
+
* @param {number} value
|
|
6839
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6840
|
+
*/
|
|
6841
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setOriginaldonationamount = function(value) {
|
|
6842
|
+
return jspb.Message.setProto3FloatField(this, 16, value);
|
|
6843
|
+
};
|
|
6844
|
+
|
|
6845
|
+
|
|
6846
|
+
/**
|
|
6847
|
+
* optional bool sendNotification = 17;
|
|
6848
|
+
* @return {boolean}
|
|
6849
|
+
*/
|
|
6850
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getSendnotification = function() {
|
|
6851
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
|
|
6852
|
+
};
|
|
6853
|
+
|
|
6854
|
+
|
|
6855
|
+
/**
|
|
6856
|
+
* @param {boolean} value
|
|
6857
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6858
|
+
*/
|
|
6859
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setSendnotification = function(value) {
|
|
6860
|
+
return jspb.Message.setProto3BooleanField(this, 17, value);
|
|
6861
|
+
};
|
|
6862
|
+
|
|
6863
|
+
|
|
6864
|
+
/**
|
|
6865
|
+
* optional bool isSystemDraft = 18;
|
|
6866
|
+
* @return {boolean}
|
|
6867
|
+
*/
|
|
6868
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getIssystemdraft = function() {
|
|
6869
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
|
|
6870
|
+
};
|
|
6871
|
+
|
|
6872
|
+
|
|
6873
|
+
/**
|
|
6874
|
+
* @param {boolean} value
|
|
6875
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6876
|
+
*/
|
|
6877
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setIssystemdraft = function(value) {
|
|
6878
|
+
return jspb.Message.setProto3BooleanField(this, 18, value);
|
|
6879
|
+
};
|
|
6880
|
+
|
|
6881
|
+
|
|
6882
|
+
/**
|
|
6883
|
+
* optional bool isDraft = 19;
|
|
6884
|
+
* @return {boolean}
|
|
6885
|
+
*/
|
|
6886
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getIsdraft = function() {
|
|
6887
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
6888
|
+
};
|
|
6889
|
+
|
|
6890
|
+
|
|
6891
|
+
/**
|
|
6892
|
+
* @param {boolean} value
|
|
6893
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6894
|
+
*/
|
|
6895
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setIsdraft = function(value) {
|
|
6896
|
+
return jspb.Message.setProto3BooleanField(this, 19, value);
|
|
6897
|
+
};
|
|
6898
|
+
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* optional int64 attachmentId = 20;
|
|
6902
|
+
* @return {number}
|
|
6903
|
+
*/
|
|
6904
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getAttachmentid = function() {
|
|
6905
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
6906
|
+
};
|
|
6907
|
+
|
|
6908
|
+
|
|
6909
|
+
/**
|
|
6910
|
+
* @param {number} value
|
|
6911
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6912
|
+
*/
|
|
6913
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setAttachmentid = function(value) {
|
|
6914
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
6915
|
+
};
|
|
6916
|
+
|
|
6917
|
+
|
|
6918
|
+
/**
|
|
6919
|
+
* optional string customerCategory = 21;
|
|
6920
|
+
* @return {string}
|
|
6921
|
+
*/
|
|
6922
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getCustomercategory = function() {
|
|
6923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
6924
|
+
};
|
|
6925
|
+
|
|
6926
|
+
|
|
6927
|
+
/**
|
|
6928
|
+
* @param {string} value
|
|
6929
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6930
|
+
*/
|
|
6931
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setCustomercategory = function(value) {
|
|
6932
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
6933
|
+
};
|
|
6934
|
+
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* optional bool hasBeenImported = 22;
|
|
6938
|
+
* @return {boolean}
|
|
6939
|
+
*/
|
|
6940
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getHasbeenimported = function() {
|
|
6941
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
6942
|
+
};
|
|
6943
|
+
|
|
6944
|
+
|
|
6945
|
+
/**
|
|
6946
|
+
* @param {boolean} value
|
|
6947
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6948
|
+
*/
|
|
6949
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setHasbeenimported = function(value) {
|
|
6950
|
+
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
6951
|
+
};
|
|
6952
|
+
|
|
6953
|
+
|
|
6954
|
+
/**
|
|
6955
|
+
* repeated BillConfigRequest billConfigs = 23;
|
|
6956
|
+
* @return {!Array<!proto.agentbillingserviceapi.BillConfigRequest>}
|
|
6957
|
+
*/
|
|
6958
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getBillconfigsList = function() {
|
|
6959
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.BillConfigRequest>} */ (
|
|
6960
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfigRequest, 23));
|
|
6961
|
+
};
|
|
6962
|
+
|
|
6963
|
+
|
|
6964
|
+
/**
|
|
6965
|
+
* @param {!Array<!proto.agentbillingserviceapi.BillConfigRequest>} value
|
|
6966
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6967
|
+
*/
|
|
6968
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setBillconfigsList = function(value) {
|
|
6969
|
+
return jspb.Message.setRepeatedWrapperField(this, 23, value);
|
|
6970
|
+
};
|
|
6971
|
+
|
|
6972
|
+
|
|
6973
|
+
/**
|
|
6974
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest=} opt_value
|
|
6975
|
+
* @param {number=} opt_index
|
|
6976
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
6977
|
+
*/
|
|
6978
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.addBillconfigs = function(opt_value, opt_index) {
|
|
6979
|
+
return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.agentbillingserviceapi.BillConfigRequest, opt_index);
|
|
6980
|
+
};
|
|
6981
|
+
|
|
6982
|
+
|
|
6983
|
+
/**
|
|
6984
|
+
* Clears the list making it empty but non-null.
|
|
6985
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6986
|
+
*/
|
|
6987
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.clearBillconfigsList = function() {
|
|
6988
|
+
return this.setBillconfigsList([]);
|
|
6989
|
+
};
|
|
6990
|
+
|
|
6991
|
+
|
|
6992
|
+
/**
|
|
6993
|
+
* optional bool isAgentBill = 24;
|
|
6994
|
+
* @return {boolean}
|
|
6995
|
+
*/
|
|
6996
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getIsagentbill = function() {
|
|
6997
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 24, false));
|
|
6998
|
+
};
|
|
6999
|
+
|
|
7000
|
+
|
|
7001
|
+
/**
|
|
7002
|
+
* @param {boolean} value
|
|
7003
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
7004
|
+
*/
|
|
7005
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setIsagentbill = function(value) {
|
|
7006
|
+
return jspb.Message.setProto3BooleanField(this, 24, value);
|
|
7007
|
+
};
|
|
7008
|
+
|
|
7009
|
+
|
|
7010
|
+
/**
|
|
7011
|
+
* optional bool requiresDraftReview = 25;
|
|
7012
|
+
* @return {boolean}
|
|
7013
|
+
*/
|
|
7014
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getRequiresdraftreview = function() {
|
|
7015
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 25, false));
|
|
7016
|
+
};
|
|
7017
|
+
|
|
7018
|
+
|
|
7019
|
+
/**
|
|
7020
|
+
* @param {boolean} value
|
|
7021
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
7022
|
+
*/
|
|
7023
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setRequiresdraftreview = function(value) {
|
|
7024
|
+
return jspb.Message.setProto3BooleanField(this, 25, value);
|
|
7025
|
+
};
|
|
7026
|
+
|
|
7027
|
+
|
|
7028
|
+
/**
|
|
7029
|
+
* optional int64 agentBillId = 26;
|
|
7030
|
+
* @return {number}
|
|
7031
|
+
*/
|
|
7032
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getAgentbillid = function() {
|
|
7033
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
|
7034
|
+
};
|
|
7035
|
+
|
|
7036
|
+
|
|
7037
|
+
/**
|
|
7038
|
+
* @param {number} value
|
|
7039
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
7040
|
+
*/
|
|
7041
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setAgentbillid = function(value) {
|
|
7042
|
+
return jspb.Message.setProto3IntField(this, 26, value);
|
|
7043
|
+
};
|
|
7044
|
+
|
|
7045
|
+
|
|
7046
|
+
/**
|
|
7047
|
+
* optional int64 uploadBatchId = 27;
|
|
7048
|
+
* @return {number}
|
|
7049
|
+
*/
|
|
7050
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getUploadbatchid = function() {
|
|
7051
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
|
|
7052
|
+
};
|
|
7053
|
+
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* @param {number} value
|
|
7057
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
7058
|
+
*/
|
|
7059
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setUploadbatchid = function(value) {
|
|
7060
|
+
return jspb.Message.setProto3IntField(this, 27, value);
|
|
7061
|
+
};
|
|
7062
|
+
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* optional string abn = 28;
|
|
7066
|
+
* @return {string}
|
|
7067
|
+
*/
|
|
7068
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getAbn = function() {
|
|
7069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
7070
|
+
};
|
|
7071
|
+
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* @param {string} value
|
|
7075
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
7076
|
+
*/
|
|
7077
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setAbn = function(value) {
|
|
7078
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
|
|
7082
|
+
|
|
7083
|
+
|
|
7084
|
+
|
|
7085
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7086
|
+
/**
|
|
7087
|
+
* Creates an object representation of this proto.
|
|
7088
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7089
|
+
* Optional fields that are not set will be set to undefined.
|
|
7090
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7091
|
+
* For the list of reserved names please see:
|
|
7092
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7093
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7094
|
+
* JSPB instance for transitional soy proto support:
|
|
7095
|
+
* http://goto/soy-param-migration
|
|
7096
|
+
* @return {!Object}
|
|
7097
|
+
*/
|
|
7098
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7099
|
+
return proto.agentbillingserviceapi.BillConfigRequest.toObject(opt_includeInstance, this);
|
|
7100
|
+
};
|
|
7101
|
+
|
|
7102
|
+
|
|
7103
|
+
/**
|
|
7104
|
+
* Static version of the {@see toObject} method.
|
|
7105
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7106
|
+
* the JSPB instance for transitional soy proto support:
|
|
7107
|
+
* http://goto/soy-param-migration
|
|
7108
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The msg instance to transform.
|
|
7109
|
+
* @return {!Object}
|
|
7110
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7111
|
+
*/
|
|
7112
|
+
proto.agentbillingserviceapi.BillConfigRequest.toObject = function(includeInstance, msg) {
|
|
7113
|
+
var f, obj = {
|
|
7114
|
+
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7115
|
+
reference: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7116
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7117
|
+
accountname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7118
|
+
bsb: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7119
|
+
accountno: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7120
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7121
|
+
billerconfigid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
7122
|
+
};
|
|
7123
|
+
|
|
7124
|
+
if (includeInstance) {
|
|
7125
|
+
obj.$jspbMessageInstance = msg;
|
|
7126
|
+
}
|
|
7127
|
+
return obj;
|
|
7128
|
+
};
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
|
|
7132
|
+
/**
|
|
7133
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7134
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7135
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
7136
|
+
*/
|
|
7137
|
+
proto.agentbillingserviceapi.BillConfigRequest.deserializeBinary = function(bytes) {
|
|
7138
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7139
|
+
var msg = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
7140
|
+
return proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
7141
|
+
};
|
|
7142
|
+
|
|
7143
|
+
|
|
7144
|
+
/**
|
|
7145
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7146
|
+
* given reader into the given message object.
|
|
7147
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The message object to deserialize into.
|
|
7148
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7149
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
7150
|
+
*/
|
|
7151
|
+
proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7152
|
+
while (reader.nextField()) {
|
|
7153
|
+
if (reader.isEndGroup()) {
|
|
7154
|
+
break;
|
|
7155
|
+
}
|
|
7156
|
+
var field = reader.getFieldNumber();
|
|
7157
|
+
switch (field) {
|
|
7158
|
+
case 1:
|
|
7159
|
+
var value = /** @type {!proto.agentbillingserviceapi.BillScanType} */ (reader.readEnum());
|
|
7160
|
+
msg.setPaymentprocessor(value);
|
|
7161
|
+
break;
|
|
7162
|
+
case 2:
|
|
7163
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7164
|
+
msg.setReference(value);
|
|
7165
|
+
break;
|
|
7166
|
+
case 3:
|
|
7167
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7168
|
+
msg.setBillercode(value);
|
|
7169
|
+
break;
|
|
7170
|
+
case 4:
|
|
7171
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7172
|
+
msg.setAccountname(value);
|
|
7173
|
+
break;
|
|
7174
|
+
case 5:
|
|
7175
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7176
|
+
msg.setBsb(value);
|
|
7177
|
+
break;
|
|
7178
|
+
case 6:
|
|
7179
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7180
|
+
msg.setAccountno(value);
|
|
7181
|
+
break;
|
|
7182
|
+
case 7:
|
|
7183
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7184
|
+
msg.setInvoicenumber(value);
|
|
7185
|
+
break;
|
|
7186
|
+
case 9:
|
|
7187
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7188
|
+
msg.setBillerconfigid(value);
|
|
7189
|
+
break;
|
|
7190
|
+
default:
|
|
7191
|
+
reader.skipField();
|
|
7192
|
+
break;
|
|
7193
|
+
}
|
|
7194
|
+
}
|
|
7195
|
+
return msg;
|
|
7196
|
+
};
|
|
7197
|
+
|
|
7198
|
+
|
|
7199
|
+
/**
|
|
7200
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7201
|
+
* @return {!Uint8Array}
|
|
7202
|
+
*/
|
|
7203
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.serializeBinary = function() {
|
|
7204
|
+
var writer = new jspb.BinaryWriter();
|
|
7205
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter(this, writer);
|
|
7206
|
+
return writer.getResultBuffer();
|
|
7207
|
+
};
|
|
7208
|
+
|
|
7209
|
+
|
|
7210
|
+
/**
|
|
7211
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7212
|
+
* format), writing to the given BinaryWriter.
|
|
7213
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest} message
|
|
7214
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7215
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7216
|
+
*/
|
|
7217
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7218
|
+
var f = undefined;
|
|
7219
|
+
f = message.getPaymentprocessor();
|
|
7220
|
+
if (f !== 0.0) {
|
|
7221
|
+
writer.writeEnum(
|
|
7222
|
+
1,
|
|
7223
|
+
f
|
|
7224
|
+
);
|
|
7225
|
+
}
|
|
7226
|
+
f = message.getReference();
|
|
7227
|
+
if (f.length > 0) {
|
|
7228
|
+
writer.writeString(
|
|
7229
|
+
2,
|
|
7230
|
+
f
|
|
7231
|
+
);
|
|
7232
|
+
}
|
|
7233
|
+
f = message.getBillercode();
|
|
7234
|
+
if (f.length > 0) {
|
|
7235
|
+
writer.writeString(
|
|
7236
|
+
3,
|
|
7237
|
+
f
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
f = message.getAccountname();
|
|
7241
|
+
if (f.length > 0) {
|
|
7242
|
+
writer.writeString(
|
|
7243
|
+
4,
|
|
7244
|
+
f
|
|
7245
|
+
);
|
|
7246
|
+
}
|
|
7247
|
+
f = message.getBsb();
|
|
7248
|
+
if (f.length > 0) {
|
|
7249
|
+
writer.writeString(
|
|
7250
|
+
5,
|
|
7251
|
+
f
|
|
7252
|
+
);
|
|
7253
|
+
}
|
|
7254
|
+
f = message.getAccountno();
|
|
7255
|
+
if (f.length > 0) {
|
|
7256
|
+
writer.writeString(
|
|
7257
|
+
6,
|
|
7258
|
+
f
|
|
7259
|
+
);
|
|
7260
|
+
}
|
|
7261
|
+
f = message.getInvoicenumber();
|
|
7262
|
+
if (f.length > 0) {
|
|
7263
|
+
writer.writeString(
|
|
7264
|
+
7,
|
|
7265
|
+
f
|
|
7266
|
+
);
|
|
7267
|
+
}
|
|
7268
|
+
f = message.getBillerconfigid();
|
|
7269
|
+
if (f !== 0) {
|
|
7270
|
+
writer.writeInt64(
|
|
7271
|
+
9,
|
|
7272
|
+
f
|
|
7273
|
+
);
|
|
7274
|
+
}
|
|
7275
|
+
};
|
|
7276
|
+
|
|
7277
|
+
|
|
7278
|
+
/**
|
|
7279
|
+
* optional BillScanType paymentProcessor = 1;
|
|
7280
|
+
* @return {!proto.agentbillingserviceapi.BillScanType}
|
|
7281
|
+
*/
|
|
7282
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getPaymentprocessor = function() {
|
|
7283
|
+
return /** @type {!proto.agentbillingserviceapi.BillScanType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7284
|
+
};
|
|
7285
|
+
|
|
7286
|
+
|
|
7287
|
+
/**
|
|
7288
|
+
* @param {!proto.agentbillingserviceapi.BillScanType} value
|
|
7289
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7290
|
+
*/
|
|
7291
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setPaymentprocessor = function(value) {
|
|
7292
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
7293
|
+
};
|
|
7294
|
+
|
|
7295
|
+
|
|
7296
|
+
/**
|
|
7297
|
+
* optional string reference = 2;
|
|
7298
|
+
* @return {string}
|
|
7299
|
+
*/
|
|
7300
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getReference = function() {
|
|
7301
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7302
|
+
};
|
|
7303
|
+
|
|
7304
|
+
|
|
7305
|
+
/**
|
|
7306
|
+
* @param {string} value
|
|
7307
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7308
|
+
*/
|
|
7309
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setReference = function(value) {
|
|
7310
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7311
|
+
};
|
|
7312
|
+
|
|
7313
|
+
|
|
7314
|
+
/**
|
|
7315
|
+
* optional string billerCode = 3;
|
|
7316
|
+
* @return {string}
|
|
7317
|
+
*/
|
|
7318
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getBillercode = function() {
|
|
7319
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7320
|
+
};
|
|
7321
|
+
|
|
7322
|
+
|
|
7323
|
+
/**
|
|
7324
|
+
* @param {string} value
|
|
7325
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7326
|
+
*/
|
|
7327
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillercode = function(value) {
|
|
7328
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7329
|
+
};
|
|
7330
|
+
|
|
7331
|
+
|
|
7332
|
+
/**
|
|
7333
|
+
* optional string accountName = 4;
|
|
7334
|
+
* @return {string}
|
|
7335
|
+
*/
|
|
7336
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountname = function() {
|
|
7337
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7338
|
+
};
|
|
7339
|
+
|
|
7340
|
+
|
|
7341
|
+
/**
|
|
7342
|
+
* @param {string} value
|
|
7343
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7344
|
+
*/
|
|
7345
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountname = function(value) {
|
|
7346
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7347
|
+
};
|
|
7348
|
+
|
|
7349
|
+
|
|
7350
|
+
/**
|
|
7351
|
+
* optional string bsb = 5;
|
|
7352
|
+
* @return {string}
|
|
7353
|
+
*/
|
|
7354
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getBsb = function() {
|
|
7355
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7356
|
+
};
|
|
7357
|
+
|
|
7358
|
+
|
|
7359
|
+
/**
|
|
7360
|
+
* @param {string} value
|
|
7361
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7362
|
+
*/
|
|
7363
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setBsb = function(value) {
|
|
7364
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7365
|
+
};
|
|
7366
|
+
|
|
7367
|
+
|
|
7368
|
+
/**
|
|
7369
|
+
* optional string accountNo = 6;
|
|
7370
|
+
* @return {string}
|
|
7371
|
+
*/
|
|
7372
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountno = function() {
|
|
7373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7374
|
+
};
|
|
7375
|
+
|
|
7376
|
+
|
|
7377
|
+
/**
|
|
7378
|
+
* @param {string} value
|
|
7379
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7380
|
+
*/
|
|
7381
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountno = function(value) {
|
|
7382
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7383
|
+
};
|
|
7384
|
+
|
|
7385
|
+
|
|
7386
|
+
/**
|
|
7387
|
+
* optional string invoiceNumber = 7;
|
|
7388
|
+
* @return {string}
|
|
7389
|
+
*/
|
|
7390
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getInvoicenumber = function() {
|
|
7391
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7392
|
+
};
|
|
7393
|
+
|
|
7394
|
+
|
|
7395
|
+
/**
|
|
7396
|
+
* @param {string} value
|
|
7397
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7398
|
+
*/
|
|
7399
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setInvoicenumber = function(value) {
|
|
7400
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7401
|
+
};
|
|
7402
|
+
|
|
7403
|
+
|
|
7404
|
+
/**
|
|
7405
|
+
* optional int64 billerConfigId = 9;
|
|
7406
|
+
* @return {number}
|
|
7407
|
+
*/
|
|
7408
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.getBillerconfigid = function() {
|
|
7409
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
7410
|
+
};
|
|
7411
|
+
|
|
7412
|
+
|
|
7413
|
+
/**
|
|
7414
|
+
* @param {number} value
|
|
7415
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
|
|
7416
|
+
*/
|
|
7417
|
+
proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillerconfigid = function(value) {
|
|
7418
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
7419
|
+
};
|
|
7420
|
+
|
|
7421
|
+
|
|
7422
|
+
|
|
7423
|
+
/**
|
|
7424
|
+
* List of repeated fields within this message type.
|
|
7425
|
+
* @private {!Array<number>}
|
|
7426
|
+
* @const
|
|
7427
|
+
*/
|
|
7428
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.repeatedFields_ = [2];
|
|
7429
|
+
|
|
7430
|
+
|
|
7431
|
+
|
|
7432
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7433
|
+
/**
|
|
7434
|
+
* Creates an object representation of this proto.
|
|
7435
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7436
|
+
* Optional fields that are not set will be set to undefined.
|
|
7437
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7438
|
+
* For the list of reserved names please see:
|
|
7439
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7440
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7441
|
+
* JSPB instance for transitional soy proto support:
|
|
7442
|
+
* http://goto/soy-param-migration
|
|
7443
|
+
* @return {!Object}
|
|
7444
|
+
*/
|
|
7445
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7446
|
+
return proto.agentbillingserviceapi.GetAgentAttachmentsRequest.toObject(opt_includeInstance, this);
|
|
7447
|
+
};
|
|
7448
|
+
|
|
7449
|
+
|
|
7450
|
+
/**
|
|
7451
|
+
* Static version of the {@see toObject} method.
|
|
7452
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7453
|
+
* the JSPB instance for transitional soy proto support:
|
|
7454
|
+
* http://goto/soy-param-migration
|
|
7455
|
+
* @param {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} msg The msg instance to transform.
|
|
7456
|
+
* @return {!Object}
|
|
7457
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7458
|
+
*/
|
|
7459
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.toObject = function(includeInstance, msg) {
|
|
7460
|
+
var f, obj = {
|
|
7461
|
+
clientid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7462
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
7463
|
+
};
|
|
7464
|
+
|
|
7465
|
+
if (includeInstance) {
|
|
7466
|
+
obj.$jspbMessageInstance = msg;
|
|
7467
|
+
}
|
|
7468
|
+
return obj;
|
|
7469
|
+
};
|
|
7470
|
+
}
|
|
7471
|
+
|
|
7472
|
+
|
|
7473
|
+
/**
|
|
7474
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7475
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7476
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest}
|
|
7477
|
+
*/
|
|
7478
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.deserializeBinary = function(bytes) {
|
|
7479
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7480
|
+
var msg = new proto.agentbillingserviceapi.GetAgentAttachmentsRequest;
|
|
7481
|
+
return proto.agentbillingserviceapi.GetAgentAttachmentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
7482
|
+
};
|
|
7483
|
+
|
|
7484
|
+
|
|
7485
|
+
/**
|
|
7486
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7487
|
+
* given reader into the given message object.
|
|
7488
|
+
* @param {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} msg The message object to deserialize into.
|
|
7489
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7490
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest}
|
|
7491
|
+
*/
|
|
7492
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7493
|
+
while (reader.nextField()) {
|
|
7494
|
+
if (reader.isEndGroup()) {
|
|
7495
|
+
break;
|
|
7496
|
+
}
|
|
7497
|
+
var field = reader.getFieldNumber();
|
|
7498
|
+
switch (field) {
|
|
7499
|
+
case 1:
|
|
7500
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7501
|
+
msg.setClientid(value);
|
|
7502
|
+
break;
|
|
7503
|
+
case 2:
|
|
7504
|
+
var value = /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (reader.readPackedEnum());
|
|
7505
|
+
msg.setStatusesList(value);
|
|
7506
|
+
break;
|
|
7507
|
+
default:
|
|
7508
|
+
reader.skipField();
|
|
7509
|
+
break;
|
|
7510
|
+
}
|
|
7511
|
+
}
|
|
7512
|
+
return msg;
|
|
7513
|
+
};
|
|
7514
|
+
|
|
7515
|
+
|
|
7516
|
+
/**
|
|
7517
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7518
|
+
* @return {!Uint8Array}
|
|
7519
|
+
*/
|
|
7520
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.serializeBinary = function() {
|
|
7521
|
+
var writer = new jspb.BinaryWriter();
|
|
7522
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.serializeBinaryToWriter(this, writer);
|
|
7523
|
+
return writer.getResultBuffer();
|
|
7524
|
+
};
|
|
7525
|
+
|
|
7526
|
+
|
|
7527
|
+
/**
|
|
7528
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7529
|
+
* format), writing to the given BinaryWriter.
|
|
7530
|
+
* @param {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} message
|
|
7531
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7532
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7533
|
+
*/
|
|
7534
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7535
|
+
var f = undefined;
|
|
7536
|
+
f = message.getClientid();
|
|
7537
|
+
if (f !== 0) {
|
|
7538
|
+
writer.writeInt64(
|
|
7539
|
+
1,
|
|
7540
|
+
f
|
|
7541
|
+
);
|
|
7542
|
+
}
|
|
7543
|
+
f = message.getStatusesList();
|
|
7544
|
+
if (f.length > 0) {
|
|
7545
|
+
writer.writePackedEnum(
|
|
7546
|
+
2,
|
|
7547
|
+
f
|
|
7548
|
+
);
|
|
7549
|
+
}
|
|
7550
|
+
};
|
|
7551
|
+
|
|
7552
|
+
|
|
7553
|
+
/**
|
|
7554
|
+
* optional int64 clientId = 1;
|
|
7555
|
+
* @return {number}
|
|
7556
|
+
*/
|
|
7557
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getClientid = function() {
|
|
7558
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7559
|
+
};
|
|
7560
|
+
|
|
7561
|
+
|
|
7562
|
+
/**
|
|
7563
|
+
* @param {number} value
|
|
7564
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7565
|
+
*/
|
|
7566
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setClientid = function(value) {
|
|
7567
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7568
|
+
};
|
|
7569
|
+
|
|
7570
|
+
|
|
7571
|
+
/**
|
|
7572
|
+
* repeated AttachmentStatus statuses = 2;
|
|
7573
|
+
* @return {!Array<!proto.agentbillingserviceapi.AttachmentStatus>}
|
|
7574
|
+
*/
|
|
7575
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.getStatusesList = function() {
|
|
7576
|
+
return /** @type {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
7577
|
+
};
|
|
7578
|
+
|
|
7579
|
+
|
|
7580
|
+
/**
|
|
7581
|
+
* @param {!Array<!proto.agentbillingserviceapi.AttachmentStatus>} value
|
|
7582
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7583
|
+
*/
|
|
7584
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.setStatusesList = function(value) {
|
|
7585
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
7586
|
+
};
|
|
7587
|
+
|
|
7588
|
+
|
|
7589
|
+
/**
|
|
7590
|
+
* @param {!proto.agentbillingserviceapi.AttachmentStatus} value
|
|
7591
|
+
* @param {number=} opt_index
|
|
7592
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7593
|
+
*/
|
|
7594
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.addStatuses = function(value, opt_index) {
|
|
7595
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
7596
|
+
};
|
|
7597
|
+
|
|
7598
|
+
|
|
7599
|
+
/**
|
|
7600
|
+
* Clears the list making it empty but non-null.
|
|
7601
|
+
* @return {!proto.agentbillingserviceapi.GetAgentAttachmentsRequest} returns this
|
|
7602
|
+
*/
|
|
7603
|
+
proto.agentbillingserviceapi.GetAgentAttachmentsRequest.prototype.clearStatusesList = function() {
|
|
7604
|
+
return this.setStatusesList([]);
|
|
7605
|
+
};
|
|
7606
|
+
|
|
7607
|
+
|
|
7608
|
+
|
|
7609
|
+
/**
|
|
7610
|
+
* List of repeated fields within this message type.
|
|
7611
|
+
* @private {!Array<number>}
|
|
7612
|
+
* @const
|
|
7613
|
+
*/
|
|
7614
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.repeatedFields_ = [2];
|
|
7615
|
+
|
|
7616
|
+
|
|
7617
|
+
|
|
7618
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7619
|
+
/**
|
|
7620
|
+
* Creates an object representation of this proto.
|
|
7621
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7622
|
+
* Optional fields that are not set will be set to undefined.
|
|
7623
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7624
|
+
* For the list of reserved names please see:
|
|
7625
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7626
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7627
|
+
* JSPB instance for transitional soy proto support:
|
|
7628
|
+
* http://goto/soy-param-migration
|
|
7629
|
+
* @return {!Object}
|
|
7630
|
+
*/
|
|
7631
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7632
|
+
return proto.agentbillingserviceapi.AgentAttachmentsResponse.toObject(opt_includeInstance, this);
|
|
7633
|
+
};
|
|
7634
|
+
|
|
7635
|
+
|
|
7636
|
+
/**
|
|
7637
|
+
* Static version of the {@see toObject} method.
|
|
7638
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7639
|
+
* the JSPB instance for transitional soy proto support:
|
|
7640
|
+
* http://goto/soy-param-migration
|
|
7641
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentsResponse} msg The msg instance to transform.
|
|
7642
|
+
* @return {!Object}
|
|
7643
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7644
|
+
*/
|
|
7645
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.toObject = function(includeInstance, msg) {
|
|
7646
|
+
var f, obj = {
|
|
7647
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
7648
|
+
attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
|
|
7649
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.toObject, includeInstance)
|
|
7650
|
+
};
|
|
7651
|
+
|
|
7652
|
+
if (includeInstance) {
|
|
7653
|
+
obj.$jspbMessageInstance = msg;
|
|
7654
|
+
}
|
|
7655
|
+
return obj;
|
|
7656
|
+
};
|
|
7657
|
+
}
|
|
7658
|
+
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7662
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7663
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse}
|
|
7664
|
+
*/
|
|
7665
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.deserializeBinary = function(bytes) {
|
|
7666
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7667
|
+
var msg = new proto.agentbillingserviceapi.AgentAttachmentsResponse;
|
|
7668
|
+
return proto.agentbillingserviceapi.AgentAttachmentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7669
|
+
};
|
|
7670
|
+
|
|
7671
|
+
|
|
7672
|
+
/**
|
|
7673
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7674
|
+
* given reader into the given message object.
|
|
7675
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentsResponse} msg The message object to deserialize into.
|
|
7676
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7677
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse}
|
|
7678
|
+
*/
|
|
7679
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7680
|
+
while (reader.nextField()) {
|
|
7681
|
+
if (reader.isEndGroup()) {
|
|
7682
|
+
break;
|
|
7683
|
+
}
|
|
7684
|
+
var field = reader.getFieldNumber();
|
|
7685
|
+
switch (field) {
|
|
7686
|
+
case 1:
|
|
7687
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
7688
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
7689
|
+
msg.setResponsecode(value);
|
|
7690
|
+
break;
|
|
7691
|
+
case 2:
|
|
7692
|
+
var value = new proto.agentbillingserviceapi.AgentAttachmentInfo;
|
|
7693
|
+
reader.readMessage(value,proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader);
|
|
7694
|
+
msg.addAttachments(value);
|
|
7695
|
+
break;
|
|
7696
|
+
default:
|
|
7697
|
+
reader.skipField();
|
|
7698
|
+
break;
|
|
7699
|
+
}
|
|
7700
|
+
}
|
|
7701
|
+
return msg;
|
|
7702
|
+
};
|
|
7703
|
+
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7707
|
+
* @return {!Uint8Array}
|
|
7708
|
+
*/
|
|
7709
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.serializeBinary = function() {
|
|
7710
|
+
var writer = new jspb.BinaryWriter();
|
|
7711
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.serializeBinaryToWriter(this, writer);
|
|
7712
|
+
return writer.getResultBuffer();
|
|
7713
|
+
};
|
|
7714
|
+
|
|
7715
|
+
|
|
7716
|
+
/**
|
|
7717
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7718
|
+
* format), writing to the given BinaryWriter.
|
|
7719
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentsResponse} message
|
|
7720
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7721
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7722
|
+
*/
|
|
7723
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7724
|
+
var f = undefined;
|
|
7725
|
+
f = message.getResponsecode();
|
|
7726
|
+
if (f != null) {
|
|
7727
|
+
writer.writeMessage(
|
|
7728
|
+
1,
|
|
7729
|
+
f,
|
|
7730
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
7731
|
+
);
|
|
7732
|
+
}
|
|
7733
|
+
f = message.getAttachmentsList();
|
|
7734
|
+
if (f.length > 0) {
|
|
7735
|
+
writer.writeRepeatedMessage(
|
|
7736
|
+
2,
|
|
7737
|
+
f,
|
|
7738
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter
|
|
7739
|
+
);
|
|
7740
|
+
}
|
|
7741
|
+
};
|
|
7742
|
+
|
|
7743
|
+
|
|
7744
|
+
/**
|
|
7745
|
+
* optional ResponseCode responseCode = 1;
|
|
7746
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
7747
|
+
*/
|
|
7748
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.getResponsecode = function() {
|
|
7749
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
7750
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
7751
|
+
};
|
|
7752
|
+
|
|
7753
|
+
|
|
7754
|
+
/**
|
|
7755
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
7756
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
7757
|
+
*/
|
|
7758
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.setResponsecode = function(value) {
|
|
7759
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7760
|
+
};
|
|
7761
|
+
|
|
7762
|
+
|
|
7763
|
+
/**
|
|
7764
|
+
* Clears the message field making it undefined.
|
|
7765
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
7766
|
+
*/
|
|
7767
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.clearResponsecode = function() {
|
|
7768
|
+
return this.setResponsecode(undefined);
|
|
7769
|
+
};
|
|
7770
|
+
|
|
7771
|
+
|
|
7772
|
+
/**
|
|
7773
|
+
* Returns whether this field is set.
|
|
7774
|
+
* @return {boolean}
|
|
7775
|
+
*/
|
|
7776
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.hasResponsecode = function() {
|
|
7777
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7778
|
+
};
|
|
7779
|
+
|
|
7780
|
+
|
|
7781
|
+
/**
|
|
7782
|
+
* repeated AgentAttachmentInfo attachments = 2;
|
|
7783
|
+
* @return {!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>}
|
|
7784
|
+
*/
|
|
7785
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.getAttachmentsList = function() {
|
|
7786
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>} */ (
|
|
7787
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentAttachmentInfo, 2));
|
|
7788
|
+
};
|
|
7789
|
+
|
|
7790
|
+
|
|
7791
|
+
/**
|
|
7792
|
+
* @param {!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>} value
|
|
7793
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
7794
|
+
*/
|
|
7795
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.setAttachmentsList = function(value) {
|
|
7796
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7797
|
+
};
|
|
7798
|
+
|
|
7799
|
+
|
|
7800
|
+
/**
|
|
7801
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo=} opt_value
|
|
7802
|
+
* @param {number=} opt_index
|
|
7803
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
7804
|
+
*/
|
|
7805
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.addAttachments = function(opt_value, opt_index) {
|
|
7806
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentAttachmentInfo, opt_index);
|
|
7807
|
+
};
|
|
7808
|
+
|
|
7809
|
+
|
|
7810
|
+
/**
|
|
7811
|
+
* Clears the list making it empty but non-null.
|
|
7812
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
7813
|
+
*/
|
|
7814
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.clearAttachmentsList = function() {
|
|
7815
|
+
return this.setAttachmentsList([]);
|
|
7816
|
+
};
|
|
7817
|
+
|
|
7818
|
+
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
|
|
7822
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7823
|
+
/**
|
|
7824
|
+
* Creates an object representation of this proto.
|
|
7825
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7826
|
+
* Optional fields that are not set will be set to undefined.
|
|
7827
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7828
|
+
* For the list of reserved names please see:
|
|
7829
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7830
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7831
|
+
* JSPB instance for transitional soy proto support:
|
|
7832
|
+
* http://goto/soy-param-migration
|
|
7833
|
+
* @return {!Object}
|
|
7834
|
+
*/
|
|
7835
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.toObject = function(opt_includeInstance) {
|
|
7836
|
+
return proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(opt_includeInstance, this);
|
|
7837
|
+
};
|
|
7838
|
+
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* Static version of the {@see toObject} method.
|
|
7842
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7843
|
+
* the JSPB instance for transitional soy proto support:
|
|
7844
|
+
* http://goto/soy-param-migration
|
|
7845
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} msg The msg instance to transform.
|
|
7846
|
+
* @return {!Object}
|
|
7847
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7848
|
+
*/
|
|
7849
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.toObject = function(includeInstance, msg) {
|
|
7850
|
+
var f, obj = {
|
|
7851
|
+
agentid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7852
|
+
clientid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7853
|
+
attachmentid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7854
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7855
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7856
|
+
status: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7857
|
+
updatedat: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
7858
|
+
};
|
|
7859
|
+
|
|
7860
|
+
if (includeInstance) {
|
|
7861
|
+
obj.$jspbMessageInstance = msg;
|
|
7862
|
+
}
|
|
7863
|
+
return obj;
|
|
7864
|
+
};
|
|
7865
|
+
}
|
|
7866
|
+
|
|
7867
|
+
|
|
7868
|
+
/**
|
|
7869
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7870
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7871
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
7872
|
+
*/
|
|
7873
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinary = function(bytes) {
|
|
7874
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7875
|
+
var msg = new proto.agentbillingserviceapi.AgentAttachmentInfo;
|
|
7876
|
+
return proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader(msg, reader);
|
|
7877
|
+
};
|
|
7878
|
+
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7882
|
+
* given reader into the given message object.
|
|
7883
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} msg The message object to deserialize into.
|
|
7884
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7885
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
7886
|
+
*/
|
|
7887
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
7888
|
+
while (reader.nextField()) {
|
|
7889
|
+
if (reader.isEndGroup()) {
|
|
7890
|
+
break;
|
|
7891
|
+
}
|
|
7892
|
+
var field = reader.getFieldNumber();
|
|
7893
|
+
switch (field) {
|
|
7894
|
+
case 1:
|
|
7895
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7896
|
+
msg.setAgentid(value);
|
|
7897
|
+
break;
|
|
7898
|
+
case 2:
|
|
7899
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7900
|
+
msg.setClientid(value);
|
|
7901
|
+
break;
|
|
7902
|
+
case 3:
|
|
7903
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7904
|
+
msg.setAttachmentid(value);
|
|
7905
|
+
break;
|
|
7906
|
+
case 4:
|
|
7907
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7908
|
+
msg.setAgentbillid(value);
|
|
7909
|
+
break;
|
|
7910
|
+
case 5:
|
|
7911
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7912
|
+
msg.setUploadbatchid(value);
|
|
7913
|
+
break;
|
|
7914
|
+
case 6:
|
|
7915
|
+
var value = /** @type {!proto.agentbillingserviceapi.AttachmentStatus} */ (reader.readEnum());
|
|
7916
|
+
msg.setStatus(value);
|
|
7917
|
+
break;
|
|
7918
|
+
case 7:
|
|
7919
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7920
|
+
msg.setUpdatedat(value);
|
|
7921
|
+
break;
|
|
7922
|
+
default:
|
|
7923
|
+
reader.skipField();
|
|
7924
|
+
break;
|
|
7925
|
+
}
|
|
7926
|
+
}
|
|
7927
|
+
return msg;
|
|
7928
|
+
};
|
|
7929
|
+
|
|
7930
|
+
|
|
7931
|
+
/**
|
|
7932
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7933
|
+
* @return {!Uint8Array}
|
|
7934
|
+
*/
|
|
7935
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.serializeBinary = function() {
|
|
7936
|
+
var writer = new jspb.BinaryWriter();
|
|
7937
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter(this, writer);
|
|
7938
|
+
return writer.getResultBuffer();
|
|
7939
|
+
};
|
|
7940
|
+
|
|
7941
|
+
|
|
7942
|
+
/**
|
|
7943
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7944
|
+
* format), writing to the given BinaryWriter.
|
|
7945
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} message
|
|
7946
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7947
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7948
|
+
*/
|
|
7949
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter = function(message, writer) {
|
|
7950
|
+
var f = undefined;
|
|
7951
|
+
f = message.getAgentid();
|
|
7952
|
+
if (f !== 0) {
|
|
7953
|
+
writer.writeInt64(
|
|
7954
|
+
1,
|
|
7955
|
+
f
|
|
7956
|
+
);
|
|
7957
|
+
}
|
|
7958
|
+
f = message.getClientid();
|
|
7959
|
+
if (f !== 0) {
|
|
7960
|
+
writer.writeInt64(
|
|
7961
|
+
2,
|
|
7962
|
+
f
|
|
7963
|
+
);
|
|
7964
|
+
}
|
|
7965
|
+
f = message.getAttachmentid();
|
|
7966
|
+
if (f !== 0) {
|
|
7967
|
+
writer.writeInt64(
|
|
7968
|
+
3,
|
|
7969
|
+
f
|
|
7970
|
+
);
|
|
7971
|
+
}
|
|
7972
|
+
f = message.getAgentbillid();
|
|
7973
|
+
if (f !== 0) {
|
|
7974
|
+
writer.writeInt64(
|
|
7975
|
+
4,
|
|
7976
|
+
f
|
|
7977
|
+
);
|
|
7978
|
+
}
|
|
7979
|
+
f = message.getUploadbatchid();
|
|
7980
|
+
if (f !== 0) {
|
|
7981
|
+
writer.writeInt64(
|
|
7982
|
+
5,
|
|
7983
|
+
f
|
|
7984
|
+
);
|
|
7985
|
+
}
|
|
7986
|
+
f = message.getStatus();
|
|
7987
|
+
if (f !== 0.0) {
|
|
7988
|
+
writer.writeEnum(
|
|
7989
|
+
6,
|
|
7990
|
+
f
|
|
7991
|
+
);
|
|
7992
|
+
}
|
|
7993
|
+
f = message.getUpdatedat();
|
|
7994
|
+
if (f.length > 0) {
|
|
7995
|
+
writer.writeString(
|
|
7996
|
+
7,
|
|
7997
|
+
f
|
|
7998
|
+
);
|
|
7999
|
+
}
|
|
8000
|
+
};
|
|
8001
|
+
|
|
8002
|
+
|
|
8003
|
+
/**
|
|
8004
|
+
* optional int64 agentId = 1;
|
|
8005
|
+
* @return {number}
|
|
8006
|
+
*/
|
|
8007
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAgentid = function() {
|
|
8008
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8009
|
+
};
|
|
8010
|
+
|
|
8011
|
+
|
|
8012
|
+
/**
|
|
8013
|
+
* @param {number} value
|
|
8014
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
8015
|
+
*/
|
|
8016
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAgentid = function(value) {
|
|
8017
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
8018
|
+
};
|
|
8019
|
+
|
|
8020
|
+
|
|
8021
|
+
/**
|
|
8022
|
+
* optional int64 clientId = 2;
|
|
8023
|
+
* @return {number}
|
|
8024
|
+
*/
|
|
8025
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getClientid = function() {
|
|
8026
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8027
|
+
};
|
|
8028
|
+
|
|
8029
|
+
|
|
8030
|
+
/**
|
|
8031
|
+
* @param {number} value
|
|
8032
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
8033
|
+
*/
|
|
8034
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setClientid = function(value) {
|
|
8035
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
8036
|
+
};
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
/**
|
|
8040
|
+
* optional int64 attachmentId = 3;
|
|
8041
|
+
* @return {number}
|
|
8042
|
+
*/
|
|
8043
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAttachmentid = function() {
|
|
8044
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
|
|
8048
|
+
/**
|
|
8049
|
+
* @param {number} value
|
|
8050
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
8051
|
+
*/
|
|
8052
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAttachmentid = function(value) {
|
|
8053
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
8054
|
+
};
|
|
8055
|
+
|
|
8056
|
+
|
|
8057
|
+
/**
|
|
8058
|
+
* optional int64 agentBillId = 4;
|
|
8059
|
+
* @return {number}
|
|
8060
|
+
*/
|
|
8061
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAgentbillid = function() {
|
|
8062
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8063
|
+
};
|
|
8064
|
+
|
|
8065
|
+
|
|
8066
|
+
/**
|
|
8067
|
+
* @param {number} value
|
|
8068
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
8069
|
+
*/
|
|
8070
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAgentbillid = function(value) {
|
|
8071
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
8072
|
+
};
|
|
8073
|
+
|
|
8074
|
+
|
|
8075
|
+
/**
|
|
8076
|
+
* optional int64 uploadBatchId = 5;
|
|
8077
|
+
* @return {number}
|
|
8078
|
+
*/
|
|
8079
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getUploadbatchid = function() {
|
|
8080
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
6234
8081
|
};
|
|
6235
8082
|
|
|
6236
8083
|
|
|
6237
8084
|
/**
|
|
6238
|
-
* @param {
|
|
6239
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8085
|
+
* @param {number} value
|
|
8086
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6240
8087
|
*/
|
|
6241
|
-
proto.agentbillingserviceapi.
|
|
6242
|
-
return jspb.Message.
|
|
8088
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setUploadbatchid = function(value) {
|
|
8089
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
6243
8090
|
};
|
|
6244
8091
|
|
|
6245
8092
|
|
|
6246
8093
|
/**
|
|
6247
|
-
* optional
|
|
6248
|
-
* @return {
|
|
8094
|
+
* optional AttachmentStatus status = 6;
|
|
8095
|
+
* @return {!proto.agentbillingserviceapi.AttachmentStatus}
|
|
6249
8096
|
*/
|
|
6250
|
-
proto.agentbillingserviceapi.
|
|
6251
|
-
return /** @type {
|
|
8097
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getStatus = function() {
|
|
8098
|
+
return /** @type {!proto.agentbillingserviceapi.AttachmentStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
6252
8099
|
};
|
|
6253
8100
|
|
|
6254
8101
|
|
|
6255
8102
|
/**
|
|
6256
|
-
* @param {
|
|
6257
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8103
|
+
* @param {!proto.agentbillingserviceapi.AttachmentStatus} value
|
|
8104
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6258
8105
|
*/
|
|
6259
|
-
proto.agentbillingserviceapi.
|
|
6260
|
-
return jspb.Message.
|
|
8106
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setStatus = function(value) {
|
|
8107
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
6261
8108
|
};
|
|
6262
8109
|
|
|
6263
8110
|
|
|
6264
8111
|
/**
|
|
6265
|
-
* optional string
|
|
8112
|
+
* optional string updatedAt = 7;
|
|
6266
8113
|
* @return {string}
|
|
6267
8114
|
*/
|
|
6268
|
-
proto.agentbillingserviceapi.
|
|
8115
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getUpdatedat = function() {
|
|
6269
8116
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6270
8117
|
};
|
|
6271
8118
|
|
|
6272
8119
|
|
|
6273
8120
|
/**
|
|
6274
8121
|
* @param {string} value
|
|
6275
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8122
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6276
8123
|
*/
|
|
6277
|
-
proto.agentbillingserviceapi.
|
|
8124
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setUpdatedat = function(value) {
|
|
6278
8125
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6279
8126
|
};
|
|
6280
8127
|
|
|
@@ -17791,6 +19638,13 @@ proto.agentbillingserviceapi.UploadCsvResponse.prototype.setCsvid = function(val
|
|
|
17791
19638
|
|
|
17792
19639
|
|
|
17793
19640
|
|
|
19641
|
+
/**
|
|
19642
|
+
* List of repeated fields within this message type.
|
|
19643
|
+
* @private {!Array<number>}
|
|
19644
|
+
* @const
|
|
19645
|
+
*/
|
|
19646
|
+
proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_ = [16];
|
|
19647
|
+
|
|
17794
19648
|
|
|
17795
19649
|
|
|
17796
19650
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -17833,18 +19687,12 @@ proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeIns
|
|
|
17833
19687
|
surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
17834
19688
|
totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
17835
19689
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
smereference: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
17843
|
-
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
17844
|
-
settlementdate: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
17845
|
-
bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
17846
|
-
smereceiptid: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
17847
|
-
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0)
|
|
19690
|
+
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
19691
|
+
settlementdate: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
19692
|
+
receiptid: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
19693
|
+
rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
19694
|
+
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
19695
|
+
proto.agentbillingserviceapi.BillConfig.toObject, includeInstance)
|
|
17848
19696
|
};
|
|
17849
19697
|
|
|
17850
19698
|
if (includeInstance) {
|
|
@@ -17927,52 +19775,25 @@ proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader =
|
|
|
17927
19775
|
break;
|
|
17928
19776
|
case 12:
|
|
17929
19777
|
var value = /** @type {string} */ (reader.readString());
|
|
17930
|
-
msg.
|
|
19778
|
+
msg.setDeliverybatchname(value);
|
|
17931
19779
|
break;
|
|
17932
19780
|
case 13:
|
|
17933
19781
|
var value = /** @type {string} */ (reader.readString());
|
|
17934
|
-
msg.
|
|
19782
|
+
msg.setSettlementdate(value);
|
|
17935
19783
|
break;
|
|
17936
19784
|
case 14:
|
|
17937
19785
|
var value = /** @type {string} */ (reader.readString());
|
|
17938
|
-
msg.
|
|
19786
|
+
msg.setReceiptid(value);
|
|
17939
19787
|
break;
|
|
17940
19788
|
case 15:
|
|
17941
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17942
|
-
msg.setBsb(value);
|
|
17943
|
-
break;
|
|
17944
|
-
case 16:
|
|
17945
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17946
|
-
msg.setAccountnumber(value);
|
|
17947
|
-
break;
|
|
17948
|
-
case 17:
|
|
17949
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17950
|
-
msg.setAccountname(value);
|
|
17951
|
-
break;
|
|
17952
|
-
case 18:
|
|
17953
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17954
|
-
msg.setSmereference(value);
|
|
17955
|
-
break;
|
|
17956
|
-
case 19:
|
|
17957
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17958
|
-
msg.setDeliverybatchname(value);
|
|
17959
|
-
break;
|
|
17960
|
-
case 20:
|
|
17961
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17962
|
-
msg.setSettlementdate(value);
|
|
17963
|
-
break;
|
|
17964
|
-
case 21:
|
|
17965
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17966
|
-
msg.setBpayreceiptid(value);
|
|
17967
|
-
break;
|
|
17968
|
-
case 22:
|
|
17969
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17970
|
-
msg.setSmereceiptid(value);
|
|
17971
|
-
break;
|
|
17972
|
-
case 23:
|
|
17973
19789
|
var value = /** @type {number} */ (reader.readDouble());
|
|
17974
19790
|
msg.setRewardamount(value);
|
|
17975
19791
|
break;
|
|
19792
|
+
case 16:
|
|
19793
|
+
var value = new proto.agentbillingserviceapi.BillConfig;
|
|
19794
|
+
reader.readMessage(value,proto.agentbillingserviceapi.BillConfig.deserializeBinaryFromReader);
|
|
19795
|
+
msg.addBillconfigs(value);
|
|
19796
|
+
break;
|
|
17976
19797
|
default:
|
|
17977
19798
|
reader.skipField();
|
|
17978
19799
|
break;
|
|
@@ -18079,88 +19900,40 @@ proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = func
|
|
|
18079
19900
|
f
|
|
18080
19901
|
);
|
|
18081
19902
|
}
|
|
18082
|
-
f = message.
|
|
19903
|
+
f = message.getDeliverybatchname();
|
|
18083
19904
|
if (f.length > 0) {
|
|
18084
19905
|
writer.writeString(
|
|
18085
19906
|
12,
|
|
18086
19907
|
f
|
|
18087
19908
|
);
|
|
18088
19909
|
}
|
|
18089
|
-
f = message.
|
|
19910
|
+
f = message.getSettlementdate();
|
|
18090
19911
|
if (f.length > 0) {
|
|
18091
19912
|
writer.writeString(
|
|
18092
19913
|
13,
|
|
18093
19914
|
f
|
|
18094
19915
|
);
|
|
18095
19916
|
}
|
|
18096
|
-
f = message.
|
|
19917
|
+
f = message.getReceiptid();
|
|
18097
19918
|
if (f.length > 0) {
|
|
18098
19919
|
writer.writeString(
|
|
18099
19920
|
14,
|
|
18100
19921
|
f
|
|
18101
19922
|
);
|
|
18102
19923
|
}
|
|
18103
|
-
f = message.
|
|
18104
|
-
if (f
|
|
18105
|
-
writer.
|
|
19924
|
+
f = message.getRewardamount();
|
|
19925
|
+
if (f !== 0.0) {
|
|
19926
|
+
writer.writeDouble(
|
|
18106
19927
|
15,
|
|
18107
19928
|
f
|
|
18108
19929
|
);
|
|
18109
19930
|
}
|
|
18110
|
-
f = message.
|
|
19931
|
+
f = message.getBillconfigsList();
|
|
18111
19932
|
if (f.length > 0) {
|
|
18112
|
-
writer.
|
|
19933
|
+
writer.writeRepeatedMessage(
|
|
18113
19934
|
16,
|
|
18114
|
-
f
|
|
18115
|
-
|
|
18116
|
-
}
|
|
18117
|
-
f = message.getAccountname();
|
|
18118
|
-
if (f.length > 0) {
|
|
18119
|
-
writer.writeString(
|
|
18120
|
-
17,
|
|
18121
|
-
f
|
|
18122
|
-
);
|
|
18123
|
-
}
|
|
18124
|
-
f = message.getSmereference();
|
|
18125
|
-
if (f.length > 0) {
|
|
18126
|
-
writer.writeString(
|
|
18127
|
-
18,
|
|
18128
|
-
f
|
|
18129
|
-
);
|
|
18130
|
-
}
|
|
18131
|
-
f = message.getDeliverybatchname();
|
|
18132
|
-
if (f.length > 0) {
|
|
18133
|
-
writer.writeString(
|
|
18134
|
-
19,
|
|
18135
|
-
f
|
|
18136
|
-
);
|
|
18137
|
-
}
|
|
18138
|
-
f = message.getSettlementdate();
|
|
18139
|
-
if (f.length > 0) {
|
|
18140
|
-
writer.writeString(
|
|
18141
|
-
20,
|
|
18142
|
-
f
|
|
18143
|
-
);
|
|
18144
|
-
}
|
|
18145
|
-
f = message.getBpayreceiptid();
|
|
18146
|
-
if (f.length > 0) {
|
|
18147
|
-
writer.writeString(
|
|
18148
|
-
21,
|
|
18149
|
-
f
|
|
18150
|
-
);
|
|
18151
|
-
}
|
|
18152
|
-
f = message.getSmereceiptid();
|
|
18153
|
-
if (f.length > 0) {
|
|
18154
|
-
writer.writeString(
|
|
18155
|
-
22,
|
|
18156
|
-
f
|
|
18157
|
-
);
|
|
18158
|
-
}
|
|
18159
|
-
f = message.getRewardamount();
|
|
18160
|
-
if (f !== 0.0) {
|
|
18161
|
-
writer.writeDouble(
|
|
18162
|
-
23,
|
|
18163
|
-
f
|
|
19935
|
+
f,
|
|
19936
|
+
proto.agentbillingserviceapi.BillConfig.serializeBinaryToWriter
|
|
18164
19937
|
);
|
|
18165
19938
|
}
|
|
18166
19939
|
};
|
|
@@ -18365,10 +20138,10 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDescription = fun
|
|
|
18365
20138
|
|
|
18366
20139
|
|
|
18367
20140
|
/**
|
|
18368
|
-
* optional string
|
|
20141
|
+
* optional string deliveryBatchName = 12;
|
|
18369
20142
|
* @return {string}
|
|
18370
20143
|
*/
|
|
18371
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20144
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
|
|
18372
20145
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
18373
20146
|
};
|
|
18374
20147
|
|
|
@@ -18377,16 +20150,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getInvoicenumber = f
|
|
|
18377
20150
|
* @param {string} value
|
|
18378
20151
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18379
20152
|
*/
|
|
18380
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20153
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
|
|
18381
20154
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
18382
20155
|
};
|
|
18383
20156
|
|
|
18384
20157
|
|
|
18385
20158
|
/**
|
|
18386
|
-
* optional string
|
|
20159
|
+
* optional string settlementDate = 13;
|
|
18387
20160
|
* @return {string}
|
|
18388
20161
|
*/
|
|
18389
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20162
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
|
|
18390
20163
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
18391
20164
|
};
|
|
18392
20165
|
|
|
@@ -18395,16 +20168,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillercode = func
|
|
|
18395
20168
|
* @param {string} value
|
|
18396
20169
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18397
20170
|
*/
|
|
18398
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20171
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
|
|
18399
20172
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
18400
20173
|
};
|
|
18401
20174
|
|
|
18402
20175
|
|
|
18403
20176
|
/**
|
|
18404
|
-
* optional string
|
|
20177
|
+
* optional string receiptId = 14;
|
|
18405
20178
|
* @return {string}
|
|
18406
20179
|
*/
|
|
18407
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20180
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getReceiptid = function() {
|
|
18408
20181
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
18409
20182
|
};
|
|
18410
20183
|
|
|
@@ -18413,170 +20186,64 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreference = f
|
|
|
18413
20186
|
* @param {string} value
|
|
18414
20187
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18415
20188
|
*/
|
|
18416
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
20189
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setReceiptid = function(value) {
|
|
18417
20190
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
18418
20191
|
};
|
|
18419
20192
|
|
|
18420
20193
|
|
|
18421
20194
|
/**
|
|
18422
|
-
* optional
|
|
18423
|
-
* @return {
|
|
18424
|
-
*/
|
|
18425
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBsb = function() {
|
|
18426
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
18427
|
-
};
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
/**
|
|
18431
|
-
* @param {string} value
|
|
18432
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18433
|
-
*/
|
|
18434
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBsb = function(value) {
|
|
18435
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
18436
|
-
};
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
/**
|
|
18440
|
-
* optional string accountNumber = 16;
|
|
18441
|
-
* @return {string}
|
|
18442
|
-
*/
|
|
18443
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountnumber = function() {
|
|
18444
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
18445
|
-
};
|
|
18446
|
-
|
|
18447
|
-
|
|
18448
|
-
/**
|
|
18449
|
-
* @param {string} value
|
|
18450
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18451
|
-
*/
|
|
18452
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountnumber = function(value) {
|
|
18453
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
18454
|
-
};
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
/**
|
|
18458
|
-
* optional string accountName = 17;
|
|
18459
|
-
* @return {string}
|
|
18460
|
-
*/
|
|
18461
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountname = function() {
|
|
18462
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
18463
|
-
};
|
|
18464
|
-
|
|
18465
|
-
|
|
18466
|
-
/**
|
|
18467
|
-
* @param {string} value
|
|
18468
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18469
|
-
*/
|
|
18470
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountname = function(value) {
|
|
18471
|
-
return jspb.Message.setProto3StringField(this, 17, value);
|
|
18472
|
-
};
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
/**
|
|
18476
|
-
* optional string smeReference = 18;
|
|
18477
|
-
* @return {string}
|
|
18478
|
-
*/
|
|
18479
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereference = function() {
|
|
18480
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
18481
|
-
};
|
|
18482
|
-
|
|
18483
|
-
|
|
18484
|
-
/**
|
|
18485
|
-
* @param {string} value
|
|
18486
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18487
|
-
*/
|
|
18488
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereference = function(value) {
|
|
18489
|
-
return jspb.Message.setProto3StringField(this, 18, value);
|
|
18490
|
-
};
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
/**
|
|
18494
|
-
* optional string deliveryBatchName = 19;
|
|
18495
|
-
* @return {string}
|
|
18496
|
-
*/
|
|
18497
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
|
|
18498
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
18499
|
-
};
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
/**
|
|
18503
|
-
* @param {string} value
|
|
18504
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18505
|
-
*/
|
|
18506
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
|
|
18507
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
18508
|
-
};
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
/**
|
|
18512
|
-
* optional string settlementDate = 20;
|
|
18513
|
-
* @return {string}
|
|
18514
|
-
*/
|
|
18515
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
|
|
18516
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
18517
|
-
};
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
/**
|
|
18521
|
-
* @param {string} value
|
|
18522
|
-
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18523
|
-
*/
|
|
18524
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
|
|
18525
|
-
return jspb.Message.setProto3StringField(this, 20, value);
|
|
18526
|
-
};
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
/**
|
|
18530
|
-
* optional string bpayReceiptId = 21;
|
|
18531
|
-
* @return {string}
|
|
20195
|
+
* optional double rewardAmount = 15;
|
|
20196
|
+
* @return {number}
|
|
18532
20197
|
*/
|
|
18533
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18534
|
-
return /** @type {
|
|
20198
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRewardamount = function() {
|
|
20199
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
18535
20200
|
};
|
|
18536
20201
|
|
|
18537
20202
|
|
|
18538
20203
|
/**
|
|
18539
|
-
* @param {
|
|
20204
|
+
* @param {number} value
|
|
18540
20205
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18541
20206
|
*/
|
|
18542
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18543
|
-
return jspb.Message.
|
|
20207
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = function(value) {
|
|
20208
|
+
return jspb.Message.setProto3FloatField(this, 15, value);
|
|
18544
20209
|
};
|
|
18545
20210
|
|
|
18546
20211
|
|
|
18547
20212
|
/**
|
|
18548
|
-
*
|
|
18549
|
-
* @return {
|
|
20213
|
+
* repeated BillConfig billConfigs = 16;
|
|
20214
|
+
* @return {!Array<!proto.agentbillingserviceapi.BillConfig>}
|
|
18550
20215
|
*/
|
|
18551
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18552
|
-
return /** @type
|
|
20216
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillconfigsList = function() {
|
|
20217
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.BillConfig>} */ (
|
|
20218
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfig, 16));
|
|
18553
20219
|
};
|
|
18554
20220
|
|
|
18555
20221
|
|
|
18556
20222
|
/**
|
|
18557
|
-
* @param {
|
|
20223
|
+
* @param {!Array<!proto.agentbillingserviceapi.BillConfig>} value
|
|
18558
20224
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18559
|
-
|
|
18560
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18561
|
-
return jspb.Message.
|
|
20225
|
+
*/
|
|
20226
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillconfigsList = function(value) {
|
|
20227
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
18562
20228
|
};
|
|
18563
20229
|
|
|
18564
20230
|
|
|
18565
20231
|
/**
|
|
18566
|
-
*
|
|
18567
|
-
* @
|
|
20232
|
+
* @param {!proto.agentbillingserviceapi.BillConfig=} opt_value
|
|
20233
|
+
* @param {number=} opt_index
|
|
20234
|
+
* @return {!proto.agentbillingserviceapi.BillConfig}
|
|
18568
20235
|
*/
|
|
18569
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18570
|
-
return
|
|
20236
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.addBillconfigs = function(opt_value, opt_index) {
|
|
20237
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.agentbillingserviceapi.BillConfig, opt_index);
|
|
18571
20238
|
};
|
|
18572
20239
|
|
|
18573
20240
|
|
|
18574
20241
|
/**
|
|
18575
|
-
*
|
|
20242
|
+
* Clears the list making it empty but non-null.
|
|
18576
20243
|
* @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
|
|
18577
20244
|
*/
|
|
18578
|
-
proto.agentbillingserviceapi.AgentBillTransaction.prototype.
|
|
18579
|
-
return
|
|
20245
|
+
proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearBillconfigsList = function() {
|
|
20246
|
+
return this.setBillconfigsList([]);
|
|
18580
20247
|
};
|
|
18581
20248
|
|
|
18582
20249
|
|
|
@@ -19891,6 +21558,27 @@ proto.agentbillingserviceapi.BillConfig.prototype.setAttachmentid = function(val
|
|
|
19891
21558
|
};
|
|
19892
21559
|
|
|
19893
21560
|
|
|
21561
|
+
/**
|
|
21562
|
+
* @enum {number}
|
|
21563
|
+
*/
|
|
21564
|
+
proto.agentbillingserviceapi.BillScanType = {
|
|
21565
|
+
SNIIP: 0,
|
|
21566
|
+
BPAY: 1,
|
|
21567
|
+
AUSPOST: 2,
|
|
21568
|
+
XERO: 3,
|
|
21569
|
+
HYBRID: 4,
|
|
21570
|
+
SME: 5
|
|
21571
|
+
};
|
|
21572
|
+
|
|
21573
|
+
/**
|
|
21574
|
+
* @enum {number}
|
|
21575
|
+
*/
|
|
21576
|
+
proto.agentbillingserviceapi.AttachmentStatus = {
|
|
21577
|
+
FAILED: 0,
|
|
21578
|
+
PROCESSING: 1,
|
|
21579
|
+
SUCCEED: 2
|
|
21580
|
+
};
|
|
21581
|
+
|
|
19894
21582
|
/**
|
|
19895
21583
|
* @enum {number}
|
|
19896
21584
|
*/
|