@sniipwebmaster/agent-billing-client-grpcweb 24.2.1567 → 24.2.1593
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 +2026 -158
- 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
|
|
@@ -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.
|
|
@@ -5869,94 +6018,1801 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setIsdraft = funct
|
|
|
5869
6018
|
|
|
5870
6019
|
|
|
5871
6020
|
/**
|
|
5872
|
-
* optional bool requiresReview = 12;
|
|
5873
|
-
* @return {boolean}
|
|
6021
|
+
* optional bool requiresReview = 12;
|
|
6022
|
+
* @return {boolean}
|
|
6023
|
+
*/
|
|
6024
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getRequiresreview = function() {
|
|
6025
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
6026
|
+
};
|
|
6027
|
+
|
|
6028
|
+
|
|
6029
|
+
/**
|
|
6030
|
+
* @param {boolean} value
|
|
6031
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6032
|
+
*/
|
|
6033
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setRequiresreview = function(value) {
|
|
6034
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
6035
|
+
};
|
|
6036
|
+
|
|
6037
|
+
|
|
6038
|
+
/**
|
|
6039
|
+
* optional bool hasBeenImported = 13;
|
|
6040
|
+
* @return {boolean}
|
|
6041
|
+
*/
|
|
6042
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getHasbeenimported = function() {
|
|
6043
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
6044
|
+
};
|
|
6045
|
+
|
|
6046
|
+
|
|
6047
|
+
/**
|
|
6048
|
+
* @param {boolean} value
|
|
6049
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6050
|
+
*/
|
|
6051
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setHasbeenimported = function(value) {
|
|
6052
|
+
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
6053
|
+
};
|
|
6054
|
+
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* optional int64 agentBillId = 14;
|
|
6058
|
+
* @return {number}
|
|
6059
|
+
*/
|
|
6060
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAgentbillid = function() {
|
|
6061
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6062
|
+
};
|
|
6063
|
+
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* @param {number} value
|
|
6067
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6068
|
+
*/
|
|
6069
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAgentbillid = function(value) {
|
|
6070
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
6071
|
+
};
|
|
6072
|
+
|
|
6073
|
+
|
|
6074
|
+
/**
|
|
6075
|
+
* repeated BillConfigRequest billConfigs = 15;
|
|
6076
|
+
* @return {!Array<!proto.agentbillingserviceapi.BillConfigRequest>}
|
|
6077
|
+
*/
|
|
6078
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillconfigsList = function() {
|
|
6079
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.BillConfigRequest>} */ (
|
|
6080
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfigRequest, 15));
|
|
6081
|
+
};
|
|
6082
|
+
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
* @param {!Array<!proto.agentbillingserviceapi.BillConfigRequest>} value
|
|
6086
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6087
|
+
*/
|
|
6088
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillconfigsList = function(value) {
|
|
6089
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @param {!proto.agentbillingserviceapi.BillConfigRequest=} opt_value
|
|
6095
|
+
* @param {number=} opt_index
|
|
6096
|
+
* @return {!proto.agentbillingserviceapi.BillConfigRequest}
|
|
6097
|
+
*/
|
|
6098
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.addBillconfigs = function(opt_value, opt_index) {
|
|
6099
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.agentbillingserviceapi.BillConfigRequest, opt_index);
|
|
6100
|
+
};
|
|
6101
|
+
|
|
6102
|
+
|
|
6103
|
+
/**
|
|
6104
|
+
* Clears the list making it empty but non-null.
|
|
6105
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6106
|
+
*/
|
|
6107
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.clearBillconfigsList = function() {
|
|
6108
|
+
return this.setBillconfigsList([]);
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
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
|
+
|
|
6120
|
+
|
|
6121
|
+
|
|
6122
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6123
|
+
/**
|
|
6124
|
+
* Creates an object representation of this proto.
|
|
6125
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6126
|
+
* Optional fields that are not set will be set to undefined.
|
|
6127
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6128
|
+
* For the list of reserved names please see:
|
|
6129
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6130
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6131
|
+
* JSPB instance for transitional soy proto support:
|
|
6132
|
+
* http://goto/soy-param-migration
|
|
6133
|
+
* @return {!Object}
|
|
6134
|
+
*/
|
|
6135
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6136
|
+
return proto.agentbillingserviceapi.ImportAgentBillRequest.toObject(opt_includeInstance, this);
|
|
6137
|
+
};
|
|
6138
|
+
|
|
6139
|
+
|
|
6140
|
+
/**
|
|
6141
|
+
* Static version of the {@see toObject} method.
|
|
6142
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6143
|
+
* the JSPB instance for transitional soy proto support:
|
|
6144
|
+
* http://goto/soy-param-migration
|
|
6145
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} msg The msg instance to transform.
|
|
6146
|
+
* @return {!Object}
|
|
6147
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6148
|
+
*/
|
|
6149
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.toObject = function(includeInstance, msg) {
|
|
6150
|
+
var f, obj = {
|
|
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, "")
|
|
6180
|
+
};
|
|
6181
|
+
|
|
6182
|
+
if (includeInstance) {
|
|
6183
|
+
obj.$jspbMessageInstance = msg;
|
|
6184
|
+
}
|
|
6185
|
+
return obj;
|
|
6186
|
+
};
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
|
|
6190
|
+
/**
|
|
6191
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6192
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6193
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest}
|
|
6194
|
+
*/
|
|
6195
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinary = function(bytes) {
|
|
6196
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6197
|
+
var msg = new proto.agentbillingserviceapi.ImportAgentBillRequest;
|
|
6198
|
+
return proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6204
|
+
* given reader into the given message object.
|
|
6205
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} msg The message object to deserialize into.
|
|
6206
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6207
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest}
|
|
6208
|
+
*/
|
|
6209
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6210
|
+
while (reader.nextField()) {
|
|
6211
|
+
if (reader.isEndGroup()) {
|
|
6212
|
+
break;
|
|
6213
|
+
}
|
|
6214
|
+
var field = reader.getFieldNumber();
|
|
6215
|
+
switch (field) {
|
|
6216
|
+
case 1:
|
|
6217
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6218
|
+
msg.setBillerid(value);
|
|
6219
|
+
break;
|
|
6220
|
+
case 2:
|
|
6221
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6222
|
+
msg.setUserid(value);
|
|
6223
|
+
break;
|
|
6224
|
+
case 3:
|
|
6225
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6226
|
+
msg.setType(value);
|
|
6227
|
+
break;
|
|
6228
|
+
case 4:
|
|
6229
|
+
var value = /** @type {!proto.agentbillingserviceapi.BillScanType} */ (reader.readEnum());
|
|
6230
|
+
msg.setPaymentprocessor(value);
|
|
6231
|
+
break;
|
|
6232
|
+
case 5:
|
|
6233
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6234
|
+
msg.setAmount(value);
|
|
6235
|
+
break;
|
|
6236
|
+
case 6:
|
|
6237
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6238
|
+
msg.setOverdueamount(value);
|
|
6239
|
+
break;
|
|
6240
|
+
case 7:
|
|
6241
|
+
var value = /** @type {string} */ (reader.readString());
|
|
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);
|
|
6328
|
+
break;
|
|
6329
|
+
default:
|
|
6330
|
+
reader.skipField();
|
|
6331
|
+
break;
|
|
6332
|
+
}
|
|
6333
|
+
}
|
|
6334
|
+
return msg;
|
|
6335
|
+
};
|
|
6336
|
+
|
|
6337
|
+
|
|
6338
|
+
/**
|
|
6339
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6340
|
+
* @return {!Uint8Array}
|
|
6341
|
+
*/
|
|
6342
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.serializeBinary = function() {
|
|
6343
|
+
var writer = new jspb.BinaryWriter();
|
|
6344
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.serializeBinaryToWriter(this, writer);
|
|
6345
|
+
return writer.getResultBuffer();
|
|
6346
|
+
};
|
|
6347
|
+
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6351
|
+
* format), writing to the given BinaryWriter.
|
|
6352
|
+
* @param {!proto.agentbillingserviceapi.ImportAgentBillRequest} message
|
|
6353
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6354
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6355
|
+
*/
|
|
6356
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6357
|
+
var f = undefined;
|
|
6358
|
+
f = message.getBillerid();
|
|
6359
|
+
if (f !== 0) {
|
|
6360
|
+
writer.writeInt64(
|
|
6361
|
+
1,
|
|
6362
|
+
f
|
|
6363
|
+
);
|
|
6364
|
+
}
|
|
6365
|
+
f = message.getUserid();
|
|
6366
|
+
if (f !== 0) {
|
|
6367
|
+
writer.writeInt64(
|
|
6368
|
+
2,
|
|
6369
|
+
f
|
|
6370
|
+
);
|
|
6371
|
+
}
|
|
6372
|
+
f = message.getType();
|
|
6373
|
+
if (f.length > 0) {
|
|
6374
|
+
writer.writeString(
|
|
6375
|
+
3,
|
|
6376
|
+
f
|
|
6377
|
+
);
|
|
6378
|
+
}
|
|
6379
|
+
f = message.getPaymentprocessor();
|
|
6380
|
+
if (f !== 0.0) {
|
|
6381
|
+
writer.writeEnum(
|
|
6382
|
+
4,
|
|
6383
|
+
f
|
|
6384
|
+
);
|
|
6385
|
+
}
|
|
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();
|
|
6401
|
+
if (f.length > 0) {
|
|
6402
|
+
writer.writeString(
|
|
6403
|
+
7,
|
|
6404
|
+
f
|
|
6405
|
+
);
|
|
6406
|
+
}
|
|
6407
|
+
f = message.getSource();
|
|
6408
|
+
if (f.length > 0) {
|
|
6409
|
+
writer.writeString(
|
|
6410
|
+
8,
|
|
6411
|
+
f
|
|
6412
|
+
);
|
|
6413
|
+
}
|
|
6414
|
+
f = message.getScannedcontent();
|
|
6415
|
+
if (f.length > 0) {
|
|
6416
|
+
writer.writeString(
|
|
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,
|
|
6552
|
+
f
|
|
6553
|
+
);
|
|
6554
|
+
}
|
|
6555
|
+
};
|
|
6556
|
+
|
|
6557
|
+
|
|
6558
|
+
/**
|
|
6559
|
+
* optional int64 billerId = 1;
|
|
6560
|
+
* @return {number}
|
|
6561
|
+
*/
|
|
6562
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getBillerid = function() {
|
|
6563
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6564
|
+
};
|
|
6565
|
+
|
|
6566
|
+
|
|
6567
|
+
/**
|
|
6568
|
+
* @param {number} value
|
|
6569
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6570
|
+
*/
|
|
6571
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setBillerid = function(value) {
|
|
6572
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6573
|
+
};
|
|
6574
|
+
|
|
6575
|
+
|
|
6576
|
+
/**
|
|
6577
|
+
* optional int64 userId = 2;
|
|
6578
|
+
* @return {number}
|
|
6579
|
+
*/
|
|
6580
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getUserid = function() {
|
|
6581
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6582
|
+
};
|
|
6583
|
+
|
|
6584
|
+
|
|
6585
|
+
/**
|
|
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;
|
|
6596
|
+
* @return {string}
|
|
6597
|
+
*/
|
|
6598
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getType = function() {
|
|
6599
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6600
|
+
};
|
|
6601
|
+
|
|
6602
|
+
|
|
6603
|
+
/**
|
|
6604
|
+
* @param {string} value
|
|
6605
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6606
|
+
*/
|
|
6607
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setType = function(value) {
|
|
6608
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6609
|
+
};
|
|
6610
|
+
|
|
6611
|
+
|
|
6612
|
+
/**
|
|
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;
|
|
6668
|
+
* @return {string}
|
|
6669
|
+
*/
|
|
6670
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getDuedate = function() {
|
|
6671
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6672
|
+
};
|
|
6673
|
+
|
|
6674
|
+
|
|
6675
|
+
/**
|
|
6676
|
+
* @param {string} value
|
|
6677
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6678
|
+
*/
|
|
6679
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setDuedate = function(value) {
|
|
6680
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6681
|
+
};
|
|
6682
|
+
|
|
6683
|
+
|
|
6684
|
+
/**
|
|
6685
|
+
* optional string source = 8;
|
|
6686
|
+
* @return {string}
|
|
6687
|
+
*/
|
|
6688
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.getSource = function() {
|
|
6689
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
6690
|
+
};
|
|
6691
|
+
|
|
6692
|
+
|
|
6693
|
+
/**
|
|
6694
|
+
* @param {string} value
|
|
6695
|
+
* @return {!proto.agentbillingserviceapi.ImportAgentBillRequest} returns this
|
|
6696
|
+
*/
|
|
6697
|
+
proto.agentbillingserviceapi.ImportAgentBillRequest.prototype.setSource = function(value) {
|
|
6698
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
6699
|
+
};
|
|
6700
|
+
|
|
6701
|
+
|
|
6702
|
+
/**
|
|
6703
|
+
* optional string scannedContent = 9;
|
|
6704
|
+
* @return {string}
|
|
6705
|
+
*/
|
|
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}
|
|
5874
7708
|
*/
|
|
5875
|
-
proto.agentbillingserviceapi.
|
|
5876
|
-
|
|
7709
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.serializeBinary = function() {
|
|
7710
|
+
var writer = new jspb.BinaryWriter();
|
|
7711
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.serializeBinaryToWriter(this, writer);
|
|
7712
|
+
return writer.getResultBuffer();
|
|
5877
7713
|
};
|
|
5878
7714
|
|
|
5879
7715
|
|
|
5880
7716
|
/**
|
|
5881
|
-
*
|
|
5882
|
-
*
|
|
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
|
|
5883
7722
|
*/
|
|
5884
|
-
proto.agentbillingserviceapi.
|
|
5885
|
-
|
|
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
|
+
}
|
|
5886
7741
|
};
|
|
5887
7742
|
|
|
5888
7743
|
|
|
5889
7744
|
/**
|
|
5890
|
-
* optional
|
|
5891
|
-
* @return {
|
|
7745
|
+
* optional ResponseCode responseCode = 1;
|
|
7746
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
5892
7747
|
*/
|
|
5893
|
-
proto.agentbillingserviceapi.
|
|
5894
|
-
return /** @type
|
|
7748
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.getResponsecode = function() {
|
|
7749
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
7750
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
5895
7751
|
};
|
|
5896
7752
|
|
|
5897
7753
|
|
|
5898
7754
|
/**
|
|
5899
|
-
* @param {
|
|
5900
|
-
* @return {!proto.agentbillingserviceapi.
|
|
5901
|
-
|
|
5902
|
-
proto.agentbillingserviceapi.
|
|
5903
|
-
return jspb.Message.
|
|
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);
|
|
5904
7760
|
};
|
|
5905
7761
|
|
|
5906
7762
|
|
|
5907
7763
|
/**
|
|
5908
|
-
*
|
|
5909
|
-
* @return {
|
|
7764
|
+
* Clears the message field making it undefined.
|
|
7765
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
5910
7766
|
*/
|
|
5911
|
-
proto.agentbillingserviceapi.
|
|
5912
|
-
return
|
|
7767
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.clearResponsecode = function() {
|
|
7768
|
+
return this.setResponsecode(undefined);
|
|
5913
7769
|
};
|
|
5914
7770
|
|
|
5915
7771
|
|
|
5916
7772
|
/**
|
|
5917
|
-
*
|
|
5918
|
-
* @return {
|
|
7773
|
+
* Returns whether this field is set.
|
|
7774
|
+
* @return {boolean}
|
|
5919
7775
|
*/
|
|
5920
|
-
proto.agentbillingserviceapi.
|
|
5921
|
-
return jspb.Message.
|
|
7776
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.hasResponsecode = function() {
|
|
7777
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5922
7778
|
};
|
|
5923
7779
|
|
|
5924
7780
|
|
|
5925
7781
|
/**
|
|
5926
|
-
* repeated
|
|
5927
|
-
* @return {!Array<!proto.agentbillingserviceapi.
|
|
7782
|
+
* repeated AgentAttachmentInfo attachments = 2;
|
|
7783
|
+
* @return {!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>}
|
|
5928
7784
|
*/
|
|
5929
|
-
proto.agentbillingserviceapi.
|
|
5930
|
-
return /** @type{!Array<!proto.agentbillingserviceapi.
|
|
5931
|
-
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.
|
|
7785
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.getAttachmentsList = function() {
|
|
7786
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>} */ (
|
|
7787
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentAttachmentInfo, 2));
|
|
5932
7788
|
};
|
|
5933
7789
|
|
|
5934
7790
|
|
|
5935
7791
|
/**
|
|
5936
|
-
* @param {!Array<!proto.agentbillingserviceapi.
|
|
5937
|
-
* @return {!proto.agentbillingserviceapi.
|
|
7792
|
+
* @param {!Array<!proto.agentbillingserviceapi.AgentAttachmentInfo>} value
|
|
7793
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
5938
7794
|
*/
|
|
5939
|
-
proto.agentbillingserviceapi.
|
|
5940
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
7795
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.setAttachmentsList = function(value) {
|
|
7796
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5941
7797
|
};
|
|
5942
7798
|
|
|
5943
7799
|
|
|
5944
7800
|
/**
|
|
5945
|
-
* @param {!proto.agentbillingserviceapi.
|
|
7801
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo=} opt_value
|
|
5946
7802
|
* @param {number=} opt_index
|
|
5947
|
-
* @return {!proto.agentbillingserviceapi.
|
|
7803
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
5948
7804
|
*/
|
|
5949
|
-
proto.agentbillingserviceapi.
|
|
5950
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
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);
|
|
5951
7807
|
};
|
|
5952
7808
|
|
|
5953
7809
|
|
|
5954
7810
|
/**
|
|
5955
7811
|
* Clears the list making it empty but non-null.
|
|
5956
|
-
* @return {!proto.agentbillingserviceapi.
|
|
7812
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentsResponse} returns this
|
|
5957
7813
|
*/
|
|
5958
|
-
proto.agentbillingserviceapi.
|
|
5959
|
-
return this.
|
|
7814
|
+
proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.clearAttachmentsList = function() {
|
|
7815
|
+
return this.setAttachmentsList([]);
|
|
5960
7816
|
};
|
|
5961
7817
|
|
|
5962
7818
|
|
|
@@ -5976,8 +7832,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5976
7832
|
* http://goto/soy-param-migration
|
|
5977
7833
|
* @return {!Object}
|
|
5978
7834
|
*/
|
|
5979
|
-
proto.agentbillingserviceapi.
|
|
5980
|
-
return proto.agentbillingserviceapi.
|
|
7835
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.toObject = function(opt_includeInstance) {
|
|
7836
|
+
return proto.agentbillingserviceapi.AgentAttachmentInfo.toObject(opt_includeInstance, this);
|
|
5981
7837
|
};
|
|
5982
7838
|
|
|
5983
7839
|
|
|
@@ -5986,19 +7842,19 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.toObject = function(opt
|
|
|
5986
7842
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5987
7843
|
* the JSPB instance for transitional soy proto support:
|
|
5988
7844
|
* http://goto/soy-param-migration
|
|
5989
|
-
* @param {!proto.agentbillingserviceapi.
|
|
7845
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} msg The msg instance to transform.
|
|
5990
7846
|
* @return {!Object}
|
|
5991
7847
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5992
7848
|
*/
|
|
5993
|
-
proto.agentbillingserviceapi.
|
|
7849
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.toObject = function(includeInstance, msg) {
|
|
5994
7850
|
var f, obj = {
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
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, "")
|
|
6002
7858
|
};
|
|
6003
7859
|
|
|
6004
7860
|
if (includeInstance) {
|
|
@@ -6012,23 +7868,23 @@ proto.agentbillingserviceapi.BillConfigRequest.toObject = function(includeInstan
|
|
|
6012
7868
|
/**
|
|
6013
7869
|
* Deserializes binary data (in protobuf wire format).
|
|
6014
7870
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6015
|
-
* @return {!proto.agentbillingserviceapi.
|
|
7871
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
6016
7872
|
*/
|
|
6017
|
-
proto.agentbillingserviceapi.
|
|
7873
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinary = function(bytes) {
|
|
6018
7874
|
var reader = new jspb.BinaryReader(bytes);
|
|
6019
|
-
var msg = new proto.agentbillingserviceapi.
|
|
6020
|
-
return proto.agentbillingserviceapi.
|
|
7875
|
+
var msg = new proto.agentbillingserviceapi.AgentAttachmentInfo;
|
|
7876
|
+
return proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader(msg, reader);
|
|
6021
7877
|
};
|
|
6022
7878
|
|
|
6023
7879
|
|
|
6024
7880
|
/**
|
|
6025
7881
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6026
7882
|
* given reader into the given message object.
|
|
6027
|
-
* @param {!proto.agentbillingserviceapi.
|
|
7883
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} msg The message object to deserialize into.
|
|
6028
7884
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6029
|
-
* @return {!proto.agentbillingserviceapi.
|
|
7885
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo}
|
|
6030
7886
|
*/
|
|
6031
|
-
proto.agentbillingserviceapi.
|
|
7887
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
6032
7888
|
while (reader.nextField()) {
|
|
6033
7889
|
if (reader.isEndGroup()) {
|
|
6034
7890
|
break;
|
|
@@ -6036,32 +7892,32 @@ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = fun
|
|
|
6036
7892
|
var field = reader.getFieldNumber();
|
|
6037
7893
|
switch (field) {
|
|
6038
7894
|
case 1:
|
|
6039
|
-
var value = /** @type {
|
|
6040
|
-
msg.
|
|
7895
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7896
|
+
msg.setAgentid(value);
|
|
6041
7897
|
break;
|
|
6042
7898
|
case 2:
|
|
6043
|
-
var value = /** @type {
|
|
6044
|
-
msg.
|
|
7899
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7900
|
+
msg.setClientid(value);
|
|
6045
7901
|
break;
|
|
6046
7902
|
case 3:
|
|
6047
|
-
var value = /** @type {
|
|
6048
|
-
msg.
|
|
7903
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7904
|
+
msg.setAttachmentid(value);
|
|
6049
7905
|
break;
|
|
6050
7906
|
case 4:
|
|
6051
|
-
var value = /** @type {
|
|
6052
|
-
msg.
|
|
7907
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7908
|
+
msg.setAgentbillid(value);
|
|
6053
7909
|
break;
|
|
6054
7910
|
case 5:
|
|
6055
|
-
var value = /** @type {
|
|
6056
|
-
msg.
|
|
7911
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7912
|
+
msg.setUploadbatchid(value);
|
|
6057
7913
|
break;
|
|
6058
7914
|
case 6:
|
|
6059
|
-
var value = /** @type {
|
|
6060
|
-
msg.
|
|
7915
|
+
var value = /** @type {!proto.agentbillingserviceapi.AttachmentStatus} */ (reader.readEnum());
|
|
7916
|
+
msg.setStatus(value);
|
|
6061
7917
|
break;
|
|
6062
7918
|
case 7:
|
|
6063
7919
|
var value = /** @type {string} */ (reader.readString());
|
|
6064
|
-
msg.
|
|
7920
|
+
msg.setUpdatedat(value);
|
|
6065
7921
|
break;
|
|
6066
7922
|
default:
|
|
6067
7923
|
reader.skipField();
|
|
@@ -6076,9 +7932,9 @@ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = fun
|
|
|
6076
7932
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6077
7933
|
* @return {!Uint8Array}
|
|
6078
7934
|
*/
|
|
6079
|
-
proto.agentbillingserviceapi.
|
|
7935
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.serializeBinary = function() {
|
|
6080
7936
|
var writer = new jspb.BinaryWriter();
|
|
6081
|
-
proto.agentbillingserviceapi.
|
|
7937
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter(this, writer);
|
|
6082
7938
|
return writer.getResultBuffer();
|
|
6083
7939
|
};
|
|
6084
7940
|
|
|
@@ -6086,55 +7942,55 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.serializeBinary = funct
|
|
|
6086
7942
|
/**
|
|
6087
7943
|
* Serializes the given message to binary data (in protobuf wire
|
|
6088
7944
|
* format), writing to the given BinaryWriter.
|
|
6089
|
-
* @param {!proto.agentbillingserviceapi.
|
|
7945
|
+
* @param {!proto.agentbillingserviceapi.AgentAttachmentInfo} message
|
|
6090
7946
|
* @param {!jspb.BinaryWriter} writer
|
|
6091
7947
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6092
7948
|
*/
|
|
6093
|
-
proto.agentbillingserviceapi.
|
|
7949
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.serializeBinaryToWriter = function(message, writer) {
|
|
6094
7950
|
var f = undefined;
|
|
6095
|
-
f = message.
|
|
6096
|
-
if (f !== 0
|
|
6097
|
-
writer.
|
|
7951
|
+
f = message.getAgentid();
|
|
7952
|
+
if (f !== 0) {
|
|
7953
|
+
writer.writeInt64(
|
|
6098
7954
|
1,
|
|
6099
7955
|
f
|
|
6100
7956
|
);
|
|
6101
7957
|
}
|
|
6102
|
-
f = message.
|
|
6103
|
-
if (f
|
|
6104
|
-
writer.
|
|
7958
|
+
f = message.getClientid();
|
|
7959
|
+
if (f !== 0) {
|
|
7960
|
+
writer.writeInt64(
|
|
6105
7961
|
2,
|
|
6106
7962
|
f
|
|
6107
7963
|
);
|
|
6108
7964
|
}
|
|
6109
|
-
f = message.
|
|
6110
|
-
if (f
|
|
6111
|
-
writer.
|
|
7965
|
+
f = message.getAttachmentid();
|
|
7966
|
+
if (f !== 0) {
|
|
7967
|
+
writer.writeInt64(
|
|
6112
7968
|
3,
|
|
6113
7969
|
f
|
|
6114
7970
|
);
|
|
6115
7971
|
}
|
|
6116
|
-
f = message.
|
|
6117
|
-
if (f
|
|
6118
|
-
writer.
|
|
7972
|
+
f = message.getAgentbillid();
|
|
7973
|
+
if (f !== 0) {
|
|
7974
|
+
writer.writeInt64(
|
|
6119
7975
|
4,
|
|
6120
7976
|
f
|
|
6121
7977
|
);
|
|
6122
7978
|
}
|
|
6123
|
-
f = message.
|
|
6124
|
-
if (f
|
|
6125
|
-
writer.
|
|
7979
|
+
f = message.getUploadbatchid();
|
|
7980
|
+
if (f !== 0) {
|
|
7981
|
+
writer.writeInt64(
|
|
6126
7982
|
5,
|
|
6127
7983
|
f
|
|
6128
7984
|
);
|
|
6129
7985
|
}
|
|
6130
|
-
f = message.
|
|
6131
|
-
if (f
|
|
6132
|
-
writer.
|
|
7986
|
+
f = message.getStatus();
|
|
7987
|
+
if (f !== 0.0) {
|
|
7988
|
+
writer.writeEnum(
|
|
6133
7989
|
6,
|
|
6134
7990
|
f
|
|
6135
7991
|
);
|
|
6136
7992
|
}
|
|
6137
|
-
f = message.
|
|
7993
|
+
f = message.getUpdatedat();
|
|
6138
7994
|
if (f.length > 0) {
|
|
6139
7995
|
writer.writeString(
|
|
6140
7996
|
7,
|
|
@@ -6145,136 +8001,127 @@ proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter = functio
|
|
|
6145
8001
|
|
|
6146
8002
|
|
|
6147
8003
|
/**
|
|
6148
|
-
*
|
|
6149
|
-
|
|
6150
|
-
proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor = {
|
|
6151
|
-
UNKNOWN: 0,
|
|
6152
|
-
BPAY: 1,
|
|
6153
|
-
SME: 2
|
|
6154
|
-
};
|
|
6155
|
-
|
|
6156
|
-
/**
|
|
6157
|
-
* optional PaymentProcessor paymentProcessor = 1;
|
|
6158
|
-
* @return {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor}
|
|
8004
|
+
* optional int64 agentId = 1;
|
|
8005
|
+
* @return {number}
|
|
6159
8006
|
*/
|
|
6160
|
-
proto.agentbillingserviceapi.
|
|
6161
|
-
return /** @type {
|
|
8007
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAgentid = function() {
|
|
8008
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6162
8009
|
};
|
|
6163
8010
|
|
|
6164
8011
|
|
|
6165
8012
|
/**
|
|
6166
|
-
* @param {
|
|
6167
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8013
|
+
* @param {number} value
|
|
8014
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6168
8015
|
*/
|
|
6169
|
-
proto.agentbillingserviceapi.
|
|
6170
|
-
return jspb.Message.
|
|
8016
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAgentid = function(value) {
|
|
8017
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6171
8018
|
};
|
|
6172
8019
|
|
|
6173
8020
|
|
|
6174
8021
|
/**
|
|
6175
|
-
* optional
|
|
6176
|
-
* @return {
|
|
8022
|
+
* optional int64 clientId = 2;
|
|
8023
|
+
* @return {number}
|
|
6177
8024
|
*/
|
|
6178
|
-
proto.agentbillingserviceapi.
|
|
6179
|
-
return /** @type {
|
|
8025
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getClientid = function() {
|
|
8026
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6180
8027
|
};
|
|
6181
8028
|
|
|
6182
8029
|
|
|
6183
8030
|
/**
|
|
6184
|
-
* @param {
|
|
6185
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8031
|
+
* @param {number} value
|
|
8032
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6186
8033
|
*/
|
|
6187
|
-
proto.agentbillingserviceapi.
|
|
6188
|
-
return jspb.Message.
|
|
8034
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setClientid = function(value) {
|
|
8035
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6189
8036
|
};
|
|
6190
8037
|
|
|
6191
8038
|
|
|
6192
8039
|
/**
|
|
6193
|
-
* optional
|
|
6194
|
-
* @return {
|
|
8040
|
+
* optional int64 attachmentId = 3;
|
|
8041
|
+
* @return {number}
|
|
6195
8042
|
*/
|
|
6196
|
-
proto.agentbillingserviceapi.
|
|
6197
|
-
return /** @type {
|
|
8043
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAttachmentid = function() {
|
|
8044
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6198
8045
|
};
|
|
6199
8046
|
|
|
6200
8047
|
|
|
6201
8048
|
/**
|
|
6202
|
-
* @param {
|
|
6203
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8049
|
+
* @param {number} value
|
|
8050
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6204
8051
|
*/
|
|
6205
|
-
proto.agentbillingserviceapi.
|
|
6206
|
-
return jspb.Message.
|
|
8052
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAttachmentid = function(value) {
|
|
8053
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
6207
8054
|
};
|
|
6208
8055
|
|
|
6209
8056
|
|
|
6210
8057
|
/**
|
|
6211
|
-
* optional
|
|
6212
|
-
* @return {
|
|
8058
|
+
* optional int64 agentBillId = 4;
|
|
8059
|
+
* @return {number}
|
|
6213
8060
|
*/
|
|
6214
|
-
proto.agentbillingserviceapi.
|
|
6215
|
-
return /** @type {
|
|
8061
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.getAgentbillid = function() {
|
|
8062
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6216
8063
|
};
|
|
6217
8064
|
|
|
6218
8065
|
|
|
6219
8066
|
/**
|
|
6220
|
-
* @param {
|
|
6221
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8067
|
+
* @param {number} value
|
|
8068
|
+
* @return {!proto.agentbillingserviceapi.AgentAttachmentInfo} returns this
|
|
6222
8069
|
*/
|
|
6223
|
-
proto.agentbillingserviceapi.
|
|
6224
|
-
return jspb.Message.
|
|
8070
|
+
proto.agentbillingserviceapi.AgentAttachmentInfo.prototype.setAgentbillid = function(value) {
|
|
8071
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
6225
8072
|
};
|
|
6226
8073
|
|
|
6227
8074
|
|
|
6228
8075
|
/**
|
|
6229
|
-
* optional
|
|
6230
|
-
* @return {
|
|
8076
|
+
* optional int64 uploadBatchId = 5;
|
|
8077
|
+
* @return {number}
|
|
6231
8078
|
*/
|
|
6232
|
-
proto.agentbillingserviceapi.
|
|
6233
|
-
return /** @type {
|
|
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
|
|
|
@@ -19711,6 +21558,27 @@ proto.agentbillingserviceapi.BillConfig.prototype.setAttachmentid = function(val
|
|
|
19711
21558
|
};
|
|
19712
21559
|
|
|
19713
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
|
+
|
|
19714
21582
|
/**
|
|
19715
21583
|
* @enum {number}
|
|
19716
21584
|
*/
|