protobuf-platform 1.0.221 → 1.0.223
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/package.json +1 -1
- package/payment/payment.proto +58 -2
- package/payment/payment_grpc_pb.js +79 -0
- package/payment/payment_pb.js +2115 -15
package/payment/payment_pb.js
CHANGED
@@ -23,11 +23,14 @@ var global = (function() {
|
|
23
23
|
|
24
24
|
goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
|
25
25
|
goog.exportSymbol('proto.payment.DepositResponse', null, global);
|
26
|
+
goog.exportSymbol('proto.payment.DepositStatus', null, global);
|
27
|
+
goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
|
26
28
|
goog.exportSymbol('proto.payment.File', null, global);
|
27
29
|
goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
|
28
30
|
goog.exportSymbol('proto.payment.GetFileRequest', null, global);
|
29
31
|
goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
|
30
32
|
goog.exportSymbol('proto.payment.GetProviderRequest', null, global);
|
33
|
+
goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
|
31
34
|
goog.exportSymbol('proto.payment.MethodItem', null, global);
|
32
35
|
goog.exportSymbol('proto.payment.MethodItemRequest', null, global);
|
33
36
|
goog.exportSymbol('proto.payment.MethodItemsResponse', null, global);
|
@@ -45,6 +48,9 @@ goog.exportSymbol('proto.payment.ProviderItemsResponse', null, global);
|
|
45
48
|
goog.exportSymbol('proto.payment.ProviderRequest', null, global);
|
46
49
|
goog.exportSymbol('proto.payment.ProviderRequest.RequestCase', null, global);
|
47
50
|
goog.exportSymbol('proto.payment.ProviderResponse', null, global);
|
51
|
+
goog.exportSymbol('proto.payment.UserDepositItem', null, global);
|
52
|
+
goog.exportSymbol('proto.payment.UserDepositItemsResponse', null, global);
|
53
|
+
goog.exportSymbol('proto.payment.UserPaymentsInfoResponse', null, global);
|
48
54
|
/**
|
49
55
|
* Generated by JsPbCodeGenerator.
|
50
56
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -507,6 +513,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
507
513
|
*/
|
508
514
|
proto.payment.DepositResponse.displayName = 'proto.payment.DepositResponse';
|
509
515
|
}
|
516
|
+
/**
|
517
|
+
* Generated by JsPbCodeGenerator.
|
518
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
519
|
+
* server response, or constructed directly in Javascript. The array is used
|
520
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
521
|
+
* If no data is provided, the constructed object will be empty, but still
|
522
|
+
* valid.
|
523
|
+
* @extends {jspb.Message}
|
524
|
+
* @constructor
|
525
|
+
*/
|
526
|
+
proto.payment.DepositStatus = function(opt_data) {
|
527
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
528
|
+
};
|
529
|
+
goog.inherits(proto.payment.DepositStatus, jspb.Message);
|
530
|
+
if (goog.DEBUG && !COMPILED) {
|
531
|
+
/**
|
532
|
+
* @public
|
533
|
+
* @override
|
534
|
+
*/
|
535
|
+
proto.payment.DepositStatus.displayName = 'proto.payment.DepositStatus';
|
536
|
+
}
|
537
|
+
/**
|
538
|
+
* Generated by JsPbCodeGenerator.
|
539
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
540
|
+
* server response, or constructed directly in Javascript. The array is used
|
541
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
542
|
+
* If no data is provided, the constructed object will be empty, but still
|
543
|
+
* valid.
|
544
|
+
* @extends {jspb.Message}
|
545
|
+
* @constructor
|
546
|
+
*/
|
547
|
+
proto.payment.DepositStatusItemsResponse = function(opt_data) {
|
548
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositStatusItemsResponse.repeatedFields_, null);
|
549
|
+
};
|
550
|
+
goog.inherits(proto.payment.DepositStatusItemsResponse, jspb.Message);
|
551
|
+
if (goog.DEBUG && !COMPILED) {
|
552
|
+
/**
|
553
|
+
* @public
|
554
|
+
* @override
|
555
|
+
*/
|
556
|
+
proto.payment.DepositStatusItemsResponse.displayName = 'proto.payment.DepositStatusItemsResponse';
|
557
|
+
}
|
558
|
+
/**
|
559
|
+
* Generated by JsPbCodeGenerator.
|
560
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
561
|
+
* server response, or constructed directly in Javascript. The array is used
|
562
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
563
|
+
* If no data is provided, the constructed object will be empty, but still
|
564
|
+
* valid.
|
565
|
+
* @extends {jspb.Message}
|
566
|
+
* @constructor
|
567
|
+
*/
|
568
|
+
proto.payment.GetUserPaymentsInfoRequest = function(opt_data) {
|
569
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
570
|
+
};
|
571
|
+
goog.inherits(proto.payment.GetUserPaymentsInfoRequest, jspb.Message);
|
572
|
+
if (goog.DEBUG && !COMPILED) {
|
573
|
+
/**
|
574
|
+
* @public
|
575
|
+
* @override
|
576
|
+
*/
|
577
|
+
proto.payment.GetUserPaymentsInfoRequest.displayName = 'proto.payment.GetUserPaymentsInfoRequest';
|
578
|
+
}
|
579
|
+
/**
|
580
|
+
* Generated by JsPbCodeGenerator.
|
581
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
582
|
+
* server response, or constructed directly in Javascript. The array is used
|
583
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
584
|
+
* If no data is provided, the constructed object will be empty, but still
|
585
|
+
* valid.
|
586
|
+
* @extends {jspb.Message}
|
587
|
+
* @constructor
|
588
|
+
*/
|
589
|
+
proto.payment.UserPaymentsInfoResponse = function(opt_data) {
|
590
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
591
|
+
};
|
592
|
+
goog.inherits(proto.payment.UserPaymentsInfoResponse, jspb.Message);
|
593
|
+
if (goog.DEBUG && !COMPILED) {
|
594
|
+
/**
|
595
|
+
* @public
|
596
|
+
* @override
|
597
|
+
*/
|
598
|
+
proto.payment.UserPaymentsInfoResponse.displayName = 'proto.payment.UserPaymentsInfoResponse';
|
599
|
+
}
|
600
|
+
/**
|
601
|
+
* Generated by JsPbCodeGenerator.
|
602
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
603
|
+
* server response, or constructed directly in Javascript. The array is used
|
604
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
605
|
+
* If no data is provided, the constructed object will be empty, but still
|
606
|
+
* valid.
|
607
|
+
* @extends {jspb.Message}
|
608
|
+
* @constructor
|
609
|
+
*/
|
610
|
+
proto.payment.UserDepositItem = function(opt_data) {
|
611
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
612
|
+
};
|
613
|
+
goog.inherits(proto.payment.UserDepositItem, jspb.Message);
|
614
|
+
if (goog.DEBUG && !COMPILED) {
|
615
|
+
/**
|
616
|
+
* @public
|
617
|
+
* @override
|
618
|
+
*/
|
619
|
+
proto.payment.UserDepositItem.displayName = 'proto.payment.UserDepositItem';
|
620
|
+
}
|
621
|
+
/**
|
622
|
+
* Generated by JsPbCodeGenerator.
|
623
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
624
|
+
* server response, or constructed directly in Javascript. The array is used
|
625
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
626
|
+
* If no data is provided, the constructed object will be empty, but still
|
627
|
+
* valid.
|
628
|
+
* @extends {jspb.Message}
|
629
|
+
* @constructor
|
630
|
+
*/
|
631
|
+
proto.payment.UserDepositItemsResponse = function(opt_data) {
|
632
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.UserDepositItemsResponse.repeatedFields_, null);
|
633
|
+
};
|
634
|
+
goog.inherits(proto.payment.UserDepositItemsResponse, jspb.Message);
|
635
|
+
if (goog.DEBUG && !COMPILED) {
|
636
|
+
/**
|
637
|
+
* @public
|
638
|
+
* @override
|
639
|
+
*/
|
640
|
+
proto.payment.UserDepositItemsResponse.displayName = 'proto.payment.UserDepositItemsResponse';
|
641
|
+
}
|
510
642
|
|
511
643
|
|
512
644
|
|
@@ -5232,8 +5364,9 @@ proto.payment.GetDepositRequest.prototype.toObject = function(opt_includeInstanc
|
|
5232
5364
|
proto.payment.GetDepositRequest.toObject = function(includeInstance, msg) {
|
5233
5365
|
var f, obj = {
|
5234
5366
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
5235
|
-
|
5236
|
-
|
5367
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
5368
|
+
makerId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
5369
|
+
reason: jspb.Message.getFieldWithDefault(msg, 4, "")
|
5237
5370
|
};
|
5238
5371
|
|
5239
5372
|
if (includeInstance) {
|
@@ -5276,9 +5409,13 @@ proto.payment.GetDepositRequest.deserializeBinaryFromReader = function(msg, read
|
|
5276
5409
|
break;
|
5277
5410
|
case 2:
|
5278
5411
|
var value = /** @type {number} */ (reader.readInt32());
|
5279
|
-
msg.
|
5412
|
+
msg.setStatusId(value);
|
5280
5413
|
break;
|
5281
5414
|
case 3:
|
5415
|
+
var value = /** @type {number} */ (reader.readInt32());
|
5416
|
+
msg.setMakerId(value);
|
5417
|
+
break;
|
5418
|
+
case 4:
|
5282
5419
|
var value = /** @type {string} */ (reader.readString());
|
5283
5420
|
msg.setReason(value);
|
5284
5421
|
break;
|
@@ -5325,13 +5462,20 @@ proto.payment.GetDepositRequest.serializeBinaryToWriter = function(message, writ
|
|
5325
5462
|
f
|
5326
5463
|
);
|
5327
5464
|
}
|
5328
|
-
f = /** @type {
|
5465
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
5329
5466
|
if (f != null) {
|
5330
|
-
writer.
|
5467
|
+
writer.writeInt32(
|
5331
5468
|
3,
|
5332
5469
|
f
|
5333
5470
|
);
|
5334
5471
|
}
|
5472
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
5473
|
+
if (f != null) {
|
5474
|
+
writer.writeString(
|
5475
|
+
4,
|
5476
|
+
f
|
5477
|
+
);
|
5478
|
+
}
|
5335
5479
|
};
|
5336
5480
|
|
5337
5481
|
|
@@ -5354,10 +5498,10 @@ proto.payment.GetDepositRequest.prototype.setId = function(value) {
|
|
5354
5498
|
|
5355
5499
|
|
5356
5500
|
/**
|
5357
|
-
* optional int32
|
5501
|
+
* optional int32 status_id = 2;
|
5358
5502
|
* @return {number}
|
5359
5503
|
*/
|
5360
|
-
proto.payment.GetDepositRequest.prototype.
|
5504
|
+
proto.payment.GetDepositRequest.prototype.getStatusId = function() {
|
5361
5505
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
5362
5506
|
};
|
5363
5507
|
|
@@ -5366,7 +5510,7 @@ proto.payment.GetDepositRequest.prototype.getMakerId = function() {
|
|
5366
5510
|
* @param {number} value
|
5367
5511
|
* @return {!proto.payment.GetDepositRequest} returns this
|
5368
5512
|
*/
|
5369
|
-
proto.payment.GetDepositRequest.prototype.
|
5513
|
+
proto.payment.GetDepositRequest.prototype.setStatusId = function(value) {
|
5370
5514
|
return jspb.Message.setField(this, 2, value);
|
5371
5515
|
};
|
5372
5516
|
|
@@ -5375,7 +5519,7 @@ proto.payment.GetDepositRequest.prototype.setMakerId = function(value) {
|
|
5375
5519
|
* Clears the field making it undefined.
|
5376
5520
|
* @return {!proto.payment.GetDepositRequest} returns this
|
5377
5521
|
*/
|
5378
|
-
proto.payment.GetDepositRequest.prototype.
|
5522
|
+
proto.payment.GetDepositRequest.prototype.clearStatusId = function() {
|
5379
5523
|
return jspb.Message.setField(this, 2, undefined);
|
5380
5524
|
};
|
5381
5525
|
|
@@ -5384,17 +5528,53 @@ proto.payment.GetDepositRequest.prototype.clearMakerId = function() {
|
|
5384
5528
|
* Returns whether this field is set.
|
5385
5529
|
* @return {boolean}
|
5386
5530
|
*/
|
5387
|
-
proto.payment.GetDepositRequest.prototype.
|
5531
|
+
proto.payment.GetDepositRequest.prototype.hasStatusId = function() {
|
5388
5532
|
return jspb.Message.getField(this, 2) != null;
|
5389
5533
|
};
|
5390
5534
|
|
5391
5535
|
|
5392
5536
|
/**
|
5393
|
-
* optional
|
5537
|
+
* optional int32 maker_id = 3;
|
5538
|
+
* @return {number}
|
5539
|
+
*/
|
5540
|
+
proto.payment.GetDepositRequest.prototype.getMakerId = function() {
|
5541
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
5542
|
+
};
|
5543
|
+
|
5544
|
+
|
5545
|
+
/**
|
5546
|
+
* @param {number} value
|
5547
|
+
* @return {!proto.payment.GetDepositRequest} returns this
|
5548
|
+
*/
|
5549
|
+
proto.payment.GetDepositRequest.prototype.setMakerId = function(value) {
|
5550
|
+
return jspb.Message.setField(this, 3, value);
|
5551
|
+
};
|
5552
|
+
|
5553
|
+
|
5554
|
+
/**
|
5555
|
+
* Clears the field making it undefined.
|
5556
|
+
* @return {!proto.payment.GetDepositRequest} returns this
|
5557
|
+
*/
|
5558
|
+
proto.payment.GetDepositRequest.prototype.clearMakerId = function() {
|
5559
|
+
return jspb.Message.setField(this, 3, undefined);
|
5560
|
+
};
|
5561
|
+
|
5562
|
+
|
5563
|
+
/**
|
5564
|
+
* Returns whether this field is set.
|
5565
|
+
* @return {boolean}
|
5566
|
+
*/
|
5567
|
+
proto.payment.GetDepositRequest.prototype.hasMakerId = function() {
|
5568
|
+
return jspb.Message.getField(this, 3) != null;
|
5569
|
+
};
|
5570
|
+
|
5571
|
+
|
5572
|
+
/**
|
5573
|
+
* optional string reason = 4;
|
5394
5574
|
* @return {string}
|
5395
5575
|
*/
|
5396
5576
|
proto.payment.GetDepositRequest.prototype.getReason = function() {
|
5397
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
5577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
5398
5578
|
};
|
5399
5579
|
|
5400
5580
|
|
@@ -5403,7 +5583,7 @@ proto.payment.GetDepositRequest.prototype.getReason = function() {
|
|
5403
5583
|
* @return {!proto.payment.GetDepositRequest} returns this
|
5404
5584
|
*/
|
5405
5585
|
proto.payment.GetDepositRequest.prototype.setReason = function(value) {
|
5406
|
-
return jspb.Message.setField(this,
|
5586
|
+
return jspb.Message.setField(this, 4, value);
|
5407
5587
|
};
|
5408
5588
|
|
5409
5589
|
|
@@ -5412,7 +5592,7 @@ proto.payment.GetDepositRequest.prototype.setReason = function(value) {
|
|
5412
5592
|
* @return {!proto.payment.GetDepositRequest} returns this
|
5413
5593
|
*/
|
5414
5594
|
proto.payment.GetDepositRequest.prototype.clearReason = function() {
|
5415
|
-
return jspb.Message.setField(this,
|
5595
|
+
return jspb.Message.setField(this, 4, undefined);
|
5416
5596
|
};
|
5417
5597
|
|
5418
5598
|
|
@@ -5421,7 +5601,7 @@ proto.payment.GetDepositRequest.prototype.clearReason = function() {
|
|
5421
5601
|
* @return {boolean}
|
5422
5602
|
*/
|
5423
5603
|
proto.payment.GetDepositRequest.prototype.hasReason = function() {
|
5424
|
-
return jspb.Message.getField(this,
|
5604
|
+
return jspb.Message.getField(this, 4) != null;
|
5425
5605
|
};
|
5426
5606
|
|
5427
5607
|
|
@@ -5585,4 +5765,1924 @@ proto.payment.DepositResponse.prototype.setStatus = function(value) {
|
|
5585
5765
|
};
|
5586
5766
|
|
5587
5767
|
|
5768
|
+
|
5769
|
+
|
5770
|
+
|
5771
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5772
|
+
/**
|
5773
|
+
* Creates an object representation of this proto.
|
5774
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
5775
|
+
* Optional fields that are not set will be set to undefined.
|
5776
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
5777
|
+
* For the list of reserved names please see:
|
5778
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
5779
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
5780
|
+
* JSPB instance for transitional soy proto support:
|
5781
|
+
* http://goto/soy-param-migration
|
5782
|
+
* @return {!Object}
|
5783
|
+
*/
|
5784
|
+
proto.payment.DepositStatus.prototype.toObject = function(opt_includeInstance) {
|
5785
|
+
return proto.payment.DepositStatus.toObject(opt_includeInstance, this);
|
5786
|
+
};
|
5787
|
+
|
5788
|
+
|
5789
|
+
/**
|
5790
|
+
* Static version of the {@see toObject} method.
|
5791
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
5792
|
+
* the JSPB instance for transitional soy proto support:
|
5793
|
+
* http://goto/soy-param-migration
|
5794
|
+
* @param {!proto.payment.DepositStatus} msg The msg instance to transform.
|
5795
|
+
* @return {!Object}
|
5796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5797
|
+
*/
|
5798
|
+
proto.payment.DepositStatus.toObject = function(includeInstance, msg) {
|
5799
|
+
var f, obj = {
|
5800
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
5801
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
5802
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
5803
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
5804
|
+
};
|
5805
|
+
|
5806
|
+
if (includeInstance) {
|
5807
|
+
obj.$jspbMessageInstance = msg;
|
5808
|
+
}
|
5809
|
+
return obj;
|
5810
|
+
};
|
5811
|
+
}
|
5812
|
+
|
5813
|
+
|
5814
|
+
/**
|
5815
|
+
* Deserializes binary data (in protobuf wire format).
|
5816
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
5817
|
+
* @return {!proto.payment.DepositStatus}
|
5818
|
+
*/
|
5819
|
+
proto.payment.DepositStatus.deserializeBinary = function(bytes) {
|
5820
|
+
var reader = new jspb.BinaryReader(bytes);
|
5821
|
+
var msg = new proto.payment.DepositStatus;
|
5822
|
+
return proto.payment.DepositStatus.deserializeBinaryFromReader(msg, reader);
|
5823
|
+
};
|
5824
|
+
|
5825
|
+
|
5826
|
+
/**
|
5827
|
+
* Deserializes binary data (in protobuf wire format) from the
|
5828
|
+
* given reader into the given message object.
|
5829
|
+
* @param {!proto.payment.DepositStatus} msg The message object to deserialize into.
|
5830
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
5831
|
+
* @return {!proto.payment.DepositStatus}
|
5832
|
+
*/
|
5833
|
+
proto.payment.DepositStatus.deserializeBinaryFromReader = function(msg, reader) {
|
5834
|
+
while (reader.nextField()) {
|
5835
|
+
if (reader.isEndGroup()) {
|
5836
|
+
break;
|
5837
|
+
}
|
5838
|
+
var field = reader.getFieldNumber();
|
5839
|
+
switch (field) {
|
5840
|
+
case 1:
|
5841
|
+
var value = /** @type {number} */ (reader.readInt32());
|
5842
|
+
msg.setId(value);
|
5843
|
+
break;
|
5844
|
+
case 2:
|
5845
|
+
var value = /** @type {string} */ (reader.readString());
|
5846
|
+
msg.setTitle(value);
|
5847
|
+
break;
|
5848
|
+
case 3:
|
5849
|
+
var value = /** @type {string} */ (reader.readString());
|
5850
|
+
msg.setDescription(value);
|
5851
|
+
break;
|
5852
|
+
case 4:
|
5853
|
+
var value = /** @type {number} */ (reader.readInt32());
|
5854
|
+
msg.setIsActive(value);
|
5855
|
+
break;
|
5856
|
+
default:
|
5857
|
+
reader.skipField();
|
5858
|
+
break;
|
5859
|
+
}
|
5860
|
+
}
|
5861
|
+
return msg;
|
5862
|
+
};
|
5863
|
+
|
5864
|
+
|
5865
|
+
/**
|
5866
|
+
* Serializes the message to binary data (in protobuf wire format).
|
5867
|
+
* @return {!Uint8Array}
|
5868
|
+
*/
|
5869
|
+
proto.payment.DepositStatus.prototype.serializeBinary = function() {
|
5870
|
+
var writer = new jspb.BinaryWriter();
|
5871
|
+
proto.payment.DepositStatus.serializeBinaryToWriter(this, writer);
|
5872
|
+
return writer.getResultBuffer();
|
5873
|
+
};
|
5874
|
+
|
5875
|
+
|
5876
|
+
/**
|
5877
|
+
* Serializes the given message to binary data (in protobuf wire
|
5878
|
+
* format), writing to the given BinaryWriter.
|
5879
|
+
* @param {!proto.payment.DepositStatus} message
|
5880
|
+
* @param {!jspb.BinaryWriter} writer
|
5881
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5882
|
+
*/
|
5883
|
+
proto.payment.DepositStatus.serializeBinaryToWriter = function(message, writer) {
|
5884
|
+
var f = undefined;
|
5885
|
+
f = message.getId();
|
5886
|
+
if (f !== 0) {
|
5887
|
+
writer.writeInt32(
|
5888
|
+
1,
|
5889
|
+
f
|
5890
|
+
);
|
5891
|
+
}
|
5892
|
+
f = message.getTitle();
|
5893
|
+
if (f.length > 0) {
|
5894
|
+
writer.writeString(
|
5895
|
+
2,
|
5896
|
+
f
|
5897
|
+
);
|
5898
|
+
}
|
5899
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
5900
|
+
if (f != null) {
|
5901
|
+
writer.writeString(
|
5902
|
+
3,
|
5903
|
+
f
|
5904
|
+
);
|
5905
|
+
}
|
5906
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
5907
|
+
if (f != null) {
|
5908
|
+
writer.writeInt32(
|
5909
|
+
4,
|
5910
|
+
f
|
5911
|
+
);
|
5912
|
+
}
|
5913
|
+
};
|
5914
|
+
|
5915
|
+
|
5916
|
+
/**
|
5917
|
+
* optional int32 id = 1;
|
5918
|
+
* @return {number}
|
5919
|
+
*/
|
5920
|
+
proto.payment.DepositStatus.prototype.getId = function() {
|
5921
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
5922
|
+
};
|
5923
|
+
|
5924
|
+
|
5925
|
+
/**
|
5926
|
+
* @param {number} value
|
5927
|
+
* @return {!proto.payment.DepositStatus} returns this
|
5928
|
+
*/
|
5929
|
+
proto.payment.DepositStatus.prototype.setId = function(value) {
|
5930
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
5931
|
+
};
|
5932
|
+
|
5933
|
+
|
5934
|
+
/**
|
5935
|
+
* optional string title = 2;
|
5936
|
+
* @return {string}
|
5937
|
+
*/
|
5938
|
+
proto.payment.DepositStatus.prototype.getTitle = function() {
|
5939
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5940
|
+
};
|
5941
|
+
|
5942
|
+
|
5943
|
+
/**
|
5944
|
+
* @param {string} value
|
5945
|
+
* @return {!proto.payment.DepositStatus} returns this
|
5946
|
+
*/
|
5947
|
+
proto.payment.DepositStatus.prototype.setTitle = function(value) {
|
5948
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
5949
|
+
};
|
5950
|
+
|
5951
|
+
|
5952
|
+
/**
|
5953
|
+
* optional string description = 3;
|
5954
|
+
* @return {string}
|
5955
|
+
*/
|
5956
|
+
proto.payment.DepositStatus.prototype.getDescription = function() {
|
5957
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
5958
|
+
};
|
5959
|
+
|
5960
|
+
|
5961
|
+
/**
|
5962
|
+
* @param {string} value
|
5963
|
+
* @return {!proto.payment.DepositStatus} returns this
|
5964
|
+
*/
|
5965
|
+
proto.payment.DepositStatus.prototype.setDescription = function(value) {
|
5966
|
+
return jspb.Message.setField(this, 3, value);
|
5967
|
+
};
|
5968
|
+
|
5969
|
+
|
5970
|
+
/**
|
5971
|
+
* Clears the field making it undefined.
|
5972
|
+
* @return {!proto.payment.DepositStatus} returns this
|
5973
|
+
*/
|
5974
|
+
proto.payment.DepositStatus.prototype.clearDescription = function() {
|
5975
|
+
return jspb.Message.setField(this, 3, undefined);
|
5976
|
+
};
|
5977
|
+
|
5978
|
+
|
5979
|
+
/**
|
5980
|
+
* Returns whether this field is set.
|
5981
|
+
* @return {boolean}
|
5982
|
+
*/
|
5983
|
+
proto.payment.DepositStatus.prototype.hasDescription = function() {
|
5984
|
+
return jspb.Message.getField(this, 3) != null;
|
5985
|
+
};
|
5986
|
+
|
5987
|
+
|
5988
|
+
/**
|
5989
|
+
* optional int32 is_active = 4;
|
5990
|
+
* @return {number}
|
5991
|
+
*/
|
5992
|
+
proto.payment.DepositStatus.prototype.getIsActive = function() {
|
5993
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
5994
|
+
};
|
5995
|
+
|
5996
|
+
|
5997
|
+
/**
|
5998
|
+
* @param {number} value
|
5999
|
+
* @return {!proto.payment.DepositStatus} returns this
|
6000
|
+
*/
|
6001
|
+
proto.payment.DepositStatus.prototype.setIsActive = function(value) {
|
6002
|
+
return jspb.Message.setField(this, 4, value);
|
6003
|
+
};
|
6004
|
+
|
6005
|
+
|
6006
|
+
/**
|
6007
|
+
* Clears the field making it undefined.
|
6008
|
+
* @return {!proto.payment.DepositStatus} returns this
|
6009
|
+
*/
|
6010
|
+
proto.payment.DepositStatus.prototype.clearIsActive = function() {
|
6011
|
+
return jspb.Message.setField(this, 4, undefined);
|
6012
|
+
};
|
6013
|
+
|
6014
|
+
|
6015
|
+
/**
|
6016
|
+
* Returns whether this field is set.
|
6017
|
+
* @return {boolean}
|
6018
|
+
*/
|
6019
|
+
proto.payment.DepositStatus.prototype.hasIsActive = function() {
|
6020
|
+
return jspb.Message.getField(this, 4) != null;
|
6021
|
+
};
|
6022
|
+
|
6023
|
+
|
6024
|
+
|
6025
|
+
/**
|
6026
|
+
* List of repeated fields within this message type.
|
6027
|
+
* @private {!Array<number>}
|
6028
|
+
* @const
|
6029
|
+
*/
|
6030
|
+
proto.payment.DepositStatusItemsResponse.repeatedFields_ = [1];
|
6031
|
+
|
6032
|
+
|
6033
|
+
|
6034
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6035
|
+
/**
|
6036
|
+
* Creates an object representation of this proto.
|
6037
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6038
|
+
* Optional fields that are not set will be set to undefined.
|
6039
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6040
|
+
* For the list of reserved names please see:
|
6041
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6042
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6043
|
+
* JSPB instance for transitional soy proto support:
|
6044
|
+
* http://goto/soy-param-migration
|
6045
|
+
* @return {!Object}
|
6046
|
+
*/
|
6047
|
+
proto.payment.DepositStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
6048
|
+
return proto.payment.DepositStatusItemsResponse.toObject(opt_includeInstance, this);
|
6049
|
+
};
|
6050
|
+
|
6051
|
+
|
6052
|
+
/**
|
6053
|
+
* Static version of the {@see toObject} method.
|
6054
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6055
|
+
* the JSPB instance for transitional soy proto support:
|
6056
|
+
* http://goto/soy-param-migration
|
6057
|
+
* @param {!proto.payment.DepositStatusItemsResponse} msg The msg instance to transform.
|
6058
|
+
* @return {!Object}
|
6059
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6060
|
+
*/
|
6061
|
+
proto.payment.DepositStatusItemsResponse.toObject = function(includeInstance, msg) {
|
6062
|
+
var f, obj = {
|
6063
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
6064
|
+
proto.payment.DepositStatus.toObject, includeInstance),
|
6065
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6066
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
6067
|
+
};
|
6068
|
+
|
6069
|
+
if (includeInstance) {
|
6070
|
+
obj.$jspbMessageInstance = msg;
|
6071
|
+
}
|
6072
|
+
return obj;
|
6073
|
+
};
|
6074
|
+
}
|
6075
|
+
|
6076
|
+
|
6077
|
+
/**
|
6078
|
+
* Deserializes binary data (in protobuf wire format).
|
6079
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6080
|
+
* @return {!proto.payment.DepositStatusItemsResponse}
|
6081
|
+
*/
|
6082
|
+
proto.payment.DepositStatusItemsResponse.deserializeBinary = function(bytes) {
|
6083
|
+
var reader = new jspb.BinaryReader(bytes);
|
6084
|
+
var msg = new proto.payment.DepositStatusItemsResponse;
|
6085
|
+
return proto.payment.DepositStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
|
6086
|
+
};
|
6087
|
+
|
6088
|
+
|
6089
|
+
/**
|
6090
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6091
|
+
* given reader into the given message object.
|
6092
|
+
* @param {!proto.payment.DepositStatusItemsResponse} msg The message object to deserialize into.
|
6093
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6094
|
+
* @return {!proto.payment.DepositStatusItemsResponse}
|
6095
|
+
*/
|
6096
|
+
proto.payment.DepositStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
6097
|
+
while (reader.nextField()) {
|
6098
|
+
if (reader.isEndGroup()) {
|
6099
|
+
break;
|
6100
|
+
}
|
6101
|
+
var field = reader.getFieldNumber();
|
6102
|
+
switch (field) {
|
6103
|
+
case 1:
|
6104
|
+
var value = new proto.payment.DepositStatus;
|
6105
|
+
reader.readMessage(value,proto.payment.DepositStatus.deserializeBinaryFromReader);
|
6106
|
+
msg.addItems(value);
|
6107
|
+
break;
|
6108
|
+
case 2:
|
6109
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6110
|
+
msg.setTotalPages(value);
|
6111
|
+
break;
|
6112
|
+
case 3:
|
6113
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6114
|
+
msg.setTotalItems(value);
|
6115
|
+
break;
|
6116
|
+
default:
|
6117
|
+
reader.skipField();
|
6118
|
+
break;
|
6119
|
+
}
|
6120
|
+
}
|
6121
|
+
return msg;
|
6122
|
+
};
|
6123
|
+
|
6124
|
+
|
6125
|
+
/**
|
6126
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6127
|
+
* @return {!Uint8Array}
|
6128
|
+
*/
|
6129
|
+
proto.payment.DepositStatusItemsResponse.prototype.serializeBinary = function() {
|
6130
|
+
var writer = new jspb.BinaryWriter();
|
6131
|
+
proto.payment.DepositStatusItemsResponse.serializeBinaryToWriter(this, writer);
|
6132
|
+
return writer.getResultBuffer();
|
6133
|
+
};
|
6134
|
+
|
6135
|
+
|
6136
|
+
/**
|
6137
|
+
* Serializes the given message to binary data (in protobuf wire
|
6138
|
+
* format), writing to the given BinaryWriter.
|
6139
|
+
* @param {!proto.payment.DepositStatusItemsResponse} message
|
6140
|
+
* @param {!jspb.BinaryWriter} writer
|
6141
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6142
|
+
*/
|
6143
|
+
proto.payment.DepositStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
6144
|
+
var f = undefined;
|
6145
|
+
f = message.getItemsList();
|
6146
|
+
if (f.length > 0) {
|
6147
|
+
writer.writeRepeatedMessage(
|
6148
|
+
1,
|
6149
|
+
f,
|
6150
|
+
proto.payment.DepositStatus.serializeBinaryToWriter
|
6151
|
+
);
|
6152
|
+
}
|
6153
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
6154
|
+
if (f != null) {
|
6155
|
+
writer.writeInt32(
|
6156
|
+
2,
|
6157
|
+
f
|
6158
|
+
);
|
6159
|
+
}
|
6160
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
6161
|
+
if (f != null) {
|
6162
|
+
writer.writeInt32(
|
6163
|
+
3,
|
6164
|
+
f
|
6165
|
+
);
|
6166
|
+
}
|
6167
|
+
};
|
6168
|
+
|
6169
|
+
|
6170
|
+
/**
|
6171
|
+
* repeated DepositStatus items = 1;
|
6172
|
+
* @return {!Array<!proto.payment.DepositStatus>}
|
6173
|
+
*/
|
6174
|
+
proto.payment.DepositStatusItemsResponse.prototype.getItemsList = function() {
|
6175
|
+
return /** @type{!Array<!proto.payment.DepositStatus>} */ (
|
6176
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.DepositStatus, 1));
|
6177
|
+
};
|
6178
|
+
|
6179
|
+
|
6180
|
+
/**
|
6181
|
+
* @param {!Array<!proto.payment.DepositStatus>} value
|
6182
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6183
|
+
*/
|
6184
|
+
proto.payment.DepositStatusItemsResponse.prototype.setItemsList = function(value) {
|
6185
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
6186
|
+
};
|
6187
|
+
|
6188
|
+
|
6189
|
+
/**
|
6190
|
+
* @param {!proto.payment.DepositStatus=} opt_value
|
6191
|
+
* @param {number=} opt_index
|
6192
|
+
* @return {!proto.payment.DepositStatus}
|
6193
|
+
*/
|
6194
|
+
proto.payment.DepositStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
6195
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.DepositStatus, opt_index);
|
6196
|
+
};
|
6197
|
+
|
6198
|
+
|
6199
|
+
/**
|
6200
|
+
* Clears the list making it empty but non-null.
|
6201
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6202
|
+
*/
|
6203
|
+
proto.payment.DepositStatusItemsResponse.prototype.clearItemsList = function() {
|
6204
|
+
return this.setItemsList([]);
|
6205
|
+
};
|
6206
|
+
|
6207
|
+
|
6208
|
+
/**
|
6209
|
+
* optional int32 total_pages = 2;
|
6210
|
+
* @return {number}
|
6211
|
+
*/
|
6212
|
+
proto.payment.DepositStatusItemsResponse.prototype.getTotalPages = function() {
|
6213
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6214
|
+
};
|
6215
|
+
|
6216
|
+
|
6217
|
+
/**
|
6218
|
+
* @param {number} value
|
6219
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6220
|
+
*/
|
6221
|
+
proto.payment.DepositStatusItemsResponse.prototype.setTotalPages = function(value) {
|
6222
|
+
return jspb.Message.setField(this, 2, value);
|
6223
|
+
};
|
6224
|
+
|
6225
|
+
|
6226
|
+
/**
|
6227
|
+
* Clears the field making it undefined.
|
6228
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6229
|
+
*/
|
6230
|
+
proto.payment.DepositStatusItemsResponse.prototype.clearTotalPages = function() {
|
6231
|
+
return jspb.Message.setField(this, 2, undefined);
|
6232
|
+
};
|
6233
|
+
|
6234
|
+
|
6235
|
+
/**
|
6236
|
+
* Returns whether this field is set.
|
6237
|
+
* @return {boolean}
|
6238
|
+
*/
|
6239
|
+
proto.payment.DepositStatusItemsResponse.prototype.hasTotalPages = function() {
|
6240
|
+
return jspb.Message.getField(this, 2) != null;
|
6241
|
+
};
|
6242
|
+
|
6243
|
+
|
6244
|
+
/**
|
6245
|
+
* optional int32 total_items = 3;
|
6246
|
+
* @return {number}
|
6247
|
+
*/
|
6248
|
+
proto.payment.DepositStatusItemsResponse.prototype.getTotalItems = function() {
|
6249
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
6250
|
+
};
|
6251
|
+
|
6252
|
+
|
6253
|
+
/**
|
6254
|
+
* @param {number} value
|
6255
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6256
|
+
*/
|
6257
|
+
proto.payment.DepositStatusItemsResponse.prototype.setTotalItems = function(value) {
|
6258
|
+
return jspb.Message.setField(this, 3, value);
|
6259
|
+
};
|
6260
|
+
|
6261
|
+
|
6262
|
+
/**
|
6263
|
+
* Clears the field making it undefined.
|
6264
|
+
* @return {!proto.payment.DepositStatusItemsResponse} returns this
|
6265
|
+
*/
|
6266
|
+
proto.payment.DepositStatusItemsResponse.prototype.clearTotalItems = function() {
|
6267
|
+
return jspb.Message.setField(this, 3, undefined);
|
6268
|
+
};
|
6269
|
+
|
6270
|
+
|
6271
|
+
/**
|
6272
|
+
* Returns whether this field is set.
|
6273
|
+
* @return {boolean}
|
6274
|
+
*/
|
6275
|
+
proto.payment.DepositStatusItemsResponse.prototype.hasTotalItems = function() {
|
6276
|
+
return jspb.Message.getField(this, 3) != null;
|
6277
|
+
};
|
6278
|
+
|
6279
|
+
|
6280
|
+
|
6281
|
+
|
6282
|
+
|
6283
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6284
|
+
/**
|
6285
|
+
* Creates an object representation of this proto.
|
6286
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6287
|
+
* Optional fields that are not set will be set to undefined.
|
6288
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6289
|
+
* For the list of reserved names please see:
|
6290
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6291
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6292
|
+
* JSPB instance for transitional soy proto support:
|
6293
|
+
* http://goto/soy-param-migration
|
6294
|
+
* @return {!Object}
|
6295
|
+
*/
|
6296
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
6297
|
+
return proto.payment.GetUserPaymentsInfoRequest.toObject(opt_includeInstance, this);
|
6298
|
+
};
|
6299
|
+
|
6300
|
+
|
6301
|
+
/**
|
6302
|
+
* Static version of the {@see toObject} method.
|
6303
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6304
|
+
* the JSPB instance for transitional soy proto support:
|
6305
|
+
* http://goto/soy-param-migration
|
6306
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} msg The msg instance to transform.
|
6307
|
+
* @return {!Object}
|
6308
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6309
|
+
*/
|
6310
|
+
proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, msg) {
|
6311
|
+
var f, obj = {
|
6312
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6313
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6314
|
+
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
6315
|
+
startDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
6316
|
+
endDate: jspb.Message.getFieldWithDefault(msg, 5, "")
|
6317
|
+
};
|
6318
|
+
|
6319
|
+
if (includeInstance) {
|
6320
|
+
obj.$jspbMessageInstance = msg;
|
6321
|
+
}
|
6322
|
+
return obj;
|
6323
|
+
};
|
6324
|
+
}
|
6325
|
+
|
6326
|
+
|
6327
|
+
/**
|
6328
|
+
* Deserializes binary data (in protobuf wire format).
|
6329
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6330
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest}
|
6331
|
+
*/
|
6332
|
+
proto.payment.GetUserPaymentsInfoRequest.deserializeBinary = function(bytes) {
|
6333
|
+
var reader = new jspb.BinaryReader(bytes);
|
6334
|
+
var msg = new proto.payment.GetUserPaymentsInfoRequest;
|
6335
|
+
return proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader(msg, reader);
|
6336
|
+
};
|
6337
|
+
|
6338
|
+
|
6339
|
+
/**
|
6340
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6341
|
+
* given reader into the given message object.
|
6342
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} msg The message object to deserialize into.
|
6343
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6344
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest}
|
6345
|
+
*/
|
6346
|
+
proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
6347
|
+
while (reader.nextField()) {
|
6348
|
+
if (reader.isEndGroup()) {
|
6349
|
+
break;
|
6350
|
+
}
|
6351
|
+
var field = reader.getFieldNumber();
|
6352
|
+
switch (field) {
|
6353
|
+
case 1:
|
6354
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6355
|
+
msg.setUserId(value);
|
6356
|
+
break;
|
6357
|
+
case 2:
|
6358
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6359
|
+
msg.setLimit(value);
|
6360
|
+
break;
|
6361
|
+
case 3:
|
6362
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6363
|
+
msg.setOffset(value);
|
6364
|
+
break;
|
6365
|
+
case 4:
|
6366
|
+
var value = /** @type {string} */ (reader.readString());
|
6367
|
+
msg.setStartDate(value);
|
6368
|
+
break;
|
6369
|
+
case 5:
|
6370
|
+
var value = /** @type {string} */ (reader.readString());
|
6371
|
+
msg.setEndDate(value);
|
6372
|
+
break;
|
6373
|
+
default:
|
6374
|
+
reader.skipField();
|
6375
|
+
break;
|
6376
|
+
}
|
6377
|
+
}
|
6378
|
+
return msg;
|
6379
|
+
};
|
6380
|
+
|
6381
|
+
|
6382
|
+
/**
|
6383
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6384
|
+
* @return {!Uint8Array}
|
6385
|
+
*/
|
6386
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.serializeBinary = function() {
|
6387
|
+
var writer = new jspb.BinaryWriter();
|
6388
|
+
proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter(this, writer);
|
6389
|
+
return writer.getResultBuffer();
|
6390
|
+
};
|
6391
|
+
|
6392
|
+
|
6393
|
+
/**
|
6394
|
+
* Serializes the given message to binary data (in protobuf wire
|
6395
|
+
* format), writing to the given BinaryWriter.
|
6396
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} message
|
6397
|
+
* @param {!jspb.BinaryWriter} writer
|
6398
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6399
|
+
*/
|
6400
|
+
proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
6401
|
+
var f = undefined;
|
6402
|
+
f = message.getUserId();
|
6403
|
+
if (f !== 0) {
|
6404
|
+
writer.writeInt32(
|
6405
|
+
1,
|
6406
|
+
f
|
6407
|
+
);
|
6408
|
+
}
|
6409
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
6410
|
+
if (f != null) {
|
6411
|
+
writer.writeInt32(
|
6412
|
+
2,
|
6413
|
+
f
|
6414
|
+
);
|
6415
|
+
}
|
6416
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
6417
|
+
if (f != null) {
|
6418
|
+
writer.writeInt32(
|
6419
|
+
3,
|
6420
|
+
f
|
6421
|
+
);
|
6422
|
+
}
|
6423
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
6424
|
+
if (f != null) {
|
6425
|
+
writer.writeString(
|
6426
|
+
4,
|
6427
|
+
f
|
6428
|
+
);
|
6429
|
+
}
|
6430
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
6431
|
+
if (f != null) {
|
6432
|
+
writer.writeString(
|
6433
|
+
5,
|
6434
|
+
f
|
6435
|
+
);
|
6436
|
+
}
|
6437
|
+
};
|
6438
|
+
|
6439
|
+
|
6440
|
+
/**
|
6441
|
+
* optional int32 user_id = 1;
|
6442
|
+
* @return {number}
|
6443
|
+
*/
|
6444
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getUserId = function() {
|
6445
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
6446
|
+
};
|
6447
|
+
|
6448
|
+
|
6449
|
+
/**
|
6450
|
+
* @param {number} value
|
6451
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6452
|
+
*/
|
6453
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setUserId = function(value) {
|
6454
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
6455
|
+
};
|
6456
|
+
|
6457
|
+
|
6458
|
+
/**
|
6459
|
+
* optional int32 limit = 2;
|
6460
|
+
* @return {number}
|
6461
|
+
*/
|
6462
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getLimit = function() {
|
6463
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6464
|
+
};
|
6465
|
+
|
6466
|
+
|
6467
|
+
/**
|
6468
|
+
* @param {number} value
|
6469
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6470
|
+
*/
|
6471
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setLimit = function(value) {
|
6472
|
+
return jspb.Message.setField(this, 2, value);
|
6473
|
+
};
|
6474
|
+
|
6475
|
+
|
6476
|
+
/**
|
6477
|
+
* Clears the field making it undefined.
|
6478
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6479
|
+
*/
|
6480
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearLimit = function() {
|
6481
|
+
return jspb.Message.setField(this, 2, undefined);
|
6482
|
+
};
|
6483
|
+
|
6484
|
+
|
6485
|
+
/**
|
6486
|
+
* Returns whether this field is set.
|
6487
|
+
* @return {boolean}
|
6488
|
+
*/
|
6489
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasLimit = function() {
|
6490
|
+
return jspb.Message.getField(this, 2) != null;
|
6491
|
+
};
|
6492
|
+
|
6493
|
+
|
6494
|
+
/**
|
6495
|
+
* optional int32 offset = 3;
|
6496
|
+
* @return {number}
|
6497
|
+
*/
|
6498
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getOffset = function() {
|
6499
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
6500
|
+
};
|
6501
|
+
|
6502
|
+
|
6503
|
+
/**
|
6504
|
+
* @param {number} value
|
6505
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6506
|
+
*/
|
6507
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setOffset = function(value) {
|
6508
|
+
return jspb.Message.setField(this, 3, value);
|
6509
|
+
};
|
6510
|
+
|
6511
|
+
|
6512
|
+
/**
|
6513
|
+
* Clears the field making it undefined.
|
6514
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6515
|
+
*/
|
6516
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearOffset = function() {
|
6517
|
+
return jspb.Message.setField(this, 3, undefined);
|
6518
|
+
};
|
6519
|
+
|
6520
|
+
|
6521
|
+
/**
|
6522
|
+
* Returns whether this field is set.
|
6523
|
+
* @return {boolean}
|
6524
|
+
*/
|
6525
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasOffset = function() {
|
6526
|
+
return jspb.Message.getField(this, 3) != null;
|
6527
|
+
};
|
6528
|
+
|
6529
|
+
|
6530
|
+
/**
|
6531
|
+
* optional string start_date = 4;
|
6532
|
+
* @return {string}
|
6533
|
+
*/
|
6534
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getStartDate = function() {
|
6535
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
6536
|
+
};
|
6537
|
+
|
6538
|
+
|
6539
|
+
/**
|
6540
|
+
* @param {string} value
|
6541
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6542
|
+
*/
|
6543
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setStartDate = function(value) {
|
6544
|
+
return jspb.Message.setField(this, 4, value);
|
6545
|
+
};
|
6546
|
+
|
6547
|
+
|
6548
|
+
/**
|
6549
|
+
* Clears the field making it undefined.
|
6550
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6551
|
+
*/
|
6552
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearStartDate = function() {
|
6553
|
+
return jspb.Message.setField(this, 4, undefined);
|
6554
|
+
};
|
6555
|
+
|
6556
|
+
|
6557
|
+
/**
|
6558
|
+
* Returns whether this field is set.
|
6559
|
+
* @return {boolean}
|
6560
|
+
*/
|
6561
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasStartDate = function() {
|
6562
|
+
return jspb.Message.getField(this, 4) != null;
|
6563
|
+
};
|
6564
|
+
|
6565
|
+
|
6566
|
+
/**
|
6567
|
+
* optional string end_date = 5;
|
6568
|
+
* @return {string}
|
6569
|
+
*/
|
6570
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getEndDate = function() {
|
6571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
6572
|
+
};
|
6573
|
+
|
6574
|
+
|
6575
|
+
/**
|
6576
|
+
* @param {string} value
|
6577
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6578
|
+
*/
|
6579
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setEndDate = function(value) {
|
6580
|
+
return jspb.Message.setField(this, 5, value);
|
6581
|
+
};
|
6582
|
+
|
6583
|
+
|
6584
|
+
/**
|
6585
|
+
* Clears the field making it undefined.
|
6586
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6587
|
+
*/
|
6588
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearEndDate = function() {
|
6589
|
+
return jspb.Message.setField(this, 5, undefined);
|
6590
|
+
};
|
6591
|
+
|
6592
|
+
|
6593
|
+
/**
|
6594
|
+
* Returns whether this field is set.
|
6595
|
+
* @return {boolean}
|
6596
|
+
*/
|
6597
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasEndDate = function() {
|
6598
|
+
return jspb.Message.getField(this, 5) != null;
|
6599
|
+
};
|
6600
|
+
|
6601
|
+
|
6602
|
+
|
6603
|
+
|
6604
|
+
|
6605
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6606
|
+
/**
|
6607
|
+
* Creates an object representation of this proto.
|
6608
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6609
|
+
* Optional fields that are not set will be set to undefined.
|
6610
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6611
|
+
* For the list of reserved names please see:
|
6612
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6613
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6614
|
+
* JSPB instance for transitional soy proto support:
|
6615
|
+
* http://goto/soy-param-migration
|
6616
|
+
* @return {!Object}
|
6617
|
+
*/
|
6618
|
+
proto.payment.UserPaymentsInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
6619
|
+
return proto.payment.UserPaymentsInfoResponse.toObject(opt_includeInstance, this);
|
6620
|
+
};
|
6621
|
+
|
6622
|
+
|
6623
|
+
/**
|
6624
|
+
* Static version of the {@see toObject} method.
|
6625
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6626
|
+
* the JSPB instance for transitional soy proto support:
|
6627
|
+
* http://goto/soy-param-migration
|
6628
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} msg The msg instance to transform.
|
6629
|
+
* @return {!Object}
|
6630
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6631
|
+
*/
|
6632
|
+
proto.payment.UserPaymentsInfoResponse.toObject = function(includeInstance, msg) {
|
6633
|
+
var f, obj = {
|
6634
|
+
depositSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
6635
|
+
depositCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6636
|
+
withdrawalSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
6637
|
+
withdrawalCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
6638
|
+
depositSucceed: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
6639
|
+
withdrawalSucceed: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
6640
|
+
depositFailed: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
6641
|
+
withdrawalFailed: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
6642
|
+
depositPending: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
6643
|
+
withdrawalPending: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
6644
|
+
depositAttempt: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
6645
|
+
withdrawalAttempt: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
6646
|
+
};
|
6647
|
+
|
6648
|
+
if (includeInstance) {
|
6649
|
+
obj.$jspbMessageInstance = msg;
|
6650
|
+
}
|
6651
|
+
return obj;
|
6652
|
+
};
|
6653
|
+
}
|
6654
|
+
|
6655
|
+
|
6656
|
+
/**
|
6657
|
+
* Deserializes binary data (in protobuf wire format).
|
6658
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6659
|
+
* @return {!proto.payment.UserPaymentsInfoResponse}
|
6660
|
+
*/
|
6661
|
+
proto.payment.UserPaymentsInfoResponse.deserializeBinary = function(bytes) {
|
6662
|
+
var reader = new jspb.BinaryReader(bytes);
|
6663
|
+
var msg = new proto.payment.UserPaymentsInfoResponse;
|
6664
|
+
return proto.payment.UserPaymentsInfoResponse.deserializeBinaryFromReader(msg, reader);
|
6665
|
+
};
|
6666
|
+
|
6667
|
+
|
6668
|
+
/**
|
6669
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6670
|
+
* given reader into the given message object.
|
6671
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} msg The message object to deserialize into.
|
6672
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6673
|
+
* @return {!proto.payment.UserPaymentsInfoResponse}
|
6674
|
+
*/
|
6675
|
+
proto.payment.UserPaymentsInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
6676
|
+
while (reader.nextField()) {
|
6677
|
+
if (reader.isEndGroup()) {
|
6678
|
+
break;
|
6679
|
+
}
|
6680
|
+
var field = reader.getFieldNumber();
|
6681
|
+
switch (field) {
|
6682
|
+
case 1:
|
6683
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6684
|
+
msg.setDepositSum(value);
|
6685
|
+
break;
|
6686
|
+
case 2:
|
6687
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6688
|
+
msg.setDepositCount(value);
|
6689
|
+
break;
|
6690
|
+
case 3:
|
6691
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6692
|
+
msg.setWithdrawalSum(value);
|
6693
|
+
break;
|
6694
|
+
case 4:
|
6695
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6696
|
+
msg.setWithdrawalCount(value);
|
6697
|
+
break;
|
6698
|
+
case 5:
|
6699
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6700
|
+
msg.setDepositSucceed(value);
|
6701
|
+
break;
|
6702
|
+
case 6:
|
6703
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6704
|
+
msg.setWithdrawalSucceed(value);
|
6705
|
+
break;
|
6706
|
+
case 7:
|
6707
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6708
|
+
msg.setDepositFailed(value);
|
6709
|
+
break;
|
6710
|
+
case 8:
|
6711
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6712
|
+
msg.setWithdrawalFailed(value);
|
6713
|
+
break;
|
6714
|
+
case 9:
|
6715
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6716
|
+
msg.setDepositPending(value);
|
6717
|
+
break;
|
6718
|
+
case 10:
|
6719
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6720
|
+
msg.setWithdrawalPending(value);
|
6721
|
+
break;
|
6722
|
+
case 11:
|
6723
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6724
|
+
msg.setDepositAttempt(value);
|
6725
|
+
break;
|
6726
|
+
case 12:
|
6727
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6728
|
+
msg.setWithdrawalAttempt(value);
|
6729
|
+
break;
|
6730
|
+
default:
|
6731
|
+
reader.skipField();
|
6732
|
+
break;
|
6733
|
+
}
|
6734
|
+
}
|
6735
|
+
return msg;
|
6736
|
+
};
|
6737
|
+
|
6738
|
+
|
6739
|
+
/**
|
6740
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6741
|
+
* @return {!Uint8Array}
|
6742
|
+
*/
|
6743
|
+
proto.payment.UserPaymentsInfoResponse.prototype.serializeBinary = function() {
|
6744
|
+
var writer = new jspb.BinaryWriter();
|
6745
|
+
proto.payment.UserPaymentsInfoResponse.serializeBinaryToWriter(this, writer);
|
6746
|
+
return writer.getResultBuffer();
|
6747
|
+
};
|
6748
|
+
|
6749
|
+
|
6750
|
+
/**
|
6751
|
+
* Serializes the given message to binary data (in protobuf wire
|
6752
|
+
* format), writing to the given BinaryWriter.
|
6753
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} message
|
6754
|
+
* @param {!jspb.BinaryWriter} writer
|
6755
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6756
|
+
*/
|
6757
|
+
proto.payment.UserPaymentsInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
6758
|
+
var f = undefined;
|
6759
|
+
f = message.getDepositSum();
|
6760
|
+
if (f !== 0.0) {
|
6761
|
+
writer.writeFloat(
|
6762
|
+
1,
|
6763
|
+
f
|
6764
|
+
);
|
6765
|
+
}
|
6766
|
+
f = message.getDepositCount();
|
6767
|
+
if (f !== 0) {
|
6768
|
+
writer.writeInt32(
|
6769
|
+
2,
|
6770
|
+
f
|
6771
|
+
);
|
6772
|
+
}
|
6773
|
+
f = message.getWithdrawalSum();
|
6774
|
+
if (f !== 0.0) {
|
6775
|
+
writer.writeFloat(
|
6776
|
+
3,
|
6777
|
+
f
|
6778
|
+
);
|
6779
|
+
}
|
6780
|
+
f = message.getWithdrawalCount();
|
6781
|
+
if (f !== 0) {
|
6782
|
+
writer.writeInt32(
|
6783
|
+
4,
|
6784
|
+
f
|
6785
|
+
);
|
6786
|
+
}
|
6787
|
+
f = message.getDepositSucceed();
|
6788
|
+
if (f !== 0) {
|
6789
|
+
writer.writeInt32(
|
6790
|
+
5,
|
6791
|
+
f
|
6792
|
+
);
|
6793
|
+
}
|
6794
|
+
f = message.getWithdrawalSucceed();
|
6795
|
+
if (f !== 0) {
|
6796
|
+
writer.writeInt32(
|
6797
|
+
6,
|
6798
|
+
f
|
6799
|
+
);
|
6800
|
+
}
|
6801
|
+
f = message.getDepositFailed();
|
6802
|
+
if (f !== 0) {
|
6803
|
+
writer.writeInt32(
|
6804
|
+
7,
|
6805
|
+
f
|
6806
|
+
);
|
6807
|
+
}
|
6808
|
+
f = message.getWithdrawalFailed();
|
6809
|
+
if (f !== 0) {
|
6810
|
+
writer.writeInt32(
|
6811
|
+
8,
|
6812
|
+
f
|
6813
|
+
);
|
6814
|
+
}
|
6815
|
+
f = message.getDepositPending();
|
6816
|
+
if (f !== 0) {
|
6817
|
+
writer.writeInt32(
|
6818
|
+
9,
|
6819
|
+
f
|
6820
|
+
);
|
6821
|
+
}
|
6822
|
+
f = message.getWithdrawalPending();
|
6823
|
+
if (f !== 0) {
|
6824
|
+
writer.writeInt32(
|
6825
|
+
10,
|
6826
|
+
f
|
6827
|
+
);
|
6828
|
+
}
|
6829
|
+
f = message.getDepositAttempt();
|
6830
|
+
if (f !== 0) {
|
6831
|
+
writer.writeInt32(
|
6832
|
+
11,
|
6833
|
+
f
|
6834
|
+
);
|
6835
|
+
}
|
6836
|
+
f = message.getWithdrawalAttempt();
|
6837
|
+
if (f !== 0) {
|
6838
|
+
writer.writeInt32(
|
6839
|
+
12,
|
6840
|
+
f
|
6841
|
+
);
|
6842
|
+
}
|
6843
|
+
};
|
6844
|
+
|
6845
|
+
|
6846
|
+
/**
|
6847
|
+
* optional float deposit_sum = 1;
|
6848
|
+
* @return {number}
|
6849
|
+
*/
|
6850
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositSum = function() {
|
6851
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
6852
|
+
};
|
6853
|
+
|
6854
|
+
|
6855
|
+
/**
|
6856
|
+
* @param {number} value
|
6857
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6858
|
+
*/
|
6859
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositSum = function(value) {
|
6860
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
6861
|
+
};
|
6862
|
+
|
6863
|
+
|
6864
|
+
/**
|
6865
|
+
* optional int32 deposit_count = 2;
|
6866
|
+
* @return {number}
|
6867
|
+
*/
|
6868
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositCount = function() {
|
6869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6870
|
+
};
|
6871
|
+
|
6872
|
+
|
6873
|
+
/**
|
6874
|
+
* @param {number} value
|
6875
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6876
|
+
*/
|
6877
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositCount = function(value) {
|
6878
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
6879
|
+
};
|
6880
|
+
|
6881
|
+
|
6882
|
+
/**
|
6883
|
+
* optional float withdrawal_sum = 3;
|
6884
|
+
* @return {number}
|
6885
|
+
*/
|
6886
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalSum = function() {
|
6887
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
6888
|
+
};
|
6889
|
+
|
6890
|
+
|
6891
|
+
/**
|
6892
|
+
* @param {number} value
|
6893
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6894
|
+
*/
|
6895
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalSum = function(value) {
|
6896
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
6897
|
+
};
|
6898
|
+
|
6899
|
+
|
6900
|
+
/**
|
6901
|
+
* optional int32 withdrawal_count = 4;
|
6902
|
+
* @return {number}
|
6903
|
+
*/
|
6904
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalCount = function() {
|
6905
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
6906
|
+
};
|
6907
|
+
|
6908
|
+
|
6909
|
+
/**
|
6910
|
+
* @param {number} value
|
6911
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6912
|
+
*/
|
6913
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalCount = function(value) {
|
6914
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
6915
|
+
};
|
6916
|
+
|
6917
|
+
|
6918
|
+
/**
|
6919
|
+
* optional int32 deposit_succeed = 5;
|
6920
|
+
* @return {number}
|
6921
|
+
*/
|
6922
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositSucceed = function() {
|
6923
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
6924
|
+
};
|
6925
|
+
|
6926
|
+
|
6927
|
+
/**
|
6928
|
+
* @param {number} value
|
6929
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6930
|
+
*/
|
6931
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositSucceed = function(value) {
|
6932
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
6933
|
+
};
|
6934
|
+
|
6935
|
+
|
6936
|
+
/**
|
6937
|
+
* optional int32 withdrawal_succeed = 6;
|
6938
|
+
* @return {number}
|
6939
|
+
*/
|
6940
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalSucceed = function() {
|
6941
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
6942
|
+
};
|
6943
|
+
|
6944
|
+
|
6945
|
+
/**
|
6946
|
+
* @param {number} value
|
6947
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6948
|
+
*/
|
6949
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalSucceed = function(value) {
|
6950
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
6951
|
+
};
|
6952
|
+
|
6953
|
+
|
6954
|
+
/**
|
6955
|
+
* optional int32 deposit_failed = 7;
|
6956
|
+
* @return {number}
|
6957
|
+
*/
|
6958
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositFailed = function() {
|
6959
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
6960
|
+
};
|
6961
|
+
|
6962
|
+
|
6963
|
+
/**
|
6964
|
+
* @param {number} value
|
6965
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6966
|
+
*/
|
6967
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositFailed = function(value) {
|
6968
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
6969
|
+
};
|
6970
|
+
|
6971
|
+
|
6972
|
+
/**
|
6973
|
+
* optional int32 withdrawal_failed = 8;
|
6974
|
+
* @return {number}
|
6975
|
+
*/
|
6976
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalFailed = function() {
|
6977
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
6978
|
+
};
|
6979
|
+
|
6980
|
+
|
6981
|
+
/**
|
6982
|
+
* @param {number} value
|
6983
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6984
|
+
*/
|
6985
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalFailed = function(value) {
|
6986
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
6987
|
+
};
|
6988
|
+
|
6989
|
+
|
6990
|
+
/**
|
6991
|
+
* optional int32 deposit_pending = 9;
|
6992
|
+
* @return {number}
|
6993
|
+
*/
|
6994
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositPending = function() {
|
6995
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
6996
|
+
};
|
6997
|
+
|
6998
|
+
|
6999
|
+
/**
|
7000
|
+
* @param {number} value
|
7001
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7002
|
+
*/
|
7003
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositPending = function(value) {
|
7004
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
7005
|
+
};
|
7006
|
+
|
7007
|
+
|
7008
|
+
/**
|
7009
|
+
* optional int32 withdrawal_pending = 10;
|
7010
|
+
* @return {number}
|
7011
|
+
*/
|
7012
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalPending = function() {
|
7013
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
7014
|
+
};
|
7015
|
+
|
7016
|
+
|
7017
|
+
/**
|
7018
|
+
* @param {number} value
|
7019
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7020
|
+
*/
|
7021
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalPending = function(value) {
|
7022
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
7023
|
+
};
|
7024
|
+
|
7025
|
+
|
7026
|
+
/**
|
7027
|
+
* optional int32 deposit_attempt = 11;
|
7028
|
+
* @return {number}
|
7029
|
+
*/
|
7030
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositAttempt = function() {
|
7031
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
7032
|
+
};
|
7033
|
+
|
7034
|
+
|
7035
|
+
/**
|
7036
|
+
* @param {number} value
|
7037
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7038
|
+
*/
|
7039
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositAttempt = function(value) {
|
7040
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
7041
|
+
};
|
7042
|
+
|
7043
|
+
|
7044
|
+
/**
|
7045
|
+
* optional int32 withdrawal_attempt = 12;
|
7046
|
+
* @return {number}
|
7047
|
+
*/
|
7048
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalAttempt = function() {
|
7049
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
7050
|
+
};
|
7051
|
+
|
7052
|
+
|
7053
|
+
/**
|
7054
|
+
* @param {number} value
|
7055
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7056
|
+
*/
|
7057
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalAttempt = function(value) {
|
7058
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
7059
|
+
};
|
7060
|
+
|
7061
|
+
|
7062
|
+
|
7063
|
+
|
7064
|
+
|
7065
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
7066
|
+
/**
|
7067
|
+
* Creates an object representation of this proto.
|
7068
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
7069
|
+
* Optional fields that are not set will be set to undefined.
|
7070
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
7071
|
+
* For the list of reserved names please see:
|
7072
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
7073
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
7074
|
+
* JSPB instance for transitional soy proto support:
|
7075
|
+
* http://goto/soy-param-migration
|
7076
|
+
* @return {!Object}
|
7077
|
+
*/
|
7078
|
+
proto.payment.UserDepositItem.prototype.toObject = function(opt_includeInstance) {
|
7079
|
+
return proto.payment.UserDepositItem.toObject(opt_includeInstance, this);
|
7080
|
+
};
|
7081
|
+
|
7082
|
+
|
7083
|
+
/**
|
7084
|
+
* Static version of the {@see toObject} method.
|
7085
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
7086
|
+
* the JSPB instance for transitional soy proto support:
|
7087
|
+
* http://goto/soy-param-migration
|
7088
|
+
* @param {!proto.payment.UserDepositItem} msg The msg instance to transform.
|
7089
|
+
* @return {!Object}
|
7090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7091
|
+
*/
|
7092
|
+
proto.payment.UserDepositItem.toObject = function(includeInstance, msg) {
|
7093
|
+
var f, obj = {
|
7094
|
+
depositId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
7095
|
+
amountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
7096
|
+
amountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
7097
|
+
fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
7098
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
7099
|
+
paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
7100
|
+
paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
7101
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
7102
|
+
created: jspb.Message.getFieldWithDefault(msg, 9, "")
|
7103
|
+
};
|
7104
|
+
|
7105
|
+
if (includeInstance) {
|
7106
|
+
obj.$jspbMessageInstance = msg;
|
7107
|
+
}
|
7108
|
+
return obj;
|
7109
|
+
};
|
7110
|
+
}
|
7111
|
+
|
7112
|
+
|
7113
|
+
/**
|
7114
|
+
* Deserializes binary data (in protobuf wire format).
|
7115
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
7116
|
+
* @return {!proto.payment.UserDepositItem}
|
7117
|
+
*/
|
7118
|
+
proto.payment.UserDepositItem.deserializeBinary = function(bytes) {
|
7119
|
+
var reader = new jspb.BinaryReader(bytes);
|
7120
|
+
var msg = new proto.payment.UserDepositItem;
|
7121
|
+
return proto.payment.UserDepositItem.deserializeBinaryFromReader(msg, reader);
|
7122
|
+
};
|
7123
|
+
|
7124
|
+
|
7125
|
+
/**
|
7126
|
+
* Deserializes binary data (in protobuf wire format) from the
|
7127
|
+
* given reader into the given message object.
|
7128
|
+
* @param {!proto.payment.UserDepositItem} msg The message object to deserialize into.
|
7129
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
7130
|
+
* @return {!proto.payment.UserDepositItem}
|
7131
|
+
*/
|
7132
|
+
proto.payment.UserDepositItem.deserializeBinaryFromReader = function(msg, reader) {
|
7133
|
+
while (reader.nextField()) {
|
7134
|
+
if (reader.isEndGroup()) {
|
7135
|
+
break;
|
7136
|
+
}
|
7137
|
+
var field = reader.getFieldNumber();
|
7138
|
+
switch (field) {
|
7139
|
+
case 1:
|
7140
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7141
|
+
msg.setDepositId(value);
|
7142
|
+
break;
|
7143
|
+
case 2:
|
7144
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7145
|
+
msg.setAmountAttempt(value);
|
7146
|
+
break;
|
7147
|
+
case 3:
|
7148
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7149
|
+
msg.setAmountPaid(value);
|
7150
|
+
break;
|
7151
|
+
case 4:
|
7152
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7153
|
+
msg.setFee(value);
|
7154
|
+
break;
|
7155
|
+
case 5:
|
7156
|
+
var value = /** @type {string} */ (reader.readString());
|
7157
|
+
msg.setCurrency(value);
|
7158
|
+
break;
|
7159
|
+
case 6:
|
7160
|
+
var value = /** @type {string} */ (reader.readString());
|
7161
|
+
msg.setPaymentMethodTitle(value);
|
7162
|
+
break;
|
7163
|
+
case 7:
|
7164
|
+
var value = /** @type {string} */ (reader.readString());
|
7165
|
+
msg.setPaymentProviderImage(value);
|
7166
|
+
break;
|
7167
|
+
case 8:
|
7168
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7169
|
+
msg.setStatusId(value);
|
7170
|
+
break;
|
7171
|
+
case 9:
|
7172
|
+
var value = /** @type {string} */ (reader.readString());
|
7173
|
+
msg.setCreated(value);
|
7174
|
+
break;
|
7175
|
+
default:
|
7176
|
+
reader.skipField();
|
7177
|
+
break;
|
7178
|
+
}
|
7179
|
+
}
|
7180
|
+
return msg;
|
7181
|
+
};
|
7182
|
+
|
7183
|
+
|
7184
|
+
/**
|
7185
|
+
* Serializes the message to binary data (in protobuf wire format).
|
7186
|
+
* @return {!Uint8Array}
|
7187
|
+
*/
|
7188
|
+
proto.payment.UserDepositItem.prototype.serializeBinary = function() {
|
7189
|
+
var writer = new jspb.BinaryWriter();
|
7190
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter(this, writer);
|
7191
|
+
return writer.getResultBuffer();
|
7192
|
+
};
|
7193
|
+
|
7194
|
+
|
7195
|
+
/**
|
7196
|
+
* Serializes the given message to binary data (in protobuf wire
|
7197
|
+
* format), writing to the given BinaryWriter.
|
7198
|
+
* @param {!proto.payment.UserDepositItem} message
|
7199
|
+
* @param {!jspb.BinaryWriter} writer
|
7200
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7201
|
+
*/
|
7202
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer) {
|
7203
|
+
var f = undefined;
|
7204
|
+
f = message.getDepositId();
|
7205
|
+
if (f !== 0) {
|
7206
|
+
writer.writeInt32(
|
7207
|
+
1,
|
7208
|
+
f
|
7209
|
+
);
|
7210
|
+
}
|
7211
|
+
f = message.getAmountAttempt();
|
7212
|
+
if (f !== 0.0) {
|
7213
|
+
writer.writeFloat(
|
7214
|
+
2,
|
7215
|
+
f
|
7216
|
+
);
|
7217
|
+
}
|
7218
|
+
f = message.getAmountPaid();
|
7219
|
+
if (f !== 0.0) {
|
7220
|
+
writer.writeFloat(
|
7221
|
+
3,
|
7222
|
+
f
|
7223
|
+
);
|
7224
|
+
}
|
7225
|
+
f = message.getFee();
|
7226
|
+
if (f !== 0.0) {
|
7227
|
+
writer.writeFloat(
|
7228
|
+
4,
|
7229
|
+
f
|
7230
|
+
);
|
7231
|
+
}
|
7232
|
+
f = message.getCurrency();
|
7233
|
+
if (f.length > 0) {
|
7234
|
+
writer.writeString(
|
7235
|
+
5,
|
7236
|
+
f
|
7237
|
+
);
|
7238
|
+
}
|
7239
|
+
f = message.getPaymentMethodTitle();
|
7240
|
+
if (f.length > 0) {
|
7241
|
+
writer.writeString(
|
7242
|
+
6,
|
7243
|
+
f
|
7244
|
+
);
|
7245
|
+
}
|
7246
|
+
f = message.getPaymentProviderImage();
|
7247
|
+
if (f.length > 0) {
|
7248
|
+
writer.writeString(
|
7249
|
+
7,
|
7250
|
+
f
|
7251
|
+
);
|
7252
|
+
}
|
7253
|
+
f = message.getStatusId();
|
7254
|
+
if (f !== 0) {
|
7255
|
+
writer.writeInt32(
|
7256
|
+
8,
|
7257
|
+
f
|
7258
|
+
);
|
7259
|
+
}
|
7260
|
+
f = message.getCreated();
|
7261
|
+
if (f.length > 0) {
|
7262
|
+
writer.writeString(
|
7263
|
+
9,
|
7264
|
+
f
|
7265
|
+
);
|
7266
|
+
}
|
7267
|
+
};
|
7268
|
+
|
7269
|
+
|
7270
|
+
/**
|
7271
|
+
* optional int32 deposit_id = 1;
|
7272
|
+
* @return {number}
|
7273
|
+
*/
|
7274
|
+
proto.payment.UserDepositItem.prototype.getDepositId = function() {
|
7275
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
7276
|
+
};
|
7277
|
+
|
7278
|
+
|
7279
|
+
/**
|
7280
|
+
* @param {number} value
|
7281
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7282
|
+
*/
|
7283
|
+
proto.payment.UserDepositItem.prototype.setDepositId = function(value) {
|
7284
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
7285
|
+
};
|
7286
|
+
|
7287
|
+
|
7288
|
+
/**
|
7289
|
+
* optional float amount_attempt = 2;
|
7290
|
+
* @return {number}
|
7291
|
+
*/
|
7292
|
+
proto.payment.UserDepositItem.prototype.getAmountAttempt = function() {
|
7293
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
7294
|
+
};
|
7295
|
+
|
7296
|
+
|
7297
|
+
/**
|
7298
|
+
* @param {number} value
|
7299
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7300
|
+
*/
|
7301
|
+
proto.payment.UserDepositItem.prototype.setAmountAttempt = function(value) {
|
7302
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
7303
|
+
};
|
7304
|
+
|
7305
|
+
|
7306
|
+
/**
|
7307
|
+
* optional float amount_paid = 3;
|
7308
|
+
* @return {number}
|
7309
|
+
*/
|
7310
|
+
proto.payment.UserDepositItem.prototype.getAmountPaid = function() {
|
7311
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
7312
|
+
};
|
7313
|
+
|
7314
|
+
|
7315
|
+
/**
|
7316
|
+
* @param {number} value
|
7317
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7318
|
+
*/
|
7319
|
+
proto.payment.UserDepositItem.prototype.setAmountPaid = function(value) {
|
7320
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
7321
|
+
};
|
7322
|
+
|
7323
|
+
|
7324
|
+
/**
|
7325
|
+
* optional float fee = 4;
|
7326
|
+
* @return {number}
|
7327
|
+
*/
|
7328
|
+
proto.payment.UserDepositItem.prototype.getFee = function() {
|
7329
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
7330
|
+
};
|
7331
|
+
|
7332
|
+
|
7333
|
+
/**
|
7334
|
+
* @param {number} value
|
7335
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7336
|
+
*/
|
7337
|
+
proto.payment.UserDepositItem.prototype.setFee = function(value) {
|
7338
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
7339
|
+
};
|
7340
|
+
|
7341
|
+
|
7342
|
+
/**
|
7343
|
+
* optional string currency = 5;
|
7344
|
+
* @return {string}
|
7345
|
+
*/
|
7346
|
+
proto.payment.UserDepositItem.prototype.getCurrency = function() {
|
7347
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
7348
|
+
};
|
7349
|
+
|
7350
|
+
|
7351
|
+
/**
|
7352
|
+
* @param {string} value
|
7353
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7354
|
+
*/
|
7355
|
+
proto.payment.UserDepositItem.prototype.setCurrency = function(value) {
|
7356
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
7357
|
+
};
|
7358
|
+
|
7359
|
+
|
7360
|
+
/**
|
7361
|
+
* optional string payment_method_title = 6;
|
7362
|
+
* @return {string}
|
7363
|
+
*/
|
7364
|
+
proto.payment.UserDepositItem.prototype.getPaymentMethodTitle = function() {
|
7365
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
7366
|
+
};
|
7367
|
+
|
7368
|
+
|
7369
|
+
/**
|
7370
|
+
* @param {string} value
|
7371
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7372
|
+
*/
|
7373
|
+
proto.payment.UserDepositItem.prototype.setPaymentMethodTitle = function(value) {
|
7374
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
7375
|
+
};
|
7376
|
+
|
7377
|
+
|
7378
|
+
/**
|
7379
|
+
* optional string payment_provider_image = 7;
|
7380
|
+
* @return {string}
|
7381
|
+
*/
|
7382
|
+
proto.payment.UserDepositItem.prototype.getPaymentProviderImage = function() {
|
7383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
7384
|
+
};
|
7385
|
+
|
7386
|
+
|
7387
|
+
/**
|
7388
|
+
* @param {string} value
|
7389
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7390
|
+
*/
|
7391
|
+
proto.payment.UserDepositItem.prototype.setPaymentProviderImage = function(value) {
|
7392
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
7393
|
+
};
|
7394
|
+
|
7395
|
+
|
7396
|
+
/**
|
7397
|
+
* optional int32 status_id = 8;
|
7398
|
+
* @return {number}
|
7399
|
+
*/
|
7400
|
+
proto.payment.UserDepositItem.prototype.getStatusId = function() {
|
7401
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
7402
|
+
};
|
7403
|
+
|
7404
|
+
|
7405
|
+
/**
|
7406
|
+
* @param {number} value
|
7407
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7408
|
+
*/
|
7409
|
+
proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
|
7410
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
7411
|
+
};
|
7412
|
+
|
7413
|
+
|
7414
|
+
/**
|
7415
|
+
* optional string created = 9;
|
7416
|
+
* @return {string}
|
7417
|
+
*/
|
7418
|
+
proto.payment.UserDepositItem.prototype.getCreated = function() {
|
7419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
7420
|
+
};
|
7421
|
+
|
7422
|
+
|
7423
|
+
/**
|
7424
|
+
* @param {string} value
|
7425
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7426
|
+
*/
|
7427
|
+
proto.payment.UserDepositItem.prototype.setCreated = function(value) {
|
7428
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
7429
|
+
};
|
7430
|
+
|
7431
|
+
|
7432
|
+
|
7433
|
+
/**
|
7434
|
+
* List of repeated fields within this message type.
|
7435
|
+
* @private {!Array<number>}
|
7436
|
+
* @const
|
7437
|
+
*/
|
7438
|
+
proto.payment.UserDepositItemsResponse.repeatedFields_ = [1];
|
7439
|
+
|
7440
|
+
|
7441
|
+
|
7442
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
7443
|
+
/**
|
7444
|
+
* Creates an object representation of this proto.
|
7445
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
7446
|
+
* Optional fields that are not set will be set to undefined.
|
7447
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
7448
|
+
* For the list of reserved names please see:
|
7449
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
7450
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
7451
|
+
* JSPB instance for transitional soy proto support:
|
7452
|
+
* http://goto/soy-param-migration
|
7453
|
+
* @return {!Object}
|
7454
|
+
*/
|
7455
|
+
proto.payment.UserDepositItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
7456
|
+
return proto.payment.UserDepositItemsResponse.toObject(opt_includeInstance, this);
|
7457
|
+
};
|
7458
|
+
|
7459
|
+
|
7460
|
+
/**
|
7461
|
+
* Static version of the {@see toObject} method.
|
7462
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
7463
|
+
* the JSPB instance for transitional soy proto support:
|
7464
|
+
* http://goto/soy-param-migration
|
7465
|
+
* @param {!proto.payment.UserDepositItemsResponse} msg The msg instance to transform.
|
7466
|
+
* @return {!Object}
|
7467
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7468
|
+
*/
|
7469
|
+
proto.payment.UserDepositItemsResponse.toObject = function(includeInstance, msg) {
|
7470
|
+
var f, obj = {
|
7471
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
7472
|
+
proto.payment.UserDepositItem.toObject, includeInstance),
|
7473
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
7474
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
7475
|
+
};
|
7476
|
+
|
7477
|
+
if (includeInstance) {
|
7478
|
+
obj.$jspbMessageInstance = msg;
|
7479
|
+
}
|
7480
|
+
return obj;
|
7481
|
+
};
|
7482
|
+
}
|
7483
|
+
|
7484
|
+
|
7485
|
+
/**
|
7486
|
+
* Deserializes binary data (in protobuf wire format).
|
7487
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
7488
|
+
* @return {!proto.payment.UserDepositItemsResponse}
|
7489
|
+
*/
|
7490
|
+
proto.payment.UserDepositItemsResponse.deserializeBinary = function(bytes) {
|
7491
|
+
var reader = new jspb.BinaryReader(bytes);
|
7492
|
+
var msg = new proto.payment.UserDepositItemsResponse;
|
7493
|
+
return proto.payment.UserDepositItemsResponse.deserializeBinaryFromReader(msg, reader);
|
7494
|
+
};
|
7495
|
+
|
7496
|
+
|
7497
|
+
/**
|
7498
|
+
* Deserializes binary data (in protobuf wire format) from the
|
7499
|
+
* given reader into the given message object.
|
7500
|
+
* @param {!proto.payment.UserDepositItemsResponse} msg The message object to deserialize into.
|
7501
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
7502
|
+
* @return {!proto.payment.UserDepositItemsResponse}
|
7503
|
+
*/
|
7504
|
+
proto.payment.UserDepositItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
7505
|
+
while (reader.nextField()) {
|
7506
|
+
if (reader.isEndGroup()) {
|
7507
|
+
break;
|
7508
|
+
}
|
7509
|
+
var field = reader.getFieldNumber();
|
7510
|
+
switch (field) {
|
7511
|
+
case 1:
|
7512
|
+
var value = new proto.payment.UserDepositItem;
|
7513
|
+
reader.readMessage(value,proto.payment.UserDepositItem.deserializeBinaryFromReader);
|
7514
|
+
msg.addItems(value);
|
7515
|
+
break;
|
7516
|
+
case 2:
|
7517
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7518
|
+
msg.setTotalPages(value);
|
7519
|
+
break;
|
7520
|
+
case 3:
|
7521
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7522
|
+
msg.setTotalItems(value);
|
7523
|
+
break;
|
7524
|
+
default:
|
7525
|
+
reader.skipField();
|
7526
|
+
break;
|
7527
|
+
}
|
7528
|
+
}
|
7529
|
+
return msg;
|
7530
|
+
};
|
7531
|
+
|
7532
|
+
|
7533
|
+
/**
|
7534
|
+
* Serializes the message to binary data (in protobuf wire format).
|
7535
|
+
* @return {!Uint8Array}
|
7536
|
+
*/
|
7537
|
+
proto.payment.UserDepositItemsResponse.prototype.serializeBinary = function() {
|
7538
|
+
var writer = new jspb.BinaryWriter();
|
7539
|
+
proto.payment.UserDepositItemsResponse.serializeBinaryToWriter(this, writer);
|
7540
|
+
return writer.getResultBuffer();
|
7541
|
+
};
|
7542
|
+
|
7543
|
+
|
7544
|
+
/**
|
7545
|
+
* Serializes the given message to binary data (in protobuf wire
|
7546
|
+
* format), writing to the given BinaryWriter.
|
7547
|
+
* @param {!proto.payment.UserDepositItemsResponse} message
|
7548
|
+
* @param {!jspb.BinaryWriter} writer
|
7549
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7550
|
+
*/
|
7551
|
+
proto.payment.UserDepositItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
7552
|
+
var f = undefined;
|
7553
|
+
f = message.getItemsList();
|
7554
|
+
if (f.length > 0) {
|
7555
|
+
writer.writeRepeatedMessage(
|
7556
|
+
1,
|
7557
|
+
f,
|
7558
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter
|
7559
|
+
);
|
7560
|
+
}
|
7561
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
7562
|
+
if (f != null) {
|
7563
|
+
writer.writeInt32(
|
7564
|
+
2,
|
7565
|
+
f
|
7566
|
+
);
|
7567
|
+
}
|
7568
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
7569
|
+
if (f != null) {
|
7570
|
+
writer.writeInt32(
|
7571
|
+
3,
|
7572
|
+
f
|
7573
|
+
);
|
7574
|
+
}
|
7575
|
+
};
|
7576
|
+
|
7577
|
+
|
7578
|
+
/**
|
7579
|
+
* repeated UserDepositItem items = 1;
|
7580
|
+
* @return {!Array<!proto.payment.UserDepositItem>}
|
7581
|
+
*/
|
7582
|
+
proto.payment.UserDepositItemsResponse.prototype.getItemsList = function() {
|
7583
|
+
return /** @type{!Array<!proto.payment.UserDepositItem>} */ (
|
7584
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.UserDepositItem, 1));
|
7585
|
+
};
|
7586
|
+
|
7587
|
+
|
7588
|
+
/**
|
7589
|
+
* @param {!Array<!proto.payment.UserDepositItem>} value
|
7590
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7591
|
+
*/
|
7592
|
+
proto.payment.UserDepositItemsResponse.prototype.setItemsList = function(value) {
|
7593
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
7594
|
+
};
|
7595
|
+
|
7596
|
+
|
7597
|
+
/**
|
7598
|
+
* @param {!proto.payment.UserDepositItem=} opt_value
|
7599
|
+
* @param {number=} opt_index
|
7600
|
+
* @return {!proto.payment.UserDepositItem}
|
7601
|
+
*/
|
7602
|
+
proto.payment.UserDepositItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
7603
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.UserDepositItem, opt_index);
|
7604
|
+
};
|
7605
|
+
|
7606
|
+
|
7607
|
+
/**
|
7608
|
+
* Clears the list making it empty but non-null.
|
7609
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7610
|
+
*/
|
7611
|
+
proto.payment.UserDepositItemsResponse.prototype.clearItemsList = function() {
|
7612
|
+
return this.setItemsList([]);
|
7613
|
+
};
|
7614
|
+
|
7615
|
+
|
7616
|
+
/**
|
7617
|
+
* optional int32 total_pages = 2;
|
7618
|
+
* @return {number}
|
7619
|
+
*/
|
7620
|
+
proto.payment.UserDepositItemsResponse.prototype.getTotalPages = function() {
|
7621
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
7622
|
+
};
|
7623
|
+
|
7624
|
+
|
7625
|
+
/**
|
7626
|
+
* @param {number} value
|
7627
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7628
|
+
*/
|
7629
|
+
proto.payment.UserDepositItemsResponse.prototype.setTotalPages = function(value) {
|
7630
|
+
return jspb.Message.setField(this, 2, value);
|
7631
|
+
};
|
7632
|
+
|
7633
|
+
|
7634
|
+
/**
|
7635
|
+
* Clears the field making it undefined.
|
7636
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7637
|
+
*/
|
7638
|
+
proto.payment.UserDepositItemsResponse.prototype.clearTotalPages = function() {
|
7639
|
+
return jspb.Message.setField(this, 2, undefined);
|
7640
|
+
};
|
7641
|
+
|
7642
|
+
|
7643
|
+
/**
|
7644
|
+
* Returns whether this field is set.
|
7645
|
+
* @return {boolean}
|
7646
|
+
*/
|
7647
|
+
proto.payment.UserDepositItemsResponse.prototype.hasTotalPages = function() {
|
7648
|
+
return jspb.Message.getField(this, 2) != null;
|
7649
|
+
};
|
7650
|
+
|
7651
|
+
|
7652
|
+
/**
|
7653
|
+
* optional int32 total_items = 3;
|
7654
|
+
* @return {number}
|
7655
|
+
*/
|
7656
|
+
proto.payment.UserDepositItemsResponse.prototype.getTotalItems = function() {
|
7657
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
7658
|
+
};
|
7659
|
+
|
7660
|
+
|
7661
|
+
/**
|
7662
|
+
* @param {number} value
|
7663
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7664
|
+
*/
|
7665
|
+
proto.payment.UserDepositItemsResponse.prototype.setTotalItems = function(value) {
|
7666
|
+
return jspb.Message.setField(this, 3, value);
|
7667
|
+
};
|
7668
|
+
|
7669
|
+
|
7670
|
+
/**
|
7671
|
+
* Clears the field making it undefined.
|
7672
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7673
|
+
*/
|
7674
|
+
proto.payment.UserDepositItemsResponse.prototype.clearTotalItems = function() {
|
7675
|
+
return jspb.Message.setField(this, 3, undefined);
|
7676
|
+
};
|
7677
|
+
|
7678
|
+
|
7679
|
+
/**
|
7680
|
+
* Returns whether this field is set.
|
7681
|
+
* @return {boolean}
|
7682
|
+
*/
|
7683
|
+
proto.payment.UserDepositItemsResponse.prototype.hasTotalItems = function() {
|
7684
|
+
return jspb.Message.getField(this, 3) != null;
|
7685
|
+
};
|
7686
|
+
|
7687
|
+
|
5588
7688
|
goog.object.extend(exports, proto.payment);
|