protobuf-platform 1.2.504 → 1.2.507
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/bonus/bonus.proto +3 -0
- package/bonus/bonus_pb.js +145 -1
- package/cashback/cashback.proto +36 -0
- package/cashback/cashback_grpc_pb.js +33 -0
- package/cashback/cashback_pb.js +1805 -125
- package/package.json +1 -1
- package/payment/payment.proto +44 -0
- package/payment/payment_grpc_pb.js +67 -0
- package/payment/payment_pb.js +1836 -136
- package/tournament/tournament.proto +25 -0
- package/tournament/tournament_grpc_pb.js +34 -0
- package/tournament/tournament_pb.js +1186 -0
package/payment/payment_pb.js
CHANGED
|
@@ -56,8 +56,11 @@ goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
|
|
|
56
56
|
goog.exportSymbol('proto.payment.GetFileRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.payment.GetOperationDetailsRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.payment.GetPaymentMethodSnapshotsByIdsRequest', null, global);
|
|
59
60
|
goog.exportSymbol('proto.payment.GetProviderRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.payment.GetProviderTranslationRequest', null, global);
|
|
62
|
+
goog.exportSymbol('proto.payment.GetUserCashbackPaymentOperandsRequest', null, global);
|
|
63
|
+
goog.exportSymbol('proto.payment.GetUserCashbackPaymentOperandsResponse', null, global);
|
|
61
64
|
goog.exportSymbol('proto.payment.GetUserDepositCountRequest', null, global);
|
|
62
65
|
goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotRequest', null, global);
|
|
63
66
|
goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotResponse', null, global);
|
|
@@ -83,6 +86,8 @@ goog.exportSymbol('proto.payment.OperationLedgerItem', null, global);
|
|
|
83
86
|
goog.exportSymbol('proto.payment.PaginationRequest', null, global);
|
|
84
87
|
goog.exportSymbol('proto.payment.PaymentMethodConfigRequest', null, global);
|
|
85
88
|
goog.exportSymbol('proto.payment.PaymentMethodConfigResponse', null, global);
|
|
89
|
+
goog.exportSymbol('proto.payment.PaymentMethodSnapshotItem', null, global);
|
|
90
|
+
goog.exportSymbol('proto.payment.PaymentMethodSnapshotItemsResponse', null, global);
|
|
86
91
|
goog.exportSymbol('proto.payment.PaymentSearchRequest', null, global);
|
|
87
92
|
goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
|
|
88
93
|
goog.exportSymbol('proto.payment.PingRequest', null, global);
|
|
@@ -644,6 +649,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
644
649
|
*/
|
|
645
650
|
proto.payment.PoorMethodsRequest.displayName = 'proto.payment.PoorMethodsRequest';
|
|
646
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Generated by JsPbCodeGenerator.
|
|
654
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
655
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
656
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
657
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
658
|
+
* valid.
|
|
659
|
+
* @extends {jspb.Message}
|
|
660
|
+
* @constructor
|
|
661
|
+
*/
|
|
662
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest = function(opt_data) {
|
|
663
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetPaymentMethodSnapshotsByIdsRequest.repeatedFields_, null);
|
|
664
|
+
};
|
|
665
|
+
goog.inherits(proto.payment.GetPaymentMethodSnapshotsByIdsRequest, jspb.Message);
|
|
666
|
+
if (goog.DEBUG && !COMPILED) {
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* @override
|
|
670
|
+
*/
|
|
671
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.displayName = 'proto.payment.GetPaymentMethodSnapshotsByIdsRequest';
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Generated by JsPbCodeGenerator.
|
|
675
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
676
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
677
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
678
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
679
|
+
* valid.
|
|
680
|
+
* @extends {jspb.Message}
|
|
681
|
+
* @constructor
|
|
682
|
+
*/
|
|
683
|
+
proto.payment.PaymentMethodSnapshotItem = function(opt_data) {
|
|
684
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
685
|
+
};
|
|
686
|
+
goog.inherits(proto.payment.PaymentMethodSnapshotItem, jspb.Message);
|
|
687
|
+
if (goog.DEBUG && !COMPILED) {
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
* @override
|
|
691
|
+
*/
|
|
692
|
+
proto.payment.PaymentMethodSnapshotItem.displayName = 'proto.payment.PaymentMethodSnapshotItem';
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* Generated by JsPbCodeGenerator.
|
|
696
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
697
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
698
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
699
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
700
|
+
* valid.
|
|
701
|
+
* @extends {jspb.Message}
|
|
702
|
+
* @constructor
|
|
703
|
+
*/
|
|
704
|
+
proto.payment.PaymentMethodSnapshotItemsResponse = function(opt_data) {
|
|
705
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentMethodSnapshotItemsResponse.repeatedFields_, null);
|
|
706
|
+
};
|
|
707
|
+
goog.inherits(proto.payment.PaymentMethodSnapshotItemsResponse, jspb.Message);
|
|
708
|
+
if (goog.DEBUG && !COMPILED) {
|
|
709
|
+
/**
|
|
710
|
+
* @public
|
|
711
|
+
* @override
|
|
712
|
+
*/
|
|
713
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.displayName = 'proto.payment.PaymentMethodSnapshotItemsResponse';
|
|
714
|
+
}
|
|
647
715
|
/**
|
|
648
716
|
* Generated by JsPbCodeGenerator.
|
|
649
717
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1778,6 +1846,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1778
1846
|
*/
|
|
1779
1847
|
proto.payment.GetUserKycFinancialSnapshotResponse.displayName = 'proto.payment.GetUserKycFinancialSnapshotResponse';
|
|
1780
1848
|
}
|
|
1849
|
+
/**
|
|
1850
|
+
* Generated by JsPbCodeGenerator.
|
|
1851
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1852
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1853
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1854
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1855
|
+
* valid.
|
|
1856
|
+
* @extends {jspb.Message}
|
|
1857
|
+
* @constructor
|
|
1858
|
+
*/
|
|
1859
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest = function(opt_data) {
|
|
1860
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1861
|
+
};
|
|
1862
|
+
goog.inherits(proto.payment.GetUserCashbackPaymentOperandsRequest, jspb.Message);
|
|
1863
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1864
|
+
/**
|
|
1865
|
+
* @public
|
|
1866
|
+
* @override
|
|
1867
|
+
*/
|
|
1868
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.displayName = 'proto.payment.GetUserCashbackPaymentOperandsRequest';
|
|
1869
|
+
}
|
|
1870
|
+
/**
|
|
1871
|
+
* Generated by JsPbCodeGenerator.
|
|
1872
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1873
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1874
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1875
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1876
|
+
* valid.
|
|
1877
|
+
* @extends {jspb.Message}
|
|
1878
|
+
* @constructor
|
|
1879
|
+
*/
|
|
1880
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse = function(opt_data) {
|
|
1881
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1882
|
+
};
|
|
1883
|
+
goog.inherits(proto.payment.GetUserCashbackPaymentOperandsResponse, jspb.Message);
|
|
1884
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1885
|
+
/**
|
|
1886
|
+
* @public
|
|
1887
|
+
* @override
|
|
1888
|
+
*/
|
|
1889
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.displayName = 'proto.payment.GetUserCashbackPaymentOperandsResponse';
|
|
1890
|
+
}
|
|
1781
1891
|
/**
|
|
1782
1892
|
* Generated by JsPbCodeGenerator.
|
|
1783
1893
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9308,6 +9418,13 @@ proto.payment.PoorMethodsRequest.prototype.clearMethodIdsList = function() {
|
|
|
9308
9418
|
|
|
9309
9419
|
|
|
9310
9420
|
|
|
9421
|
+
/**
|
|
9422
|
+
* List of repeated fields within this message type.
|
|
9423
|
+
* @private {!Array<number>}
|
|
9424
|
+
* @const
|
|
9425
|
+
*/
|
|
9426
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
9427
|
+
|
|
9311
9428
|
|
|
9312
9429
|
|
|
9313
9430
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -9323,8 +9440,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9323
9440
|
* http://goto/soy-param-migration
|
|
9324
9441
|
* @return {!Object}
|
|
9325
9442
|
*/
|
|
9326
|
-
proto.payment.
|
|
9327
|
-
return proto.payment.
|
|
9443
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9444
|
+
return proto.payment.GetPaymentMethodSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
9328
9445
|
};
|
|
9329
9446
|
|
|
9330
9447
|
|
|
@@ -9333,14 +9450,13 @@ proto.payment.CashierFieldItem.prototype.toObject = function(opt_includeInstance
|
|
|
9333
9450
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9334
9451
|
* the JSPB instance for transitional soy proto support:
|
|
9335
9452
|
* http://goto/soy-param-migration
|
|
9336
|
-
* @param {!proto.payment.
|
|
9453
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
9337
9454
|
* @return {!Object}
|
|
9338
9455
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9339
9456
|
*/
|
|
9340
|
-
proto.payment.
|
|
9457
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
9341
9458
|
var f, obj = {
|
|
9342
|
-
|
|
9343
|
-
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
9459
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
9344
9460
|
};
|
|
9345
9461
|
|
|
9346
9462
|
if (includeInstance) {
|
|
@@ -9354,23 +9470,23 @@ proto.payment.CashierFieldItem.toObject = function(includeInstance, msg) {
|
|
|
9354
9470
|
/**
|
|
9355
9471
|
* Deserializes binary data (in protobuf wire format).
|
|
9356
9472
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9357
|
-
* @return {!proto.payment.
|
|
9473
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest}
|
|
9358
9474
|
*/
|
|
9359
|
-
proto.payment.
|
|
9475
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
9360
9476
|
var reader = new jspb.BinaryReader(bytes);
|
|
9361
|
-
var msg = new proto.payment.
|
|
9362
|
-
return proto.payment.
|
|
9477
|
+
var msg = new proto.payment.GetPaymentMethodSnapshotsByIdsRequest;
|
|
9478
|
+
return proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9363
9479
|
};
|
|
9364
9480
|
|
|
9365
9481
|
|
|
9366
9482
|
/**
|
|
9367
9483
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9368
9484
|
* given reader into the given message object.
|
|
9369
|
-
* @param {!proto.payment.
|
|
9485
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
9370
9486
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9371
|
-
* @return {!proto.payment.
|
|
9487
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest}
|
|
9372
9488
|
*/
|
|
9373
|
-
proto.payment.
|
|
9489
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9374
9490
|
while (reader.nextField()) {
|
|
9375
9491
|
if (reader.isEndGroup()) {
|
|
9376
9492
|
break;
|
|
@@ -9378,12 +9494,10 @@ proto.payment.CashierFieldItem.deserializeBinaryFromReader = function(msg, reade
|
|
|
9378
9494
|
var field = reader.getFieldNumber();
|
|
9379
9495
|
switch (field) {
|
|
9380
9496
|
case 1:
|
|
9381
|
-
var
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9386
|
-
msg.setTitle(value);
|
|
9497
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
9498
|
+
for (var i = 0; i < values.length; i++) {
|
|
9499
|
+
msg.addIds(values[i]);
|
|
9500
|
+
}
|
|
9387
9501
|
break;
|
|
9388
9502
|
default:
|
|
9389
9503
|
reader.skipField();
|
|
@@ -9398,9 +9512,9 @@ proto.payment.CashierFieldItem.deserializeBinaryFromReader = function(msg, reade
|
|
|
9398
9512
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9399
9513
|
* @return {!Uint8Array}
|
|
9400
9514
|
*/
|
|
9401
|
-
proto.payment.
|
|
9515
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
9402
9516
|
var writer = new jspb.BinaryWriter();
|
|
9403
|
-
proto.payment.
|
|
9517
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
9404
9518
|
return writer.getResultBuffer();
|
|
9405
9519
|
};
|
|
9406
9520
|
|
|
@@ -9408,90 +9522,59 @@ proto.payment.CashierFieldItem.prototype.serializeBinary = function() {
|
|
|
9408
9522
|
/**
|
|
9409
9523
|
* Serializes the given message to binary data (in protobuf wire
|
|
9410
9524
|
* format), writing to the given BinaryWriter.
|
|
9411
|
-
* @param {!proto.payment.
|
|
9525
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} message
|
|
9412
9526
|
* @param {!jspb.BinaryWriter} writer
|
|
9413
9527
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9414
9528
|
*/
|
|
9415
|
-
proto.payment.
|
|
9529
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9416
9530
|
var f = undefined;
|
|
9417
|
-
f = message.
|
|
9531
|
+
f = message.getIdsList();
|
|
9418
9532
|
if (f.length > 0) {
|
|
9419
|
-
writer.
|
|
9533
|
+
writer.writePackedInt32(
|
|
9420
9534
|
1,
|
|
9421
9535
|
f
|
|
9422
9536
|
);
|
|
9423
9537
|
}
|
|
9424
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
9425
|
-
if (f != null) {
|
|
9426
|
-
writer.writeString(
|
|
9427
|
-
2,
|
|
9428
|
-
f
|
|
9429
|
-
);
|
|
9430
|
-
}
|
|
9431
9538
|
};
|
|
9432
9539
|
|
|
9433
9540
|
|
|
9434
9541
|
/**
|
|
9435
|
-
*
|
|
9436
|
-
* @return {
|
|
9437
|
-
*/
|
|
9438
|
-
proto.payment.CashierFieldItem.prototype.getCode = function() {
|
|
9439
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9440
|
-
};
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
/**
|
|
9444
|
-
* @param {string} value
|
|
9445
|
-
* @return {!proto.payment.CashierFieldItem} returns this
|
|
9542
|
+
* repeated int32 ids = 1;
|
|
9543
|
+
* @return {!Array<number>}
|
|
9446
9544
|
*/
|
|
9447
|
-
proto.payment.
|
|
9448
|
-
return jspb.Message.
|
|
9545
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
9546
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
9449
9547
|
};
|
|
9450
9548
|
|
|
9451
9549
|
|
|
9452
9550
|
/**
|
|
9453
|
-
*
|
|
9454
|
-
* @return {
|
|
9551
|
+
* @param {!Array<number>} value
|
|
9552
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9455
9553
|
*/
|
|
9456
|
-
proto.payment.
|
|
9457
|
-
return
|
|
9554
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
9555
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
9458
9556
|
};
|
|
9459
9557
|
|
|
9460
9558
|
|
|
9461
9559
|
/**
|
|
9462
|
-
* @param {
|
|
9463
|
-
* @
|
|
9560
|
+
* @param {number} value
|
|
9561
|
+
* @param {number=} opt_index
|
|
9562
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9464
9563
|
*/
|
|
9465
|
-
proto.payment.
|
|
9466
|
-
return jspb.Message.
|
|
9564
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
9565
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
9467
9566
|
};
|
|
9468
9567
|
|
|
9469
9568
|
|
|
9470
9569
|
/**
|
|
9471
|
-
* Clears the
|
|
9472
|
-
* @return {!proto.payment.
|
|
9570
|
+
* Clears the list making it empty but non-null.
|
|
9571
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9473
9572
|
*/
|
|
9474
|
-
proto.payment.
|
|
9475
|
-
return
|
|
9573
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
9574
|
+
return this.setIdsList([]);
|
|
9476
9575
|
};
|
|
9477
9576
|
|
|
9478
9577
|
|
|
9479
|
-
/**
|
|
9480
|
-
* Returns whether this field is set.
|
|
9481
|
-
* @return {boolean}
|
|
9482
|
-
*/
|
|
9483
|
-
proto.payment.CashierFieldItem.prototype.hasTitle = function() {
|
|
9484
|
-
return jspb.Message.getField(this, 2) != null;
|
|
9485
|
-
};
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
/**
|
|
9490
|
-
* List of repeated fields within this message type.
|
|
9491
|
-
* @private {!Array<number>}
|
|
9492
|
-
* @const
|
|
9493
|
-
*/
|
|
9494
|
-
proto.payment.PaymentMethodConfigRequest.repeatedFields_ = [11];
|
|
9495
9578
|
|
|
9496
9579
|
|
|
9497
9580
|
|
|
@@ -9508,8 +9591,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9508
9591
|
* http://goto/soy-param-migration
|
|
9509
9592
|
* @return {!Object}
|
|
9510
9593
|
*/
|
|
9511
|
-
proto.payment.
|
|
9512
|
-
return proto.payment.
|
|
9594
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
9595
|
+
return proto.payment.PaymentMethodSnapshotItem.toObject(opt_includeInstance, this);
|
|
9513
9596
|
};
|
|
9514
9597
|
|
|
9515
9598
|
|
|
@@ -9518,26 +9601,25 @@ proto.payment.PaymentMethodConfigRequest.prototype.toObject = function(opt_inclu
|
|
|
9518
9601
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9519
9602
|
* the JSPB instance for transitional soy proto support:
|
|
9520
9603
|
* http://goto/soy-param-migration
|
|
9521
|
-
* @param {!proto.payment.
|
|
9604
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} msg The msg instance to transform.
|
|
9522
9605
|
* @return {!Object}
|
|
9523
9606
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9524
9607
|
*/
|
|
9525
|
-
proto.payment.
|
|
9608
|
+
proto.payment.PaymentMethodSnapshotItem.toObject = function(includeInstance, msg) {
|
|
9526
9609
|
var f, obj = {
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
toCompletedDepositCount: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
9610
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9611
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9612
|
+
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9613
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9614
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9615
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9616
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
9617
|
+
transactionType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9618
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
9619
|
+
providerId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
9620
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9621
|
+
providerImage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9622
|
+
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
9541
9623
|
};
|
|
9542
9624
|
|
|
9543
9625
|
if (includeInstance) {
|
|
@@ -9551,23 +9633,23 @@ proto.payment.PaymentMethodConfigRequest.toObject = function(includeInstance, ms
|
|
|
9551
9633
|
/**
|
|
9552
9634
|
* Deserializes binary data (in protobuf wire format).
|
|
9553
9635
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9554
|
-
* @return {!proto.payment.
|
|
9636
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
9555
9637
|
*/
|
|
9556
|
-
proto.payment.
|
|
9638
|
+
proto.payment.PaymentMethodSnapshotItem.deserializeBinary = function(bytes) {
|
|
9557
9639
|
var reader = new jspb.BinaryReader(bytes);
|
|
9558
|
-
var msg = new proto.payment.
|
|
9559
|
-
return proto.payment.
|
|
9640
|
+
var msg = new proto.payment.PaymentMethodSnapshotItem;
|
|
9641
|
+
return proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
9560
9642
|
};
|
|
9561
9643
|
|
|
9562
9644
|
|
|
9563
9645
|
/**
|
|
9564
9646
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9565
9647
|
* given reader into the given message object.
|
|
9566
|
-
* @param {!proto.payment.
|
|
9648
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} msg The message object to deserialize into.
|
|
9567
9649
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9568
|
-
* @return {!proto.payment.
|
|
9650
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
9569
9651
|
*/
|
|
9570
|
-
proto.payment.
|
|
9652
|
+
proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
9571
9653
|
while (reader.nextField()) {
|
|
9572
9654
|
if (reader.isEndGroup()) {
|
|
9573
9655
|
break;
|
|
@@ -9576,56 +9658,55 @@ proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(
|
|
|
9576
9658
|
switch (field) {
|
|
9577
9659
|
case 1:
|
|
9578
9660
|
var value = /** @type {number} */ (reader.readInt32());
|
|
9579
|
-
msg.
|
|
9661
|
+
msg.setId(value);
|
|
9580
9662
|
break;
|
|
9581
9663
|
case 2:
|
|
9582
9664
|
var value = /** @type {string} */ (reader.readString());
|
|
9583
|
-
msg.
|
|
9665
|
+
msg.setTitle(value);
|
|
9584
9666
|
break;
|
|
9585
9667
|
case 3:
|
|
9586
9668
|
var value = /** @type {string} */ (reader.readString());
|
|
9587
|
-
msg.
|
|
9669
|
+
msg.setCode(value);
|
|
9588
9670
|
break;
|
|
9589
9671
|
case 4:
|
|
9590
|
-
var value = /** @type {
|
|
9591
|
-
msg.
|
|
9672
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9673
|
+
msg.setDescription(value);
|
|
9592
9674
|
break;
|
|
9593
9675
|
case 5:
|
|
9594
|
-
var value = /** @type {
|
|
9595
|
-
msg.
|
|
9676
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9677
|
+
msg.setImage(value);
|
|
9596
9678
|
break;
|
|
9597
9679
|
case 6:
|
|
9598
|
-
var value = /** @type {
|
|
9599
|
-
msg.
|
|
9680
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9681
|
+
msg.setImageCdn(value);
|
|
9600
9682
|
break;
|
|
9601
9683
|
case 7:
|
|
9602
|
-
var value = /** @type {
|
|
9603
|
-
msg.
|
|
9684
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9685
|
+
msg.setIsActive(value);
|
|
9604
9686
|
break;
|
|
9605
9687
|
case 8:
|
|
9606
9688
|
var value = /** @type {string} */ (reader.readString());
|
|
9607
|
-
msg.
|
|
9689
|
+
msg.setTransactionType(value);
|
|
9608
9690
|
break;
|
|
9609
9691
|
case 9:
|
|
9610
9692
|
var value = /** @type {string} */ (reader.readString());
|
|
9611
|
-
msg.
|
|
9693
|
+
msg.setCurrencyType(value);
|
|
9612
9694
|
break;
|
|
9613
9695
|
case 10:
|
|
9614
9696
|
var value = /** @type {number} */ (reader.readInt32());
|
|
9615
|
-
msg.
|
|
9697
|
+
msg.setProviderId(value);
|
|
9616
9698
|
break;
|
|
9617
9699
|
case 11:
|
|
9618
|
-
var value =
|
|
9619
|
-
|
|
9620
|
-
msg.addCashierFields(value);
|
|
9700
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9701
|
+
msg.setProviderTitle(value);
|
|
9621
9702
|
break;
|
|
9622
9703
|
case 12:
|
|
9623
|
-
var value = /** @type {
|
|
9624
|
-
msg.
|
|
9704
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9705
|
+
msg.setProviderImage(value);
|
|
9625
9706
|
break;
|
|
9626
9707
|
case 13:
|
|
9627
|
-
var value = /** @type {
|
|
9628
|
-
msg.
|
|
9708
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9709
|
+
msg.setProviderImageCdn(value);
|
|
9629
9710
|
break;
|
|
9630
9711
|
default:
|
|
9631
9712
|
reader.skipField();
|
|
@@ -9640,9 +9721,9 @@ proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(
|
|
|
9640
9721
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9641
9722
|
* @return {!Uint8Array}
|
|
9642
9723
|
*/
|
|
9643
|
-
proto.payment.
|
|
9724
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.serializeBinary = function() {
|
|
9644
9725
|
var writer = new jspb.BinaryWriter();
|
|
9645
|
-
proto.payment.
|
|
9726
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
9646
9727
|
return writer.getResultBuffer();
|
|
9647
9728
|
};
|
|
9648
9729
|
|
|
@@ -9650,57 +9731,1110 @@ proto.payment.PaymentMethodConfigRequest.prototype.serializeBinary = function()
|
|
|
9650
9731
|
/**
|
|
9651
9732
|
* Serializes the given message to binary data (in protobuf wire
|
|
9652
9733
|
* format), writing to the given BinaryWriter.
|
|
9653
|
-
* @param {!proto.payment.
|
|
9734
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} message
|
|
9654
9735
|
* @param {!jspb.BinaryWriter} writer
|
|
9655
9736
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9656
9737
|
*/
|
|
9657
|
-
proto.payment.
|
|
9738
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
9658
9739
|
var f = undefined;
|
|
9659
|
-
f = message.
|
|
9740
|
+
f = message.getId();
|
|
9660
9741
|
if (f !== 0) {
|
|
9661
9742
|
writer.writeInt32(
|
|
9662
9743
|
1,
|
|
9663
9744
|
f
|
|
9664
9745
|
);
|
|
9665
9746
|
}
|
|
9666
|
-
f =
|
|
9667
|
-
if (f
|
|
9747
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
9748
|
+
if (f != null) {
|
|
9668
9749
|
writer.writeString(
|
|
9669
9750
|
2,
|
|
9670
9751
|
f
|
|
9671
9752
|
);
|
|
9672
9753
|
}
|
|
9673
|
-
f =
|
|
9674
|
-
if (f
|
|
9754
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
9755
|
+
if (f != null) {
|
|
9675
9756
|
writer.writeString(
|
|
9676
9757
|
3,
|
|
9677
9758
|
f
|
|
9678
9759
|
);
|
|
9679
9760
|
}
|
|
9680
|
-
f = /** @type {
|
|
9761
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
9681
9762
|
if (f != null) {
|
|
9682
|
-
writer.
|
|
9763
|
+
writer.writeString(
|
|
9683
9764
|
4,
|
|
9684
9765
|
f
|
|
9685
9766
|
);
|
|
9686
9767
|
}
|
|
9687
|
-
f = /** @type {
|
|
9768
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
9688
9769
|
if (f != null) {
|
|
9689
|
-
writer.
|
|
9770
|
+
writer.writeString(
|
|
9690
9771
|
5,
|
|
9691
9772
|
f
|
|
9692
9773
|
);
|
|
9693
9774
|
}
|
|
9694
|
-
f = /** @type {
|
|
9775
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
9695
9776
|
if (f != null) {
|
|
9696
|
-
writer.
|
|
9777
|
+
writer.writeString(
|
|
9697
9778
|
6,
|
|
9698
9779
|
f
|
|
9699
9780
|
);
|
|
9700
9781
|
}
|
|
9701
|
-
f = /** @type {
|
|
9782
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
9702
9783
|
if (f != null) {
|
|
9703
|
-
writer.
|
|
9784
|
+
writer.writeBool(
|
|
9785
|
+
7,
|
|
9786
|
+
f
|
|
9787
|
+
);
|
|
9788
|
+
}
|
|
9789
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
9790
|
+
if (f != null) {
|
|
9791
|
+
writer.writeString(
|
|
9792
|
+
8,
|
|
9793
|
+
f
|
|
9794
|
+
);
|
|
9795
|
+
}
|
|
9796
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
9797
|
+
if (f != null) {
|
|
9798
|
+
writer.writeString(
|
|
9799
|
+
9,
|
|
9800
|
+
f
|
|
9801
|
+
);
|
|
9802
|
+
}
|
|
9803
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
9804
|
+
if (f != null) {
|
|
9805
|
+
writer.writeInt32(
|
|
9806
|
+
10,
|
|
9807
|
+
f
|
|
9808
|
+
);
|
|
9809
|
+
}
|
|
9810
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
9811
|
+
if (f != null) {
|
|
9812
|
+
writer.writeString(
|
|
9813
|
+
11,
|
|
9814
|
+
f
|
|
9815
|
+
);
|
|
9816
|
+
}
|
|
9817
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
9818
|
+
if (f != null) {
|
|
9819
|
+
writer.writeString(
|
|
9820
|
+
12,
|
|
9821
|
+
f
|
|
9822
|
+
);
|
|
9823
|
+
}
|
|
9824
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
9825
|
+
if (f != null) {
|
|
9826
|
+
writer.writeString(
|
|
9827
|
+
13,
|
|
9828
|
+
f
|
|
9829
|
+
);
|
|
9830
|
+
}
|
|
9831
|
+
};
|
|
9832
|
+
|
|
9833
|
+
|
|
9834
|
+
/**
|
|
9835
|
+
* optional int32 id = 1;
|
|
9836
|
+
* @return {number}
|
|
9837
|
+
*/
|
|
9838
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getId = function() {
|
|
9839
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9840
|
+
};
|
|
9841
|
+
|
|
9842
|
+
|
|
9843
|
+
/**
|
|
9844
|
+
* @param {number} value
|
|
9845
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9846
|
+
*/
|
|
9847
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setId = function(value) {
|
|
9848
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9849
|
+
};
|
|
9850
|
+
|
|
9851
|
+
|
|
9852
|
+
/**
|
|
9853
|
+
* optional string title = 2;
|
|
9854
|
+
* @return {string}
|
|
9855
|
+
*/
|
|
9856
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getTitle = function() {
|
|
9857
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9858
|
+
};
|
|
9859
|
+
|
|
9860
|
+
|
|
9861
|
+
/**
|
|
9862
|
+
* @param {string} value
|
|
9863
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9864
|
+
*/
|
|
9865
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setTitle = function(value) {
|
|
9866
|
+
return jspb.Message.setField(this, 2, value);
|
|
9867
|
+
};
|
|
9868
|
+
|
|
9869
|
+
|
|
9870
|
+
/**
|
|
9871
|
+
* Clears the field making it undefined.
|
|
9872
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9873
|
+
*/
|
|
9874
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearTitle = function() {
|
|
9875
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
9876
|
+
};
|
|
9877
|
+
|
|
9878
|
+
|
|
9879
|
+
/**
|
|
9880
|
+
* Returns whether this field is set.
|
|
9881
|
+
* @return {boolean}
|
|
9882
|
+
*/
|
|
9883
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasTitle = function() {
|
|
9884
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9885
|
+
};
|
|
9886
|
+
|
|
9887
|
+
|
|
9888
|
+
/**
|
|
9889
|
+
* optional string code = 3;
|
|
9890
|
+
* @return {string}
|
|
9891
|
+
*/
|
|
9892
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getCode = function() {
|
|
9893
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9894
|
+
};
|
|
9895
|
+
|
|
9896
|
+
|
|
9897
|
+
/**
|
|
9898
|
+
* @param {string} value
|
|
9899
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9900
|
+
*/
|
|
9901
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setCode = function(value) {
|
|
9902
|
+
return jspb.Message.setField(this, 3, value);
|
|
9903
|
+
};
|
|
9904
|
+
|
|
9905
|
+
|
|
9906
|
+
/**
|
|
9907
|
+
* Clears the field making it undefined.
|
|
9908
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9909
|
+
*/
|
|
9910
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearCode = function() {
|
|
9911
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
9912
|
+
};
|
|
9913
|
+
|
|
9914
|
+
|
|
9915
|
+
/**
|
|
9916
|
+
* Returns whether this field is set.
|
|
9917
|
+
* @return {boolean}
|
|
9918
|
+
*/
|
|
9919
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasCode = function() {
|
|
9920
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9921
|
+
};
|
|
9922
|
+
|
|
9923
|
+
|
|
9924
|
+
/**
|
|
9925
|
+
* optional string description = 4;
|
|
9926
|
+
* @return {string}
|
|
9927
|
+
*/
|
|
9928
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getDescription = function() {
|
|
9929
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9930
|
+
};
|
|
9931
|
+
|
|
9932
|
+
|
|
9933
|
+
/**
|
|
9934
|
+
* @param {string} value
|
|
9935
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9936
|
+
*/
|
|
9937
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setDescription = function(value) {
|
|
9938
|
+
return jspb.Message.setField(this, 4, value);
|
|
9939
|
+
};
|
|
9940
|
+
|
|
9941
|
+
|
|
9942
|
+
/**
|
|
9943
|
+
* Clears the field making it undefined.
|
|
9944
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9945
|
+
*/
|
|
9946
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearDescription = function() {
|
|
9947
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
9948
|
+
};
|
|
9949
|
+
|
|
9950
|
+
|
|
9951
|
+
/**
|
|
9952
|
+
* Returns whether this field is set.
|
|
9953
|
+
* @return {boolean}
|
|
9954
|
+
*/
|
|
9955
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasDescription = function() {
|
|
9956
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9957
|
+
};
|
|
9958
|
+
|
|
9959
|
+
|
|
9960
|
+
/**
|
|
9961
|
+
* optional string image = 5;
|
|
9962
|
+
* @return {string}
|
|
9963
|
+
*/
|
|
9964
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getImage = function() {
|
|
9965
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9966
|
+
};
|
|
9967
|
+
|
|
9968
|
+
|
|
9969
|
+
/**
|
|
9970
|
+
* @param {string} value
|
|
9971
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9972
|
+
*/
|
|
9973
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setImage = function(value) {
|
|
9974
|
+
return jspb.Message.setField(this, 5, value);
|
|
9975
|
+
};
|
|
9976
|
+
|
|
9977
|
+
|
|
9978
|
+
/**
|
|
9979
|
+
* Clears the field making it undefined.
|
|
9980
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9981
|
+
*/
|
|
9982
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearImage = function() {
|
|
9983
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
9984
|
+
};
|
|
9985
|
+
|
|
9986
|
+
|
|
9987
|
+
/**
|
|
9988
|
+
* Returns whether this field is set.
|
|
9989
|
+
* @return {boolean}
|
|
9990
|
+
*/
|
|
9991
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasImage = function() {
|
|
9992
|
+
return jspb.Message.getField(this, 5) != null;
|
|
9993
|
+
};
|
|
9994
|
+
|
|
9995
|
+
|
|
9996
|
+
/**
|
|
9997
|
+
* optional string image_cdn = 6;
|
|
9998
|
+
* @return {string}
|
|
9999
|
+
*/
|
|
10000
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getImageCdn = function() {
|
|
10001
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
10002
|
+
};
|
|
10003
|
+
|
|
10004
|
+
|
|
10005
|
+
/**
|
|
10006
|
+
* @param {string} value
|
|
10007
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10008
|
+
*/
|
|
10009
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setImageCdn = function(value) {
|
|
10010
|
+
return jspb.Message.setField(this, 6, value);
|
|
10011
|
+
};
|
|
10012
|
+
|
|
10013
|
+
|
|
10014
|
+
/**
|
|
10015
|
+
* Clears the field making it undefined.
|
|
10016
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10017
|
+
*/
|
|
10018
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearImageCdn = function() {
|
|
10019
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
10020
|
+
};
|
|
10021
|
+
|
|
10022
|
+
|
|
10023
|
+
/**
|
|
10024
|
+
* Returns whether this field is set.
|
|
10025
|
+
* @return {boolean}
|
|
10026
|
+
*/
|
|
10027
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasImageCdn = function() {
|
|
10028
|
+
return jspb.Message.getField(this, 6) != null;
|
|
10029
|
+
};
|
|
10030
|
+
|
|
10031
|
+
|
|
10032
|
+
/**
|
|
10033
|
+
* optional bool is_active = 7;
|
|
10034
|
+
* @return {boolean}
|
|
10035
|
+
*/
|
|
10036
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getIsActive = function() {
|
|
10037
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
10038
|
+
};
|
|
10039
|
+
|
|
10040
|
+
|
|
10041
|
+
/**
|
|
10042
|
+
* @param {boolean} value
|
|
10043
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10044
|
+
*/
|
|
10045
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setIsActive = function(value) {
|
|
10046
|
+
return jspb.Message.setField(this, 7, value);
|
|
10047
|
+
};
|
|
10048
|
+
|
|
10049
|
+
|
|
10050
|
+
/**
|
|
10051
|
+
* Clears the field making it undefined.
|
|
10052
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10053
|
+
*/
|
|
10054
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearIsActive = function() {
|
|
10055
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
10056
|
+
};
|
|
10057
|
+
|
|
10058
|
+
|
|
10059
|
+
/**
|
|
10060
|
+
* Returns whether this field is set.
|
|
10061
|
+
* @return {boolean}
|
|
10062
|
+
*/
|
|
10063
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasIsActive = function() {
|
|
10064
|
+
return jspb.Message.getField(this, 7) != null;
|
|
10065
|
+
};
|
|
10066
|
+
|
|
10067
|
+
|
|
10068
|
+
/**
|
|
10069
|
+
* optional string transaction_type = 8;
|
|
10070
|
+
* @return {string}
|
|
10071
|
+
*/
|
|
10072
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getTransactionType = function() {
|
|
10073
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
10074
|
+
};
|
|
10075
|
+
|
|
10076
|
+
|
|
10077
|
+
/**
|
|
10078
|
+
* @param {string} value
|
|
10079
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10080
|
+
*/
|
|
10081
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setTransactionType = function(value) {
|
|
10082
|
+
return jspb.Message.setField(this, 8, value);
|
|
10083
|
+
};
|
|
10084
|
+
|
|
10085
|
+
|
|
10086
|
+
/**
|
|
10087
|
+
* Clears the field making it undefined.
|
|
10088
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10089
|
+
*/
|
|
10090
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearTransactionType = function() {
|
|
10091
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
10092
|
+
};
|
|
10093
|
+
|
|
10094
|
+
|
|
10095
|
+
/**
|
|
10096
|
+
* Returns whether this field is set.
|
|
10097
|
+
* @return {boolean}
|
|
10098
|
+
*/
|
|
10099
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasTransactionType = function() {
|
|
10100
|
+
return jspb.Message.getField(this, 8) != null;
|
|
10101
|
+
};
|
|
10102
|
+
|
|
10103
|
+
|
|
10104
|
+
/**
|
|
10105
|
+
* optional string currency_type = 9;
|
|
10106
|
+
* @return {string}
|
|
10107
|
+
*/
|
|
10108
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getCurrencyType = function() {
|
|
10109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
10110
|
+
};
|
|
10111
|
+
|
|
10112
|
+
|
|
10113
|
+
/**
|
|
10114
|
+
* @param {string} value
|
|
10115
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10116
|
+
*/
|
|
10117
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setCurrencyType = function(value) {
|
|
10118
|
+
return jspb.Message.setField(this, 9, value);
|
|
10119
|
+
};
|
|
10120
|
+
|
|
10121
|
+
|
|
10122
|
+
/**
|
|
10123
|
+
* Clears the field making it undefined.
|
|
10124
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10125
|
+
*/
|
|
10126
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearCurrencyType = function() {
|
|
10127
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
10128
|
+
};
|
|
10129
|
+
|
|
10130
|
+
|
|
10131
|
+
/**
|
|
10132
|
+
* Returns whether this field is set.
|
|
10133
|
+
* @return {boolean}
|
|
10134
|
+
*/
|
|
10135
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasCurrencyType = function() {
|
|
10136
|
+
return jspb.Message.getField(this, 9) != null;
|
|
10137
|
+
};
|
|
10138
|
+
|
|
10139
|
+
|
|
10140
|
+
/**
|
|
10141
|
+
* optional int32 provider_id = 10;
|
|
10142
|
+
* @return {number}
|
|
10143
|
+
*/
|
|
10144
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderId = function() {
|
|
10145
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
10146
|
+
};
|
|
10147
|
+
|
|
10148
|
+
|
|
10149
|
+
/**
|
|
10150
|
+
* @param {number} value
|
|
10151
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10152
|
+
*/
|
|
10153
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderId = function(value) {
|
|
10154
|
+
return jspb.Message.setField(this, 10, value);
|
|
10155
|
+
};
|
|
10156
|
+
|
|
10157
|
+
|
|
10158
|
+
/**
|
|
10159
|
+
* Clears the field making it undefined.
|
|
10160
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10161
|
+
*/
|
|
10162
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderId = function() {
|
|
10163
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
10164
|
+
};
|
|
10165
|
+
|
|
10166
|
+
|
|
10167
|
+
/**
|
|
10168
|
+
* Returns whether this field is set.
|
|
10169
|
+
* @return {boolean}
|
|
10170
|
+
*/
|
|
10171
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderId = function() {
|
|
10172
|
+
return jspb.Message.getField(this, 10) != null;
|
|
10173
|
+
};
|
|
10174
|
+
|
|
10175
|
+
|
|
10176
|
+
/**
|
|
10177
|
+
* optional string provider_title = 11;
|
|
10178
|
+
* @return {string}
|
|
10179
|
+
*/
|
|
10180
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderTitle = function() {
|
|
10181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
10182
|
+
};
|
|
10183
|
+
|
|
10184
|
+
|
|
10185
|
+
/**
|
|
10186
|
+
* @param {string} value
|
|
10187
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10188
|
+
*/
|
|
10189
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderTitle = function(value) {
|
|
10190
|
+
return jspb.Message.setField(this, 11, value);
|
|
10191
|
+
};
|
|
10192
|
+
|
|
10193
|
+
|
|
10194
|
+
/**
|
|
10195
|
+
* Clears the field making it undefined.
|
|
10196
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10197
|
+
*/
|
|
10198
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderTitle = function() {
|
|
10199
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
10200
|
+
};
|
|
10201
|
+
|
|
10202
|
+
|
|
10203
|
+
/**
|
|
10204
|
+
* Returns whether this field is set.
|
|
10205
|
+
* @return {boolean}
|
|
10206
|
+
*/
|
|
10207
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderTitle = function() {
|
|
10208
|
+
return jspb.Message.getField(this, 11) != null;
|
|
10209
|
+
};
|
|
10210
|
+
|
|
10211
|
+
|
|
10212
|
+
/**
|
|
10213
|
+
* optional string provider_image = 12;
|
|
10214
|
+
* @return {string}
|
|
10215
|
+
*/
|
|
10216
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderImage = function() {
|
|
10217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
10218
|
+
};
|
|
10219
|
+
|
|
10220
|
+
|
|
10221
|
+
/**
|
|
10222
|
+
* @param {string} value
|
|
10223
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10224
|
+
*/
|
|
10225
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderImage = function(value) {
|
|
10226
|
+
return jspb.Message.setField(this, 12, value);
|
|
10227
|
+
};
|
|
10228
|
+
|
|
10229
|
+
|
|
10230
|
+
/**
|
|
10231
|
+
* Clears the field making it undefined.
|
|
10232
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10233
|
+
*/
|
|
10234
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderImage = function() {
|
|
10235
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
10236
|
+
};
|
|
10237
|
+
|
|
10238
|
+
|
|
10239
|
+
/**
|
|
10240
|
+
* Returns whether this field is set.
|
|
10241
|
+
* @return {boolean}
|
|
10242
|
+
*/
|
|
10243
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderImage = function() {
|
|
10244
|
+
return jspb.Message.getField(this, 12) != null;
|
|
10245
|
+
};
|
|
10246
|
+
|
|
10247
|
+
|
|
10248
|
+
/**
|
|
10249
|
+
* optional string provider_image_cdn = 13;
|
|
10250
|
+
* @return {string}
|
|
10251
|
+
*/
|
|
10252
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderImageCdn = function() {
|
|
10253
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
10254
|
+
};
|
|
10255
|
+
|
|
10256
|
+
|
|
10257
|
+
/**
|
|
10258
|
+
* @param {string} value
|
|
10259
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10260
|
+
*/
|
|
10261
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderImageCdn = function(value) {
|
|
10262
|
+
return jspb.Message.setField(this, 13, value);
|
|
10263
|
+
};
|
|
10264
|
+
|
|
10265
|
+
|
|
10266
|
+
/**
|
|
10267
|
+
* Clears the field making it undefined.
|
|
10268
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10269
|
+
*/
|
|
10270
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderImageCdn = function() {
|
|
10271
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
10272
|
+
};
|
|
10273
|
+
|
|
10274
|
+
|
|
10275
|
+
/**
|
|
10276
|
+
* Returns whether this field is set.
|
|
10277
|
+
* @return {boolean}
|
|
10278
|
+
*/
|
|
10279
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderImageCdn = function() {
|
|
10280
|
+
return jspb.Message.getField(this, 13) != null;
|
|
10281
|
+
};
|
|
10282
|
+
|
|
10283
|
+
|
|
10284
|
+
|
|
10285
|
+
/**
|
|
10286
|
+
* List of repeated fields within this message type.
|
|
10287
|
+
* @private {!Array<number>}
|
|
10288
|
+
* @const
|
|
10289
|
+
*/
|
|
10290
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.repeatedFields_ = [1];
|
|
10291
|
+
|
|
10292
|
+
|
|
10293
|
+
|
|
10294
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10295
|
+
/**
|
|
10296
|
+
* Creates an object representation of this proto.
|
|
10297
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10298
|
+
* Optional fields that are not set will be set to undefined.
|
|
10299
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10300
|
+
* For the list of reserved names please see:
|
|
10301
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10302
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10303
|
+
* JSPB instance for transitional soy proto support:
|
|
10304
|
+
* http://goto/soy-param-migration
|
|
10305
|
+
* @return {!Object}
|
|
10306
|
+
*/
|
|
10307
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10308
|
+
return proto.payment.PaymentMethodSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
10309
|
+
};
|
|
10310
|
+
|
|
10311
|
+
|
|
10312
|
+
/**
|
|
10313
|
+
* Static version of the {@see toObject} method.
|
|
10314
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10315
|
+
* the JSPB instance for transitional soy proto support:
|
|
10316
|
+
* http://goto/soy-param-migration
|
|
10317
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} msg The msg instance to transform.
|
|
10318
|
+
* @return {!Object}
|
|
10319
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10320
|
+
*/
|
|
10321
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
10322
|
+
var f, obj = {
|
|
10323
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
10324
|
+
proto.payment.PaymentMethodSnapshotItem.toObject, includeInstance)
|
|
10325
|
+
};
|
|
10326
|
+
|
|
10327
|
+
if (includeInstance) {
|
|
10328
|
+
obj.$jspbMessageInstance = msg;
|
|
10329
|
+
}
|
|
10330
|
+
return obj;
|
|
10331
|
+
};
|
|
10332
|
+
}
|
|
10333
|
+
|
|
10334
|
+
|
|
10335
|
+
/**
|
|
10336
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10337
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10338
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse}
|
|
10339
|
+
*/
|
|
10340
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
10341
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10342
|
+
var msg = new proto.payment.PaymentMethodSnapshotItemsResponse;
|
|
10343
|
+
return proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
10344
|
+
};
|
|
10345
|
+
|
|
10346
|
+
|
|
10347
|
+
/**
|
|
10348
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10349
|
+
* given reader into the given message object.
|
|
10350
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} msg The message object to deserialize into.
|
|
10351
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10352
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse}
|
|
10353
|
+
*/
|
|
10354
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10355
|
+
while (reader.nextField()) {
|
|
10356
|
+
if (reader.isEndGroup()) {
|
|
10357
|
+
break;
|
|
10358
|
+
}
|
|
10359
|
+
var field = reader.getFieldNumber();
|
|
10360
|
+
switch (field) {
|
|
10361
|
+
case 1:
|
|
10362
|
+
var value = new proto.payment.PaymentMethodSnapshotItem;
|
|
10363
|
+
reader.readMessage(value,proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader);
|
|
10364
|
+
msg.addItems(value);
|
|
10365
|
+
break;
|
|
10366
|
+
default:
|
|
10367
|
+
reader.skipField();
|
|
10368
|
+
break;
|
|
10369
|
+
}
|
|
10370
|
+
}
|
|
10371
|
+
return msg;
|
|
10372
|
+
};
|
|
10373
|
+
|
|
10374
|
+
|
|
10375
|
+
/**
|
|
10376
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10377
|
+
* @return {!Uint8Array}
|
|
10378
|
+
*/
|
|
10379
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
10380
|
+
var writer = new jspb.BinaryWriter();
|
|
10381
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
10382
|
+
return writer.getResultBuffer();
|
|
10383
|
+
};
|
|
10384
|
+
|
|
10385
|
+
|
|
10386
|
+
/**
|
|
10387
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10388
|
+
* format), writing to the given BinaryWriter.
|
|
10389
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} message
|
|
10390
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10391
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10392
|
+
*/
|
|
10393
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10394
|
+
var f = undefined;
|
|
10395
|
+
f = message.getItemsList();
|
|
10396
|
+
if (f.length > 0) {
|
|
10397
|
+
writer.writeRepeatedMessage(
|
|
10398
|
+
1,
|
|
10399
|
+
f,
|
|
10400
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter
|
|
10401
|
+
);
|
|
10402
|
+
}
|
|
10403
|
+
};
|
|
10404
|
+
|
|
10405
|
+
|
|
10406
|
+
/**
|
|
10407
|
+
* repeated PaymentMethodSnapshotItem items = 1;
|
|
10408
|
+
* @return {!Array<!proto.payment.PaymentMethodSnapshotItem>}
|
|
10409
|
+
*/
|
|
10410
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
10411
|
+
return /** @type{!Array<!proto.payment.PaymentMethodSnapshotItem>} */ (
|
|
10412
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.PaymentMethodSnapshotItem, 1));
|
|
10413
|
+
};
|
|
10414
|
+
|
|
10415
|
+
|
|
10416
|
+
/**
|
|
10417
|
+
* @param {!Array<!proto.payment.PaymentMethodSnapshotItem>} value
|
|
10418
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse} returns this
|
|
10419
|
+
*/
|
|
10420
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
10421
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10422
|
+
};
|
|
10423
|
+
|
|
10424
|
+
|
|
10425
|
+
/**
|
|
10426
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem=} opt_value
|
|
10427
|
+
* @param {number=} opt_index
|
|
10428
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
10429
|
+
*/
|
|
10430
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
10431
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.PaymentMethodSnapshotItem, opt_index);
|
|
10432
|
+
};
|
|
10433
|
+
|
|
10434
|
+
|
|
10435
|
+
/**
|
|
10436
|
+
* Clears the list making it empty but non-null.
|
|
10437
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse} returns this
|
|
10438
|
+
*/
|
|
10439
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
10440
|
+
return this.setItemsList([]);
|
|
10441
|
+
};
|
|
10442
|
+
|
|
10443
|
+
|
|
10444
|
+
|
|
10445
|
+
|
|
10446
|
+
|
|
10447
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10448
|
+
/**
|
|
10449
|
+
* Creates an object representation of this proto.
|
|
10450
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10451
|
+
* Optional fields that are not set will be set to undefined.
|
|
10452
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10453
|
+
* For the list of reserved names please see:
|
|
10454
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10455
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10456
|
+
* JSPB instance for transitional soy proto support:
|
|
10457
|
+
* http://goto/soy-param-migration
|
|
10458
|
+
* @return {!Object}
|
|
10459
|
+
*/
|
|
10460
|
+
proto.payment.CashierFieldItem.prototype.toObject = function(opt_includeInstance) {
|
|
10461
|
+
return proto.payment.CashierFieldItem.toObject(opt_includeInstance, this);
|
|
10462
|
+
};
|
|
10463
|
+
|
|
10464
|
+
|
|
10465
|
+
/**
|
|
10466
|
+
* Static version of the {@see toObject} method.
|
|
10467
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10468
|
+
* the JSPB instance for transitional soy proto support:
|
|
10469
|
+
* http://goto/soy-param-migration
|
|
10470
|
+
* @param {!proto.payment.CashierFieldItem} msg The msg instance to transform.
|
|
10471
|
+
* @return {!Object}
|
|
10472
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10473
|
+
*/
|
|
10474
|
+
proto.payment.CashierFieldItem.toObject = function(includeInstance, msg) {
|
|
10475
|
+
var f, obj = {
|
|
10476
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10477
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
10478
|
+
};
|
|
10479
|
+
|
|
10480
|
+
if (includeInstance) {
|
|
10481
|
+
obj.$jspbMessageInstance = msg;
|
|
10482
|
+
}
|
|
10483
|
+
return obj;
|
|
10484
|
+
};
|
|
10485
|
+
}
|
|
10486
|
+
|
|
10487
|
+
|
|
10488
|
+
/**
|
|
10489
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10490
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10491
|
+
* @return {!proto.payment.CashierFieldItem}
|
|
10492
|
+
*/
|
|
10493
|
+
proto.payment.CashierFieldItem.deserializeBinary = function(bytes) {
|
|
10494
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10495
|
+
var msg = new proto.payment.CashierFieldItem;
|
|
10496
|
+
return proto.payment.CashierFieldItem.deserializeBinaryFromReader(msg, reader);
|
|
10497
|
+
};
|
|
10498
|
+
|
|
10499
|
+
|
|
10500
|
+
/**
|
|
10501
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10502
|
+
* given reader into the given message object.
|
|
10503
|
+
* @param {!proto.payment.CashierFieldItem} msg The message object to deserialize into.
|
|
10504
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10505
|
+
* @return {!proto.payment.CashierFieldItem}
|
|
10506
|
+
*/
|
|
10507
|
+
proto.payment.CashierFieldItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
10508
|
+
while (reader.nextField()) {
|
|
10509
|
+
if (reader.isEndGroup()) {
|
|
10510
|
+
break;
|
|
10511
|
+
}
|
|
10512
|
+
var field = reader.getFieldNumber();
|
|
10513
|
+
switch (field) {
|
|
10514
|
+
case 1:
|
|
10515
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10516
|
+
msg.setCode(value);
|
|
10517
|
+
break;
|
|
10518
|
+
case 2:
|
|
10519
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10520
|
+
msg.setTitle(value);
|
|
10521
|
+
break;
|
|
10522
|
+
default:
|
|
10523
|
+
reader.skipField();
|
|
10524
|
+
break;
|
|
10525
|
+
}
|
|
10526
|
+
}
|
|
10527
|
+
return msg;
|
|
10528
|
+
};
|
|
10529
|
+
|
|
10530
|
+
|
|
10531
|
+
/**
|
|
10532
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10533
|
+
* @return {!Uint8Array}
|
|
10534
|
+
*/
|
|
10535
|
+
proto.payment.CashierFieldItem.prototype.serializeBinary = function() {
|
|
10536
|
+
var writer = new jspb.BinaryWriter();
|
|
10537
|
+
proto.payment.CashierFieldItem.serializeBinaryToWriter(this, writer);
|
|
10538
|
+
return writer.getResultBuffer();
|
|
10539
|
+
};
|
|
10540
|
+
|
|
10541
|
+
|
|
10542
|
+
/**
|
|
10543
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10544
|
+
* format), writing to the given BinaryWriter.
|
|
10545
|
+
* @param {!proto.payment.CashierFieldItem} message
|
|
10546
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10547
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10548
|
+
*/
|
|
10549
|
+
proto.payment.CashierFieldItem.serializeBinaryToWriter = function(message, writer) {
|
|
10550
|
+
var f = undefined;
|
|
10551
|
+
f = message.getCode();
|
|
10552
|
+
if (f.length > 0) {
|
|
10553
|
+
writer.writeString(
|
|
10554
|
+
1,
|
|
10555
|
+
f
|
|
10556
|
+
);
|
|
10557
|
+
}
|
|
10558
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
10559
|
+
if (f != null) {
|
|
10560
|
+
writer.writeString(
|
|
10561
|
+
2,
|
|
10562
|
+
f
|
|
10563
|
+
);
|
|
10564
|
+
}
|
|
10565
|
+
};
|
|
10566
|
+
|
|
10567
|
+
|
|
10568
|
+
/**
|
|
10569
|
+
* optional string code = 1;
|
|
10570
|
+
* @return {string}
|
|
10571
|
+
*/
|
|
10572
|
+
proto.payment.CashierFieldItem.prototype.getCode = function() {
|
|
10573
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10574
|
+
};
|
|
10575
|
+
|
|
10576
|
+
|
|
10577
|
+
/**
|
|
10578
|
+
* @param {string} value
|
|
10579
|
+
* @return {!proto.payment.CashierFieldItem} returns this
|
|
10580
|
+
*/
|
|
10581
|
+
proto.payment.CashierFieldItem.prototype.setCode = function(value) {
|
|
10582
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10583
|
+
};
|
|
10584
|
+
|
|
10585
|
+
|
|
10586
|
+
/**
|
|
10587
|
+
* optional string title = 2;
|
|
10588
|
+
* @return {string}
|
|
10589
|
+
*/
|
|
10590
|
+
proto.payment.CashierFieldItem.prototype.getTitle = function() {
|
|
10591
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10592
|
+
};
|
|
10593
|
+
|
|
10594
|
+
|
|
10595
|
+
/**
|
|
10596
|
+
* @param {string} value
|
|
10597
|
+
* @return {!proto.payment.CashierFieldItem} returns this
|
|
10598
|
+
*/
|
|
10599
|
+
proto.payment.CashierFieldItem.prototype.setTitle = function(value) {
|
|
10600
|
+
return jspb.Message.setField(this, 2, value);
|
|
10601
|
+
};
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
/**
|
|
10605
|
+
* Clears the field making it undefined.
|
|
10606
|
+
* @return {!proto.payment.CashierFieldItem} returns this
|
|
10607
|
+
*/
|
|
10608
|
+
proto.payment.CashierFieldItem.prototype.clearTitle = function() {
|
|
10609
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
10610
|
+
};
|
|
10611
|
+
|
|
10612
|
+
|
|
10613
|
+
/**
|
|
10614
|
+
* Returns whether this field is set.
|
|
10615
|
+
* @return {boolean}
|
|
10616
|
+
*/
|
|
10617
|
+
proto.payment.CashierFieldItem.prototype.hasTitle = function() {
|
|
10618
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10619
|
+
};
|
|
10620
|
+
|
|
10621
|
+
|
|
10622
|
+
|
|
10623
|
+
/**
|
|
10624
|
+
* List of repeated fields within this message type.
|
|
10625
|
+
* @private {!Array<number>}
|
|
10626
|
+
* @const
|
|
10627
|
+
*/
|
|
10628
|
+
proto.payment.PaymentMethodConfigRequest.repeatedFields_ = [11];
|
|
10629
|
+
|
|
10630
|
+
|
|
10631
|
+
|
|
10632
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10633
|
+
/**
|
|
10634
|
+
* Creates an object representation of this proto.
|
|
10635
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10636
|
+
* Optional fields that are not set will be set to undefined.
|
|
10637
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10638
|
+
* For the list of reserved names please see:
|
|
10639
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10640
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10641
|
+
* JSPB instance for transitional soy proto support:
|
|
10642
|
+
* http://goto/soy-param-migration
|
|
10643
|
+
* @return {!Object}
|
|
10644
|
+
*/
|
|
10645
|
+
proto.payment.PaymentMethodConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10646
|
+
return proto.payment.PaymentMethodConfigRequest.toObject(opt_includeInstance, this);
|
|
10647
|
+
};
|
|
10648
|
+
|
|
10649
|
+
|
|
10650
|
+
/**
|
|
10651
|
+
* Static version of the {@see toObject} method.
|
|
10652
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10653
|
+
* the JSPB instance for transitional soy proto support:
|
|
10654
|
+
* http://goto/soy-param-migration
|
|
10655
|
+
* @param {!proto.payment.PaymentMethodConfigRequest} msg The msg instance to transform.
|
|
10656
|
+
* @return {!Object}
|
|
10657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10658
|
+
*/
|
|
10659
|
+
proto.payment.PaymentMethodConfigRequest.toObject = function(includeInstance, msg) {
|
|
10660
|
+
var f, obj = {
|
|
10661
|
+
methodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10662
|
+
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10663
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10664
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10665
|
+
minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
10666
|
+
maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
10667
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10668
|
+
config: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
10669
|
+
sdkProvider: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
10670
|
+
sdkEnabled: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
10671
|
+
cashierFieldsList: jspb.Message.toObjectList(msg.getCashierFieldsList(),
|
|
10672
|
+
proto.payment.CashierFieldItem.toObject, includeInstance),
|
|
10673
|
+
fromCompletedDepositCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
10674
|
+
toCompletedDepositCount: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
10675
|
+
};
|
|
10676
|
+
|
|
10677
|
+
if (includeInstance) {
|
|
10678
|
+
obj.$jspbMessageInstance = msg;
|
|
10679
|
+
}
|
|
10680
|
+
return obj;
|
|
10681
|
+
};
|
|
10682
|
+
}
|
|
10683
|
+
|
|
10684
|
+
|
|
10685
|
+
/**
|
|
10686
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10687
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10688
|
+
* @return {!proto.payment.PaymentMethodConfigRequest}
|
|
10689
|
+
*/
|
|
10690
|
+
proto.payment.PaymentMethodConfigRequest.deserializeBinary = function(bytes) {
|
|
10691
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10692
|
+
var msg = new proto.payment.PaymentMethodConfigRequest;
|
|
10693
|
+
return proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
10694
|
+
};
|
|
10695
|
+
|
|
10696
|
+
|
|
10697
|
+
/**
|
|
10698
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10699
|
+
* given reader into the given message object.
|
|
10700
|
+
* @param {!proto.payment.PaymentMethodConfigRequest} msg The message object to deserialize into.
|
|
10701
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10702
|
+
* @return {!proto.payment.PaymentMethodConfigRequest}
|
|
10703
|
+
*/
|
|
10704
|
+
proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10705
|
+
while (reader.nextField()) {
|
|
10706
|
+
if (reader.isEndGroup()) {
|
|
10707
|
+
break;
|
|
10708
|
+
}
|
|
10709
|
+
var field = reader.getFieldNumber();
|
|
10710
|
+
switch (field) {
|
|
10711
|
+
case 1:
|
|
10712
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10713
|
+
msg.setMethodId(value);
|
|
10714
|
+
break;
|
|
10715
|
+
case 2:
|
|
10716
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10717
|
+
msg.setCountry(value);
|
|
10718
|
+
break;
|
|
10719
|
+
case 3:
|
|
10720
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10721
|
+
msg.setCurrency(value);
|
|
10722
|
+
break;
|
|
10723
|
+
case 4:
|
|
10724
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10725
|
+
msg.setIsActive(value);
|
|
10726
|
+
break;
|
|
10727
|
+
case 5:
|
|
10728
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
10729
|
+
msg.setMinAmount(value);
|
|
10730
|
+
break;
|
|
10731
|
+
case 6:
|
|
10732
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
10733
|
+
msg.setMaxAmount(value);
|
|
10734
|
+
break;
|
|
10735
|
+
case 7:
|
|
10736
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10737
|
+
msg.setType(value);
|
|
10738
|
+
break;
|
|
10739
|
+
case 8:
|
|
10740
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10741
|
+
msg.setConfig(value);
|
|
10742
|
+
break;
|
|
10743
|
+
case 9:
|
|
10744
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10745
|
+
msg.setSdkProvider(value);
|
|
10746
|
+
break;
|
|
10747
|
+
case 10:
|
|
10748
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10749
|
+
msg.setSdkEnabled(value);
|
|
10750
|
+
break;
|
|
10751
|
+
case 11:
|
|
10752
|
+
var value = new proto.payment.CashierFieldItem;
|
|
10753
|
+
reader.readMessage(value,proto.payment.CashierFieldItem.deserializeBinaryFromReader);
|
|
10754
|
+
msg.addCashierFields(value);
|
|
10755
|
+
break;
|
|
10756
|
+
case 12:
|
|
10757
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10758
|
+
msg.setFromCompletedDepositCount(value);
|
|
10759
|
+
break;
|
|
10760
|
+
case 13:
|
|
10761
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10762
|
+
msg.setToCompletedDepositCount(value);
|
|
10763
|
+
break;
|
|
10764
|
+
default:
|
|
10765
|
+
reader.skipField();
|
|
10766
|
+
break;
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
return msg;
|
|
10770
|
+
};
|
|
10771
|
+
|
|
10772
|
+
|
|
10773
|
+
/**
|
|
10774
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10775
|
+
* @return {!Uint8Array}
|
|
10776
|
+
*/
|
|
10777
|
+
proto.payment.PaymentMethodConfigRequest.prototype.serializeBinary = function() {
|
|
10778
|
+
var writer = new jspb.BinaryWriter();
|
|
10779
|
+
proto.payment.PaymentMethodConfigRequest.serializeBinaryToWriter(this, writer);
|
|
10780
|
+
return writer.getResultBuffer();
|
|
10781
|
+
};
|
|
10782
|
+
|
|
10783
|
+
|
|
10784
|
+
/**
|
|
10785
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10786
|
+
* format), writing to the given BinaryWriter.
|
|
10787
|
+
* @param {!proto.payment.PaymentMethodConfigRequest} message
|
|
10788
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10789
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10790
|
+
*/
|
|
10791
|
+
proto.payment.PaymentMethodConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10792
|
+
var f = undefined;
|
|
10793
|
+
f = message.getMethodId();
|
|
10794
|
+
if (f !== 0) {
|
|
10795
|
+
writer.writeInt32(
|
|
10796
|
+
1,
|
|
10797
|
+
f
|
|
10798
|
+
);
|
|
10799
|
+
}
|
|
10800
|
+
f = message.getCountry();
|
|
10801
|
+
if (f.length > 0) {
|
|
10802
|
+
writer.writeString(
|
|
10803
|
+
2,
|
|
10804
|
+
f
|
|
10805
|
+
);
|
|
10806
|
+
}
|
|
10807
|
+
f = message.getCurrency();
|
|
10808
|
+
if (f.length > 0) {
|
|
10809
|
+
writer.writeString(
|
|
10810
|
+
3,
|
|
10811
|
+
f
|
|
10812
|
+
);
|
|
10813
|
+
}
|
|
10814
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
10815
|
+
if (f != null) {
|
|
10816
|
+
writer.writeInt32(
|
|
10817
|
+
4,
|
|
10818
|
+
f
|
|
10819
|
+
);
|
|
10820
|
+
}
|
|
10821
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
10822
|
+
if (f != null) {
|
|
10823
|
+
writer.writeFloat(
|
|
10824
|
+
5,
|
|
10825
|
+
f
|
|
10826
|
+
);
|
|
10827
|
+
}
|
|
10828
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
10829
|
+
if (f != null) {
|
|
10830
|
+
writer.writeFloat(
|
|
10831
|
+
6,
|
|
10832
|
+
f
|
|
10833
|
+
);
|
|
10834
|
+
}
|
|
10835
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
10836
|
+
if (f != null) {
|
|
10837
|
+
writer.writeString(
|
|
9704
10838
|
7,
|
|
9705
10839
|
f
|
|
9706
10840
|
);
|
|
@@ -33240,6 +34374,572 @@ proto.payment.GetUserKycFinancialSnapshotResponse.prototype.setCompletedWithdraw
|
|
|
33240
34374
|
|
|
33241
34375
|
|
|
33242
34376
|
|
|
34377
|
+
|
|
34378
|
+
|
|
34379
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34380
|
+
/**
|
|
34381
|
+
* Creates an object representation of this proto.
|
|
34382
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34383
|
+
* Optional fields that are not set will be set to undefined.
|
|
34384
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34385
|
+
* For the list of reserved names please see:
|
|
34386
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34387
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34388
|
+
* JSPB instance for transitional soy proto support:
|
|
34389
|
+
* http://goto/soy-param-migration
|
|
34390
|
+
* @return {!Object}
|
|
34391
|
+
*/
|
|
34392
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
34393
|
+
return proto.payment.GetUserCashbackPaymentOperandsRequest.toObject(opt_includeInstance, this);
|
|
34394
|
+
};
|
|
34395
|
+
|
|
34396
|
+
|
|
34397
|
+
/**
|
|
34398
|
+
* Static version of the {@see toObject} method.
|
|
34399
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34400
|
+
* the JSPB instance for transitional soy proto support:
|
|
34401
|
+
* http://goto/soy-param-migration
|
|
34402
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsRequest} msg The msg instance to transform.
|
|
34403
|
+
* @return {!Object}
|
|
34404
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34405
|
+
*/
|
|
34406
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.toObject = function(includeInstance, msg) {
|
|
34407
|
+
var f, obj = {
|
|
34408
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
34409
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
34410
|
+
periodStart: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
34411
|
+
periodEnd: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
34412
|
+
};
|
|
34413
|
+
|
|
34414
|
+
if (includeInstance) {
|
|
34415
|
+
obj.$jspbMessageInstance = msg;
|
|
34416
|
+
}
|
|
34417
|
+
return obj;
|
|
34418
|
+
};
|
|
34419
|
+
}
|
|
34420
|
+
|
|
34421
|
+
|
|
34422
|
+
/**
|
|
34423
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34424
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34425
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest}
|
|
34426
|
+
*/
|
|
34427
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.deserializeBinary = function(bytes) {
|
|
34428
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34429
|
+
var msg = new proto.payment.GetUserCashbackPaymentOperandsRequest;
|
|
34430
|
+
return proto.payment.GetUserCashbackPaymentOperandsRequest.deserializeBinaryFromReader(msg, reader);
|
|
34431
|
+
};
|
|
34432
|
+
|
|
34433
|
+
|
|
34434
|
+
/**
|
|
34435
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34436
|
+
* given reader into the given message object.
|
|
34437
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsRequest} msg The message object to deserialize into.
|
|
34438
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34439
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest}
|
|
34440
|
+
*/
|
|
34441
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
34442
|
+
while (reader.nextField()) {
|
|
34443
|
+
if (reader.isEndGroup()) {
|
|
34444
|
+
break;
|
|
34445
|
+
}
|
|
34446
|
+
var field = reader.getFieldNumber();
|
|
34447
|
+
switch (field) {
|
|
34448
|
+
case 1:
|
|
34449
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34450
|
+
msg.setUserId(value);
|
|
34451
|
+
break;
|
|
34452
|
+
case 2:
|
|
34453
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34454
|
+
msg.setCurrency(value);
|
|
34455
|
+
break;
|
|
34456
|
+
case 3:
|
|
34457
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34458
|
+
msg.setPeriodStart(value);
|
|
34459
|
+
break;
|
|
34460
|
+
case 4:
|
|
34461
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34462
|
+
msg.setPeriodEnd(value);
|
|
34463
|
+
break;
|
|
34464
|
+
default:
|
|
34465
|
+
reader.skipField();
|
|
34466
|
+
break;
|
|
34467
|
+
}
|
|
34468
|
+
}
|
|
34469
|
+
return msg;
|
|
34470
|
+
};
|
|
34471
|
+
|
|
34472
|
+
|
|
34473
|
+
/**
|
|
34474
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34475
|
+
* @return {!Uint8Array}
|
|
34476
|
+
*/
|
|
34477
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.serializeBinary = function() {
|
|
34478
|
+
var writer = new jspb.BinaryWriter();
|
|
34479
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.serializeBinaryToWriter(this, writer);
|
|
34480
|
+
return writer.getResultBuffer();
|
|
34481
|
+
};
|
|
34482
|
+
|
|
34483
|
+
|
|
34484
|
+
/**
|
|
34485
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34486
|
+
* format), writing to the given BinaryWriter.
|
|
34487
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsRequest} message
|
|
34488
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34489
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34490
|
+
*/
|
|
34491
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
34492
|
+
var f = undefined;
|
|
34493
|
+
f = message.getUserId();
|
|
34494
|
+
if (f !== 0) {
|
|
34495
|
+
writer.writeInt32(
|
|
34496
|
+
1,
|
|
34497
|
+
f
|
|
34498
|
+
);
|
|
34499
|
+
}
|
|
34500
|
+
f = message.getCurrency();
|
|
34501
|
+
if (f.length > 0) {
|
|
34502
|
+
writer.writeString(
|
|
34503
|
+
2,
|
|
34504
|
+
f
|
|
34505
|
+
);
|
|
34506
|
+
}
|
|
34507
|
+
f = message.getPeriodStart();
|
|
34508
|
+
if (f.length > 0) {
|
|
34509
|
+
writer.writeString(
|
|
34510
|
+
3,
|
|
34511
|
+
f
|
|
34512
|
+
);
|
|
34513
|
+
}
|
|
34514
|
+
f = message.getPeriodEnd();
|
|
34515
|
+
if (f.length > 0) {
|
|
34516
|
+
writer.writeString(
|
|
34517
|
+
4,
|
|
34518
|
+
f
|
|
34519
|
+
);
|
|
34520
|
+
}
|
|
34521
|
+
};
|
|
34522
|
+
|
|
34523
|
+
|
|
34524
|
+
/**
|
|
34525
|
+
* optional int32 user_id = 1;
|
|
34526
|
+
* @return {number}
|
|
34527
|
+
*/
|
|
34528
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.getUserId = function() {
|
|
34529
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
34530
|
+
};
|
|
34531
|
+
|
|
34532
|
+
|
|
34533
|
+
/**
|
|
34534
|
+
* @param {number} value
|
|
34535
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest} returns this
|
|
34536
|
+
*/
|
|
34537
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.setUserId = function(value) {
|
|
34538
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
34539
|
+
};
|
|
34540
|
+
|
|
34541
|
+
|
|
34542
|
+
/**
|
|
34543
|
+
* optional string currency = 2;
|
|
34544
|
+
* @return {string}
|
|
34545
|
+
*/
|
|
34546
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.getCurrency = function() {
|
|
34547
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
34548
|
+
};
|
|
34549
|
+
|
|
34550
|
+
|
|
34551
|
+
/**
|
|
34552
|
+
* @param {string} value
|
|
34553
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest} returns this
|
|
34554
|
+
*/
|
|
34555
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.setCurrency = function(value) {
|
|
34556
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
34557
|
+
};
|
|
34558
|
+
|
|
34559
|
+
|
|
34560
|
+
/**
|
|
34561
|
+
* optional string period_start = 3;
|
|
34562
|
+
* @return {string}
|
|
34563
|
+
*/
|
|
34564
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.getPeriodStart = function() {
|
|
34565
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
34566
|
+
};
|
|
34567
|
+
|
|
34568
|
+
|
|
34569
|
+
/**
|
|
34570
|
+
* @param {string} value
|
|
34571
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest} returns this
|
|
34572
|
+
*/
|
|
34573
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.setPeriodStart = function(value) {
|
|
34574
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
34575
|
+
};
|
|
34576
|
+
|
|
34577
|
+
|
|
34578
|
+
/**
|
|
34579
|
+
* optional string period_end = 4;
|
|
34580
|
+
* @return {string}
|
|
34581
|
+
*/
|
|
34582
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.getPeriodEnd = function() {
|
|
34583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
34584
|
+
};
|
|
34585
|
+
|
|
34586
|
+
|
|
34587
|
+
/**
|
|
34588
|
+
* @param {string} value
|
|
34589
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsRequest} returns this
|
|
34590
|
+
*/
|
|
34591
|
+
proto.payment.GetUserCashbackPaymentOperandsRequest.prototype.setPeriodEnd = function(value) {
|
|
34592
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
34593
|
+
};
|
|
34594
|
+
|
|
34595
|
+
|
|
34596
|
+
|
|
34597
|
+
|
|
34598
|
+
|
|
34599
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34600
|
+
/**
|
|
34601
|
+
* Creates an object representation of this proto.
|
|
34602
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34603
|
+
* Optional fields that are not set will be set to undefined.
|
|
34604
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34605
|
+
* For the list of reserved names please see:
|
|
34606
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34607
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34608
|
+
* JSPB instance for transitional soy proto support:
|
|
34609
|
+
* http://goto/soy-param-migration
|
|
34610
|
+
* @return {!Object}
|
|
34611
|
+
*/
|
|
34612
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
34613
|
+
return proto.payment.GetUserCashbackPaymentOperandsResponse.toObject(opt_includeInstance, this);
|
|
34614
|
+
};
|
|
34615
|
+
|
|
34616
|
+
|
|
34617
|
+
/**
|
|
34618
|
+
* Static version of the {@see toObject} method.
|
|
34619
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34620
|
+
* the JSPB instance for transitional soy proto support:
|
|
34621
|
+
* http://goto/soy-param-migration
|
|
34622
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsResponse} msg The msg instance to transform.
|
|
34623
|
+
* @return {!Object}
|
|
34624
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34625
|
+
*/
|
|
34626
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.toObject = function(includeInstance, msg) {
|
|
34627
|
+
var f, obj = {
|
|
34628
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
34629
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
34630
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
34631
|
+
completedDepositsAmountMinor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
34632
|
+
completedWithdrawalsAmountMinor: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
34633
|
+
completedDepositsCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
34634
|
+
completedWithdrawalsCount: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
34635
|
+
};
|
|
34636
|
+
|
|
34637
|
+
if (includeInstance) {
|
|
34638
|
+
obj.$jspbMessageInstance = msg;
|
|
34639
|
+
}
|
|
34640
|
+
return obj;
|
|
34641
|
+
};
|
|
34642
|
+
}
|
|
34643
|
+
|
|
34644
|
+
|
|
34645
|
+
/**
|
|
34646
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34647
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34648
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse}
|
|
34649
|
+
*/
|
|
34650
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.deserializeBinary = function(bytes) {
|
|
34651
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34652
|
+
var msg = new proto.payment.GetUserCashbackPaymentOperandsResponse;
|
|
34653
|
+
return proto.payment.GetUserCashbackPaymentOperandsResponse.deserializeBinaryFromReader(msg, reader);
|
|
34654
|
+
};
|
|
34655
|
+
|
|
34656
|
+
|
|
34657
|
+
/**
|
|
34658
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34659
|
+
* given reader into the given message object.
|
|
34660
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsResponse} msg The message object to deserialize into.
|
|
34661
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34662
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse}
|
|
34663
|
+
*/
|
|
34664
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
34665
|
+
while (reader.nextField()) {
|
|
34666
|
+
if (reader.isEndGroup()) {
|
|
34667
|
+
break;
|
|
34668
|
+
}
|
|
34669
|
+
var field = reader.getFieldNumber();
|
|
34670
|
+
switch (field) {
|
|
34671
|
+
case 1:
|
|
34672
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34673
|
+
msg.setUserId(value);
|
|
34674
|
+
break;
|
|
34675
|
+
case 2:
|
|
34676
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34677
|
+
msg.setCurrency(value);
|
|
34678
|
+
break;
|
|
34679
|
+
case 3:
|
|
34680
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34681
|
+
msg.setCurrencyScale(value);
|
|
34682
|
+
break;
|
|
34683
|
+
case 4:
|
|
34684
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
34685
|
+
msg.setCompletedDepositsAmountMinor(value);
|
|
34686
|
+
break;
|
|
34687
|
+
case 5:
|
|
34688
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
34689
|
+
msg.setCompletedWithdrawalsAmountMinor(value);
|
|
34690
|
+
break;
|
|
34691
|
+
case 6:
|
|
34692
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34693
|
+
msg.setCompletedDepositsCount(value);
|
|
34694
|
+
break;
|
|
34695
|
+
case 7:
|
|
34696
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34697
|
+
msg.setCompletedWithdrawalsCount(value);
|
|
34698
|
+
break;
|
|
34699
|
+
default:
|
|
34700
|
+
reader.skipField();
|
|
34701
|
+
break;
|
|
34702
|
+
}
|
|
34703
|
+
}
|
|
34704
|
+
return msg;
|
|
34705
|
+
};
|
|
34706
|
+
|
|
34707
|
+
|
|
34708
|
+
/**
|
|
34709
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34710
|
+
* @return {!Uint8Array}
|
|
34711
|
+
*/
|
|
34712
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.serializeBinary = function() {
|
|
34713
|
+
var writer = new jspb.BinaryWriter();
|
|
34714
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.serializeBinaryToWriter(this, writer);
|
|
34715
|
+
return writer.getResultBuffer();
|
|
34716
|
+
};
|
|
34717
|
+
|
|
34718
|
+
|
|
34719
|
+
/**
|
|
34720
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34721
|
+
* format), writing to the given BinaryWriter.
|
|
34722
|
+
* @param {!proto.payment.GetUserCashbackPaymentOperandsResponse} message
|
|
34723
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34724
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34725
|
+
*/
|
|
34726
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
34727
|
+
var f = undefined;
|
|
34728
|
+
f = message.getUserId();
|
|
34729
|
+
if (f !== 0) {
|
|
34730
|
+
writer.writeInt32(
|
|
34731
|
+
1,
|
|
34732
|
+
f
|
|
34733
|
+
);
|
|
34734
|
+
}
|
|
34735
|
+
f = message.getCurrency();
|
|
34736
|
+
if (f.length > 0) {
|
|
34737
|
+
writer.writeString(
|
|
34738
|
+
2,
|
|
34739
|
+
f
|
|
34740
|
+
);
|
|
34741
|
+
}
|
|
34742
|
+
f = message.getCurrencyScale();
|
|
34743
|
+
if (f !== 0) {
|
|
34744
|
+
writer.writeInt32(
|
|
34745
|
+
3,
|
|
34746
|
+
f
|
|
34747
|
+
);
|
|
34748
|
+
}
|
|
34749
|
+
f = message.getCompletedDepositsAmountMinor();
|
|
34750
|
+
if (f !== 0) {
|
|
34751
|
+
writer.writeInt64(
|
|
34752
|
+
4,
|
|
34753
|
+
f
|
|
34754
|
+
);
|
|
34755
|
+
}
|
|
34756
|
+
f = message.getCompletedWithdrawalsAmountMinor();
|
|
34757
|
+
if (f !== 0) {
|
|
34758
|
+
writer.writeInt64(
|
|
34759
|
+
5,
|
|
34760
|
+
f
|
|
34761
|
+
);
|
|
34762
|
+
}
|
|
34763
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
34764
|
+
if (f != null) {
|
|
34765
|
+
writer.writeInt32(
|
|
34766
|
+
6,
|
|
34767
|
+
f
|
|
34768
|
+
);
|
|
34769
|
+
}
|
|
34770
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
34771
|
+
if (f != null) {
|
|
34772
|
+
writer.writeInt32(
|
|
34773
|
+
7,
|
|
34774
|
+
f
|
|
34775
|
+
);
|
|
34776
|
+
}
|
|
34777
|
+
};
|
|
34778
|
+
|
|
34779
|
+
|
|
34780
|
+
/**
|
|
34781
|
+
* optional int32 user_id = 1;
|
|
34782
|
+
* @return {number}
|
|
34783
|
+
*/
|
|
34784
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getUserId = function() {
|
|
34785
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
34786
|
+
};
|
|
34787
|
+
|
|
34788
|
+
|
|
34789
|
+
/**
|
|
34790
|
+
* @param {number} value
|
|
34791
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34792
|
+
*/
|
|
34793
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setUserId = function(value) {
|
|
34794
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
34795
|
+
};
|
|
34796
|
+
|
|
34797
|
+
|
|
34798
|
+
/**
|
|
34799
|
+
* optional string currency = 2;
|
|
34800
|
+
* @return {string}
|
|
34801
|
+
*/
|
|
34802
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCurrency = function() {
|
|
34803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
34804
|
+
};
|
|
34805
|
+
|
|
34806
|
+
|
|
34807
|
+
/**
|
|
34808
|
+
* @param {string} value
|
|
34809
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34810
|
+
*/
|
|
34811
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCurrency = function(value) {
|
|
34812
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
34813
|
+
};
|
|
34814
|
+
|
|
34815
|
+
|
|
34816
|
+
/**
|
|
34817
|
+
* optional int32 currency_scale = 3;
|
|
34818
|
+
* @return {number}
|
|
34819
|
+
*/
|
|
34820
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCurrencyScale = function() {
|
|
34821
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
34822
|
+
};
|
|
34823
|
+
|
|
34824
|
+
|
|
34825
|
+
/**
|
|
34826
|
+
* @param {number} value
|
|
34827
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34828
|
+
*/
|
|
34829
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCurrencyScale = function(value) {
|
|
34830
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
34831
|
+
};
|
|
34832
|
+
|
|
34833
|
+
|
|
34834
|
+
/**
|
|
34835
|
+
* optional int64 completed_deposits_amount_minor = 4;
|
|
34836
|
+
* @return {number}
|
|
34837
|
+
*/
|
|
34838
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCompletedDepositsAmountMinor = function() {
|
|
34839
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
34840
|
+
};
|
|
34841
|
+
|
|
34842
|
+
|
|
34843
|
+
/**
|
|
34844
|
+
* @param {number} value
|
|
34845
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34846
|
+
*/
|
|
34847
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCompletedDepositsAmountMinor = function(value) {
|
|
34848
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
34849
|
+
};
|
|
34850
|
+
|
|
34851
|
+
|
|
34852
|
+
/**
|
|
34853
|
+
* optional int64 completed_withdrawals_amount_minor = 5;
|
|
34854
|
+
* @return {number}
|
|
34855
|
+
*/
|
|
34856
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCompletedWithdrawalsAmountMinor = function() {
|
|
34857
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
34858
|
+
};
|
|
34859
|
+
|
|
34860
|
+
|
|
34861
|
+
/**
|
|
34862
|
+
* @param {number} value
|
|
34863
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34864
|
+
*/
|
|
34865
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCompletedWithdrawalsAmountMinor = function(value) {
|
|
34866
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
34867
|
+
};
|
|
34868
|
+
|
|
34869
|
+
|
|
34870
|
+
/**
|
|
34871
|
+
* optional int32 completed_deposits_count = 6;
|
|
34872
|
+
* @return {number}
|
|
34873
|
+
*/
|
|
34874
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCompletedDepositsCount = function() {
|
|
34875
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
34876
|
+
};
|
|
34877
|
+
|
|
34878
|
+
|
|
34879
|
+
/**
|
|
34880
|
+
* @param {number} value
|
|
34881
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34882
|
+
*/
|
|
34883
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCompletedDepositsCount = function(value) {
|
|
34884
|
+
return jspb.Message.setField(this, 6, value);
|
|
34885
|
+
};
|
|
34886
|
+
|
|
34887
|
+
|
|
34888
|
+
/**
|
|
34889
|
+
* Clears the field making it undefined.
|
|
34890
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34891
|
+
*/
|
|
34892
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.clearCompletedDepositsCount = function() {
|
|
34893
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
34894
|
+
};
|
|
34895
|
+
|
|
34896
|
+
|
|
34897
|
+
/**
|
|
34898
|
+
* Returns whether this field is set.
|
|
34899
|
+
* @return {boolean}
|
|
34900
|
+
*/
|
|
34901
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.hasCompletedDepositsCount = function() {
|
|
34902
|
+
return jspb.Message.getField(this, 6) != null;
|
|
34903
|
+
};
|
|
34904
|
+
|
|
34905
|
+
|
|
34906
|
+
/**
|
|
34907
|
+
* optional int32 completed_withdrawals_count = 7;
|
|
34908
|
+
* @return {number}
|
|
34909
|
+
*/
|
|
34910
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.getCompletedWithdrawalsCount = function() {
|
|
34911
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
34912
|
+
};
|
|
34913
|
+
|
|
34914
|
+
|
|
34915
|
+
/**
|
|
34916
|
+
* @param {number} value
|
|
34917
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34918
|
+
*/
|
|
34919
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.setCompletedWithdrawalsCount = function(value) {
|
|
34920
|
+
return jspb.Message.setField(this, 7, value);
|
|
34921
|
+
};
|
|
34922
|
+
|
|
34923
|
+
|
|
34924
|
+
/**
|
|
34925
|
+
* Clears the field making it undefined.
|
|
34926
|
+
* @return {!proto.payment.GetUserCashbackPaymentOperandsResponse} returns this
|
|
34927
|
+
*/
|
|
34928
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.clearCompletedWithdrawalsCount = function() {
|
|
34929
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
34930
|
+
};
|
|
34931
|
+
|
|
34932
|
+
|
|
34933
|
+
/**
|
|
34934
|
+
* Returns whether this field is set.
|
|
34935
|
+
* @return {boolean}
|
|
34936
|
+
*/
|
|
34937
|
+
proto.payment.GetUserCashbackPaymentOperandsResponse.prototype.hasCompletedWithdrawalsCount = function() {
|
|
34938
|
+
return jspb.Message.getField(this, 7) != null;
|
|
34939
|
+
};
|
|
34940
|
+
|
|
34941
|
+
|
|
34942
|
+
|
|
33243
34943
|
/**
|
|
33244
34944
|
* List of repeated fields within this message type.
|
|
33245
34945
|
* @private {!Array<number>}
|