protobuf-platform 1.2.447 → 1.2.450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payment/payment.proto +35 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +1398 -0
package/payment/payment_pb.js
CHANGED
|
@@ -58,6 +58,8 @@ goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotRequest', null, glob
|
|
|
58
58
|
goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotResponse', null, global);
|
|
59
59
|
goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
|
|
60
60
|
goog.exportSymbol('proto.payment.GetWithdrawalRequest', null, global);
|
|
61
|
+
goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryRequest', null, global);
|
|
62
|
+
goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryResponse', null, global);
|
|
61
63
|
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
|
|
62
64
|
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
|
|
63
65
|
goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
|
|
@@ -108,6 +110,7 @@ goog.exportSymbol('proto.payment.UserWithdrawalItemsResponse', null, global);
|
|
|
108
110
|
goog.exportSymbol('proto.payment.WithdrawalItem', null, global);
|
|
109
111
|
goog.exportSymbol('proto.payment.WithdrawalItemsResponse', null, global);
|
|
110
112
|
goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
|
|
113
|
+
goog.exportSymbol('proto.payment.WithdrawalWagerBucketHistoryItem', null, global);
|
|
111
114
|
goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
|
|
112
115
|
goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
|
|
113
116
|
/**
|
|
@@ -1622,6 +1625,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1622
1625
|
*/
|
|
1623
1626
|
proto.payment.GetWithdrawalWagerSnapshotResponse.displayName = 'proto.payment.GetWithdrawalWagerSnapshotResponse';
|
|
1624
1627
|
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Generated by JsPbCodeGenerator.
|
|
1630
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1631
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1632
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1633
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1634
|
+
* valid.
|
|
1635
|
+
* @extends {jspb.Message}
|
|
1636
|
+
* @constructor
|
|
1637
|
+
*/
|
|
1638
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest = function(opt_data) {
|
|
1639
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1640
|
+
};
|
|
1641
|
+
goog.inherits(proto.payment.GetWithdrawalWagerBucketHistoryRequest, jspb.Message);
|
|
1642
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1643
|
+
/**
|
|
1644
|
+
* @public
|
|
1645
|
+
* @override
|
|
1646
|
+
*/
|
|
1647
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.displayName = 'proto.payment.GetWithdrawalWagerBucketHistoryRequest';
|
|
1648
|
+
}
|
|
1649
|
+
/**
|
|
1650
|
+
* Generated by JsPbCodeGenerator.
|
|
1651
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1652
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1653
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1654
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1655
|
+
* valid.
|
|
1656
|
+
* @extends {jspb.Message}
|
|
1657
|
+
* @constructor
|
|
1658
|
+
*/
|
|
1659
|
+
proto.payment.WithdrawalWagerBucketHistoryItem = function(opt_data) {
|
|
1660
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1661
|
+
};
|
|
1662
|
+
goog.inherits(proto.payment.WithdrawalWagerBucketHistoryItem, jspb.Message);
|
|
1663
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1664
|
+
/**
|
|
1665
|
+
* @public
|
|
1666
|
+
* @override
|
|
1667
|
+
*/
|
|
1668
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.displayName = 'proto.payment.WithdrawalWagerBucketHistoryItem';
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Generated by JsPbCodeGenerator.
|
|
1672
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1673
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1674
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1675
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1676
|
+
* valid.
|
|
1677
|
+
* @extends {jspb.Message}
|
|
1678
|
+
* @constructor
|
|
1679
|
+
*/
|
|
1680
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse = function(opt_data) {
|
|
1681
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetWithdrawalWagerBucketHistoryResponse.repeatedFields_, null);
|
|
1682
|
+
};
|
|
1683
|
+
goog.inherits(proto.payment.GetWithdrawalWagerBucketHistoryResponse, jspb.Message);
|
|
1684
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1685
|
+
/**
|
|
1686
|
+
* @public
|
|
1687
|
+
* @override
|
|
1688
|
+
*/
|
|
1689
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.displayName = 'proto.payment.GetWithdrawalWagerBucketHistoryResponse';
|
|
1690
|
+
}
|
|
1625
1691
|
/**
|
|
1626
1692
|
* Generated by JsPbCodeGenerator.
|
|
1627
1693
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -29296,6 +29362,1338 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearActiveLockedBuck
|
|
|
29296
29362
|
|
|
29297
29363
|
|
|
29298
29364
|
|
|
29365
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29366
|
+
/**
|
|
29367
|
+
* Creates an object representation of this proto.
|
|
29368
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29369
|
+
* Optional fields that are not set will be set to undefined.
|
|
29370
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29371
|
+
* For the list of reserved names please see:
|
|
29372
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29373
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29374
|
+
* JSPB instance for transitional soy proto support:
|
|
29375
|
+
* http://goto/soy-param-migration
|
|
29376
|
+
* @return {!Object}
|
|
29377
|
+
*/
|
|
29378
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
29379
|
+
return proto.payment.GetWithdrawalWagerBucketHistoryRequest.toObject(opt_includeInstance, this);
|
|
29380
|
+
};
|
|
29381
|
+
|
|
29382
|
+
|
|
29383
|
+
/**
|
|
29384
|
+
* Static version of the {@see toObject} method.
|
|
29385
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29386
|
+
* the JSPB instance for transitional soy proto support:
|
|
29387
|
+
* http://goto/soy-param-migration
|
|
29388
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} msg The msg instance to transform.
|
|
29389
|
+
* @return {!Object}
|
|
29390
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29391
|
+
*/
|
|
29392
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.toObject = function(includeInstance, msg) {
|
|
29393
|
+
var f, obj = {
|
|
29394
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
29395
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29396
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29397
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
29398
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
29399
|
+
offset: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
29400
|
+
};
|
|
29401
|
+
|
|
29402
|
+
if (includeInstance) {
|
|
29403
|
+
obj.$jspbMessageInstance = msg;
|
|
29404
|
+
}
|
|
29405
|
+
return obj;
|
|
29406
|
+
};
|
|
29407
|
+
}
|
|
29408
|
+
|
|
29409
|
+
|
|
29410
|
+
/**
|
|
29411
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29412
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29413
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest}
|
|
29414
|
+
*/
|
|
29415
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinary = function(bytes) {
|
|
29416
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29417
|
+
var msg = new proto.payment.GetWithdrawalWagerBucketHistoryRequest;
|
|
29418
|
+
return proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinaryFromReader(msg, reader);
|
|
29419
|
+
};
|
|
29420
|
+
|
|
29421
|
+
|
|
29422
|
+
/**
|
|
29423
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29424
|
+
* given reader into the given message object.
|
|
29425
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} msg The message object to deserialize into.
|
|
29426
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29427
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest}
|
|
29428
|
+
*/
|
|
29429
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
29430
|
+
while (reader.nextField()) {
|
|
29431
|
+
if (reader.isEndGroup()) {
|
|
29432
|
+
break;
|
|
29433
|
+
}
|
|
29434
|
+
var field = reader.getFieldNumber();
|
|
29435
|
+
switch (field) {
|
|
29436
|
+
case 1:
|
|
29437
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29438
|
+
msg.setUserId(value);
|
|
29439
|
+
break;
|
|
29440
|
+
case 2:
|
|
29441
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29442
|
+
msg.setCurrency(value);
|
|
29443
|
+
break;
|
|
29444
|
+
case 3:
|
|
29445
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29446
|
+
msg.setStatus(value);
|
|
29447
|
+
break;
|
|
29448
|
+
case 4:
|
|
29449
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29450
|
+
msg.setPage(value);
|
|
29451
|
+
break;
|
|
29452
|
+
case 5:
|
|
29453
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29454
|
+
msg.setLimit(value);
|
|
29455
|
+
break;
|
|
29456
|
+
case 6:
|
|
29457
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29458
|
+
msg.setOffset(value);
|
|
29459
|
+
break;
|
|
29460
|
+
default:
|
|
29461
|
+
reader.skipField();
|
|
29462
|
+
break;
|
|
29463
|
+
}
|
|
29464
|
+
}
|
|
29465
|
+
return msg;
|
|
29466
|
+
};
|
|
29467
|
+
|
|
29468
|
+
|
|
29469
|
+
/**
|
|
29470
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29471
|
+
* @return {!Uint8Array}
|
|
29472
|
+
*/
|
|
29473
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.serializeBinary = function() {
|
|
29474
|
+
var writer = new jspb.BinaryWriter();
|
|
29475
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.serializeBinaryToWriter(this, writer);
|
|
29476
|
+
return writer.getResultBuffer();
|
|
29477
|
+
};
|
|
29478
|
+
|
|
29479
|
+
|
|
29480
|
+
/**
|
|
29481
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29482
|
+
* format), writing to the given BinaryWriter.
|
|
29483
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} message
|
|
29484
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29485
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29486
|
+
*/
|
|
29487
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
29488
|
+
var f = undefined;
|
|
29489
|
+
f = message.getUserId();
|
|
29490
|
+
if (f !== 0) {
|
|
29491
|
+
writer.writeInt32(
|
|
29492
|
+
1,
|
|
29493
|
+
f
|
|
29494
|
+
);
|
|
29495
|
+
}
|
|
29496
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
29497
|
+
if (f != null) {
|
|
29498
|
+
writer.writeString(
|
|
29499
|
+
2,
|
|
29500
|
+
f
|
|
29501
|
+
);
|
|
29502
|
+
}
|
|
29503
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
29504
|
+
if (f != null) {
|
|
29505
|
+
writer.writeString(
|
|
29506
|
+
3,
|
|
29507
|
+
f
|
|
29508
|
+
);
|
|
29509
|
+
}
|
|
29510
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
29511
|
+
if (f != null) {
|
|
29512
|
+
writer.writeInt32(
|
|
29513
|
+
4,
|
|
29514
|
+
f
|
|
29515
|
+
);
|
|
29516
|
+
}
|
|
29517
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
29518
|
+
if (f != null) {
|
|
29519
|
+
writer.writeInt32(
|
|
29520
|
+
5,
|
|
29521
|
+
f
|
|
29522
|
+
);
|
|
29523
|
+
}
|
|
29524
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
29525
|
+
if (f != null) {
|
|
29526
|
+
writer.writeInt32(
|
|
29527
|
+
6,
|
|
29528
|
+
f
|
|
29529
|
+
);
|
|
29530
|
+
}
|
|
29531
|
+
};
|
|
29532
|
+
|
|
29533
|
+
|
|
29534
|
+
/**
|
|
29535
|
+
* optional int32 user_id = 1;
|
|
29536
|
+
* @return {number}
|
|
29537
|
+
*/
|
|
29538
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getUserId = function() {
|
|
29539
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
29540
|
+
};
|
|
29541
|
+
|
|
29542
|
+
|
|
29543
|
+
/**
|
|
29544
|
+
* @param {number} value
|
|
29545
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29546
|
+
*/
|
|
29547
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setUserId = function(value) {
|
|
29548
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
29549
|
+
};
|
|
29550
|
+
|
|
29551
|
+
|
|
29552
|
+
/**
|
|
29553
|
+
* optional string currency = 2;
|
|
29554
|
+
* @return {string}
|
|
29555
|
+
*/
|
|
29556
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getCurrency = function() {
|
|
29557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29558
|
+
};
|
|
29559
|
+
|
|
29560
|
+
|
|
29561
|
+
/**
|
|
29562
|
+
* @param {string} value
|
|
29563
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29564
|
+
*/
|
|
29565
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setCurrency = function(value) {
|
|
29566
|
+
return jspb.Message.setField(this, 2, value);
|
|
29567
|
+
};
|
|
29568
|
+
|
|
29569
|
+
|
|
29570
|
+
/**
|
|
29571
|
+
* Clears the field making it undefined.
|
|
29572
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29573
|
+
*/
|
|
29574
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearCurrency = function() {
|
|
29575
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
29576
|
+
};
|
|
29577
|
+
|
|
29578
|
+
|
|
29579
|
+
/**
|
|
29580
|
+
* Returns whether this field is set.
|
|
29581
|
+
* @return {boolean}
|
|
29582
|
+
*/
|
|
29583
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasCurrency = function() {
|
|
29584
|
+
return jspb.Message.getField(this, 2) != null;
|
|
29585
|
+
};
|
|
29586
|
+
|
|
29587
|
+
|
|
29588
|
+
/**
|
|
29589
|
+
* optional string status = 3;
|
|
29590
|
+
* @return {string}
|
|
29591
|
+
*/
|
|
29592
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getStatus = function() {
|
|
29593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
29594
|
+
};
|
|
29595
|
+
|
|
29596
|
+
|
|
29597
|
+
/**
|
|
29598
|
+
* @param {string} value
|
|
29599
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29600
|
+
*/
|
|
29601
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setStatus = function(value) {
|
|
29602
|
+
return jspb.Message.setField(this, 3, value);
|
|
29603
|
+
};
|
|
29604
|
+
|
|
29605
|
+
|
|
29606
|
+
/**
|
|
29607
|
+
* Clears the field making it undefined.
|
|
29608
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29609
|
+
*/
|
|
29610
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearStatus = function() {
|
|
29611
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
29612
|
+
};
|
|
29613
|
+
|
|
29614
|
+
|
|
29615
|
+
/**
|
|
29616
|
+
* Returns whether this field is set.
|
|
29617
|
+
* @return {boolean}
|
|
29618
|
+
*/
|
|
29619
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasStatus = function() {
|
|
29620
|
+
return jspb.Message.getField(this, 3) != null;
|
|
29621
|
+
};
|
|
29622
|
+
|
|
29623
|
+
|
|
29624
|
+
/**
|
|
29625
|
+
* optional int32 page = 4;
|
|
29626
|
+
* @return {number}
|
|
29627
|
+
*/
|
|
29628
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getPage = function() {
|
|
29629
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
29630
|
+
};
|
|
29631
|
+
|
|
29632
|
+
|
|
29633
|
+
/**
|
|
29634
|
+
* @param {number} value
|
|
29635
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29636
|
+
*/
|
|
29637
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setPage = function(value) {
|
|
29638
|
+
return jspb.Message.setField(this, 4, value);
|
|
29639
|
+
};
|
|
29640
|
+
|
|
29641
|
+
|
|
29642
|
+
/**
|
|
29643
|
+
* Clears the field making it undefined.
|
|
29644
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29645
|
+
*/
|
|
29646
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearPage = function() {
|
|
29647
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
29648
|
+
};
|
|
29649
|
+
|
|
29650
|
+
|
|
29651
|
+
/**
|
|
29652
|
+
* Returns whether this field is set.
|
|
29653
|
+
* @return {boolean}
|
|
29654
|
+
*/
|
|
29655
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasPage = function() {
|
|
29656
|
+
return jspb.Message.getField(this, 4) != null;
|
|
29657
|
+
};
|
|
29658
|
+
|
|
29659
|
+
|
|
29660
|
+
/**
|
|
29661
|
+
* optional int32 limit = 5;
|
|
29662
|
+
* @return {number}
|
|
29663
|
+
*/
|
|
29664
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getLimit = function() {
|
|
29665
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
29666
|
+
};
|
|
29667
|
+
|
|
29668
|
+
|
|
29669
|
+
/**
|
|
29670
|
+
* @param {number} value
|
|
29671
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29672
|
+
*/
|
|
29673
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setLimit = function(value) {
|
|
29674
|
+
return jspb.Message.setField(this, 5, value);
|
|
29675
|
+
};
|
|
29676
|
+
|
|
29677
|
+
|
|
29678
|
+
/**
|
|
29679
|
+
* Clears the field making it undefined.
|
|
29680
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29681
|
+
*/
|
|
29682
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearLimit = function() {
|
|
29683
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
29684
|
+
};
|
|
29685
|
+
|
|
29686
|
+
|
|
29687
|
+
/**
|
|
29688
|
+
* Returns whether this field is set.
|
|
29689
|
+
* @return {boolean}
|
|
29690
|
+
*/
|
|
29691
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasLimit = function() {
|
|
29692
|
+
return jspb.Message.getField(this, 5) != null;
|
|
29693
|
+
};
|
|
29694
|
+
|
|
29695
|
+
|
|
29696
|
+
/**
|
|
29697
|
+
* optional int32 offset = 6;
|
|
29698
|
+
* @return {number}
|
|
29699
|
+
*/
|
|
29700
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getOffset = function() {
|
|
29701
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
29702
|
+
};
|
|
29703
|
+
|
|
29704
|
+
|
|
29705
|
+
/**
|
|
29706
|
+
* @param {number} value
|
|
29707
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29708
|
+
*/
|
|
29709
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setOffset = function(value) {
|
|
29710
|
+
return jspb.Message.setField(this, 6, value);
|
|
29711
|
+
};
|
|
29712
|
+
|
|
29713
|
+
|
|
29714
|
+
/**
|
|
29715
|
+
* Clears the field making it undefined.
|
|
29716
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
|
|
29717
|
+
*/
|
|
29718
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearOffset = function() {
|
|
29719
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
29720
|
+
};
|
|
29721
|
+
|
|
29722
|
+
|
|
29723
|
+
/**
|
|
29724
|
+
* Returns whether this field is set.
|
|
29725
|
+
* @return {boolean}
|
|
29726
|
+
*/
|
|
29727
|
+
proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasOffset = function() {
|
|
29728
|
+
return jspb.Message.getField(this, 6) != null;
|
|
29729
|
+
};
|
|
29730
|
+
|
|
29731
|
+
|
|
29732
|
+
|
|
29733
|
+
|
|
29734
|
+
|
|
29735
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29736
|
+
/**
|
|
29737
|
+
* Creates an object representation of this proto.
|
|
29738
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29739
|
+
* Optional fields that are not set will be set to undefined.
|
|
29740
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29741
|
+
* For the list of reserved names please see:
|
|
29742
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29743
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29744
|
+
* JSPB instance for transitional soy proto support:
|
|
29745
|
+
* http://goto/soy-param-migration
|
|
29746
|
+
* @return {!Object}
|
|
29747
|
+
*/
|
|
29748
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.toObject = function(opt_includeInstance) {
|
|
29749
|
+
return proto.payment.WithdrawalWagerBucketHistoryItem.toObject(opt_includeInstance, this);
|
|
29750
|
+
};
|
|
29751
|
+
|
|
29752
|
+
|
|
29753
|
+
/**
|
|
29754
|
+
* Static version of the {@see toObject} method.
|
|
29755
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29756
|
+
* the JSPB instance for transitional soy proto support:
|
|
29757
|
+
* http://goto/soy-param-migration
|
|
29758
|
+
* @param {!proto.payment.WithdrawalWagerBucketHistoryItem} msg The msg instance to transform.
|
|
29759
|
+
* @return {!Object}
|
|
29760
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29761
|
+
*/
|
|
29762
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.toObject = function(includeInstance, msg) {
|
|
29763
|
+
var f, obj = {
|
|
29764
|
+
bucketId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29765
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29766
|
+
sourceType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29767
|
+
sourceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
29768
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
29769
|
+
wagerAmountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
29770
|
+
wagerCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
29771
|
+
wagerCurrencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
29772
|
+
ledgerAmountMinor: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
29773
|
+
ledgerCurrency: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
29774
|
+
ledgerCurrencyScale: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
29775
|
+
multiplier: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
29776
|
+
requiredWagerMinor: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
29777
|
+
completedWagerMinor: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
29778
|
+
remainingWagerMinor: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
29779
|
+
progressPercent: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
29780
|
+
depositProcessedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
29781
|
+
bucketCreatedAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
29782
|
+
unlockedAt: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
29783
|
+
};
|
|
29784
|
+
|
|
29785
|
+
if (includeInstance) {
|
|
29786
|
+
obj.$jspbMessageInstance = msg;
|
|
29787
|
+
}
|
|
29788
|
+
return obj;
|
|
29789
|
+
};
|
|
29790
|
+
}
|
|
29791
|
+
|
|
29792
|
+
|
|
29793
|
+
/**
|
|
29794
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29795
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29796
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
|
|
29797
|
+
*/
|
|
29798
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinary = function(bytes) {
|
|
29799
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29800
|
+
var msg = new proto.payment.WithdrawalWagerBucketHistoryItem;
|
|
29801
|
+
return proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader(msg, reader);
|
|
29802
|
+
};
|
|
29803
|
+
|
|
29804
|
+
|
|
29805
|
+
/**
|
|
29806
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29807
|
+
* given reader into the given message object.
|
|
29808
|
+
* @param {!proto.payment.WithdrawalWagerBucketHistoryItem} msg The message object to deserialize into.
|
|
29809
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29810
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
|
|
29811
|
+
*/
|
|
29812
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
29813
|
+
while (reader.nextField()) {
|
|
29814
|
+
if (reader.isEndGroup()) {
|
|
29815
|
+
break;
|
|
29816
|
+
}
|
|
29817
|
+
var field = reader.getFieldNumber();
|
|
29818
|
+
switch (field) {
|
|
29819
|
+
case 1:
|
|
29820
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29821
|
+
msg.setBucketId(value);
|
|
29822
|
+
break;
|
|
29823
|
+
case 2:
|
|
29824
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29825
|
+
msg.setOperationId(value);
|
|
29826
|
+
break;
|
|
29827
|
+
case 3:
|
|
29828
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29829
|
+
msg.setSourceType(value);
|
|
29830
|
+
break;
|
|
29831
|
+
case 4:
|
|
29832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29833
|
+
msg.setSourceId(value);
|
|
29834
|
+
break;
|
|
29835
|
+
case 5:
|
|
29836
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29837
|
+
msg.setStatus(value);
|
|
29838
|
+
break;
|
|
29839
|
+
case 6:
|
|
29840
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29841
|
+
msg.setWagerAmountMinor(value);
|
|
29842
|
+
break;
|
|
29843
|
+
case 7:
|
|
29844
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29845
|
+
msg.setWagerCurrency(value);
|
|
29846
|
+
break;
|
|
29847
|
+
case 8:
|
|
29848
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29849
|
+
msg.setWagerCurrencyScale(value);
|
|
29850
|
+
break;
|
|
29851
|
+
case 9:
|
|
29852
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29853
|
+
msg.setLedgerAmountMinor(value);
|
|
29854
|
+
break;
|
|
29855
|
+
case 10:
|
|
29856
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29857
|
+
msg.setLedgerCurrency(value);
|
|
29858
|
+
break;
|
|
29859
|
+
case 11:
|
|
29860
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29861
|
+
msg.setLedgerCurrencyScale(value);
|
|
29862
|
+
break;
|
|
29863
|
+
case 12:
|
|
29864
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29865
|
+
msg.setMultiplier(value);
|
|
29866
|
+
break;
|
|
29867
|
+
case 13:
|
|
29868
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29869
|
+
msg.setRequiredWagerMinor(value);
|
|
29870
|
+
break;
|
|
29871
|
+
case 14:
|
|
29872
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29873
|
+
msg.setCompletedWagerMinor(value);
|
|
29874
|
+
break;
|
|
29875
|
+
case 15:
|
|
29876
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
29877
|
+
msg.setRemainingWagerMinor(value);
|
|
29878
|
+
break;
|
|
29879
|
+
case 16:
|
|
29880
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29881
|
+
msg.setProgressPercent(value);
|
|
29882
|
+
break;
|
|
29883
|
+
case 17:
|
|
29884
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29885
|
+
msg.setDepositProcessedAt(value);
|
|
29886
|
+
break;
|
|
29887
|
+
case 18:
|
|
29888
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29889
|
+
msg.setBucketCreatedAt(value);
|
|
29890
|
+
break;
|
|
29891
|
+
case 19:
|
|
29892
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29893
|
+
msg.setUnlockedAt(value);
|
|
29894
|
+
break;
|
|
29895
|
+
default:
|
|
29896
|
+
reader.skipField();
|
|
29897
|
+
break;
|
|
29898
|
+
}
|
|
29899
|
+
}
|
|
29900
|
+
return msg;
|
|
29901
|
+
};
|
|
29902
|
+
|
|
29903
|
+
|
|
29904
|
+
/**
|
|
29905
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29906
|
+
* @return {!Uint8Array}
|
|
29907
|
+
*/
|
|
29908
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.serializeBinary = function() {
|
|
29909
|
+
var writer = new jspb.BinaryWriter();
|
|
29910
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter(this, writer);
|
|
29911
|
+
return writer.getResultBuffer();
|
|
29912
|
+
};
|
|
29913
|
+
|
|
29914
|
+
|
|
29915
|
+
/**
|
|
29916
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29917
|
+
* format), writing to the given BinaryWriter.
|
|
29918
|
+
* @param {!proto.payment.WithdrawalWagerBucketHistoryItem} message
|
|
29919
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29920
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29921
|
+
*/
|
|
29922
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
29923
|
+
var f = undefined;
|
|
29924
|
+
f = message.getBucketId();
|
|
29925
|
+
if (f.length > 0) {
|
|
29926
|
+
writer.writeString(
|
|
29927
|
+
1,
|
|
29928
|
+
f
|
|
29929
|
+
);
|
|
29930
|
+
}
|
|
29931
|
+
f = message.getOperationId();
|
|
29932
|
+
if (f.length > 0) {
|
|
29933
|
+
writer.writeString(
|
|
29934
|
+
2,
|
|
29935
|
+
f
|
|
29936
|
+
);
|
|
29937
|
+
}
|
|
29938
|
+
f = message.getSourceType();
|
|
29939
|
+
if (f.length > 0) {
|
|
29940
|
+
writer.writeString(
|
|
29941
|
+
3,
|
|
29942
|
+
f
|
|
29943
|
+
);
|
|
29944
|
+
}
|
|
29945
|
+
f = message.getSourceId();
|
|
29946
|
+
if (f.length > 0) {
|
|
29947
|
+
writer.writeString(
|
|
29948
|
+
4,
|
|
29949
|
+
f
|
|
29950
|
+
);
|
|
29951
|
+
}
|
|
29952
|
+
f = message.getStatus();
|
|
29953
|
+
if (f.length > 0) {
|
|
29954
|
+
writer.writeString(
|
|
29955
|
+
5,
|
|
29956
|
+
f
|
|
29957
|
+
);
|
|
29958
|
+
}
|
|
29959
|
+
f = message.getWagerAmountMinor();
|
|
29960
|
+
if (f !== 0) {
|
|
29961
|
+
writer.writeInt64(
|
|
29962
|
+
6,
|
|
29963
|
+
f
|
|
29964
|
+
);
|
|
29965
|
+
}
|
|
29966
|
+
f = message.getWagerCurrency();
|
|
29967
|
+
if (f.length > 0) {
|
|
29968
|
+
writer.writeString(
|
|
29969
|
+
7,
|
|
29970
|
+
f
|
|
29971
|
+
);
|
|
29972
|
+
}
|
|
29973
|
+
f = message.getWagerCurrencyScale();
|
|
29974
|
+
if (f !== 0) {
|
|
29975
|
+
writer.writeInt32(
|
|
29976
|
+
8,
|
|
29977
|
+
f
|
|
29978
|
+
);
|
|
29979
|
+
}
|
|
29980
|
+
f = message.getLedgerAmountMinor();
|
|
29981
|
+
if (f !== 0) {
|
|
29982
|
+
writer.writeInt64(
|
|
29983
|
+
9,
|
|
29984
|
+
f
|
|
29985
|
+
);
|
|
29986
|
+
}
|
|
29987
|
+
f = message.getLedgerCurrency();
|
|
29988
|
+
if (f.length > 0) {
|
|
29989
|
+
writer.writeString(
|
|
29990
|
+
10,
|
|
29991
|
+
f
|
|
29992
|
+
);
|
|
29993
|
+
}
|
|
29994
|
+
f = message.getLedgerCurrencyScale();
|
|
29995
|
+
if (f !== 0) {
|
|
29996
|
+
writer.writeInt32(
|
|
29997
|
+
11,
|
|
29998
|
+
f
|
|
29999
|
+
);
|
|
30000
|
+
}
|
|
30001
|
+
f = message.getMultiplier();
|
|
30002
|
+
if (f.length > 0) {
|
|
30003
|
+
writer.writeString(
|
|
30004
|
+
12,
|
|
30005
|
+
f
|
|
30006
|
+
);
|
|
30007
|
+
}
|
|
30008
|
+
f = message.getRequiredWagerMinor();
|
|
30009
|
+
if (f !== 0) {
|
|
30010
|
+
writer.writeInt64(
|
|
30011
|
+
13,
|
|
30012
|
+
f
|
|
30013
|
+
);
|
|
30014
|
+
}
|
|
30015
|
+
f = message.getCompletedWagerMinor();
|
|
30016
|
+
if (f !== 0) {
|
|
30017
|
+
writer.writeInt64(
|
|
30018
|
+
14,
|
|
30019
|
+
f
|
|
30020
|
+
);
|
|
30021
|
+
}
|
|
30022
|
+
f = message.getRemainingWagerMinor();
|
|
30023
|
+
if (f !== 0) {
|
|
30024
|
+
writer.writeInt64(
|
|
30025
|
+
15,
|
|
30026
|
+
f
|
|
30027
|
+
);
|
|
30028
|
+
}
|
|
30029
|
+
f = message.getProgressPercent();
|
|
30030
|
+
if (f.length > 0) {
|
|
30031
|
+
writer.writeString(
|
|
30032
|
+
16,
|
|
30033
|
+
f
|
|
30034
|
+
);
|
|
30035
|
+
}
|
|
30036
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
30037
|
+
if (f != null) {
|
|
30038
|
+
writer.writeString(
|
|
30039
|
+
17,
|
|
30040
|
+
f
|
|
30041
|
+
);
|
|
30042
|
+
}
|
|
30043
|
+
f = message.getBucketCreatedAt();
|
|
30044
|
+
if (f.length > 0) {
|
|
30045
|
+
writer.writeString(
|
|
30046
|
+
18,
|
|
30047
|
+
f
|
|
30048
|
+
);
|
|
30049
|
+
}
|
|
30050
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
30051
|
+
if (f != null) {
|
|
30052
|
+
writer.writeString(
|
|
30053
|
+
19,
|
|
30054
|
+
f
|
|
30055
|
+
);
|
|
30056
|
+
}
|
|
30057
|
+
};
|
|
30058
|
+
|
|
30059
|
+
|
|
30060
|
+
/**
|
|
30061
|
+
* optional string bucket_id = 1;
|
|
30062
|
+
* @return {string}
|
|
30063
|
+
*/
|
|
30064
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getBucketId = function() {
|
|
30065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
30066
|
+
};
|
|
30067
|
+
|
|
30068
|
+
|
|
30069
|
+
/**
|
|
30070
|
+
* @param {string} value
|
|
30071
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30072
|
+
*/
|
|
30073
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setBucketId = function(value) {
|
|
30074
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
30075
|
+
};
|
|
30076
|
+
|
|
30077
|
+
|
|
30078
|
+
/**
|
|
30079
|
+
* optional string operation_id = 2;
|
|
30080
|
+
* @return {string}
|
|
30081
|
+
*/
|
|
30082
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getOperationId = function() {
|
|
30083
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
30084
|
+
};
|
|
30085
|
+
|
|
30086
|
+
|
|
30087
|
+
/**
|
|
30088
|
+
* @param {string} value
|
|
30089
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30090
|
+
*/
|
|
30091
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setOperationId = function(value) {
|
|
30092
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
30093
|
+
};
|
|
30094
|
+
|
|
30095
|
+
|
|
30096
|
+
/**
|
|
30097
|
+
* optional string source_type = 3;
|
|
30098
|
+
* @return {string}
|
|
30099
|
+
*/
|
|
30100
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getSourceType = function() {
|
|
30101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
30102
|
+
};
|
|
30103
|
+
|
|
30104
|
+
|
|
30105
|
+
/**
|
|
30106
|
+
* @param {string} value
|
|
30107
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30108
|
+
*/
|
|
30109
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setSourceType = function(value) {
|
|
30110
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
30111
|
+
};
|
|
30112
|
+
|
|
30113
|
+
|
|
30114
|
+
/**
|
|
30115
|
+
* optional string source_id = 4;
|
|
30116
|
+
* @return {string}
|
|
30117
|
+
*/
|
|
30118
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getSourceId = function() {
|
|
30119
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
30120
|
+
};
|
|
30121
|
+
|
|
30122
|
+
|
|
30123
|
+
/**
|
|
30124
|
+
* @param {string} value
|
|
30125
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30126
|
+
*/
|
|
30127
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setSourceId = function(value) {
|
|
30128
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
30129
|
+
};
|
|
30130
|
+
|
|
30131
|
+
|
|
30132
|
+
/**
|
|
30133
|
+
* optional string status = 5;
|
|
30134
|
+
* @return {string}
|
|
30135
|
+
*/
|
|
30136
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getStatus = function() {
|
|
30137
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
30138
|
+
};
|
|
30139
|
+
|
|
30140
|
+
|
|
30141
|
+
/**
|
|
30142
|
+
* @param {string} value
|
|
30143
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30144
|
+
*/
|
|
30145
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setStatus = function(value) {
|
|
30146
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
30147
|
+
};
|
|
30148
|
+
|
|
30149
|
+
|
|
30150
|
+
/**
|
|
30151
|
+
* optional int64 wager_amount_minor = 6;
|
|
30152
|
+
* @return {number}
|
|
30153
|
+
*/
|
|
30154
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerAmountMinor = function() {
|
|
30155
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
30156
|
+
};
|
|
30157
|
+
|
|
30158
|
+
|
|
30159
|
+
/**
|
|
30160
|
+
* @param {number} value
|
|
30161
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30162
|
+
*/
|
|
30163
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerAmountMinor = function(value) {
|
|
30164
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
30165
|
+
};
|
|
30166
|
+
|
|
30167
|
+
|
|
30168
|
+
/**
|
|
30169
|
+
* optional string wager_currency = 7;
|
|
30170
|
+
* @return {string}
|
|
30171
|
+
*/
|
|
30172
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerCurrency = function() {
|
|
30173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
30174
|
+
};
|
|
30175
|
+
|
|
30176
|
+
|
|
30177
|
+
/**
|
|
30178
|
+
* @param {string} value
|
|
30179
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30180
|
+
*/
|
|
30181
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerCurrency = function(value) {
|
|
30182
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
30183
|
+
};
|
|
30184
|
+
|
|
30185
|
+
|
|
30186
|
+
/**
|
|
30187
|
+
* optional int32 wager_currency_scale = 8;
|
|
30188
|
+
* @return {number}
|
|
30189
|
+
*/
|
|
30190
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerCurrencyScale = function() {
|
|
30191
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
30192
|
+
};
|
|
30193
|
+
|
|
30194
|
+
|
|
30195
|
+
/**
|
|
30196
|
+
* @param {number} value
|
|
30197
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30198
|
+
*/
|
|
30199
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerCurrencyScale = function(value) {
|
|
30200
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
30201
|
+
};
|
|
30202
|
+
|
|
30203
|
+
|
|
30204
|
+
/**
|
|
30205
|
+
* optional int64 ledger_amount_minor = 9;
|
|
30206
|
+
* @return {number}
|
|
30207
|
+
*/
|
|
30208
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerAmountMinor = function() {
|
|
30209
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
30210
|
+
};
|
|
30211
|
+
|
|
30212
|
+
|
|
30213
|
+
/**
|
|
30214
|
+
* @param {number} value
|
|
30215
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30216
|
+
*/
|
|
30217
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerAmountMinor = function(value) {
|
|
30218
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
30219
|
+
};
|
|
30220
|
+
|
|
30221
|
+
|
|
30222
|
+
/**
|
|
30223
|
+
* optional string ledger_currency = 10;
|
|
30224
|
+
* @return {string}
|
|
30225
|
+
*/
|
|
30226
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerCurrency = function() {
|
|
30227
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
30228
|
+
};
|
|
30229
|
+
|
|
30230
|
+
|
|
30231
|
+
/**
|
|
30232
|
+
* @param {string} value
|
|
30233
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30234
|
+
*/
|
|
30235
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerCurrency = function(value) {
|
|
30236
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
30237
|
+
};
|
|
30238
|
+
|
|
30239
|
+
|
|
30240
|
+
/**
|
|
30241
|
+
* optional int32 ledger_currency_scale = 11;
|
|
30242
|
+
* @return {number}
|
|
30243
|
+
*/
|
|
30244
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerCurrencyScale = function() {
|
|
30245
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
30246
|
+
};
|
|
30247
|
+
|
|
30248
|
+
|
|
30249
|
+
/**
|
|
30250
|
+
* @param {number} value
|
|
30251
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30252
|
+
*/
|
|
30253
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerCurrencyScale = function(value) {
|
|
30254
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
30255
|
+
};
|
|
30256
|
+
|
|
30257
|
+
|
|
30258
|
+
/**
|
|
30259
|
+
* optional string multiplier = 12;
|
|
30260
|
+
* @return {string}
|
|
30261
|
+
*/
|
|
30262
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getMultiplier = function() {
|
|
30263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
30264
|
+
};
|
|
30265
|
+
|
|
30266
|
+
|
|
30267
|
+
/**
|
|
30268
|
+
* @param {string} value
|
|
30269
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30270
|
+
*/
|
|
30271
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setMultiplier = function(value) {
|
|
30272
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
30273
|
+
};
|
|
30274
|
+
|
|
30275
|
+
|
|
30276
|
+
/**
|
|
30277
|
+
* optional int64 required_wager_minor = 13;
|
|
30278
|
+
* @return {number}
|
|
30279
|
+
*/
|
|
30280
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getRequiredWagerMinor = function() {
|
|
30281
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
30282
|
+
};
|
|
30283
|
+
|
|
30284
|
+
|
|
30285
|
+
/**
|
|
30286
|
+
* @param {number} value
|
|
30287
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30288
|
+
*/
|
|
30289
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setRequiredWagerMinor = function(value) {
|
|
30290
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
30291
|
+
};
|
|
30292
|
+
|
|
30293
|
+
|
|
30294
|
+
/**
|
|
30295
|
+
* optional int64 completed_wager_minor = 14;
|
|
30296
|
+
* @return {number}
|
|
30297
|
+
*/
|
|
30298
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getCompletedWagerMinor = function() {
|
|
30299
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
30300
|
+
};
|
|
30301
|
+
|
|
30302
|
+
|
|
30303
|
+
/**
|
|
30304
|
+
* @param {number} value
|
|
30305
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30306
|
+
*/
|
|
30307
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setCompletedWagerMinor = function(value) {
|
|
30308
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
30309
|
+
};
|
|
30310
|
+
|
|
30311
|
+
|
|
30312
|
+
/**
|
|
30313
|
+
* optional int64 remaining_wager_minor = 15;
|
|
30314
|
+
* @return {number}
|
|
30315
|
+
*/
|
|
30316
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getRemainingWagerMinor = function() {
|
|
30317
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
30318
|
+
};
|
|
30319
|
+
|
|
30320
|
+
|
|
30321
|
+
/**
|
|
30322
|
+
* @param {number} value
|
|
30323
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30324
|
+
*/
|
|
30325
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setRemainingWagerMinor = function(value) {
|
|
30326
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
30327
|
+
};
|
|
30328
|
+
|
|
30329
|
+
|
|
30330
|
+
/**
|
|
30331
|
+
* optional string progress_percent = 16;
|
|
30332
|
+
* @return {string}
|
|
30333
|
+
*/
|
|
30334
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getProgressPercent = function() {
|
|
30335
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
30336
|
+
};
|
|
30337
|
+
|
|
30338
|
+
|
|
30339
|
+
/**
|
|
30340
|
+
* @param {string} value
|
|
30341
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30342
|
+
*/
|
|
30343
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setProgressPercent = function(value) {
|
|
30344
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
30345
|
+
};
|
|
30346
|
+
|
|
30347
|
+
|
|
30348
|
+
/**
|
|
30349
|
+
* optional string deposit_processed_at = 17;
|
|
30350
|
+
* @return {string}
|
|
30351
|
+
*/
|
|
30352
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getDepositProcessedAt = function() {
|
|
30353
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
30354
|
+
};
|
|
30355
|
+
|
|
30356
|
+
|
|
30357
|
+
/**
|
|
30358
|
+
* @param {string} value
|
|
30359
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30360
|
+
*/
|
|
30361
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setDepositProcessedAt = function(value) {
|
|
30362
|
+
return jspb.Message.setField(this, 17, value);
|
|
30363
|
+
};
|
|
30364
|
+
|
|
30365
|
+
|
|
30366
|
+
/**
|
|
30367
|
+
* Clears the field making it undefined.
|
|
30368
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30369
|
+
*/
|
|
30370
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.clearDepositProcessedAt = function() {
|
|
30371
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
30372
|
+
};
|
|
30373
|
+
|
|
30374
|
+
|
|
30375
|
+
/**
|
|
30376
|
+
* Returns whether this field is set.
|
|
30377
|
+
* @return {boolean}
|
|
30378
|
+
*/
|
|
30379
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.hasDepositProcessedAt = function() {
|
|
30380
|
+
return jspb.Message.getField(this, 17) != null;
|
|
30381
|
+
};
|
|
30382
|
+
|
|
30383
|
+
|
|
30384
|
+
/**
|
|
30385
|
+
* optional string bucket_created_at = 18;
|
|
30386
|
+
* @return {string}
|
|
30387
|
+
*/
|
|
30388
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getBucketCreatedAt = function() {
|
|
30389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
30390
|
+
};
|
|
30391
|
+
|
|
30392
|
+
|
|
30393
|
+
/**
|
|
30394
|
+
* @param {string} value
|
|
30395
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30396
|
+
*/
|
|
30397
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setBucketCreatedAt = function(value) {
|
|
30398
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
30399
|
+
};
|
|
30400
|
+
|
|
30401
|
+
|
|
30402
|
+
/**
|
|
30403
|
+
* optional string unlocked_at = 19;
|
|
30404
|
+
* @return {string}
|
|
30405
|
+
*/
|
|
30406
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getUnlockedAt = function() {
|
|
30407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
30408
|
+
};
|
|
30409
|
+
|
|
30410
|
+
|
|
30411
|
+
/**
|
|
30412
|
+
* @param {string} value
|
|
30413
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30414
|
+
*/
|
|
30415
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setUnlockedAt = function(value) {
|
|
30416
|
+
return jspb.Message.setField(this, 19, value);
|
|
30417
|
+
};
|
|
30418
|
+
|
|
30419
|
+
|
|
30420
|
+
/**
|
|
30421
|
+
* Clears the field making it undefined.
|
|
30422
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
|
|
30423
|
+
*/
|
|
30424
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.clearUnlockedAt = function() {
|
|
30425
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
30426
|
+
};
|
|
30427
|
+
|
|
30428
|
+
|
|
30429
|
+
/**
|
|
30430
|
+
* Returns whether this field is set.
|
|
30431
|
+
* @return {boolean}
|
|
30432
|
+
*/
|
|
30433
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.prototype.hasUnlockedAt = function() {
|
|
30434
|
+
return jspb.Message.getField(this, 19) != null;
|
|
30435
|
+
};
|
|
30436
|
+
|
|
30437
|
+
|
|
30438
|
+
|
|
30439
|
+
/**
|
|
30440
|
+
* List of repeated fields within this message type.
|
|
30441
|
+
* @private {!Array<number>}
|
|
30442
|
+
* @const
|
|
30443
|
+
*/
|
|
30444
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.repeatedFields_ = [1];
|
|
30445
|
+
|
|
30446
|
+
|
|
30447
|
+
|
|
30448
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30449
|
+
/**
|
|
30450
|
+
* Creates an object representation of this proto.
|
|
30451
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30452
|
+
* Optional fields that are not set will be set to undefined.
|
|
30453
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30454
|
+
* For the list of reserved names please see:
|
|
30455
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30456
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30457
|
+
* JSPB instance for transitional soy proto support:
|
|
30458
|
+
* http://goto/soy-param-migration
|
|
30459
|
+
* @return {!Object}
|
|
30460
|
+
*/
|
|
30461
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
30462
|
+
return proto.payment.GetWithdrawalWagerBucketHistoryResponse.toObject(opt_includeInstance, this);
|
|
30463
|
+
};
|
|
30464
|
+
|
|
30465
|
+
|
|
30466
|
+
/**
|
|
30467
|
+
* Static version of the {@see toObject} method.
|
|
30468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30469
|
+
* the JSPB instance for transitional soy proto support:
|
|
30470
|
+
* http://goto/soy-param-migration
|
|
30471
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} msg The msg instance to transform.
|
|
30472
|
+
* @return {!Object}
|
|
30473
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30474
|
+
*/
|
|
30475
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.toObject = function(includeInstance, msg) {
|
|
30476
|
+
var f, obj = {
|
|
30477
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
30478
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.toObject, includeInstance),
|
|
30479
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
30480
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
30481
|
+
};
|
|
30482
|
+
|
|
30483
|
+
if (includeInstance) {
|
|
30484
|
+
obj.$jspbMessageInstance = msg;
|
|
30485
|
+
}
|
|
30486
|
+
return obj;
|
|
30487
|
+
};
|
|
30488
|
+
}
|
|
30489
|
+
|
|
30490
|
+
|
|
30491
|
+
/**
|
|
30492
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30493
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30494
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse}
|
|
30495
|
+
*/
|
|
30496
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinary = function(bytes) {
|
|
30497
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30498
|
+
var msg = new proto.payment.GetWithdrawalWagerBucketHistoryResponse;
|
|
30499
|
+
return proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinaryFromReader(msg, reader);
|
|
30500
|
+
};
|
|
30501
|
+
|
|
30502
|
+
|
|
30503
|
+
/**
|
|
30504
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30505
|
+
* given reader into the given message object.
|
|
30506
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} msg The message object to deserialize into.
|
|
30507
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30508
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse}
|
|
30509
|
+
*/
|
|
30510
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
30511
|
+
while (reader.nextField()) {
|
|
30512
|
+
if (reader.isEndGroup()) {
|
|
30513
|
+
break;
|
|
30514
|
+
}
|
|
30515
|
+
var field = reader.getFieldNumber();
|
|
30516
|
+
switch (field) {
|
|
30517
|
+
case 1:
|
|
30518
|
+
var value = new proto.payment.WithdrawalWagerBucketHistoryItem;
|
|
30519
|
+
reader.readMessage(value,proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader);
|
|
30520
|
+
msg.addItems(value);
|
|
30521
|
+
break;
|
|
30522
|
+
case 2:
|
|
30523
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
30524
|
+
msg.setTotalPages(value);
|
|
30525
|
+
break;
|
|
30526
|
+
case 3:
|
|
30527
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
30528
|
+
msg.setTotalItems(value);
|
|
30529
|
+
break;
|
|
30530
|
+
default:
|
|
30531
|
+
reader.skipField();
|
|
30532
|
+
break;
|
|
30533
|
+
}
|
|
30534
|
+
}
|
|
30535
|
+
return msg;
|
|
30536
|
+
};
|
|
30537
|
+
|
|
30538
|
+
|
|
30539
|
+
/**
|
|
30540
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30541
|
+
* @return {!Uint8Array}
|
|
30542
|
+
*/
|
|
30543
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.serializeBinary = function() {
|
|
30544
|
+
var writer = new jspb.BinaryWriter();
|
|
30545
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.serializeBinaryToWriter(this, writer);
|
|
30546
|
+
return writer.getResultBuffer();
|
|
30547
|
+
};
|
|
30548
|
+
|
|
30549
|
+
|
|
30550
|
+
/**
|
|
30551
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30552
|
+
* format), writing to the given BinaryWriter.
|
|
30553
|
+
* @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} message
|
|
30554
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30555
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30556
|
+
*/
|
|
30557
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
30558
|
+
var f = undefined;
|
|
30559
|
+
f = message.getItemsList();
|
|
30560
|
+
if (f.length > 0) {
|
|
30561
|
+
writer.writeRepeatedMessage(
|
|
30562
|
+
1,
|
|
30563
|
+
f,
|
|
30564
|
+
proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter
|
|
30565
|
+
);
|
|
30566
|
+
}
|
|
30567
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
30568
|
+
if (f != null) {
|
|
30569
|
+
writer.writeInt32(
|
|
30570
|
+
2,
|
|
30571
|
+
f
|
|
30572
|
+
);
|
|
30573
|
+
}
|
|
30574
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
30575
|
+
if (f != null) {
|
|
30576
|
+
writer.writeInt32(
|
|
30577
|
+
3,
|
|
30578
|
+
f
|
|
30579
|
+
);
|
|
30580
|
+
}
|
|
30581
|
+
};
|
|
30582
|
+
|
|
30583
|
+
|
|
30584
|
+
/**
|
|
30585
|
+
* repeated WithdrawalWagerBucketHistoryItem items = 1;
|
|
30586
|
+
* @return {!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>}
|
|
30587
|
+
*/
|
|
30588
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getItemsList = function() {
|
|
30589
|
+
return /** @type{!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>} */ (
|
|
30590
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.WithdrawalWagerBucketHistoryItem, 1));
|
|
30591
|
+
};
|
|
30592
|
+
|
|
30593
|
+
|
|
30594
|
+
/**
|
|
30595
|
+
* @param {!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>} value
|
|
30596
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30597
|
+
*/
|
|
30598
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setItemsList = function(value) {
|
|
30599
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
30600
|
+
};
|
|
30601
|
+
|
|
30602
|
+
|
|
30603
|
+
/**
|
|
30604
|
+
* @param {!proto.payment.WithdrawalWagerBucketHistoryItem=} opt_value
|
|
30605
|
+
* @param {number=} opt_index
|
|
30606
|
+
* @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
|
|
30607
|
+
*/
|
|
30608
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
30609
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.WithdrawalWagerBucketHistoryItem, opt_index);
|
|
30610
|
+
};
|
|
30611
|
+
|
|
30612
|
+
|
|
30613
|
+
/**
|
|
30614
|
+
* Clears the list making it empty but non-null.
|
|
30615
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30616
|
+
*/
|
|
30617
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearItemsList = function() {
|
|
30618
|
+
return this.setItemsList([]);
|
|
30619
|
+
};
|
|
30620
|
+
|
|
30621
|
+
|
|
30622
|
+
/**
|
|
30623
|
+
* optional int32 total_pages = 2;
|
|
30624
|
+
* @return {number}
|
|
30625
|
+
*/
|
|
30626
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getTotalPages = function() {
|
|
30627
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
30628
|
+
};
|
|
30629
|
+
|
|
30630
|
+
|
|
30631
|
+
/**
|
|
30632
|
+
* @param {number} value
|
|
30633
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30634
|
+
*/
|
|
30635
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setTotalPages = function(value) {
|
|
30636
|
+
return jspb.Message.setField(this, 2, value);
|
|
30637
|
+
};
|
|
30638
|
+
|
|
30639
|
+
|
|
30640
|
+
/**
|
|
30641
|
+
* Clears the field making it undefined.
|
|
30642
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30643
|
+
*/
|
|
30644
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearTotalPages = function() {
|
|
30645
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
30646
|
+
};
|
|
30647
|
+
|
|
30648
|
+
|
|
30649
|
+
/**
|
|
30650
|
+
* Returns whether this field is set.
|
|
30651
|
+
* @return {boolean}
|
|
30652
|
+
*/
|
|
30653
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.hasTotalPages = function() {
|
|
30654
|
+
return jspb.Message.getField(this, 2) != null;
|
|
30655
|
+
};
|
|
30656
|
+
|
|
30657
|
+
|
|
30658
|
+
/**
|
|
30659
|
+
* optional int32 total_items = 3;
|
|
30660
|
+
* @return {number}
|
|
30661
|
+
*/
|
|
30662
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getTotalItems = function() {
|
|
30663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
30664
|
+
};
|
|
30665
|
+
|
|
30666
|
+
|
|
30667
|
+
/**
|
|
30668
|
+
* @param {number} value
|
|
30669
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30670
|
+
*/
|
|
30671
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setTotalItems = function(value) {
|
|
30672
|
+
return jspb.Message.setField(this, 3, value);
|
|
30673
|
+
};
|
|
30674
|
+
|
|
30675
|
+
|
|
30676
|
+
/**
|
|
30677
|
+
* Clears the field making it undefined.
|
|
30678
|
+
* @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
|
|
30679
|
+
*/
|
|
30680
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearTotalItems = function() {
|
|
30681
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
30682
|
+
};
|
|
30683
|
+
|
|
30684
|
+
|
|
30685
|
+
/**
|
|
30686
|
+
* Returns whether this field is set.
|
|
30687
|
+
* @return {boolean}
|
|
30688
|
+
*/
|
|
30689
|
+
proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.hasTotalItems = function() {
|
|
30690
|
+
return jspb.Message.getField(this, 3) != null;
|
|
30691
|
+
};
|
|
30692
|
+
|
|
30693
|
+
|
|
30694
|
+
|
|
30695
|
+
|
|
30696
|
+
|
|
29299
30697
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29300
30698
|
/**
|
|
29301
30699
|
* Creates an object representation of this proto.
|