@sniipwebmaster/bill-service-client-grpcweb 23.12.12199 → 23.12.12208
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.
|
@@ -4794,5 +4794,85 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteBillsByBillI
|
|
|
4794
4794
|
};
|
|
4795
4795
|
|
|
4796
4796
|
|
|
4797
|
+
/**
|
|
4798
|
+
* @const
|
|
4799
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4800
|
+
* !proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest,
|
|
4801
|
+
* !proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse>}
|
|
4802
|
+
*/
|
|
4803
|
+
const methodDescriptor_SniipBillAPIService_GetDeliveryBatchContentsToPay = new grpc.web.MethodDescriptor(
|
|
4804
|
+
'/sniipbillapi.SniipBillAPIService/GetDeliveryBatchContentsToPay',
|
|
4805
|
+
grpc.web.MethodType.UNARY,
|
|
4806
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest,
|
|
4807
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse,
|
|
4808
|
+
/**
|
|
4809
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} request
|
|
4810
|
+
* @return {!Uint8Array}
|
|
4811
|
+
*/
|
|
4812
|
+
function(request) {
|
|
4813
|
+
return request.serializeBinary();
|
|
4814
|
+
},
|
|
4815
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.deserializeBinary
|
|
4816
|
+
);
|
|
4817
|
+
|
|
4818
|
+
|
|
4819
|
+
/**
|
|
4820
|
+
* @const
|
|
4821
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
4822
|
+
* !proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest,
|
|
4823
|
+
* !proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse>}
|
|
4824
|
+
*/
|
|
4825
|
+
const methodInfo_SniipBillAPIService_GetDeliveryBatchContentsToPay = new grpc.web.AbstractClientBase.MethodInfo(
|
|
4826
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse,
|
|
4827
|
+
/**
|
|
4828
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} request
|
|
4829
|
+
* @return {!Uint8Array}
|
|
4830
|
+
*/
|
|
4831
|
+
function(request) {
|
|
4832
|
+
return request.serializeBinary();
|
|
4833
|
+
},
|
|
4834
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.deserializeBinary
|
|
4835
|
+
);
|
|
4836
|
+
|
|
4837
|
+
|
|
4838
|
+
/**
|
|
4839
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} request The
|
|
4840
|
+
* request proto
|
|
4841
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4842
|
+
* call metadata
|
|
4843
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse)}
|
|
4844
|
+
* callback The callback function(error, response)
|
|
4845
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse>|undefined}
|
|
4846
|
+
* The XHR Node Readable Stream
|
|
4847
|
+
*/
|
|
4848
|
+
proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getDeliveryBatchContentsToPay =
|
|
4849
|
+
function(request, metadata, callback) {
|
|
4850
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4851
|
+
'/sniipbillapi.SniipBillAPIService/GetDeliveryBatchContentsToPay',
|
|
4852
|
+
request,
|
|
4853
|
+
metadata || {},
|
|
4854
|
+
methodDescriptor_SniipBillAPIService_GetDeliveryBatchContentsToPay,
|
|
4855
|
+
callback);
|
|
4856
|
+
};
|
|
4857
|
+
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} request The
|
|
4861
|
+
* request proto
|
|
4862
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4863
|
+
* call metadata
|
|
4864
|
+
* @return {!Promise<!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse>}
|
|
4865
|
+
* Promise that resolves to the response
|
|
4866
|
+
*/
|
|
4867
|
+
proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getDeliveryBatchContentsToPay =
|
|
4868
|
+
function(request, metadata) {
|
|
4869
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4870
|
+
'/sniipbillapi.SniipBillAPIService/GetDeliveryBatchContentsToPay',
|
|
4871
|
+
request,
|
|
4872
|
+
metadata || {},
|
|
4873
|
+
methodDescriptor_SniipBillAPIService_GetDeliveryBatchContentsToPay);
|
|
4874
|
+
};
|
|
4875
|
+
|
|
4876
|
+
|
|
4797
4877
|
module.exports = proto.sniipbillapi;
|
|
4798
4878
|
|
|
@@ -19,6 +19,7 @@ goog.object.extend(proto, google_protobuf_empty_pb);
|
|
|
19
19
|
goog.exportSymbol('proto.sniipbillapi.AcceptedPaymentMethod', null, global);
|
|
20
20
|
goog.exportSymbol('proto.sniipbillapi.AddBillInfo', null, global);
|
|
21
21
|
goog.exportSymbol('proto.sniipbillapi.AddHybridInfoRequest', null, global);
|
|
22
|
+
goog.exportSymbol('proto.sniipbillapi.AgentBillDetail', null, global);
|
|
22
23
|
goog.exportSymbol('proto.sniipbillapi.AttachmentDetails', null, global);
|
|
23
24
|
goog.exportSymbol('proto.sniipbillapi.BadgeCountRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.sniipbillapi.BadgeCountResponse', null, global);
|
|
@@ -85,6 +86,8 @@ goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null,
|
|
|
85
86
|
goog.exportSymbol('proto.sniipbillapi.GetBillsForUserRequest', null, global);
|
|
86
87
|
goog.exportSymbol('proto.sniipbillapi.GetBillsRequest', null, global);
|
|
87
88
|
goog.exportSymbol('proto.sniipbillapi.GetBlockedOrganisationsForUserRequest', null, global);
|
|
89
|
+
goog.exportSymbol('proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest', null, global);
|
|
90
|
+
goog.exportSymbol('proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse', null, global);
|
|
88
91
|
goog.exportSymbol('proto.sniipbillapi.GetDraftBillDetailsRequest', null, global);
|
|
89
92
|
goog.exportSymbol('proto.sniipbillapi.GetExistingBillRequest', null, global);
|
|
90
93
|
goog.exportSymbol('proto.sniipbillapi.GetItemPaymentDetailsInternalRequest', null, global);
|
|
@@ -555,6 +558,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
555
558
|
*/
|
|
556
559
|
proto.sniipbillapi.BillDetailsResponse.displayName = 'proto.sniipbillapi.BillDetailsResponse';
|
|
557
560
|
}
|
|
561
|
+
/**
|
|
562
|
+
* Generated by JsPbCodeGenerator.
|
|
563
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
564
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
565
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
566
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
567
|
+
* valid.
|
|
568
|
+
* @extends {jspb.Message}
|
|
569
|
+
* @constructor
|
|
570
|
+
*/
|
|
571
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest = function(opt_data) {
|
|
572
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
573
|
+
};
|
|
574
|
+
goog.inherits(proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest, jspb.Message);
|
|
575
|
+
if (goog.DEBUG && !COMPILED) {
|
|
576
|
+
/**
|
|
577
|
+
* @public
|
|
578
|
+
* @override
|
|
579
|
+
*/
|
|
580
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.displayName = 'proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest';
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Generated by JsPbCodeGenerator.
|
|
584
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
585
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
586
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
587
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
588
|
+
* valid.
|
|
589
|
+
* @extends {jspb.Message}
|
|
590
|
+
* @constructor
|
|
591
|
+
*/
|
|
592
|
+
proto.sniipbillapi.AgentBillDetail = function(opt_data) {
|
|
593
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
594
|
+
};
|
|
595
|
+
goog.inherits(proto.sniipbillapi.AgentBillDetail, jspb.Message);
|
|
596
|
+
if (goog.DEBUG && !COMPILED) {
|
|
597
|
+
/**
|
|
598
|
+
* @public
|
|
599
|
+
* @override
|
|
600
|
+
*/
|
|
601
|
+
proto.sniipbillapi.AgentBillDetail.displayName = 'proto.sniipbillapi.AgentBillDetail';
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Generated by JsPbCodeGenerator.
|
|
605
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
606
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
607
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
608
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
609
|
+
* valid.
|
|
610
|
+
* @extends {jspb.Message}
|
|
611
|
+
* @constructor
|
|
612
|
+
*/
|
|
613
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse = function(opt_data) {
|
|
614
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.repeatedFields_, null);
|
|
615
|
+
};
|
|
616
|
+
goog.inherits(proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse, jspb.Message);
|
|
617
|
+
if (goog.DEBUG && !COMPILED) {
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
* @override
|
|
621
|
+
*/
|
|
622
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.displayName = 'proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse';
|
|
623
|
+
}
|
|
558
624
|
/**
|
|
559
625
|
* Generated by JsPbCodeGenerator.
|
|
560
626
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11158,6 +11224,588 @@ proto.sniipbillapi.BillDetailsResponse.prototype.clearAttachmentsList = function
|
|
|
11158
11224
|
|
|
11159
11225
|
|
|
11160
11226
|
|
|
11227
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11228
|
+
/**
|
|
11229
|
+
* Creates an object representation of this proto.
|
|
11230
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11231
|
+
* Optional fields that are not set will be set to undefined.
|
|
11232
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11233
|
+
* For the list of reserved names please see:
|
|
11234
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11235
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11236
|
+
* JSPB instance for transitional soy proto support:
|
|
11237
|
+
* http://goto/soy-param-migration
|
|
11238
|
+
* @return {!Object}
|
|
11239
|
+
*/
|
|
11240
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11241
|
+
return proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.toObject(opt_includeInstance, this);
|
|
11242
|
+
};
|
|
11243
|
+
|
|
11244
|
+
|
|
11245
|
+
/**
|
|
11246
|
+
* Static version of the {@see toObject} method.
|
|
11247
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11248
|
+
* the JSPB instance for transitional soy proto support:
|
|
11249
|
+
* http://goto/soy-param-migration
|
|
11250
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} msg The msg instance to transform.
|
|
11251
|
+
* @return {!Object}
|
|
11252
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11253
|
+
*/
|
|
11254
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.toObject = function(includeInstance, msg) {
|
|
11255
|
+
var f, obj = {
|
|
11256
|
+
deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
11257
|
+
};
|
|
11258
|
+
|
|
11259
|
+
if (includeInstance) {
|
|
11260
|
+
obj.$jspbMessageInstance = msg;
|
|
11261
|
+
}
|
|
11262
|
+
return obj;
|
|
11263
|
+
};
|
|
11264
|
+
}
|
|
11265
|
+
|
|
11266
|
+
|
|
11267
|
+
/**
|
|
11268
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11269
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11270
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest}
|
|
11271
|
+
*/
|
|
11272
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.deserializeBinary = function(bytes) {
|
|
11273
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11274
|
+
var msg = new proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest;
|
|
11275
|
+
return proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.deserializeBinaryFromReader(msg, reader);
|
|
11276
|
+
};
|
|
11277
|
+
|
|
11278
|
+
|
|
11279
|
+
/**
|
|
11280
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11281
|
+
* given reader into the given message object.
|
|
11282
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} msg The message object to deserialize into.
|
|
11283
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11284
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest}
|
|
11285
|
+
*/
|
|
11286
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11287
|
+
while (reader.nextField()) {
|
|
11288
|
+
if (reader.isEndGroup()) {
|
|
11289
|
+
break;
|
|
11290
|
+
}
|
|
11291
|
+
var field = reader.getFieldNumber();
|
|
11292
|
+
switch (field) {
|
|
11293
|
+
case 1:
|
|
11294
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11295
|
+
msg.setDeliverybatchid(value);
|
|
11296
|
+
break;
|
|
11297
|
+
default:
|
|
11298
|
+
reader.skipField();
|
|
11299
|
+
break;
|
|
11300
|
+
}
|
|
11301
|
+
}
|
|
11302
|
+
return msg;
|
|
11303
|
+
};
|
|
11304
|
+
|
|
11305
|
+
|
|
11306
|
+
/**
|
|
11307
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11308
|
+
* @return {!Uint8Array}
|
|
11309
|
+
*/
|
|
11310
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.prototype.serializeBinary = function() {
|
|
11311
|
+
var writer = new jspb.BinaryWriter();
|
|
11312
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.serializeBinaryToWriter(this, writer);
|
|
11313
|
+
return writer.getResultBuffer();
|
|
11314
|
+
};
|
|
11315
|
+
|
|
11316
|
+
|
|
11317
|
+
/**
|
|
11318
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11319
|
+
* format), writing to the given BinaryWriter.
|
|
11320
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} message
|
|
11321
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11322
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11323
|
+
*/
|
|
11324
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11325
|
+
var f = undefined;
|
|
11326
|
+
f = message.getDeliverybatchid();
|
|
11327
|
+
if (f !== 0) {
|
|
11328
|
+
writer.writeInt64(
|
|
11329
|
+
1,
|
|
11330
|
+
f
|
|
11331
|
+
);
|
|
11332
|
+
}
|
|
11333
|
+
};
|
|
11334
|
+
|
|
11335
|
+
|
|
11336
|
+
/**
|
|
11337
|
+
* optional int64 deliveryBatchId = 1;
|
|
11338
|
+
* @return {number}
|
|
11339
|
+
*/
|
|
11340
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.prototype.getDeliverybatchid = function() {
|
|
11341
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11342
|
+
};
|
|
11343
|
+
|
|
11344
|
+
|
|
11345
|
+
/**
|
|
11346
|
+
* @param {number} value
|
|
11347
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest} returns this
|
|
11348
|
+
*/
|
|
11349
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayRequest.prototype.setDeliverybatchid = function(value) {
|
|
11350
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11351
|
+
};
|
|
11352
|
+
|
|
11353
|
+
|
|
11354
|
+
|
|
11355
|
+
|
|
11356
|
+
|
|
11357
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11358
|
+
/**
|
|
11359
|
+
* Creates an object representation of this proto.
|
|
11360
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11361
|
+
* Optional fields that are not set will be set to undefined.
|
|
11362
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11363
|
+
* For the list of reserved names please see:
|
|
11364
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11365
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11366
|
+
* JSPB instance for transitional soy proto support:
|
|
11367
|
+
* http://goto/soy-param-migration
|
|
11368
|
+
* @return {!Object}
|
|
11369
|
+
*/
|
|
11370
|
+
proto.sniipbillapi.AgentBillDetail.prototype.toObject = function(opt_includeInstance) {
|
|
11371
|
+
return proto.sniipbillapi.AgentBillDetail.toObject(opt_includeInstance, this);
|
|
11372
|
+
};
|
|
11373
|
+
|
|
11374
|
+
|
|
11375
|
+
/**
|
|
11376
|
+
* Static version of the {@see toObject} method.
|
|
11377
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11378
|
+
* the JSPB instance for transitional soy proto support:
|
|
11379
|
+
* http://goto/soy-param-migration
|
|
11380
|
+
* @param {!proto.sniipbillapi.AgentBillDetail} msg The msg instance to transform.
|
|
11381
|
+
* @return {!Object}
|
|
11382
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11383
|
+
*/
|
|
11384
|
+
proto.sniipbillapi.AgentBillDetail.toObject = function(includeInstance, msg) {
|
|
11385
|
+
var f, obj = {
|
|
11386
|
+
billdetails: (f = msg.getBilldetails()) && proto.sniipbillapi.SimpleBillDetail.toObject(includeInstance, f),
|
|
11387
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11388
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11389
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
11390
|
+
};
|
|
11391
|
+
|
|
11392
|
+
if (includeInstance) {
|
|
11393
|
+
obj.$jspbMessageInstance = msg;
|
|
11394
|
+
}
|
|
11395
|
+
return obj;
|
|
11396
|
+
};
|
|
11397
|
+
}
|
|
11398
|
+
|
|
11399
|
+
|
|
11400
|
+
/**
|
|
11401
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11402
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11403
|
+
* @return {!proto.sniipbillapi.AgentBillDetail}
|
|
11404
|
+
*/
|
|
11405
|
+
proto.sniipbillapi.AgentBillDetail.deserializeBinary = function(bytes) {
|
|
11406
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11407
|
+
var msg = new proto.sniipbillapi.AgentBillDetail;
|
|
11408
|
+
return proto.sniipbillapi.AgentBillDetail.deserializeBinaryFromReader(msg, reader);
|
|
11409
|
+
};
|
|
11410
|
+
|
|
11411
|
+
|
|
11412
|
+
/**
|
|
11413
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11414
|
+
* given reader into the given message object.
|
|
11415
|
+
* @param {!proto.sniipbillapi.AgentBillDetail} msg The message object to deserialize into.
|
|
11416
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11417
|
+
* @return {!proto.sniipbillapi.AgentBillDetail}
|
|
11418
|
+
*/
|
|
11419
|
+
proto.sniipbillapi.AgentBillDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
11420
|
+
while (reader.nextField()) {
|
|
11421
|
+
if (reader.isEndGroup()) {
|
|
11422
|
+
break;
|
|
11423
|
+
}
|
|
11424
|
+
var field = reader.getFieldNumber();
|
|
11425
|
+
switch (field) {
|
|
11426
|
+
case 1:
|
|
11427
|
+
var value = new proto.sniipbillapi.SimpleBillDetail;
|
|
11428
|
+
reader.readMessage(value,proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader);
|
|
11429
|
+
msg.setBilldetails(value);
|
|
11430
|
+
break;
|
|
11431
|
+
case 2:
|
|
11432
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11433
|
+
msg.setAgentbillid(value);
|
|
11434
|
+
break;
|
|
11435
|
+
case 3:
|
|
11436
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11437
|
+
msg.setClientuserid(value);
|
|
11438
|
+
break;
|
|
11439
|
+
case 4:
|
|
11440
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11441
|
+
msg.setAgentuserid(value);
|
|
11442
|
+
break;
|
|
11443
|
+
default:
|
|
11444
|
+
reader.skipField();
|
|
11445
|
+
break;
|
|
11446
|
+
}
|
|
11447
|
+
}
|
|
11448
|
+
return msg;
|
|
11449
|
+
};
|
|
11450
|
+
|
|
11451
|
+
|
|
11452
|
+
/**
|
|
11453
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11454
|
+
* @return {!Uint8Array}
|
|
11455
|
+
*/
|
|
11456
|
+
proto.sniipbillapi.AgentBillDetail.prototype.serializeBinary = function() {
|
|
11457
|
+
var writer = new jspb.BinaryWriter();
|
|
11458
|
+
proto.sniipbillapi.AgentBillDetail.serializeBinaryToWriter(this, writer);
|
|
11459
|
+
return writer.getResultBuffer();
|
|
11460
|
+
};
|
|
11461
|
+
|
|
11462
|
+
|
|
11463
|
+
/**
|
|
11464
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11465
|
+
* format), writing to the given BinaryWriter.
|
|
11466
|
+
* @param {!proto.sniipbillapi.AgentBillDetail} message
|
|
11467
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11468
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11469
|
+
*/
|
|
11470
|
+
proto.sniipbillapi.AgentBillDetail.serializeBinaryToWriter = function(message, writer) {
|
|
11471
|
+
var f = undefined;
|
|
11472
|
+
f = message.getBilldetails();
|
|
11473
|
+
if (f != null) {
|
|
11474
|
+
writer.writeMessage(
|
|
11475
|
+
1,
|
|
11476
|
+
f,
|
|
11477
|
+
proto.sniipbillapi.SimpleBillDetail.serializeBinaryToWriter
|
|
11478
|
+
);
|
|
11479
|
+
}
|
|
11480
|
+
f = message.getAgentbillid();
|
|
11481
|
+
if (f !== 0) {
|
|
11482
|
+
writer.writeInt64(
|
|
11483
|
+
2,
|
|
11484
|
+
f
|
|
11485
|
+
);
|
|
11486
|
+
}
|
|
11487
|
+
f = message.getClientuserid();
|
|
11488
|
+
if (f !== 0) {
|
|
11489
|
+
writer.writeInt64(
|
|
11490
|
+
3,
|
|
11491
|
+
f
|
|
11492
|
+
);
|
|
11493
|
+
}
|
|
11494
|
+
f = message.getAgentuserid();
|
|
11495
|
+
if (f !== 0) {
|
|
11496
|
+
writer.writeInt64(
|
|
11497
|
+
4,
|
|
11498
|
+
f
|
|
11499
|
+
);
|
|
11500
|
+
}
|
|
11501
|
+
};
|
|
11502
|
+
|
|
11503
|
+
|
|
11504
|
+
/**
|
|
11505
|
+
* optional SimpleBillDetail billDetails = 1;
|
|
11506
|
+
* @return {?proto.sniipbillapi.SimpleBillDetail}
|
|
11507
|
+
*/
|
|
11508
|
+
proto.sniipbillapi.AgentBillDetail.prototype.getBilldetails = function() {
|
|
11509
|
+
return /** @type{?proto.sniipbillapi.SimpleBillDetail} */ (
|
|
11510
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.SimpleBillDetail, 1));
|
|
11511
|
+
};
|
|
11512
|
+
|
|
11513
|
+
|
|
11514
|
+
/**
|
|
11515
|
+
* @param {?proto.sniipbillapi.SimpleBillDetail|undefined} value
|
|
11516
|
+
* @return {!proto.sniipbillapi.AgentBillDetail} returns this
|
|
11517
|
+
*/
|
|
11518
|
+
proto.sniipbillapi.AgentBillDetail.prototype.setBilldetails = function(value) {
|
|
11519
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11520
|
+
};
|
|
11521
|
+
|
|
11522
|
+
|
|
11523
|
+
/**
|
|
11524
|
+
* Clears the message field making it undefined.
|
|
11525
|
+
* @return {!proto.sniipbillapi.AgentBillDetail} returns this
|
|
11526
|
+
*/
|
|
11527
|
+
proto.sniipbillapi.AgentBillDetail.prototype.clearBilldetails = function() {
|
|
11528
|
+
return this.setBilldetails(undefined);
|
|
11529
|
+
};
|
|
11530
|
+
|
|
11531
|
+
|
|
11532
|
+
/**
|
|
11533
|
+
* Returns whether this field is set.
|
|
11534
|
+
* @return {boolean}
|
|
11535
|
+
*/
|
|
11536
|
+
proto.sniipbillapi.AgentBillDetail.prototype.hasBilldetails = function() {
|
|
11537
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11538
|
+
};
|
|
11539
|
+
|
|
11540
|
+
|
|
11541
|
+
/**
|
|
11542
|
+
* optional int64 agentBillId = 2;
|
|
11543
|
+
* @return {number}
|
|
11544
|
+
*/
|
|
11545
|
+
proto.sniipbillapi.AgentBillDetail.prototype.getAgentbillid = function() {
|
|
11546
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11547
|
+
};
|
|
11548
|
+
|
|
11549
|
+
|
|
11550
|
+
/**
|
|
11551
|
+
* @param {number} value
|
|
11552
|
+
* @return {!proto.sniipbillapi.AgentBillDetail} returns this
|
|
11553
|
+
*/
|
|
11554
|
+
proto.sniipbillapi.AgentBillDetail.prototype.setAgentbillid = function(value) {
|
|
11555
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
11556
|
+
};
|
|
11557
|
+
|
|
11558
|
+
|
|
11559
|
+
/**
|
|
11560
|
+
* optional int64 clientUserId = 3;
|
|
11561
|
+
* @return {number}
|
|
11562
|
+
*/
|
|
11563
|
+
proto.sniipbillapi.AgentBillDetail.prototype.getClientuserid = function() {
|
|
11564
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
11565
|
+
};
|
|
11566
|
+
|
|
11567
|
+
|
|
11568
|
+
/**
|
|
11569
|
+
* @param {number} value
|
|
11570
|
+
* @return {!proto.sniipbillapi.AgentBillDetail} returns this
|
|
11571
|
+
*/
|
|
11572
|
+
proto.sniipbillapi.AgentBillDetail.prototype.setClientuserid = function(value) {
|
|
11573
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
11574
|
+
};
|
|
11575
|
+
|
|
11576
|
+
|
|
11577
|
+
/**
|
|
11578
|
+
* optional int64 agentUserId = 4;
|
|
11579
|
+
* @return {number}
|
|
11580
|
+
*/
|
|
11581
|
+
proto.sniipbillapi.AgentBillDetail.prototype.getAgentuserid = function() {
|
|
11582
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
11583
|
+
};
|
|
11584
|
+
|
|
11585
|
+
|
|
11586
|
+
/**
|
|
11587
|
+
* @param {number} value
|
|
11588
|
+
* @return {!proto.sniipbillapi.AgentBillDetail} returns this
|
|
11589
|
+
*/
|
|
11590
|
+
proto.sniipbillapi.AgentBillDetail.prototype.setAgentuserid = function(value) {
|
|
11591
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
11592
|
+
};
|
|
11593
|
+
|
|
11594
|
+
|
|
11595
|
+
|
|
11596
|
+
/**
|
|
11597
|
+
* List of repeated fields within this message type.
|
|
11598
|
+
* @private {!Array<number>}
|
|
11599
|
+
* @const
|
|
11600
|
+
*/
|
|
11601
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.repeatedFields_ = [2];
|
|
11602
|
+
|
|
11603
|
+
|
|
11604
|
+
|
|
11605
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11606
|
+
/**
|
|
11607
|
+
* Creates an object representation of this proto.
|
|
11608
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11609
|
+
* Optional fields that are not set will be set to undefined.
|
|
11610
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11611
|
+
* For the list of reserved names please see:
|
|
11612
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11613
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11614
|
+
* JSPB instance for transitional soy proto support:
|
|
11615
|
+
* http://goto/soy-param-migration
|
|
11616
|
+
* @return {!Object}
|
|
11617
|
+
*/
|
|
11618
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11619
|
+
return proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.toObject(opt_includeInstance, this);
|
|
11620
|
+
};
|
|
11621
|
+
|
|
11622
|
+
|
|
11623
|
+
/**
|
|
11624
|
+
* Static version of the {@see toObject} method.
|
|
11625
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11626
|
+
* the JSPB instance for transitional soy proto support:
|
|
11627
|
+
* http://goto/soy-param-migration
|
|
11628
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} msg The msg instance to transform.
|
|
11629
|
+
* @return {!Object}
|
|
11630
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11631
|
+
*/
|
|
11632
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.toObject = function(includeInstance, msg) {
|
|
11633
|
+
var f, obj = {
|
|
11634
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
|
|
11635
|
+
agentbilldetailsList: jspb.Message.toObjectList(msg.getAgentbilldetailsList(),
|
|
11636
|
+
proto.sniipbillapi.AgentBillDetail.toObject, includeInstance)
|
|
11637
|
+
};
|
|
11638
|
+
|
|
11639
|
+
if (includeInstance) {
|
|
11640
|
+
obj.$jspbMessageInstance = msg;
|
|
11641
|
+
}
|
|
11642
|
+
return obj;
|
|
11643
|
+
};
|
|
11644
|
+
}
|
|
11645
|
+
|
|
11646
|
+
|
|
11647
|
+
/**
|
|
11648
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11649
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11650
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse}
|
|
11651
|
+
*/
|
|
11652
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.deserializeBinary = function(bytes) {
|
|
11653
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11654
|
+
var msg = new proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse;
|
|
11655
|
+
return proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.deserializeBinaryFromReader(msg, reader);
|
|
11656
|
+
};
|
|
11657
|
+
|
|
11658
|
+
|
|
11659
|
+
/**
|
|
11660
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11661
|
+
* given reader into the given message object.
|
|
11662
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} msg The message object to deserialize into.
|
|
11663
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11664
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse}
|
|
11665
|
+
*/
|
|
11666
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11667
|
+
while (reader.nextField()) {
|
|
11668
|
+
if (reader.isEndGroup()) {
|
|
11669
|
+
break;
|
|
11670
|
+
}
|
|
11671
|
+
var field = reader.getFieldNumber();
|
|
11672
|
+
switch (field) {
|
|
11673
|
+
case 1:
|
|
11674
|
+
var value = new proto.sniipbillapi.ResponseCode;
|
|
11675
|
+
reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
|
|
11676
|
+
msg.setResponsecode(value);
|
|
11677
|
+
break;
|
|
11678
|
+
case 2:
|
|
11679
|
+
var value = new proto.sniipbillapi.AgentBillDetail;
|
|
11680
|
+
reader.readMessage(value,proto.sniipbillapi.AgentBillDetail.deserializeBinaryFromReader);
|
|
11681
|
+
msg.addAgentbilldetails(value);
|
|
11682
|
+
break;
|
|
11683
|
+
default:
|
|
11684
|
+
reader.skipField();
|
|
11685
|
+
break;
|
|
11686
|
+
}
|
|
11687
|
+
}
|
|
11688
|
+
return msg;
|
|
11689
|
+
};
|
|
11690
|
+
|
|
11691
|
+
|
|
11692
|
+
/**
|
|
11693
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11694
|
+
* @return {!Uint8Array}
|
|
11695
|
+
*/
|
|
11696
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.serializeBinary = function() {
|
|
11697
|
+
var writer = new jspb.BinaryWriter();
|
|
11698
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.serializeBinaryToWriter(this, writer);
|
|
11699
|
+
return writer.getResultBuffer();
|
|
11700
|
+
};
|
|
11701
|
+
|
|
11702
|
+
|
|
11703
|
+
/**
|
|
11704
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11705
|
+
* format), writing to the given BinaryWriter.
|
|
11706
|
+
* @param {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} message
|
|
11707
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11708
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11709
|
+
*/
|
|
11710
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11711
|
+
var f = undefined;
|
|
11712
|
+
f = message.getResponsecode();
|
|
11713
|
+
if (f != null) {
|
|
11714
|
+
writer.writeMessage(
|
|
11715
|
+
1,
|
|
11716
|
+
f,
|
|
11717
|
+
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
11718
|
+
);
|
|
11719
|
+
}
|
|
11720
|
+
f = message.getAgentbilldetailsList();
|
|
11721
|
+
if (f.length > 0) {
|
|
11722
|
+
writer.writeRepeatedMessage(
|
|
11723
|
+
2,
|
|
11724
|
+
f,
|
|
11725
|
+
proto.sniipbillapi.AgentBillDetail.serializeBinaryToWriter
|
|
11726
|
+
);
|
|
11727
|
+
}
|
|
11728
|
+
};
|
|
11729
|
+
|
|
11730
|
+
|
|
11731
|
+
/**
|
|
11732
|
+
* optional ResponseCode responseCode = 1;
|
|
11733
|
+
* @return {?proto.sniipbillapi.ResponseCode}
|
|
11734
|
+
*/
|
|
11735
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.getResponsecode = function() {
|
|
11736
|
+
return /** @type{?proto.sniipbillapi.ResponseCode} */ (
|
|
11737
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
11738
|
+
};
|
|
11739
|
+
|
|
11740
|
+
|
|
11741
|
+
/**
|
|
11742
|
+
* @param {?proto.sniipbillapi.ResponseCode|undefined} value
|
|
11743
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} returns this
|
|
11744
|
+
*/
|
|
11745
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.setResponsecode = function(value) {
|
|
11746
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11747
|
+
};
|
|
11748
|
+
|
|
11749
|
+
|
|
11750
|
+
/**
|
|
11751
|
+
* Clears the message field making it undefined.
|
|
11752
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} returns this
|
|
11753
|
+
*/
|
|
11754
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.clearResponsecode = function() {
|
|
11755
|
+
return this.setResponsecode(undefined);
|
|
11756
|
+
};
|
|
11757
|
+
|
|
11758
|
+
|
|
11759
|
+
/**
|
|
11760
|
+
* Returns whether this field is set.
|
|
11761
|
+
* @return {boolean}
|
|
11762
|
+
*/
|
|
11763
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.hasResponsecode = function() {
|
|
11764
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11765
|
+
};
|
|
11766
|
+
|
|
11767
|
+
|
|
11768
|
+
/**
|
|
11769
|
+
* repeated AgentBillDetail agentBillDetails = 2;
|
|
11770
|
+
* @return {!Array<!proto.sniipbillapi.AgentBillDetail>}
|
|
11771
|
+
*/
|
|
11772
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.getAgentbilldetailsList = function() {
|
|
11773
|
+
return /** @type{!Array<!proto.sniipbillapi.AgentBillDetail>} */ (
|
|
11774
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.AgentBillDetail, 2));
|
|
11775
|
+
};
|
|
11776
|
+
|
|
11777
|
+
|
|
11778
|
+
/**
|
|
11779
|
+
* @param {!Array<!proto.sniipbillapi.AgentBillDetail>} value
|
|
11780
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} returns this
|
|
11781
|
+
*/
|
|
11782
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.setAgentbilldetailsList = function(value) {
|
|
11783
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
11784
|
+
};
|
|
11785
|
+
|
|
11786
|
+
|
|
11787
|
+
/**
|
|
11788
|
+
* @param {!proto.sniipbillapi.AgentBillDetail=} opt_value
|
|
11789
|
+
* @param {number=} opt_index
|
|
11790
|
+
* @return {!proto.sniipbillapi.AgentBillDetail}
|
|
11791
|
+
*/
|
|
11792
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.addAgentbilldetails = function(opt_value, opt_index) {
|
|
11793
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniipbillapi.AgentBillDetail, opt_index);
|
|
11794
|
+
};
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
* Clears the list making it empty but non-null.
|
|
11799
|
+
* @return {!proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse} returns this
|
|
11800
|
+
*/
|
|
11801
|
+
proto.sniipbillapi.GetDeliveryBatchContentsToPayResponse.prototype.clearAgentbilldetailsList = function() {
|
|
11802
|
+
return this.setAgentbilldetailsList([]);
|
|
11803
|
+
};
|
|
11804
|
+
|
|
11805
|
+
|
|
11806
|
+
|
|
11807
|
+
|
|
11808
|
+
|
|
11161
11809
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11162
11810
|
/**
|
|
11163
11811
|
* Creates an object representation of this proto.
|