@sniipwebmaster/agent-billing-client-grpcweb 24.12.3080 → 24.12.3100
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.
|
@@ -3296,5 +3296,66 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
3296
3296
|
};
|
|
3297
3297
|
|
|
3298
3298
|
|
|
3299
|
+
/**
|
|
3300
|
+
* @const
|
|
3301
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3302
|
+
* !proto.google.protobuf.Empty,
|
|
3303
|
+
* !proto.agentbillingserviceapi.GetAgentBillsToPayResponse>}
|
|
3304
|
+
*/
|
|
3305
|
+
const methodDescriptor_AgentBillingServiceAPIService_GetAgentBillsToPay = new grpc.web.MethodDescriptor(
|
|
3306
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsToPay',
|
|
3307
|
+
grpc.web.MethodType.UNARY,
|
|
3308
|
+
google_protobuf_empty_pb.Empty,
|
|
3309
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse,
|
|
3310
|
+
/**
|
|
3311
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
3312
|
+
* @return {!Uint8Array}
|
|
3313
|
+
*/
|
|
3314
|
+
function(request) {
|
|
3315
|
+
return request.serializeBinary();
|
|
3316
|
+
},
|
|
3317
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.deserializeBinary
|
|
3318
|
+
);
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
3323
|
+
* request proto
|
|
3324
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3325
|
+
* call metadata
|
|
3326
|
+
* @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.GetAgentBillsToPayResponse)}
|
|
3327
|
+
* callback The callback function(error, response)
|
|
3328
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAgentBillsToPayResponse>|undefined}
|
|
3329
|
+
* The XHR Node Readable Stream
|
|
3330
|
+
*/
|
|
3331
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getAgentBillsToPay =
|
|
3332
|
+
function(request, metadata, callback) {
|
|
3333
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3334
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsToPay',
|
|
3335
|
+
request,
|
|
3336
|
+
metadata || {},
|
|
3337
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillsToPay,
|
|
3338
|
+
callback);
|
|
3339
|
+
};
|
|
3340
|
+
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
3344
|
+
* request proto
|
|
3345
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3346
|
+
* call metadata
|
|
3347
|
+
* @return {!Promise<!proto.agentbillingserviceapi.GetAgentBillsToPayResponse>}
|
|
3348
|
+
* Promise that resolves to the response
|
|
3349
|
+
*/
|
|
3350
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getAgentBillsToPay =
|
|
3351
|
+
function(request, metadata) {
|
|
3352
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3353
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsToPay',
|
|
3354
|
+
request,
|
|
3355
|
+
metadata || {},
|
|
3356
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillsToPay);
|
|
3357
|
+
};
|
|
3358
|
+
|
|
3359
|
+
|
|
3299
3360
|
module.exports = proto.agentbillingserviceapi;
|
|
3300
3361
|
|
|
@@ -26,6 +26,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
|
|
|
26
26
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
|
|
27
27
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillStatus', null, global);
|
|
28
28
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransaction', null, global);
|
|
29
|
+
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillsToPay', null, global);
|
|
29
30
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
|
|
30
31
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
|
|
31
32
|
goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
|
|
@@ -75,6 +76,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillTransactionsResponse
|
|
|
75
76
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest', null, global);
|
|
76
77
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
|
|
77
78
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
|
|
79
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsToPayResponse', null, global);
|
|
78
80
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse', null, global);
|
|
79
81
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
|
|
80
82
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentResponse', null, global);
|
|
@@ -2136,6 +2138,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2136
2138
|
*/
|
|
2137
2139
|
proto.agentbillingserviceapi.CreateAgentAttachmentResponse.displayName = 'proto.agentbillingserviceapi.CreateAgentAttachmentResponse';
|
|
2138
2140
|
}
|
|
2141
|
+
/**
|
|
2142
|
+
* Generated by JsPbCodeGenerator.
|
|
2143
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2144
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2145
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2146
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2147
|
+
* valid.
|
|
2148
|
+
* @extends {jspb.Message}
|
|
2149
|
+
* @constructor
|
|
2150
|
+
*/
|
|
2151
|
+
proto.agentbillingserviceapi.AgentBillsToPay = function(opt_data) {
|
|
2152
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2153
|
+
};
|
|
2154
|
+
goog.inherits(proto.agentbillingserviceapi.AgentBillsToPay, jspb.Message);
|
|
2155
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2156
|
+
/**
|
|
2157
|
+
* @public
|
|
2158
|
+
* @override
|
|
2159
|
+
*/
|
|
2160
|
+
proto.agentbillingserviceapi.AgentBillsToPay.displayName = 'proto.agentbillingserviceapi.AgentBillsToPay';
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* Generated by JsPbCodeGenerator.
|
|
2164
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2165
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2166
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2167
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2168
|
+
* valid.
|
|
2169
|
+
* @extends {jspb.Message}
|
|
2170
|
+
* @constructor
|
|
2171
|
+
*/
|
|
2172
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse = function(opt_data) {
|
|
2173
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentBillsToPayResponse.repeatedFields_, null);
|
|
2174
|
+
};
|
|
2175
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillsToPayResponse, jspb.Message);
|
|
2176
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2177
|
+
/**
|
|
2178
|
+
* @public
|
|
2179
|
+
* @override
|
|
2180
|
+
*/
|
|
2181
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillsToPayResponse';
|
|
2182
|
+
}
|
|
2139
2183
|
|
|
2140
2184
|
|
|
2141
2185
|
|
|
@@ -26548,6 +26592,407 @@ proto.agentbillingserviceapi.CreateAgentAttachmentResponse.prototype.setAgentatt
|
|
|
26548
26592
|
};
|
|
26549
26593
|
|
|
26550
26594
|
|
|
26595
|
+
|
|
26596
|
+
|
|
26597
|
+
|
|
26598
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26599
|
+
/**
|
|
26600
|
+
* Creates an object representation of this proto.
|
|
26601
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26602
|
+
* Optional fields that are not set will be set to undefined.
|
|
26603
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26604
|
+
* For the list of reserved names please see:
|
|
26605
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26606
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26607
|
+
* JSPB instance for transitional soy proto support:
|
|
26608
|
+
* http://goto/soy-param-migration
|
|
26609
|
+
* @return {!Object}
|
|
26610
|
+
*/
|
|
26611
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.toObject = function(opt_includeInstance) {
|
|
26612
|
+
return proto.agentbillingserviceapi.AgentBillsToPay.toObject(opt_includeInstance, this);
|
|
26613
|
+
};
|
|
26614
|
+
|
|
26615
|
+
|
|
26616
|
+
/**
|
|
26617
|
+
* Static version of the {@see toObject} method.
|
|
26618
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26619
|
+
* the JSPB instance for transitional soy proto support:
|
|
26620
|
+
* http://goto/soy-param-migration
|
|
26621
|
+
* @param {!proto.agentbillingserviceapi.AgentBillsToPay} msg The msg instance to transform.
|
|
26622
|
+
* @return {!Object}
|
|
26623
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26624
|
+
*/
|
|
26625
|
+
proto.agentbillingserviceapi.AgentBillsToPay.toObject = function(includeInstance, msg) {
|
|
26626
|
+
var f, obj = {
|
|
26627
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26628
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
26629
|
+
totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
26630
|
+
};
|
|
26631
|
+
|
|
26632
|
+
if (includeInstance) {
|
|
26633
|
+
obj.$jspbMessageInstance = msg;
|
|
26634
|
+
}
|
|
26635
|
+
return obj;
|
|
26636
|
+
};
|
|
26637
|
+
}
|
|
26638
|
+
|
|
26639
|
+
|
|
26640
|
+
/**
|
|
26641
|
+
* Deserializes binary data (in protobuf wire format).
|
|
26642
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26643
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay}
|
|
26644
|
+
*/
|
|
26645
|
+
proto.agentbillingserviceapi.AgentBillsToPay.deserializeBinary = function(bytes) {
|
|
26646
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
26647
|
+
var msg = new proto.agentbillingserviceapi.AgentBillsToPay;
|
|
26648
|
+
return proto.agentbillingserviceapi.AgentBillsToPay.deserializeBinaryFromReader(msg, reader);
|
|
26649
|
+
};
|
|
26650
|
+
|
|
26651
|
+
|
|
26652
|
+
/**
|
|
26653
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
26654
|
+
* given reader into the given message object.
|
|
26655
|
+
* @param {!proto.agentbillingserviceapi.AgentBillsToPay} msg The message object to deserialize into.
|
|
26656
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26657
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay}
|
|
26658
|
+
*/
|
|
26659
|
+
proto.agentbillingserviceapi.AgentBillsToPay.deserializeBinaryFromReader = function(msg, reader) {
|
|
26660
|
+
while (reader.nextField()) {
|
|
26661
|
+
if (reader.isEndGroup()) {
|
|
26662
|
+
break;
|
|
26663
|
+
}
|
|
26664
|
+
var field = reader.getFieldNumber();
|
|
26665
|
+
switch (field) {
|
|
26666
|
+
case 1:
|
|
26667
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
26668
|
+
msg.setBillid(value);
|
|
26669
|
+
break;
|
|
26670
|
+
case 2:
|
|
26671
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
26672
|
+
msg.setAgentbillid(value);
|
|
26673
|
+
break;
|
|
26674
|
+
case 3:
|
|
26675
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
26676
|
+
msg.setTotalamount(value);
|
|
26677
|
+
break;
|
|
26678
|
+
default:
|
|
26679
|
+
reader.skipField();
|
|
26680
|
+
break;
|
|
26681
|
+
}
|
|
26682
|
+
}
|
|
26683
|
+
return msg;
|
|
26684
|
+
};
|
|
26685
|
+
|
|
26686
|
+
|
|
26687
|
+
/**
|
|
26688
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
26689
|
+
* @return {!Uint8Array}
|
|
26690
|
+
*/
|
|
26691
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.serializeBinary = function() {
|
|
26692
|
+
var writer = new jspb.BinaryWriter();
|
|
26693
|
+
proto.agentbillingserviceapi.AgentBillsToPay.serializeBinaryToWriter(this, writer);
|
|
26694
|
+
return writer.getResultBuffer();
|
|
26695
|
+
};
|
|
26696
|
+
|
|
26697
|
+
|
|
26698
|
+
/**
|
|
26699
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
26700
|
+
* format), writing to the given BinaryWriter.
|
|
26701
|
+
* @param {!proto.agentbillingserviceapi.AgentBillsToPay} message
|
|
26702
|
+
* @param {!jspb.BinaryWriter} writer
|
|
26703
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26704
|
+
*/
|
|
26705
|
+
proto.agentbillingserviceapi.AgentBillsToPay.serializeBinaryToWriter = function(message, writer) {
|
|
26706
|
+
var f = undefined;
|
|
26707
|
+
f = message.getBillid();
|
|
26708
|
+
if (f !== 0) {
|
|
26709
|
+
writer.writeInt64(
|
|
26710
|
+
1,
|
|
26711
|
+
f
|
|
26712
|
+
);
|
|
26713
|
+
}
|
|
26714
|
+
f = message.getAgentbillid();
|
|
26715
|
+
if (f !== 0) {
|
|
26716
|
+
writer.writeInt64(
|
|
26717
|
+
2,
|
|
26718
|
+
f
|
|
26719
|
+
);
|
|
26720
|
+
}
|
|
26721
|
+
f = message.getTotalamount();
|
|
26722
|
+
if (f !== 0.0) {
|
|
26723
|
+
writer.writeDouble(
|
|
26724
|
+
3,
|
|
26725
|
+
f
|
|
26726
|
+
);
|
|
26727
|
+
}
|
|
26728
|
+
};
|
|
26729
|
+
|
|
26730
|
+
|
|
26731
|
+
/**
|
|
26732
|
+
* optional int64 billId = 1;
|
|
26733
|
+
* @return {number}
|
|
26734
|
+
*/
|
|
26735
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.getBillid = function() {
|
|
26736
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
26737
|
+
};
|
|
26738
|
+
|
|
26739
|
+
|
|
26740
|
+
/**
|
|
26741
|
+
* @param {number} value
|
|
26742
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay} returns this
|
|
26743
|
+
*/
|
|
26744
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.setBillid = function(value) {
|
|
26745
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
26746
|
+
};
|
|
26747
|
+
|
|
26748
|
+
|
|
26749
|
+
/**
|
|
26750
|
+
* optional int64 agentBillId = 2;
|
|
26751
|
+
* @return {number}
|
|
26752
|
+
*/
|
|
26753
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.getAgentbillid = function() {
|
|
26754
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
26755
|
+
};
|
|
26756
|
+
|
|
26757
|
+
|
|
26758
|
+
/**
|
|
26759
|
+
* @param {number} value
|
|
26760
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay} returns this
|
|
26761
|
+
*/
|
|
26762
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.setAgentbillid = function(value) {
|
|
26763
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
26764
|
+
};
|
|
26765
|
+
|
|
26766
|
+
|
|
26767
|
+
/**
|
|
26768
|
+
* optional double totalAmount = 3;
|
|
26769
|
+
* @return {number}
|
|
26770
|
+
*/
|
|
26771
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.getTotalamount = function() {
|
|
26772
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
26773
|
+
};
|
|
26774
|
+
|
|
26775
|
+
|
|
26776
|
+
/**
|
|
26777
|
+
* @param {number} value
|
|
26778
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay} returns this
|
|
26779
|
+
*/
|
|
26780
|
+
proto.agentbillingserviceapi.AgentBillsToPay.prototype.setTotalamount = function(value) {
|
|
26781
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
26782
|
+
};
|
|
26783
|
+
|
|
26784
|
+
|
|
26785
|
+
|
|
26786
|
+
/**
|
|
26787
|
+
* List of repeated fields within this message type.
|
|
26788
|
+
* @private {!Array<number>}
|
|
26789
|
+
* @const
|
|
26790
|
+
*/
|
|
26791
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.repeatedFields_ = [2];
|
|
26792
|
+
|
|
26793
|
+
|
|
26794
|
+
|
|
26795
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26796
|
+
/**
|
|
26797
|
+
* Creates an object representation of this proto.
|
|
26798
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26799
|
+
* Optional fields that are not set will be set to undefined.
|
|
26800
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26801
|
+
* For the list of reserved names please see:
|
|
26802
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26803
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26804
|
+
* JSPB instance for transitional soy proto support:
|
|
26805
|
+
* http://goto/soy-param-migration
|
|
26806
|
+
* @return {!Object}
|
|
26807
|
+
*/
|
|
26808
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
26809
|
+
return proto.agentbillingserviceapi.GetAgentBillsToPayResponse.toObject(opt_includeInstance, this);
|
|
26810
|
+
};
|
|
26811
|
+
|
|
26812
|
+
|
|
26813
|
+
/**
|
|
26814
|
+
* Static version of the {@see toObject} method.
|
|
26815
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26816
|
+
* the JSPB instance for transitional soy proto support:
|
|
26817
|
+
* http://goto/soy-param-migration
|
|
26818
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} msg The msg instance to transform.
|
|
26819
|
+
* @return {!Object}
|
|
26820
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26821
|
+
*/
|
|
26822
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.toObject = function(includeInstance, msg) {
|
|
26823
|
+
var f, obj = {
|
|
26824
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
26825
|
+
agentbillstopaysList: jspb.Message.toObjectList(msg.getAgentbillstopaysList(),
|
|
26826
|
+
proto.agentbillingserviceapi.AgentBillsToPay.toObject, includeInstance)
|
|
26827
|
+
};
|
|
26828
|
+
|
|
26829
|
+
if (includeInstance) {
|
|
26830
|
+
obj.$jspbMessageInstance = msg;
|
|
26831
|
+
}
|
|
26832
|
+
return obj;
|
|
26833
|
+
};
|
|
26834
|
+
}
|
|
26835
|
+
|
|
26836
|
+
|
|
26837
|
+
/**
|
|
26838
|
+
* Deserializes binary data (in protobuf wire format).
|
|
26839
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26840
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse}
|
|
26841
|
+
*/
|
|
26842
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.deserializeBinary = function(bytes) {
|
|
26843
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
26844
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillsToPayResponse;
|
|
26845
|
+
return proto.agentbillingserviceapi.GetAgentBillsToPayResponse.deserializeBinaryFromReader(msg, reader);
|
|
26846
|
+
};
|
|
26847
|
+
|
|
26848
|
+
|
|
26849
|
+
/**
|
|
26850
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
26851
|
+
* given reader into the given message object.
|
|
26852
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} msg The message object to deserialize into.
|
|
26853
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26854
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse}
|
|
26855
|
+
*/
|
|
26856
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
26857
|
+
while (reader.nextField()) {
|
|
26858
|
+
if (reader.isEndGroup()) {
|
|
26859
|
+
break;
|
|
26860
|
+
}
|
|
26861
|
+
var field = reader.getFieldNumber();
|
|
26862
|
+
switch (field) {
|
|
26863
|
+
case 1:
|
|
26864
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
26865
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
26866
|
+
msg.setResponsecode(value);
|
|
26867
|
+
break;
|
|
26868
|
+
case 2:
|
|
26869
|
+
var value = new proto.agentbillingserviceapi.AgentBillsToPay;
|
|
26870
|
+
reader.readMessage(value,proto.agentbillingserviceapi.AgentBillsToPay.deserializeBinaryFromReader);
|
|
26871
|
+
msg.addAgentbillstopays(value);
|
|
26872
|
+
break;
|
|
26873
|
+
default:
|
|
26874
|
+
reader.skipField();
|
|
26875
|
+
break;
|
|
26876
|
+
}
|
|
26877
|
+
}
|
|
26878
|
+
return msg;
|
|
26879
|
+
};
|
|
26880
|
+
|
|
26881
|
+
|
|
26882
|
+
/**
|
|
26883
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
26884
|
+
* @return {!Uint8Array}
|
|
26885
|
+
*/
|
|
26886
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.serializeBinary = function() {
|
|
26887
|
+
var writer = new jspb.BinaryWriter();
|
|
26888
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.serializeBinaryToWriter(this, writer);
|
|
26889
|
+
return writer.getResultBuffer();
|
|
26890
|
+
};
|
|
26891
|
+
|
|
26892
|
+
|
|
26893
|
+
/**
|
|
26894
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
26895
|
+
* format), writing to the given BinaryWriter.
|
|
26896
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} message
|
|
26897
|
+
* @param {!jspb.BinaryWriter} writer
|
|
26898
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26899
|
+
*/
|
|
26900
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
26901
|
+
var f = undefined;
|
|
26902
|
+
f = message.getResponsecode();
|
|
26903
|
+
if (f != null) {
|
|
26904
|
+
writer.writeMessage(
|
|
26905
|
+
1,
|
|
26906
|
+
f,
|
|
26907
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
26908
|
+
);
|
|
26909
|
+
}
|
|
26910
|
+
f = message.getAgentbillstopaysList();
|
|
26911
|
+
if (f.length > 0) {
|
|
26912
|
+
writer.writeRepeatedMessage(
|
|
26913
|
+
2,
|
|
26914
|
+
f,
|
|
26915
|
+
proto.agentbillingserviceapi.AgentBillsToPay.serializeBinaryToWriter
|
|
26916
|
+
);
|
|
26917
|
+
}
|
|
26918
|
+
};
|
|
26919
|
+
|
|
26920
|
+
|
|
26921
|
+
/**
|
|
26922
|
+
* optional ResponseCode responseCode = 1;
|
|
26923
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
26924
|
+
*/
|
|
26925
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.getResponsecode = function() {
|
|
26926
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
26927
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
26928
|
+
};
|
|
26929
|
+
|
|
26930
|
+
|
|
26931
|
+
/**
|
|
26932
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
26933
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} returns this
|
|
26934
|
+
*/
|
|
26935
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.setResponsecode = function(value) {
|
|
26936
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
26937
|
+
};
|
|
26938
|
+
|
|
26939
|
+
|
|
26940
|
+
/**
|
|
26941
|
+
* Clears the message field making it undefined.
|
|
26942
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} returns this
|
|
26943
|
+
*/
|
|
26944
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.clearResponsecode = function() {
|
|
26945
|
+
return this.setResponsecode(undefined);
|
|
26946
|
+
};
|
|
26947
|
+
|
|
26948
|
+
|
|
26949
|
+
/**
|
|
26950
|
+
* Returns whether this field is set.
|
|
26951
|
+
* @return {boolean}
|
|
26952
|
+
*/
|
|
26953
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.hasResponsecode = function() {
|
|
26954
|
+
return jspb.Message.getField(this, 1) != null;
|
|
26955
|
+
};
|
|
26956
|
+
|
|
26957
|
+
|
|
26958
|
+
/**
|
|
26959
|
+
* repeated AgentBillsToPay agentBillsToPays = 2;
|
|
26960
|
+
* @return {!Array<!proto.agentbillingserviceapi.AgentBillsToPay>}
|
|
26961
|
+
*/
|
|
26962
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.getAgentbillstopaysList = function() {
|
|
26963
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillsToPay>} */ (
|
|
26964
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillsToPay, 2));
|
|
26965
|
+
};
|
|
26966
|
+
|
|
26967
|
+
|
|
26968
|
+
/**
|
|
26969
|
+
* @param {!Array<!proto.agentbillingserviceapi.AgentBillsToPay>} value
|
|
26970
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} returns this
|
|
26971
|
+
*/
|
|
26972
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.setAgentbillstopaysList = function(value) {
|
|
26973
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
26974
|
+
};
|
|
26975
|
+
|
|
26976
|
+
|
|
26977
|
+
/**
|
|
26978
|
+
* @param {!proto.agentbillingserviceapi.AgentBillsToPay=} opt_value
|
|
26979
|
+
* @param {number=} opt_index
|
|
26980
|
+
* @return {!proto.agentbillingserviceapi.AgentBillsToPay}
|
|
26981
|
+
*/
|
|
26982
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.addAgentbillstopays = function(opt_value, opt_index) {
|
|
26983
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillsToPay, opt_index);
|
|
26984
|
+
};
|
|
26985
|
+
|
|
26986
|
+
|
|
26987
|
+
/**
|
|
26988
|
+
* Clears the list making it empty but non-null.
|
|
26989
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillsToPayResponse} returns this
|
|
26990
|
+
*/
|
|
26991
|
+
proto.agentbillingserviceapi.GetAgentBillsToPayResponse.prototype.clearAgentbillstopaysList = function() {
|
|
26992
|
+
return this.setAgentbillstopaysList([]);
|
|
26993
|
+
};
|
|
26994
|
+
|
|
26995
|
+
|
|
26551
26996
|
/**
|
|
26552
26997
|
* @enum {number}
|
|
26553
26998
|
*/
|