protobuf-platform 1.2.735 → 1.2.736
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/config/config.proto +1 -0
- package/config/config_pb.js +49 -1
- package/package.json +1 -1
- package/payment/payment.proto +8 -0
- package/payment/payment_pb.js +396 -1
package/config/config.proto
CHANGED
package/config/config_pb.js
CHANGED
|
@@ -6733,7 +6733,8 @@ proto.config.CurrencyRatesMapRequest.toObject = function(includeInstance, msg) {
|
|
|
6733
6733
|
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6734
6734
|
baseCurrency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6735
6735
|
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
6736
|
-
includeMissing: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6736
|
+
includeMissing: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
6737
|
+
withdrawalLastKnownRate: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
6737
6738
|
};
|
|
6738
6739
|
|
|
6739
6740
|
if (includeInstance) {
|
|
@@ -6790,6 +6791,10 @@ proto.config.CurrencyRatesMapRequest.deserializeBinaryFromReader = function(msg,
|
|
|
6790
6791
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6791
6792
|
msg.setIncludeMissing(value);
|
|
6792
6793
|
break;
|
|
6794
|
+
case 6:
|
|
6795
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6796
|
+
msg.setWithdrawalLastKnownRate(value);
|
|
6797
|
+
break;
|
|
6793
6798
|
default:
|
|
6794
6799
|
reader.skipField();
|
|
6795
6800
|
break;
|
|
@@ -6854,6 +6859,13 @@ proto.config.CurrencyRatesMapRequest.serializeBinaryToWriter = function(message,
|
|
|
6854
6859
|
f
|
|
6855
6860
|
);
|
|
6856
6861
|
}
|
|
6862
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
6863
|
+
if (f != null) {
|
|
6864
|
+
writer.writeBool(
|
|
6865
|
+
6,
|
|
6866
|
+
f
|
|
6867
|
+
);
|
|
6868
|
+
}
|
|
6857
6869
|
};
|
|
6858
6870
|
|
|
6859
6871
|
|
|
@@ -7002,6 +7014,42 @@ proto.config.CurrencyRatesMapRequest.prototype.hasIncludeMissing = function() {
|
|
|
7002
7014
|
};
|
|
7003
7015
|
|
|
7004
7016
|
|
|
7017
|
+
/**
|
|
7018
|
+
* optional bool withdrawal_last_known_rate = 6;
|
|
7019
|
+
* @return {boolean}
|
|
7020
|
+
*/
|
|
7021
|
+
proto.config.CurrencyRatesMapRequest.prototype.getWithdrawalLastKnownRate = function() {
|
|
7022
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
7023
|
+
};
|
|
7024
|
+
|
|
7025
|
+
|
|
7026
|
+
/**
|
|
7027
|
+
* @param {boolean} value
|
|
7028
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
7029
|
+
*/
|
|
7030
|
+
proto.config.CurrencyRatesMapRequest.prototype.setWithdrawalLastKnownRate = function(value) {
|
|
7031
|
+
return jspb.Message.setField(this, 6, value);
|
|
7032
|
+
};
|
|
7033
|
+
|
|
7034
|
+
|
|
7035
|
+
/**
|
|
7036
|
+
* Clears the field making it undefined.
|
|
7037
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
7038
|
+
*/
|
|
7039
|
+
proto.config.CurrencyRatesMapRequest.prototype.clearWithdrawalLastKnownRate = function() {
|
|
7040
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
7041
|
+
};
|
|
7042
|
+
|
|
7043
|
+
|
|
7044
|
+
/**
|
|
7045
|
+
* Returns whether this field is set.
|
|
7046
|
+
* @return {boolean}
|
|
7047
|
+
*/
|
|
7048
|
+
proto.config.CurrencyRatesMapRequest.prototype.hasWithdrawalLastKnownRate = function() {
|
|
7049
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7050
|
+
};
|
|
7051
|
+
|
|
7052
|
+
|
|
7005
7053
|
|
|
7006
7054
|
/**
|
|
7007
7055
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -1094,6 +1094,13 @@ message WithdrawalAvailability {
|
|
|
1094
1094
|
optional string remaining_entitlement_minor = 6;
|
|
1095
1095
|
optional int32 entitlement_currency_scale = 7;
|
|
1096
1096
|
}
|
|
1097
|
+
message GlobalWithdrawalAvailability {
|
|
1098
|
+
string availability_status = 1;
|
|
1099
|
+
optional string currency = 2;
|
|
1100
|
+
optional int32 currency_scale = 3;
|
|
1101
|
+
optional string withdrawable_real_minor = 4;
|
|
1102
|
+
optional string withdrawable_real_major = 5;
|
|
1103
|
+
}
|
|
1097
1104
|
message GetWithdrawalWagerBucketHistoryRequest {
|
|
1098
1105
|
int32 user_id = 1;
|
|
1099
1106
|
optional string currency = 2;
|
|
@@ -1206,6 +1213,7 @@ message ResolveGameWalletContextResponse {
|
|
|
1206
1213
|
repeated WalletCashBalanceItem wallets = 9;
|
|
1207
1214
|
optional string available_real_major = 10;
|
|
1208
1215
|
optional WithdrawalAvailability withdrawal_availability = 11;
|
|
1216
|
+
optional GlobalWithdrawalAvailability global_withdrawal_availability = 12;
|
|
1209
1217
|
}
|
|
1210
1218
|
message WalletCashBalanceItem {
|
|
1211
1219
|
string currency = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -113,6 +113,7 @@ goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryRequest', null,
|
|
|
113
113
|
goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryResponse', null, global);
|
|
114
114
|
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
|
|
115
115
|
goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
|
|
116
|
+
goog.exportSymbol('proto.payment.GlobalWithdrawalAvailability', null, global);
|
|
116
117
|
goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
|
|
117
118
|
goog.exportSymbol('proto.payment.LoyaltyLevelUpRewardRequest', null, global);
|
|
118
119
|
goog.exportSymbol('proto.payment.LoyaltyLevelUpRewardResponse', null, global);
|
|
@@ -2171,6 +2172,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2171
2172
|
*/
|
|
2172
2173
|
proto.payment.WithdrawalAvailability.displayName = 'proto.payment.WithdrawalAvailability';
|
|
2173
2174
|
}
|
|
2175
|
+
/**
|
|
2176
|
+
* Generated by JsPbCodeGenerator.
|
|
2177
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2178
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2179
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2180
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2181
|
+
* valid.
|
|
2182
|
+
* @extends {jspb.Message}
|
|
2183
|
+
* @constructor
|
|
2184
|
+
*/
|
|
2185
|
+
proto.payment.GlobalWithdrawalAvailability = function(opt_data) {
|
|
2186
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2187
|
+
};
|
|
2188
|
+
goog.inherits(proto.payment.GlobalWithdrawalAvailability, jspb.Message);
|
|
2189
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2190
|
+
/**
|
|
2191
|
+
* @public
|
|
2192
|
+
* @override
|
|
2193
|
+
*/
|
|
2194
|
+
proto.payment.GlobalWithdrawalAvailability.displayName = 'proto.payment.GlobalWithdrawalAvailability';
|
|
2195
|
+
}
|
|
2174
2196
|
/**
|
|
2175
2197
|
* Generated by JsPbCodeGenerator.
|
|
2176
2198
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -45494,6 +45516,328 @@ proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrencyScale = fun
|
|
|
45494
45516
|
|
|
45495
45517
|
|
|
45496
45518
|
|
|
45519
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45520
|
+
/**
|
|
45521
|
+
* Creates an object representation of this proto.
|
|
45522
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45523
|
+
* Optional fields that are not set will be set to undefined.
|
|
45524
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45525
|
+
* For the list of reserved names please see:
|
|
45526
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45527
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45528
|
+
* JSPB instance for transitional soy proto support:
|
|
45529
|
+
* http://goto/soy-param-migration
|
|
45530
|
+
* @return {!Object}
|
|
45531
|
+
*/
|
|
45532
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.toObject = function(opt_includeInstance) {
|
|
45533
|
+
return proto.payment.GlobalWithdrawalAvailability.toObject(opt_includeInstance, this);
|
|
45534
|
+
};
|
|
45535
|
+
|
|
45536
|
+
|
|
45537
|
+
/**
|
|
45538
|
+
* Static version of the {@see toObject} method.
|
|
45539
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45540
|
+
* the JSPB instance for transitional soy proto support:
|
|
45541
|
+
* http://goto/soy-param-migration
|
|
45542
|
+
* @param {!proto.payment.GlobalWithdrawalAvailability} msg The msg instance to transform.
|
|
45543
|
+
* @return {!Object}
|
|
45544
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45545
|
+
*/
|
|
45546
|
+
proto.payment.GlobalWithdrawalAvailability.toObject = function(includeInstance, msg) {
|
|
45547
|
+
var f, obj = {
|
|
45548
|
+
availabilityStatus: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
45549
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45550
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
45551
|
+
withdrawableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45552
|
+
withdrawableRealMajor: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
45553
|
+
};
|
|
45554
|
+
|
|
45555
|
+
if (includeInstance) {
|
|
45556
|
+
obj.$jspbMessageInstance = msg;
|
|
45557
|
+
}
|
|
45558
|
+
return obj;
|
|
45559
|
+
};
|
|
45560
|
+
}
|
|
45561
|
+
|
|
45562
|
+
|
|
45563
|
+
/**
|
|
45564
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45565
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45566
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability}
|
|
45567
|
+
*/
|
|
45568
|
+
proto.payment.GlobalWithdrawalAvailability.deserializeBinary = function(bytes) {
|
|
45569
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45570
|
+
var msg = new proto.payment.GlobalWithdrawalAvailability;
|
|
45571
|
+
return proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader(msg, reader);
|
|
45572
|
+
};
|
|
45573
|
+
|
|
45574
|
+
|
|
45575
|
+
/**
|
|
45576
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45577
|
+
* given reader into the given message object.
|
|
45578
|
+
* @param {!proto.payment.GlobalWithdrawalAvailability} msg The message object to deserialize into.
|
|
45579
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45580
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability}
|
|
45581
|
+
*/
|
|
45582
|
+
proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader = function(msg, reader) {
|
|
45583
|
+
while (reader.nextField()) {
|
|
45584
|
+
if (reader.isEndGroup()) {
|
|
45585
|
+
break;
|
|
45586
|
+
}
|
|
45587
|
+
var field = reader.getFieldNumber();
|
|
45588
|
+
switch (field) {
|
|
45589
|
+
case 1:
|
|
45590
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45591
|
+
msg.setAvailabilityStatus(value);
|
|
45592
|
+
break;
|
|
45593
|
+
case 2:
|
|
45594
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45595
|
+
msg.setCurrency(value);
|
|
45596
|
+
break;
|
|
45597
|
+
case 3:
|
|
45598
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45599
|
+
msg.setCurrencyScale(value);
|
|
45600
|
+
break;
|
|
45601
|
+
case 4:
|
|
45602
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45603
|
+
msg.setWithdrawableRealMinor(value);
|
|
45604
|
+
break;
|
|
45605
|
+
case 5:
|
|
45606
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45607
|
+
msg.setWithdrawableRealMajor(value);
|
|
45608
|
+
break;
|
|
45609
|
+
default:
|
|
45610
|
+
reader.skipField();
|
|
45611
|
+
break;
|
|
45612
|
+
}
|
|
45613
|
+
}
|
|
45614
|
+
return msg;
|
|
45615
|
+
};
|
|
45616
|
+
|
|
45617
|
+
|
|
45618
|
+
/**
|
|
45619
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45620
|
+
* @return {!Uint8Array}
|
|
45621
|
+
*/
|
|
45622
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.serializeBinary = function() {
|
|
45623
|
+
var writer = new jspb.BinaryWriter();
|
|
45624
|
+
proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter(this, writer);
|
|
45625
|
+
return writer.getResultBuffer();
|
|
45626
|
+
};
|
|
45627
|
+
|
|
45628
|
+
|
|
45629
|
+
/**
|
|
45630
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45631
|
+
* format), writing to the given BinaryWriter.
|
|
45632
|
+
* @param {!proto.payment.GlobalWithdrawalAvailability} message
|
|
45633
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45634
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45635
|
+
*/
|
|
45636
|
+
proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter = function(message, writer) {
|
|
45637
|
+
var f = undefined;
|
|
45638
|
+
f = message.getAvailabilityStatus();
|
|
45639
|
+
if (f.length > 0) {
|
|
45640
|
+
writer.writeString(
|
|
45641
|
+
1,
|
|
45642
|
+
f
|
|
45643
|
+
);
|
|
45644
|
+
}
|
|
45645
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
45646
|
+
if (f != null) {
|
|
45647
|
+
writer.writeString(
|
|
45648
|
+
2,
|
|
45649
|
+
f
|
|
45650
|
+
);
|
|
45651
|
+
}
|
|
45652
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
45653
|
+
if (f != null) {
|
|
45654
|
+
writer.writeInt32(
|
|
45655
|
+
3,
|
|
45656
|
+
f
|
|
45657
|
+
);
|
|
45658
|
+
}
|
|
45659
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
45660
|
+
if (f != null) {
|
|
45661
|
+
writer.writeString(
|
|
45662
|
+
4,
|
|
45663
|
+
f
|
|
45664
|
+
);
|
|
45665
|
+
}
|
|
45666
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
45667
|
+
if (f != null) {
|
|
45668
|
+
writer.writeString(
|
|
45669
|
+
5,
|
|
45670
|
+
f
|
|
45671
|
+
);
|
|
45672
|
+
}
|
|
45673
|
+
};
|
|
45674
|
+
|
|
45675
|
+
|
|
45676
|
+
/**
|
|
45677
|
+
* optional string availability_status = 1;
|
|
45678
|
+
* @return {string}
|
|
45679
|
+
*/
|
|
45680
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.getAvailabilityStatus = function() {
|
|
45681
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
45682
|
+
};
|
|
45683
|
+
|
|
45684
|
+
|
|
45685
|
+
/**
|
|
45686
|
+
* @param {string} value
|
|
45687
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45688
|
+
*/
|
|
45689
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.setAvailabilityStatus = function(value) {
|
|
45690
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
45691
|
+
};
|
|
45692
|
+
|
|
45693
|
+
|
|
45694
|
+
/**
|
|
45695
|
+
* optional string currency = 2;
|
|
45696
|
+
* @return {string}
|
|
45697
|
+
*/
|
|
45698
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.getCurrency = function() {
|
|
45699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45700
|
+
};
|
|
45701
|
+
|
|
45702
|
+
|
|
45703
|
+
/**
|
|
45704
|
+
* @param {string} value
|
|
45705
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45706
|
+
*/
|
|
45707
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.setCurrency = function(value) {
|
|
45708
|
+
return jspb.Message.setField(this, 2, value);
|
|
45709
|
+
};
|
|
45710
|
+
|
|
45711
|
+
|
|
45712
|
+
/**
|
|
45713
|
+
* Clears the field making it undefined.
|
|
45714
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45715
|
+
*/
|
|
45716
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.clearCurrency = function() {
|
|
45717
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
45718
|
+
};
|
|
45719
|
+
|
|
45720
|
+
|
|
45721
|
+
/**
|
|
45722
|
+
* Returns whether this field is set.
|
|
45723
|
+
* @return {boolean}
|
|
45724
|
+
*/
|
|
45725
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.hasCurrency = function() {
|
|
45726
|
+
return jspb.Message.getField(this, 2) != null;
|
|
45727
|
+
};
|
|
45728
|
+
|
|
45729
|
+
|
|
45730
|
+
/**
|
|
45731
|
+
* optional int32 currency_scale = 3;
|
|
45732
|
+
* @return {number}
|
|
45733
|
+
*/
|
|
45734
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.getCurrencyScale = function() {
|
|
45735
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
45736
|
+
};
|
|
45737
|
+
|
|
45738
|
+
|
|
45739
|
+
/**
|
|
45740
|
+
* @param {number} value
|
|
45741
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45742
|
+
*/
|
|
45743
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.setCurrencyScale = function(value) {
|
|
45744
|
+
return jspb.Message.setField(this, 3, value);
|
|
45745
|
+
};
|
|
45746
|
+
|
|
45747
|
+
|
|
45748
|
+
/**
|
|
45749
|
+
* Clears the field making it undefined.
|
|
45750
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45751
|
+
*/
|
|
45752
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.clearCurrencyScale = function() {
|
|
45753
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
45754
|
+
};
|
|
45755
|
+
|
|
45756
|
+
|
|
45757
|
+
/**
|
|
45758
|
+
* Returns whether this field is set.
|
|
45759
|
+
* @return {boolean}
|
|
45760
|
+
*/
|
|
45761
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.hasCurrencyScale = function() {
|
|
45762
|
+
return jspb.Message.getField(this, 3) != null;
|
|
45763
|
+
};
|
|
45764
|
+
|
|
45765
|
+
|
|
45766
|
+
/**
|
|
45767
|
+
* optional string withdrawable_real_minor = 4;
|
|
45768
|
+
* @return {string}
|
|
45769
|
+
*/
|
|
45770
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.getWithdrawableRealMinor = function() {
|
|
45771
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45772
|
+
};
|
|
45773
|
+
|
|
45774
|
+
|
|
45775
|
+
/**
|
|
45776
|
+
* @param {string} value
|
|
45777
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45778
|
+
*/
|
|
45779
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.setWithdrawableRealMinor = function(value) {
|
|
45780
|
+
return jspb.Message.setField(this, 4, value);
|
|
45781
|
+
};
|
|
45782
|
+
|
|
45783
|
+
|
|
45784
|
+
/**
|
|
45785
|
+
* Clears the field making it undefined.
|
|
45786
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45787
|
+
*/
|
|
45788
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.clearWithdrawableRealMinor = function() {
|
|
45789
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
45790
|
+
};
|
|
45791
|
+
|
|
45792
|
+
|
|
45793
|
+
/**
|
|
45794
|
+
* Returns whether this field is set.
|
|
45795
|
+
* @return {boolean}
|
|
45796
|
+
*/
|
|
45797
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.hasWithdrawableRealMinor = function() {
|
|
45798
|
+
return jspb.Message.getField(this, 4) != null;
|
|
45799
|
+
};
|
|
45800
|
+
|
|
45801
|
+
|
|
45802
|
+
/**
|
|
45803
|
+
* optional string withdrawable_real_major = 5;
|
|
45804
|
+
* @return {string}
|
|
45805
|
+
*/
|
|
45806
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.getWithdrawableRealMajor = function() {
|
|
45807
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
45808
|
+
};
|
|
45809
|
+
|
|
45810
|
+
|
|
45811
|
+
/**
|
|
45812
|
+
* @param {string} value
|
|
45813
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45814
|
+
*/
|
|
45815
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.setWithdrawableRealMajor = function(value) {
|
|
45816
|
+
return jspb.Message.setField(this, 5, value);
|
|
45817
|
+
};
|
|
45818
|
+
|
|
45819
|
+
|
|
45820
|
+
/**
|
|
45821
|
+
* Clears the field making it undefined.
|
|
45822
|
+
* @return {!proto.payment.GlobalWithdrawalAvailability} returns this
|
|
45823
|
+
*/
|
|
45824
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.clearWithdrawableRealMajor = function() {
|
|
45825
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
45826
|
+
};
|
|
45827
|
+
|
|
45828
|
+
|
|
45829
|
+
/**
|
|
45830
|
+
* Returns whether this field is set.
|
|
45831
|
+
* @return {boolean}
|
|
45832
|
+
*/
|
|
45833
|
+
proto.payment.GlobalWithdrawalAvailability.prototype.hasWithdrawableRealMajor = function() {
|
|
45834
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45835
|
+
};
|
|
45836
|
+
|
|
45837
|
+
|
|
45838
|
+
|
|
45839
|
+
|
|
45840
|
+
|
|
45497
45841
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45498
45842
|
/**
|
|
45499
45843
|
* Creates an object representation of this proto.
|
|
@@ -48857,7 +49201,8 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
48857
49201
|
walletsList: jspb.Message.toObjectList(msg.getWalletsList(),
|
|
48858
49202
|
proto.payment.WalletCashBalanceItem.toObject, includeInstance),
|
|
48859
49203
|
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
48860
|
-
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
49204
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f),
|
|
49205
|
+
globalWithdrawalAvailability: (f = msg.getGlobalWithdrawalAvailability()) && proto.payment.GlobalWithdrawalAvailability.toObject(includeInstance, f)
|
|
48861
49206
|
};
|
|
48862
49207
|
|
|
48863
49208
|
if (includeInstance) {
|
|
@@ -48941,6 +49286,11 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
48941
49286
|
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
48942
49287
|
msg.setWithdrawalAvailability(value);
|
|
48943
49288
|
break;
|
|
49289
|
+
case 12:
|
|
49290
|
+
var value = new proto.payment.GlobalWithdrawalAvailability;
|
|
49291
|
+
reader.readMessage(value,proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader);
|
|
49292
|
+
msg.setGlobalWithdrawalAvailability(value);
|
|
49293
|
+
break;
|
|
48944
49294
|
default:
|
|
48945
49295
|
reader.skipField();
|
|
48946
49296
|
break;
|
|
@@ -49050,6 +49400,14 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
49050
49400
|
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
49051
49401
|
);
|
|
49052
49402
|
}
|
|
49403
|
+
f = message.getGlobalWithdrawalAvailability();
|
|
49404
|
+
if (f != null) {
|
|
49405
|
+
writer.writeMessage(
|
|
49406
|
+
12,
|
|
49407
|
+
f,
|
|
49408
|
+
proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter
|
|
49409
|
+
);
|
|
49410
|
+
}
|
|
49053
49411
|
};
|
|
49054
49412
|
|
|
49055
49413
|
|
|
@@ -49363,6 +49721,43 @@ proto.payment.ResolveGameWalletContextResponse.prototype.hasWithdrawalAvailabili
|
|
|
49363
49721
|
};
|
|
49364
49722
|
|
|
49365
49723
|
|
|
49724
|
+
/**
|
|
49725
|
+
* optional GlobalWithdrawalAvailability global_withdrawal_availability = 12;
|
|
49726
|
+
* @return {?proto.payment.GlobalWithdrawalAvailability}
|
|
49727
|
+
*/
|
|
49728
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getGlobalWithdrawalAvailability = function() {
|
|
49729
|
+
return /** @type{?proto.payment.GlobalWithdrawalAvailability} */ (
|
|
49730
|
+
jspb.Message.getWrapperField(this, proto.payment.GlobalWithdrawalAvailability, 12));
|
|
49731
|
+
};
|
|
49732
|
+
|
|
49733
|
+
|
|
49734
|
+
/**
|
|
49735
|
+
* @param {?proto.payment.GlobalWithdrawalAvailability|undefined} value
|
|
49736
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49737
|
+
*/
|
|
49738
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setGlobalWithdrawalAvailability = function(value) {
|
|
49739
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
49740
|
+
};
|
|
49741
|
+
|
|
49742
|
+
|
|
49743
|
+
/**
|
|
49744
|
+
* Clears the message field making it undefined.
|
|
49745
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49746
|
+
*/
|
|
49747
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearGlobalWithdrawalAvailability = function() {
|
|
49748
|
+
return this.setGlobalWithdrawalAvailability(undefined);
|
|
49749
|
+
};
|
|
49750
|
+
|
|
49751
|
+
|
|
49752
|
+
/**
|
|
49753
|
+
* Returns whether this field is set.
|
|
49754
|
+
* @return {boolean}
|
|
49755
|
+
*/
|
|
49756
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasGlobalWithdrawalAvailability = function() {
|
|
49757
|
+
return jspb.Message.getField(this, 12) != null;
|
|
49758
|
+
};
|
|
49759
|
+
|
|
49760
|
+
|
|
49366
49761
|
|
|
49367
49762
|
|
|
49368
49763
|
|