protobuf-platform 1.0.222 → 1.0.224
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 +42 -0
- package/payment/payment_grpc_pb.js +56 -0
- package/payment/payment_pb.js +1545 -1
package/payment/payment_pb.js
CHANGED
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
|
|
30
30
|
goog.exportSymbol('proto.payment.GetFileRequest', null, global);
|
31
31
|
goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
|
32
32
|
goog.exportSymbol('proto.payment.GetProviderRequest', null, global);
|
33
|
+
goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
|
33
34
|
goog.exportSymbol('proto.payment.MethodItem', null, global);
|
34
35
|
goog.exportSymbol('proto.payment.MethodItemRequest', null, global);
|
35
36
|
goog.exportSymbol('proto.payment.MethodItemsResponse', null, global);
|
@@ -47,6 +48,9 @@ goog.exportSymbol('proto.payment.ProviderItemsResponse', null, global);
|
|
47
48
|
goog.exportSymbol('proto.payment.ProviderRequest', null, global);
|
48
49
|
goog.exportSymbol('proto.payment.ProviderRequest.RequestCase', null, global);
|
49
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);
|
50
54
|
/**
|
51
55
|
* Generated by JsPbCodeGenerator.
|
52
56
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -551,6 +555,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
551
555
|
*/
|
552
556
|
proto.payment.DepositStatusItemsResponse.displayName = 'proto.payment.DepositStatusItemsResponse';
|
553
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
|
+
}
|
554
642
|
|
555
643
|
|
556
644
|
|
@@ -1473,7 +1561,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
|
|
1473
1561
|
var f, obj = {
|
1474
1562
|
paymentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1475
1563
|
currencyList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
1476
|
-
geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
1564
|
+
geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
1565
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 4, "")
|
1477
1566
|
};
|
1478
1567
|
|
1479
1568
|
if (includeInstance) {
|
@@ -1522,6 +1611,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
1522
1611
|
var value = /** @type {string} */ (reader.readString());
|
1523
1612
|
msg.addGeo(value);
|
1524
1613
|
break;
|
1614
|
+
case 4:
|
1615
|
+
var value = /** @type {string} */ (reader.readString());
|
1616
|
+
msg.setProcessingType(value);
|
1617
|
+
break;
|
1525
1618
|
default:
|
1526
1619
|
reader.skipField();
|
1527
1620
|
break;
|
@@ -1572,6 +1665,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
|
|
1572
1665
|
f
|
1573
1666
|
);
|
1574
1667
|
}
|
1668
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1669
|
+
if (f != null) {
|
1670
|
+
writer.writeString(
|
1671
|
+
4,
|
1672
|
+
f
|
1673
|
+
);
|
1674
|
+
}
|
1575
1675
|
};
|
1576
1676
|
|
1577
1677
|
|
@@ -1685,6 +1785,42 @@ proto.payment.PaymentSearchRequest.prototype.clearGeoList = function() {
|
|
1685
1785
|
};
|
1686
1786
|
|
1687
1787
|
|
1788
|
+
/**
|
1789
|
+
* optional string processing_type = 4;
|
1790
|
+
* @return {string}
|
1791
|
+
*/
|
1792
|
+
proto.payment.PaymentSearchRequest.prototype.getProcessingType = function() {
|
1793
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1794
|
+
};
|
1795
|
+
|
1796
|
+
|
1797
|
+
/**
|
1798
|
+
* @param {string} value
|
1799
|
+
* @return {!proto.payment.PaymentSearchRequest} returns this
|
1800
|
+
*/
|
1801
|
+
proto.payment.PaymentSearchRequest.prototype.setProcessingType = function(value) {
|
1802
|
+
return jspb.Message.setField(this, 4, value);
|
1803
|
+
};
|
1804
|
+
|
1805
|
+
|
1806
|
+
/**
|
1807
|
+
* Clears the field making it undefined.
|
1808
|
+
* @return {!proto.payment.PaymentSearchRequest} returns this
|
1809
|
+
*/
|
1810
|
+
proto.payment.PaymentSearchRequest.prototype.clearProcessingType = function() {
|
1811
|
+
return jspb.Message.setField(this, 4, undefined);
|
1812
|
+
};
|
1813
|
+
|
1814
|
+
|
1815
|
+
/**
|
1816
|
+
* Returns whether this field is set.
|
1817
|
+
* @return {boolean}
|
1818
|
+
*/
|
1819
|
+
proto.payment.PaymentSearchRequest.prototype.hasProcessingType = function() {
|
1820
|
+
return jspb.Message.getField(this, 4) != null;
|
1821
|
+
};
|
1822
|
+
|
1823
|
+
|
1688
1824
|
|
1689
1825
|
/**
|
1690
1826
|
* List of repeated fields within this message type.
|
@@ -6189,4 +6325,1412 @@ proto.payment.DepositStatusItemsResponse.prototype.hasTotalItems = function() {
|
|
6189
6325
|
};
|
6190
6326
|
|
6191
6327
|
|
6328
|
+
|
6329
|
+
|
6330
|
+
|
6331
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6332
|
+
/**
|
6333
|
+
* Creates an object representation of this proto.
|
6334
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6335
|
+
* Optional fields that are not set will be set to undefined.
|
6336
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6337
|
+
* For the list of reserved names please see:
|
6338
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6339
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6340
|
+
* JSPB instance for transitional soy proto support:
|
6341
|
+
* http://goto/soy-param-migration
|
6342
|
+
* @return {!Object}
|
6343
|
+
*/
|
6344
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
6345
|
+
return proto.payment.GetUserPaymentsInfoRequest.toObject(opt_includeInstance, this);
|
6346
|
+
};
|
6347
|
+
|
6348
|
+
|
6349
|
+
/**
|
6350
|
+
* Static version of the {@see toObject} method.
|
6351
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6352
|
+
* the JSPB instance for transitional soy proto support:
|
6353
|
+
* http://goto/soy-param-migration
|
6354
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} msg The msg instance to transform.
|
6355
|
+
* @return {!Object}
|
6356
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6357
|
+
*/
|
6358
|
+
proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, msg) {
|
6359
|
+
var f, obj = {
|
6360
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6361
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6362
|
+
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
6363
|
+
startDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
6364
|
+
endDate: jspb.Message.getFieldWithDefault(msg, 5, "")
|
6365
|
+
};
|
6366
|
+
|
6367
|
+
if (includeInstance) {
|
6368
|
+
obj.$jspbMessageInstance = msg;
|
6369
|
+
}
|
6370
|
+
return obj;
|
6371
|
+
};
|
6372
|
+
}
|
6373
|
+
|
6374
|
+
|
6375
|
+
/**
|
6376
|
+
* Deserializes binary data (in protobuf wire format).
|
6377
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6378
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest}
|
6379
|
+
*/
|
6380
|
+
proto.payment.GetUserPaymentsInfoRequest.deserializeBinary = function(bytes) {
|
6381
|
+
var reader = new jspb.BinaryReader(bytes);
|
6382
|
+
var msg = new proto.payment.GetUserPaymentsInfoRequest;
|
6383
|
+
return proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader(msg, reader);
|
6384
|
+
};
|
6385
|
+
|
6386
|
+
|
6387
|
+
/**
|
6388
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6389
|
+
* given reader into the given message object.
|
6390
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} msg The message object to deserialize into.
|
6391
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6392
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest}
|
6393
|
+
*/
|
6394
|
+
proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
6395
|
+
while (reader.nextField()) {
|
6396
|
+
if (reader.isEndGroup()) {
|
6397
|
+
break;
|
6398
|
+
}
|
6399
|
+
var field = reader.getFieldNumber();
|
6400
|
+
switch (field) {
|
6401
|
+
case 1:
|
6402
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6403
|
+
msg.setUserId(value);
|
6404
|
+
break;
|
6405
|
+
case 2:
|
6406
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6407
|
+
msg.setLimit(value);
|
6408
|
+
break;
|
6409
|
+
case 3:
|
6410
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6411
|
+
msg.setOffset(value);
|
6412
|
+
break;
|
6413
|
+
case 4:
|
6414
|
+
var value = /** @type {string} */ (reader.readString());
|
6415
|
+
msg.setStartDate(value);
|
6416
|
+
break;
|
6417
|
+
case 5:
|
6418
|
+
var value = /** @type {string} */ (reader.readString());
|
6419
|
+
msg.setEndDate(value);
|
6420
|
+
break;
|
6421
|
+
default:
|
6422
|
+
reader.skipField();
|
6423
|
+
break;
|
6424
|
+
}
|
6425
|
+
}
|
6426
|
+
return msg;
|
6427
|
+
};
|
6428
|
+
|
6429
|
+
|
6430
|
+
/**
|
6431
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6432
|
+
* @return {!Uint8Array}
|
6433
|
+
*/
|
6434
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.serializeBinary = function() {
|
6435
|
+
var writer = new jspb.BinaryWriter();
|
6436
|
+
proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter(this, writer);
|
6437
|
+
return writer.getResultBuffer();
|
6438
|
+
};
|
6439
|
+
|
6440
|
+
|
6441
|
+
/**
|
6442
|
+
* Serializes the given message to binary data (in protobuf wire
|
6443
|
+
* format), writing to the given BinaryWriter.
|
6444
|
+
* @param {!proto.payment.GetUserPaymentsInfoRequest} message
|
6445
|
+
* @param {!jspb.BinaryWriter} writer
|
6446
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6447
|
+
*/
|
6448
|
+
proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
6449
|
+
var f = undefined;
|
6450
|
+
f = message.getUserId();
|
6451
|
+
if (f !== 0) {
|
6452
|
+
writer.writeInt32(
|
6453
|
+
1,
|
6454
|
+
f
|
6455
|
+
);
|
6456
|
+
}
|
6457
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
6458
|
+
if (f != null) {
|
6459
|
+
writer.writeInt32(
|
6460
|
+
2,
|
6461
|
+
f
|
6462
|
+
);
|
6463
|
+
}
|
6464
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
6465
|
+
if (f != null) {
|
6466
|
+
writer.writeInt32(
|
6467
|
+
3,
|
6468
|
+
f
|
6469
|
+
);
|
6470
|
+
}
|
6471
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
6472
|
+
if (f != null) {
|
6473
|
+
writer.writeString(
|
6474
|
+
4,
|
6475
|
+
f
|
6476
|
+
);
|
6477
|
+
}
|
6478
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
6479
|
+
if (f != null) {
|
6480
|
+
writer.writeString(
|
6481
|
+
5,
|
6482
|
+
f
|
6483
|
+
);
|
6484
|
+
}
|
6485
|
+
};
|
6486
|
+
|
6487
|
+
|
6488
|
+
/**
|
6489
|
+
* optional int32 user_id = 1;
|
6490
|
+
* @return {number}
|
6491
|
+
*/
|
6492
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getUserId = function() {
|
6493
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
6494
|
+
};
|
6495
|
+
|
6496
|
+
|
6497
|
+
/**
|
6498
|
+
* @param {number} value
|
6499
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6500
|
+
*/
|
6501
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setUserId = function(value) {
|
6502
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
6503
|
+
};
|
6504
|
+
|
6505
|
+
|
6506
|
+
/**
|
6507
|
+
* optional int32 limit = 2;
|
6508
|
+
* @return {number}
|
6509
|
+
*/
|
6510
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getLimit = function() {
|
6511
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6512
|
+
};
|
6513
|
+
|
6514
|
+
|
6515
|
+
/**
|
6516
|
+
* @param {number} value
|
6517
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6518
|
+
*/
|
6519
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setLimit = function(value) {
|
6520
|
+
return jspb.Message.setField(this, 2, value);
|
6521
|
+
};
|
6522
|
+
|
6523
|
+
|
6524
|
+
/**
|
6525
|
+
* Clears the field making it undefined.
|
6526
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6527
|
+
*/
|
6528
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearLimit = function() {
|
6529
|
+
return jspb.Message.setField(this, 2, undefined);
|
6530
|
+
};
|
6531
|
+
|
6532
|
+
|
6533
|
+
/**
|
6534
|
+
* Returns whether this field is set.
|
6535
|
+
* @return {boolean}
|
6536
|
+
*/
|
6537
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasLimit = function() {
|
6538
|
+
return jspb.Message.getField(this, 2) != null;
|
6539
|
+
};
|
6540
|
+
|
6541
|
+
|
6542
|
+
/**
|
6543
|
+
* optional int32 offset = 3;
|
6544
|
+
* @return {number}
|
6545
|
+
*/
|
6546
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getOffset = function() {
|
6547
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
6548
|
+
};
|
6549
|
+
|
6550
|
+
|
6551
|
+
/**
|
6552
|
+
* @param {number} value
|
6553
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6554
|
+
*/
|
6555
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setOffset = function(value) {
|
6556
|
+
return jspb.Message.setField(this, 3, value);
|
6557
|
+
};
|
6558
|
+
|
6559
|
+
|
6560
|
+
/**
|
6561
|
+
* Clears the field making it undefined.
|
6562
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6563
|
+
*/
|
6564
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearOffset = function() {
|
6565
|
+
return jspb.Message.setField(this, 3, undefined);
|
6566
|
+
};
|
6567
|
+
|
6568
|
+
|
6569
|
+
/**
|
6570
|
+
* Returns whether this field is set.
|
6571
|
+
* @return {boolean}
|
6572
|
+
*/
|
6573
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasOffset = function() {
|
6574
|
+
return jspb.Message.getField(this, 3) != null;
|
6575
|
+
};
|
6576
|
+
|
6577
|
+
|
6578
|
+
/**
|
6579
|
+
* optional string start_date = 4;
|
6580
|
+
* @return {string}
|
6581
|
+
*/
|
6582
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getStartDate = function() {
|
6583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
6584
|
+
};
|
6585
|
+
|
6586
|
+
|
6587
|
+
/**
|
6588
|
+
* @param {string} value
|
6589
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6590
|
+
*/
|
6591
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setStartDate = function(value) {
|
6592
|
+
return jspb.Message.setField(this, 4, value);
|
6593
|
+
};
|
6594
|
+
|
6595
|
+
|
6596
|
+
/**
|
6597
|
+
* Clears the field making it undefined.
|
6598
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6599
|
+
*/
|
6600
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearStartDate = function() {
|
6601
|
+
return jspb.Message.setField(this, 4, undefined);
|
6602
|
+
};
|
6603
|
+
|
6604
|
+
|
6605
|
+
/**
|
6606
|
+
* Returns whether this field is set.
|
6607
|
+
* @return {boolean}
|
6608
|
+
*/
|
6609
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasStartDate = function() {
|
6610
|
+
return jspb.Message.getField(this, 4) != null;
|
6611
|
+
};
|
6612
|
+
|
6613
|
+
|
6614
|
+
/**
|
6615
|
+
* optional string end_date = 5;
|
6616
|
+
* @return {string}
|
6617
|
+
*/
|
6618
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getEndDate = function() {
|
6619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
6620
|
+
};
|
6621
|
+
|
6622
|
+
|
6623
|
+
/**
|
6624
|
+
* @param {string} value
|
6625
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6626
|
+
*/
|
6627
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setEndDate = function(value) {
|
6628
|
+
return jspb.Message.setField(this, 5, value);
|
6629
|
+
};
|
6630
|
+
|
6631
|
+
|
6632
|
+
/**
|
6633
|
+
* Clears the field making it undefined.
|
6634
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
6635
|
+
*/
|
6636
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearEndDate = function() {
|
6637
|
+
return jspb.Message.setField(this, 5, undefined);
|
6638
|
+
};
|
6639
|
+
|
6640
|
+
|
6641
|
+
/**
|
6642
|
+
* Returns whether this field is set.
|
6643
|
+
* @return {boolean}
|
6644
|
+
*/
|
6645
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasEndDate = function() {
|
6646
|
+
return jspb.Message.getField(this, 5) != null;
|
6647
|
+
};
|
6648
|
+
|
6649
|
+
|
6650
|
+
|
6651
|
+
|
6652
|
+
|
6653
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6654
|
+
/**
|
6655
|
+
* Creates an object representation of this proto.
|
6656
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6657
|
+
* Optional fields that are not set will be set to undefined.
|
6658
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6659
|
+
* For the list of reserved names please see:
|
6660
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6661
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6662
|
+
* JSPB instance for transitional soy proto support:
|
6663
|
+
* http://goto/soy-param-migration
|
6664
|
+
* @return {!Object}
|
6665
|
+
*/
|
6666
|
+
proto.payment.UserPaymentsInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
6667
|
+
return proto.payment.UserPaymentsInfoResponse.toObject(opt_includeInstance, this);
|
6668
|
+
};
|
6669
|
+
|
6670
|
+
|
6671
|
+
/**
|
6672
|
+
* Static version of the {@see toObject} method.
|
6673
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6674
|
+
* the JSPB instance for transitional soy proto support:
|
6675
|
+
* http://goto/soy-param-migration
|
6676
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} msg The msg instance to transform.
|
6677
|
+
* @return {!Object}
|
6678
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6679
|
+
*/
|
6680
|
+
proto.payment.UserPaymentsInfoResponse.toObject = function(includeInstance, msg) {
|
6681
|
+
var f, obj = {
|
6682
|
+
depositSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
6683
|
+
depositCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6684
|
+
withdrawalSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
6685
|
+
withdrawalCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
6686
|
+
depositSucceed: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
6687
|
+
withdrawalSucceed: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
6688
|
+
depositFailed: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
6689
|
+
withdrawalFailed: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
6690
|
+
depositPending: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
6691
|
+
withdrawalPending: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
6692
|
+
depositAttempt: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
6693
|
+
withdrawalAttempt: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
6694
|
+
};
|
6695
|
+
|
6696
|
+
if (includeInstance) {
|
6697
|
+
obj.$jspbMessageInstance = msg;
|
6698
|
+
}
|
6699
|
+
return obj;
|
6700
|
+
};
|
6701
|
+
}
|
6702
|
+
|
6703
|
+
|
6704
|
+
/**
|
6705
|
+
* Deserializes binary data (in protobuf wire format).
|
6706
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6707
|
+
* @return {!proto.payment.UserPaymentsInfoResponse}
|
6708
|
+
*/
|
6709
|
+
proto.payment.UserPaymentsInfoResponse.deserializeBinary = function(bytes) {
|
6710
|
+
var reader = new jspb.BinaryReader(bytes);
|
6711
|
+
var msg = new proto.payment.UserPaymentsInfoResponse;
|
6712
|
+
return proto.payment.UserPaymentsInfoResponse.deserializeBinaryFromReader(msg, reader);
|
6713
|
+
};
|
6714
|
+
|
6715
|
+
|
6716
|
+
/**
|
6717
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6718
|
+
* given reader into the given message object.
|
6719
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} msg The message object to deserialize into.
|
6720
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6721
|
+
* @return {!proto.payment.UserPaymentsInfoResponse}
|
6722
|
+
*/
|
6723
|
+
proto.payment.UserPaymentsInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
6724
|
+
while (reader.nextField()) {
|
6725
|
+
if (reader.isEndGroup()) {
|
6726
|
+
break;
|
6727
|
+
}
|
6728
|
+
var field = reader.getFieldNumber();
|
6729
|
+
switch (field) {
|
6730
|
+
case 1:
|
6731
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6732
|
+
msg.setDepositSum(value);
|
6733
|
+
break;
|
6734
|
+
case 2:
|
6735
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6736
|
+
msg.setDepositCount(value);
|
6737
|
+
break;
|
6738
|
+
case 3:
|
6739
|
+
var value = /** @type {number} */ (reader.readFloat());
|
6740
|
+
msg.setWithdrawalSum(value);
|
6741
|
+
break;
|
6742
|
+
case 4:
|
6743
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6744
|
+
msg.setWithdrawalCount(value);
|
6745
|
+
break;
|
6746
|
+
case 5:
|
6747
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6748
|
+
msg.setDepositSucceed(value);
|
6749
|
+
break;
|
6750
|
+
case 6:
|
6751
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6752
|
+
msg.setWithdrawalSucceed(value);
|
6753
|
+
break;
|
6754
|
+
case 7:
|
6755
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6756
|
+
msg.setDepositFailed(value);
|
6757
|
+
break;
|
6758
|
+
case 8:
|
6759
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6760
|
+
msg.setWithdrawalFailed(value);
|
6761
|
+
break;
|
6762
|
+
case 9:
|
6763
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6764
|
+
msg.setDepositPending(value);
|
6765
|
+
break;
|
6766
|
+
case 10:
|
6767
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6768
|
+
msg.setWithdrawalPending(value);
|
6769
|
+
break;
|
6770
|
+
case 11:
|
6771
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6772
|
+
msg.setDepositAttempt(value);
|
6773
|
+
break;
|
6774
|
+
case 12:
|
6775
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6776
|
+
msg.setWithdrawalAttempt(value);
|
6777
|
+
break;
|
6778
|
+
default:
|
6779
|
+
reader.skipField();
|
6780
|
+
break;
|
6781
|
+
}
|
6782
|
+
}
|
6783
|
+
return msg;
|
6784
|
+
};
|
6785
|
+
|
6786
|
+
|
6787
|
+
/**
|
6788
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6789
|
+
* @return {!Uint8Array}
|
6790
|
+
*/
|
6791
|
+
proto.payment.UserPaymentsInfoResponse.prototype.serializeBinary = function() {
|
6792
|
+
var writer = new jspb.BinaryWriter();
|
6793
|
+
proto.payment.UserPaymentsInfoResponse.serializeBinaryToWriter(this, writer);
|
6794
|
+
return writer.getResultBuffer();
|
6795
|
+
};
|
6796
|
+
|
6797
|
+
|
6798
|
+
/**
|
6799
|
+
* Serializes the given message to binary data (in protobuf wire
|
6800
|
+
* format), writing to the given BinaryWriter.
|
6801
|
+
* @param {!proto.payment.UserPaymentsInfoResponse} message
|
6802
|
+
* @param {!jspb.BinaryWriter} writer
|
6803
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6804
|
+
*/
|
6805
|
+
proto.payment.UserPaymentsInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
6806
|
+
var f = undefined;
|
6807
|
+
f = message.getDepositSum();
|
6808
|
+
if (f !== 0.0) {
|
6809
|
+
writer.writeFloat(
|
6810
|
+
1,
|
6811
|
+
f
|
6812
|
+
);
|
6813
|
+
}
|
6814
|
+
f = message.getDepositCount();
|
6815
|
+
if (f !== 0) {
|
6816
|
+
writer.writeInt32(
|
6817
|
+
2,
|
6818
|
+
f
|
6819
|
+
);
|
6820
|
+
}
|
6821
|
+
f = message.getWithdrawalSum();
|
6822
|
+
if (f !== 0.0) {
|
6823
|
+
writer.writeFloat(
|
6824
|
+
3,
|
6825
|
+
f
|
6826
|
+
);
|
6827
|
+
}
|
6828
|
+
f = message.getWithdrawalCount();
|
6829
|
+
if (f !== 0) {
|
6830
|
+
writer.writeInt32(
|
6831
|
+
4,
|
6832
|
+
f
|
6833
|
+
);
|
6834
|
+
}
|
6835
|
+
f = message.getDepositSucceed();
|
6836
|
+
if (f !== 0) {
|
6837
|
+
writer.writeInt32(
|
6838
|
+
5,
|
6839
|
+
f
|
6840
|
+
);
|
6841
|
+
}
|
6842
|
+
f = message.getWithdrawalSucceed();
|
6843
|
+
if (f !== 0) {
|
6844
|
+
writer.writeInt32(
|
6845
|
+
6,
|
6846
|
+
f
|
6847
|
+
);
|
6848
|
+
}
|
6849
|
+
f = message.getDepositFailed();
|
6850
|
+
if (f !== 0) {
|
6851
|
+
writer.writeInt32(
|
6852
|
+
7,
|
6853
|
+
f
|
6854
|
+
);
|
6855
|
+
}
|
6856
|
+
f = message.getWithdrawalFailed();
|
6857
|
+
if (f !== 0) {
|
6858
|
+
writer.writeInt32(
|
6859
|
+
8,
|
6860
|
+
f
|
6861
|
+
);
|
6862
|
+
}
|
6863
|
+
f = message.getDepositPending();
|
6864
|
+
if (f !== 0) {
|
6865
|
+
writer.writeInt32(
|
6866
|
+
9,
|
6867
|
+
f
|
6868
|
+
);
|
6869
|
+
}
|
6870
|
+
f = message.getWithdrawalPending();
|
6871
|
+
if (f !== 0) {
|
6872
|
+
writer.writeInt32(
|
6873
|
+
10,
|
6874
|
+
f
|
6875
|
+
);
|
6876
|
+
}
|
6877
|
+
f = message.getDepositAttempt();
|
6878
|
+
if (f !== 0) {
|
6879
|
+
writer.writeInt32(
|
6880
|
+
11,
|
6881
|
+
f
|
6882
|
+
);
|
6883
|
+
}
|
6884
|
+
f = message.getWithdrawalAttempt();
|
6885
|
+
if (f !== 0) {
|
6886
|
+
writer.writeInt32(
|
6887
|
+
12,
|
6888
|
+
f
|
6889
|
+
);
|
6890
|
+
}
|
6891
|
+
};
|
6892
|
+
|
6893
|
+
|
6894
|
+
/**
|
6895
|
+
* optional float deposit_sum = 1;
|
6896
|
+
* @return {number}
|
6897
|
+
*/
|
6898
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositSum = function() {
|
6899
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
6900
|
+
};
|
6901
|
+
|
6902
|
+
|
6903
|
+
/**
|
6904
|
+
* @param {number} value
|
6905
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6906
|
+
*/
|
6907
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositSum = function(value) {
|
6908
|
+
return jspb.Message.setProto3FloatField(this, 1, value);
|
6909
|
+
};
|
6910
|
+
|
6911
|
+
|
6912
|
+
/**
|
6913
|
+
* optional int32 deposit_count = 2;
|
6914
|
+
* @return {number}
|
6915
|
+
*/
|
6916
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositCount = function() {
|
6917
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6918
|
+
};
|
6919
|
+
|
6920
|
+
|
6921
|
+
/**
|
6922
|
+
* @param {number} value
|
6923
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6924
|
+
*/
|
6925
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositCount = function(value) {
|
6926
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
6927
|
+
};
|
6928
|
+
|
6929
|
+
|
6930
|
+
/**
|
6931
|
+
* optional float withdrawal_sum = 3;
|
6932
|
+
* @return {number}
|
6933
|
+
*/
|
6934
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalSum = function() {
|
6935
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
6936
|
+
};
|
6937
|
+
|
6938
|
+
|
6939
|
+
/**
|
6940
|
+
* @param {number} value
|
6941
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6942
|
+
*/
|
6943
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalSum = function(value) {
|
6944
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
6945
|
+
};
|
6946
|
+
|
6947
|
+
|
6948
|
+
/**
|
6949
|
+
* optional int32 withdrawal_count = 4;
|
6950
|
+
* @return {number}
|
6951
|
+
*/
|
6952
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalCount = function() {
|
6953
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
6954
|
+
};
|
6955
|
+
|
6956
|
+
|
6957
|
+
/**
|
6958
|
+
* @param {number} value
|
6959
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6960
|
+
*/
|
6961
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalCount = function(value) {
|
6962
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
6963
|
+
};
|
6964
|
+
|
6965
|
+
|
6966
|
+
/**
|
6967
|
+
* optional int32 deposit_succeed = 5;
|
6968
|
+
* @return {number}
|
6969
|
+
*/
|
6970
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositSucceed = function() {
|
6971
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
6972
|
+
};
|
6973
|
+
|
6974
|
+
|
6975
|
+
/**
|
6976
|
+
* @param {number} value
|
6977
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6978
|
+
*/
|
6979
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositSucceed = function(value) {
|
6980
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
6981
|
+
};
|
6982
|
+
|
6983
|
+
|
6984
|
+
/**
|
6985
|
+
* optional int32 withdrawal_succeed = 6;
|
6986
|
+
* @return {number}
|
6987
|
+
*/
|
6988
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalSucceed = function() {
|
6989
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
6990
|
+
};
|
6991
|
+
|
6992
|
+
|
6993
|
+
/**
|
6994
|
+
* @param {number} value
|
6995
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
6996
|
+
*/
|
6997
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalSucceed = function(value) {
|
6998
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
6999
|
+
};
|
7000
|
+
|
7001
|
+
|
7002
|
+
/**
|
7003
|
+
* optional int32 deposit_failed = 7;
|
7004
|
+
* @return {number}
|
7005
|
+
*/
|
7006
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositFailed = function() {
|
7007
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
7008
|
+
};
|
7009
|
+
|
7010
|
+
|
7011
|
+
/**
|
7012
|
+
* @param {number} value
|
7013
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7014
|
+
*/
|
7015
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositFailed = function(value) {
|
7016
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
7017
|
+
};
|
7018
|
+
|
7019
|
+
|
7020
|
+
/**
|
7021
|
+
* optional int32 withdrawal_failed = 8;
|
7022
|
+
* @return {number}
|
7023
|
+
*/
|
7024
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalFailed = function() {
|
7025
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
7026
|
+
};
|
7027
|
+
|
7028
|
+
|
7029
|
+
/**
|
7030
|
+
* @param {number} value
|
7031
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7032
|
+
*/
|
7033
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalFailed = function(value) {
|
7034
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
7035
|
+
};
|
7036
|
+
|
7037
|
+
|
7038
|
+
/**
|
7039
|
+
* optional int32 deposit_pending = 9;
|
7040
|
+
* @return {number}
|
7041
|
+
*/
|
7042
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositPending = function() {
|
7043
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
7044
|
+
};
|
7045
|
+
|
7046
|
+
|
7047
|
+
/**
|
7048
|
+
* @param {number} value
|
7049
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7050
|
+
*/
|
7051
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositPending = function(value) {
|
7052
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
7053
|
+
};
|
7054
|
+
|
7055
|
+
|
7056
|
+
/**
|
7057
|
+
* optional int32 withdrawal_pending = 10;
|
7058
|
+
* @return {number}
|
7059
|
+
*/
|
7060
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalPending = function() {
|
7061
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
7062
|
+
};
|
7063
|
+
|
7064
|
+
|
7065
|
+
/**
|
7066
|
+
* @param {number} value
|
7067
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7068
|
+
*/
|
7069
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalPending = function(value) {
|
7070
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
7071
|
+
};
|
7072
|
+
|
7073
|
+
|
7074
|
+
/**
|
7075
|
+
* optional int32 deposit_attempt = 11;
|
7076
|
+
* @return {number}
|
7077
|
+
*/
|
7078
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getDepositAttempt = function() {
|
7079
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
7080
|
+
};
|
7081
|
+
|
7082
|
+
|
7083
|
+
/**
|
7084
|
+
* @param {number} value
|
7085
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7086
|
+
*/
|
7087
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setDepositAttempt = function(value) {
|
7088
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
7089
|
+
};
|
7090
|
+
|
7091
|
+
|
7092
|
+
/**
|
7093
|
+
* optional int32 withdrawal_attempt = 12;
|
7094
|
+
* @return {number}
|
7095
|
+
*/
|
7096
|
+
proto.payment.UserPaymentsInfoResponse.prototype.getWithdrawalAttempt = function() {
|
7097
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
7098
|
+
};
|
7099
|
+
|
7100
|
+
|
7101
|
+
/**
|
7102
|
+
* @param {number} value
|
7103
|
+
* @return {!proto.payment.UserPaymentsInfoResponse} returns this
|
7104
|
+
*/
|
7105
|
+
proto.payment.UserPaymentsInfoResponse.prototype.setWithdrawalAttempt = function(value) {
|
7106
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
7107
|
+
};
|
7108
|
+
|
7109
|
+
|
7110
|
+
|
7111
|
+
|
7112
|
+
|
7113
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
7114
|
+
/**
|
7115
|
+
* Creates an object representation of this proto.
|
7116
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
7117
|
+
* Optional fields that are not set will be set to undefined.
|
7118
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
7119
|
+
* For the list of reserved names please see:
|
7120
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
7121
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
7122
|
+
* JSPB instance for transitional soy proto support:
|
7123
|
+
* http://goto/soy-param-migration
|
7124
|
+
* @return {!Object}
|
7125
|
+
*/
|
7126
|
+
proto.payment.UserDepositItem.prototype.toObject = function(opt_includeInstance) {
|
7127
|
+
return proto.payment.UserDepositItem.toObject(opt_includeInstance, this);
|
7128
|
+
};
|
7129
|
+
|
7130
|
+
|
7131
|
+
/**
|
7132
|
+
* Static version of the {@see toObject} method.
|
7133
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
7134
|
+
* the JSPB instance for transitional soy proto support:
|
7135
|
+
* http://goto/soy-param-migration
|
7136
|
+
* @param {!proto.payment.UserDepositItem} msg The msg instance to transform.
|
7137
|
+
* @return {!Object}
|
7138
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7139
|
+
*/
|
7140
|
+
proto.payment.UserDepositItem.toObject = function(includeInstance, msg) {
|
7141
|
+
var f, obj = {
|
7142
|
+
depositId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
7143
|
+
amountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
7144
|
+
amountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
7145
|
+
fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
7146
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
7147
|
+
paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
7148
|
+
paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
7149
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
7150
|
+
created: jspb.Message.getFieldWithDefault(msg, 9, "")
|
7151
|
+
};
|
7152
|
+
|
7153
|
+
if (includeInstance) {
|
7154
|
+
obj.$jspbMessageInstance = msg;
|
7155
|
+
}
|
7156
|
+
return obj;
|
7157
|
+
};
|
7158
|
+
}
|
7159
|
+
|
7160
|
+
|
7161
|
+
/**
|
7162
|
+
* Deserializes binary data (in protobuf wire format).
|
7163
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
7164
|
+
* @return {!proto.payment.UserDepositItem}
|
7165
|
+
*/
|
7166
|
+
proto.payment.UserDepositItem.deserializeBinary = function(bytes) {
|
7167
|
+
var reader = new jspb.BinaryReader(bytes);
|
7168
|
+
var msg = new proto.payment.UserDepositItem;
|
7169
|
+
return proto.payment.UserDepositItem.deserializeBinaryFromReader(msg, reader);
|
7170
|
+
};
|
7171
|
+
|
7172
|
+
|
7173
|
+
/**
|
7174
|
+
* Deserializes binary data (in protobuf wire format) from the
|
7175
|
+
* given reader into the given message object.
|
7176
|
+
* @param {!proto.payment.UserDepositItem} msg The message object to deserialize into.
|
7177
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
7178
|
+
* @return {!proto.payment.UserDepositItem}
|
7179
|
+
*/
|
7180
|
+
proto.payment.UserDepositItem.deserializeBinaryFromReader = function(msg, reader) {
|
7181
|
+
while (reader.nextField()) {
|
7182
|
+
if (reader.isEndGroup()) {
|
7183
|
+
break;
|
7184
|
+
}
|
7185
|
+
var field = reader.getFieldNumber();
|
7186
|
+
switch (field) {
|
7187
|
+
case 1:
|
7188
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7189
|
+
msg.setDepositId(value);
|
7190
|
+
break;
|
7191
|
+
case 2:
|
7192
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7193
|
+
msg.setAmountAttempt(value);
|
7194
|
+
break;
|
7195
|
+
case 3:
|
7196
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7197
|
+
msg.setAmountPaid(value);
|
7198
|
+
break;
|
7199
|
+
case 4:
|
7200
|
+
var value = /** @type {number} */ (reader.readFloat());
|
7201
|
+
msg.setFee(value);
|
7202
|
+
break;
|
7203
|
+
case 5:
|
7204
|
+
var value = /** @type {string} */ (reader.readString());
|
7205
|
+
msg.setCurrency(value);
|
7206
|
+
break;
|
7207
|
+
case 6:
|
7208
|
+
var value = /** @type {string} */ (reader.readString());
|
7209
|
+
msg.setPaymentMethodTitle(value);
|
7210
|
+
break;
|
7211
|
+
case 7:
|
7212
|
+
var value = /** @type {string} */ (reader.readString());
|
7213
|
+
msg.setPaymentProviderImage(value);
|
7214
|
+
break;
|
7215
|
+
case 8:
|
7216
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7217
|
+
msg.setStatusId(value);
|
7218
|
+
break;
|
7219
|
+
case 9:
|
7220
|
+
var value = /** @type {string} */ (reader.readString());
|
7221
|
+
msg.setCreated(value);
|
7222
|
+
break;
|
7223
|
+
default:
|
7224
|
+
reader.skipField();
|
7225
|
+
break;
|
7226
|
+
}
|
7227
|
+
}
|
7228
|
+
return msg;
|
7229
|
+
};
|
7230
|
+
|
7231
|
+
|
7232
|
+
/**
|
7233
|
+
* Serializes the message to binary data (in protobuf wire format).
|
7234
|
+
* @return {!Uint8Array}
|
7235
|
+
*/
|
7236
|
+
proto.payment.UserDepositItem.prototype.serializeBinary = function() {
|
7237
|
+
var writer = new jspb.BinaryWriter();
|
7238
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter(this, writer);
|
7239
|
+
return writer.getResultBuffer();
|
7240
|
+
};
|
7241
|
+
|
7242
|
+
|
7243
|
+
/**
|
7244
|
+
* Serializes the given message to binary data (in protobuf wire
|
7245
|
+
* format), writing to the given BinaryWriter.
|
7246
|
+
* @param {!proto.payment.UserDepositItem} message
|
7247
|
+
* @param {!jspb.BinaryWriter} writer
|
7248
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7249
|
+
*/
|
7250
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer) {
|
7251
|
+
var f = undefined;
|
7252
|
+
f = message.getDepositId();
|
7253
|
+
if (f !== 0) {
|
7254
|
+
writer.writeInt32(
|
7255
|
+
1,
|
7256
|
+
f
|
7257
|
+
);
|
7258
|
+
}
|
7259
|
+
f = message.getAmountAttempt();
|
7260
|
+
if (f !== 0.0) {
|
7261
|
+
writer.writeFloat(
|
7262
|
+
2,
|
7263
|
+
f
|
7264
|
+
);
|
7265
|
+
}
|
7266
|
+
f = message.getAmountPaid();
|
7267
|
+
if (f !== 0.0) {
|
7268
|
+
writer.writeFloat(
|
7269
|
+
3,
|
7270
|
+
f
|
7271
|
+
);
|
7272
|
+
}
|
7273
|
+
f = message.getFee();
|
7274
|
+
if (f !== 0.0) {
|
7275
|
+
writer.writeFloat(
|
7276
|
+
4,
|
7277
|
+
f
|
7278
|
+
);
|
7279
|
+
}
|
7280
|
+
f = message.getCurrency();
|
7281
|
+
if (f.length > 0) {
|
7282
|
+
writer.writeString(
|
7283
|
+
5,
|
7284
|
+
f
|
7285
|
+
);
|
7286
|
+
}
|
7287
|
+
f = message.getPaymentMethodTitle();
|
7288
|
+
if (f.length > 0) {
|
7289
|
+
writer.writeString(
|
7290
|
+
6,
|
7291
|
+
f
|
7292
|
+
);
|
7293
|
+
}
|
7294
|
+
f = message.getPaymentProviderImage();
|
7295
|
+
if (f.length > 0) {
|
7296
|
+
writer.writeString(
|
7297
|
+
7,
|
7298
|
+
f
|
7299
|
+
);
|
7300
|
+
}
|
7301
|
+
f = message.getStatusId();
|
7302
|
+
if (f !== 0) {
|
7303
|
+
writer.writeInt32(
|
7304
|
+
8,
|
7305
|
+
f
|
7306
|
+
);
|
7307
|
+
}
|
7308
|
+
f = message.getCreated();
|
7309
|
+
if (f.length > 0) {
|
7310
|
+
writer.writeString(
|
7311
|
+
9,
|
7312
|
+
f
|
7313
|
+
);
|
7314
|
+
}
|
7315
|
+
};
|
7316
|
+
|
7317
|
+
|
7318
|
+
/**
|
7319
|
+
* optional int32 deposit_id = 1;
|
7320
|
+
* @return {number}
|
7321
|
+
*/
|
7322
|
+
proto.payment.UserDepositItem.prototype.getDepositId = function() {
|
7323
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
7324
|
+
};
|
7325
|
+
|
7326
|
+
|
7327
|
+
/**
|
7328
|
+
* @param {number} value
|
7329
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7330
|
+
*/
|
7331
|
+
proto.payment.UserDepositItem.prototype.setDepositId = function(value) {
|
7332
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
7333
|
+
};
|
7334
|
+
|
7335
|
+
|
7336
|
+
/**
|
7337
|
+
* optional float amount_attempt = 2;
|
7338
|
+
* @return {number}
|
7339
|
+
*/
|
7340
|
+
proto.payment.UserDepositItem.prototype.getAmountAttempt = function() {
|
7341
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
7342
|
+
};
|
7343
|
+
|
7344
|
+
|
7345
|
+
/**
|
7346
|
+
* @param {number} value
|
7347
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7348
|
+
*/
|
7349
|
+
proto.payment.UserDepositItem.prototype.setAmountAttempt = function(value) {
|
7350
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
7351
|
+
};
|
7352
|
+
|
7353
|
+
|
7354
|
+
/**
|
7355
|
+
* optional float amount_paid = 3;
|
7356
|
+
* @return {number}
|
7357
|
+
*/
|
7358
|
+
proto.payment.UserDepositItem.prototype.getAmountPaid = function() {
|
7359
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
7360
|
+
};
|
7361
|
+
|
7362
|
+
|
7363
|
+
/**
|
7364
|
+
* @param {number} value
|
7365
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7366
|
+
*/
|
7367
|
+
proto.payment.UserDepositItem.prototype.setAmountPaid = function(value) {
|
7368
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
7369
|
+
};
|
7370
|
+
|
7371
|
+
|
7372
|
+
/**
|
7373
|
+
* optional float fee = 4;
|
7374
|
+
* @return {number}
|
7375
|
+
*/
|
7376
|
+
proto.payment.UserDepositItem.prototype.getFee = function() {
|
7377
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
7378
|
+
};
|
7379
|
+
|
7380
|
+
|
7381
|
+
/**
|
7382
|
+
* @param {number} value
|
7383
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7384
|
+
*/
|
7385
|
+
proto.payment.UserDepositItem.prototype.setFee = function(value) {
|
7386
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
7387
|
+
};
|
7388
|
+
|
7389
|
+
|
7390
|
+
/**
|
7391
|
+
* optional string currency = 5;
|
7392
|
+
* @return {string}
|
7393
|
+
*/
|
7394
|
+
proto.payment.UserDepositItem.prototype.getCurrency = function() {
|
7395
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
7396
|
+
};
|
7397
|
+
|
7398
|
+
|
7399
|
+
/**
|
7400
|
+
* @param {string} value
|
7401
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7402
|
+
*/
|
7403
|
+
proto.payment.UserDepositItem.prototype.setCurrency = function(value) {
|
7404
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
7405
|
+
};
|
7406
|
+
|
7407
|
+
|
7408
|
+
/**
|
7409
|
+
* optional string payment_method_title = 6;
|
7410
|
+
* @return {string}
|
7411
|
+
*/
|
7412
|
+
proto.payment.UserDepositItem.prototype.getPaymentMethodTitle = function() {
|
7413
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
7414
|
+
};
|
7415
|
+
|
7416
|
+
|
7417
|
+
/**
|
7418
|
+
* @param {string} value
|
7419
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7420
|
+
*/
|
7421
|
+
proto.payment.UserDepositItem.prototype.setPaymentMethodTitle = function(value) {
|
7422
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
7423
|
+
};
|
7424
|
+
|
7425
|
+
|
7426
|
+
/**
|
7427
|
+
* optional string payment_provider_image = 7;
|
7428
|
+
* @return {string}
|
7429
|
+
*/
|
7430
|
+
proto.payment.UserDepositItem.prototype.getPaymentProviderImage = function() {
|
7431
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
7432
|
+
};
|
7433
|
+
|
7434
|
+
|
7435
|
+
/**
|
7436
|
+
* @param {string} value
|
7437
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7438
|
+
*/
|
7439
|
+
proto.payment.UserDepositItem.prototype.setPaymentProviderImage = function(value) {
|
7440
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
7441
|
+
};
|
7442
|
+
|
7443
|
+
|
7444
|
+
/**
|
7445
|
+
* optional int32 status_id = 8;
|
7446
|
+
* @return {number}
|
7447
|
+
*/
|
7448
|
+
proto.payment.UserDepositItem.prototype.getStatusId = function() {
|
7449
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
7450
|
+
};
|
7451
|
+
|
7452
|
+
|
7453
|
+
/**
|
7454
|
+
* @param {number} value
|
7455
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7456
|
+
*/
|
7457
|
+
proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
|
7458
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
7459
|
+
};
|
7460
|
+
|
7461
|
+
|
7462
|
+
/**
|
7463
|
+
* optional string created = 9;
|
7464
|
+
* @return {string}
|
7465
|
+
*/
|
7466
|
+
proto.payment.UserDepositItem.prototype.getCreated = function() {
|
7467
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
7468
|
+
};
|
7469
|
+
|
7470
|
+
|
7471
|
+
/**
|
7472
|
+
* @param {string} value
|
7473
|
+
* @return {!proto.payment.UserDepositItem} returns this
|
7474
|
+
*/
|
7475
|
+
proto.payment.UserDepositItem.prototype.setCreated = function(value) {
|
7476
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
7477
|
+
};
|
7478
|
+
|
7479
|
+
|
7480
|
+
|
7481
|
+
/**
|
7482
|
+
* List of repeated fields within this message type.
|
7483
|
+
* @private {!Array<number>}
|
7484
|
+
* @const
|
7485
|
+
*/
|
7486
|
+
proto.payment.UserDepositItemsResponse.repeatedFields_ = [1];
|
7487
|
+
|
7488
|
+
|
7489
|
+
|
7490
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
7491
|
+
/**
|
7492
|
+
* Creates an object representation of this proto.
|
7493
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
7494
|
+
* Optional fields that are not set will be set to undefined.
|
7495
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
7496
|
+
* For the list of reserved names please see:
|
7497
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
7498
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
7499
|
+
* JSPB instance for transitional soy proto support:
|
7500
|
+
* http://goto/soy-param-migration
|
7501
|
+
* @return {!Object}
|
7502
|
+
*/
|
7503
|
+
proto.payment.UserDepositItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
7504
|
+
return proto.payment.UserDepositItemsResponse.toObject(opt_includeInstance, this);
|
7505
|
+
};
|
7506
|
+
|
7507
|
+
|
7508
|
+
/**
|
7509
|
+
* Static version of the {@see toObject} method.
|
7510
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
7511
|
+
* the JSPB instance for transitional soy proto support:
|
7512
|
+
* http://goto/soy-param-migration
|
7513
|
+
* @param {!proto.payment.UserDepositItemsResponse} msg The msg instance to transform.
|
7514
|
+
* @return {!Object}
|
7515
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7516
|
+
*/
|
7517
|
+
proto.payment.UserDepositItemsResponse.toObject = function(includeInstance, msg) {
|
7518
|
+
var f, obj = {
|
7519
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
7520
|
+
proto.payment.UserDepositItem.toObject, includeInstance),
|
7521
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
7522
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
7523
|
+
};
|
7524
|
+
|
7525
|
+
if (includeInstance) {
|
7526
|
+
obj.$jspbMessageInstance = msg;
|
7527
|
+
}
|
7528
|
+
return obj;
|
7529
|
+
};
|
7530
|
+
}
|
7531
|
+
|
7532
|
+
|
7533
|
+
/**
|
7534
|
+
* Deserializes binary data (in protobuf wire format).
|
7535
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
7536
|
+
* @return {!proto.payment.UserDepositItemsResponse}
|
7537
|
+
*/
|
7538
|
+
proto.payment.UserDepositItemsResponse.deserializeBinary = function(bytes) {
|
7539
|
+
var reader = new jspb.BinaryReader(bytes);
|
7540
|
+
var msg = new proto.payment.UserDepositItemsResponse;
|
7541
|
+
return proto.payment.UserDepositItemsResponse.deserializeBinaryFromReader(msg, reader);
|
7542
|
+
};
|
7543
|
+
|
7544
|
+
|
7545
|
+
/**
|
7546
|
+
* Deserializes binary data (in protobuf wire format) from the
|
7547
|
+
* given reader into the given message object.
|
7548
|
+
* @param {!proto.payment.UserDepositItemsResponse} msg The message object to deserialize into.
|
7549
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
7550
|
+
* @return {!proto.payment.UserDepositItemsResponse}
|
7551
|
+
*/
|
7552
|
+
proto.payment.UserDepositItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
7553
|
+
while (reader.nextField()) {
|
7554
|
+
if (reader.isEndGroup()) {
|
7555
|
+
break;
|
7556
|
+
}
|
7557
|
+
var field = reader.getFieldNumber();
|
7558
|
+
switch (field) {
|
7559
|
+
case 1:
|
7560
|
+
var value = new proto.payment.UserDepositItem;
|
7561
|
+
reader.readMessage(value,proto.payment.UserDepositItem.deserializeBinaryFromReader);
|
7562
|
+
msg.addItems(value);
|
7563
|
+
break;
|
7564
|
+
case 2:
|
7565
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7566
|
+
msg.setTotalPages(value);
|
7567
|
+
break;
|
7568
|
+
case 3:
|
7569
|
+
var value = /** @type {number} */ (reader.readInt32());
|
7570
|
+
msg.setTotalItems(value);
|
7571
|
+
break;
|
7572
|
+
default:
|
7573
|
+
reader.skipField();
|
7574
|
+
break;
|
7575
|
+
}
|
7576
|
+
}
|
7577
|
+
return msg;
|
7578
|
+
};
|
7579
|
+
|
7580
|
+
|
7581
|
+
/**
|
7582
|
+
* Serializes the message to binary data (in protobuf wire format).
|
7583
|
+
* @return {!Uint8Array}
|
7584
|
+
*/
|
7585
|
+
proto.payment.UserDepositItemsResponse.prototype.serializeBinary = function() {
|
7586
|
+
var writer = new jspb.BinaryWriter();
|
7587
|
+
proto.payment.UserDepositItemsResponse.serializeBinaryToWriter(this, writer);
|
7588
|
+
return writer.getResultBuffer();
|
7589
|
+
};
|
7590
|
+
|
7591
|
+
|
7592
|
+
/**
|
7593
|
+
* Serializes the given message to binary data (in protobuf wire
|
7594
|
+
* format), writing to the given BinaryWriter.
|
7595
|
+
* @param {!proto.payment.UserDepositItemsResponse} message
|
7596
|
+
* @param {!jspb.BinaryWriter} writer
|
7597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
7598
|
+
*/
|
7599
|
+
proto.payment.UserDepositItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
7600
|
+
var f = undefined;
|
7601
|
+
f = message.getItemsList();
|
7602
|
+
if (f.length > 0) {
|
7603
|
+
writer.writeRepeatedMessage(
|
7604
|
+
1,
|
7605
|
+
f,
|
7606
|
+
proto.payment.UserDepositItem.serializeBinaryToWriter
|
7607
|
+
);
|
7608
|
+
}
|
7609
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
7610
|
+
if (f != null) {
|
7611
|
+
writer.writeInt32(
|
7612
|
+
2,
|
7613
|
+
f
|
7614
|
+
);
|
7615
|
+
}
|
7616
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
7617
|
+
if (f != null) {
|
7618
|
+
writer.writeInt32(
|
7619
|
+
3,
|
7620
|
+
f
|
7621
|
+
);
|
7622
|
+
}
|
7623
|
+
};
|
7624
|
+
|
7625
|
+
|
7626
|
+
/**
|
7627
|
+
* repeated UserDepositItem items = 1;
|
7628
|
+
* @return {!Array<!proto.payment.UserDepositItem>}
|
7629
|
+
*/
|
7630
|
+
proto.payment.UserDepositItemsResponse.prototype.getItemsList = function() {
|
7631
|
+
return /** @type{!Array<!proto.payment.UserDepositItem>} */ (
|
7632
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.UserDepositItem, 1));
|
7633
|
+
};
|
7634
|
+
|
7635
|
+
|
7636
|
+
/**
|
7637
|
+
* @param {!Array<!proto.payment.UserDepositItem>} value
|
7638
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7639
|
+
*/
|
7640
|
+
proto.payment.UserDepositItemsResponse.prototype.setItemsList = function(value) {
|
7641
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
7642
|
+
};
|
7643
|
+
|
7644
|
+
|
7645
|
+
/**
|
7646
|
+
* @param {!proto.payment.UserDepositItem=} opt_value
|
7647
|
+
* @param {number=} opt_index
|
7648
|
+
* @return {!proto.payment.UserDepositItem}
|
7649
|
+
*/
|
7650
|
+
proto.payment.UserDepositItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
7651
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.UserDepositItem, opt_index);
|
7652
|
+
};
|
7653
|
+
|
7654
|
+
|
7655
|
+
/**
|
7656
|
+
* Clears the list making it empty but non-null.
|
7657
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7658
|
+
*/
|
7659
|
+
proto.payment.UserDepositItemsResponse.prototype.clearItemsList = function() {
|
7660
|
+
return this.setItemsList([]);
|
7661
|
+
};
|
7662
|
+
|
7663
|
+
|
7664
|
+
/**
|
7665
|
+
* optional int32 total_pages = 2;
|
7666
|
+
* @return {number}
|
7667
|
+
*/
|
7668
|
+
proto.payment.UserDepositItemsResponse.prototype.getTotalPages = function() {
|
7669
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
7670
|
+
};
|
7671
|
+
|
7672
|
+
|
7673
|
+
/**
|
7674
|
+
* @param {number} value
|
7675
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7676
|
+
*/
|
7677
|
+
proto.payment.UserDepositItemsResponse.prototype.setTotalPages = function(value) {
|
7678
|
+
return jspb.Message.setField(this, 2, value);
|
7679
|
+
};
|
7680
|
+
|
7681
|
+
|
7682
|
+
/**
|
7683
|
+
* Clears the field making it undefined.
|
7684
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7685
|
+
*/
|
7686
|
+
proto.payment.UserDepositItemsResponse.prototype.clearTotalPages = function() {
|
7687
|
+
return jspb.Message.setField(this, 2, undefined);
|
7688
|
+
};
|
7689
|
+
|
7690
|
+
|
7691
|
+
/**
|
7692
|
+
* Returns whether this field is set.
|
7693
|
+
* @return {boolean}
|
7694
|
+
*/
|
7695
|
+
proto.payment.UserDepositItemsResponse.prototype.hasTotalPages = function() {
|
7696
|
+
return jspb.Message.getField(this, 2) != null;
|
7697
|
+
};
|
7698
|
+
|
7699
|
+
|
7700
|
+
/**
|
7701
|
+
* optional int32 total_items = 3;
|
7702
|
+
* @return {number}
|
7703
|
+
*/
|
7704
|
+
proto.payment.UserDepositItemsResponse.prototype.getTotalItems = function() {
|
7705
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
7706
|
+
};
|
7707
|
+
|
7708
|
+
|
7709
|
+
/**
|
7710
|
+
* @param {number} value
|
7711
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7712
|
+
*/
|
7713
|
+
proto.payment.UserDepositItemsResponse.prototype.setTotalItems = function(value) {
|
7714
|
+
return jspb.Message.setField(this, 3, value);
|
7715
|
+
};
|
7716
|
+
|
7717
|
+
|
7718
|
+
/**
|
7719
|
+
* Clears the field making it undefined.
|
7720
|
+
* @return {!proto.payment.UserDepositItemsResponse} returns this
|
7721
|
+
*/
|
7722
|
+
proto.payment.UserDepositItemsResponse.prototype.clearTotalItems = function() {
|
7723
|
+
return jspb.Message.setField(this, 3, undefined);
|
7724
|
+
};
|
7725
|
+
|
7726
|
+
|
7727
|
+
/**
|
7728
|
+
* Returns whether this field is set.
|
7729
|
+
* @return {boolean}
|
7730
|
+
*/
|
7731
|
+
proto.payment.UserDepositItemsResponse.prototype.hasTotalItems = function() {
|
7732
|
+
return jspb.Message.getField(this, 3) != null;
|
7733
|
+
};
|
7734
|
+
|
7735
|
+
|
6192
7736
|
goog.object.extend(exports, proto.payment);
|