protobuf-platform 1.2.732 → 1.2.734
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 +19 -0
- package/payment/payment_pb.js +820 -5
- package/user/user.proto +2 -0
- package/user/user_pb.js +97 -1
package/config/config.proto
CHANGED
package/config/config_pb.js
CHANGED
|
@@ -5856,7 +5856,8 @@ proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
|
|
|
5856
5856
|
isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
5857
5857
|
status: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5858
5858
|
errorCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5859
|
-
rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
5859
|
+
rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5860
|
+
sourceValidUntil: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
5860
5861
|
};
|
|
5861
5862
|
|
|
5862
5863
|
if (includeInstance) {
|
|
@@ -5945,6 +5946,10 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
5945
5946
|
var value = /** @type {string} */ (reader.readString());
|
|
5946
5947
|
msg.setRateDecimal(value);
|
|
5947
5948
|
break;
|
|
5949
|
+
case 14:
|
|
5950
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5951
|
+
msg.setSourceValidUntil(value);
|
|
5952
|
+
break;
|
|
5948
5953
|
default:
|
|
5949
5954
|
reader.skipField();
|
|
5950
5955
|
break;
|
|
@@ -6065,6 +6070,13 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
|
|
|
6065
6070
|
f
|
|
6066
6071
|
);
|
|
6067
6072
|
}
|
|
6073
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
6074
|
+
if (f != null) {
|
|
6075
|
+
writer.writeString(
|
|
6076
|
+
14,
|
|
6077
|
+
f
|
|
6078
|
+
);
|
|
6079
|
+
}
|
|
6068
6080
|
};
|
|
6069
6081
|
|
|
6070
6082
|
|
|
@@ -6482,6 +6494,42 @@ proto.config.CurrencyRateItem.prototype.hasRateDecimal = function() {
|
|
|
6482
6494
|
};
|
|
6483
6495
|
|
|
6484
6496
|
|
|
6497
|
+
/**
|
|
6498
|
+
* optional string source_valid_until = 14;
|
|
6499
|
+
* @return {string}
|
|
6500
|
+
*/
|
|
6501
|
+
proto.config.CurrencyRateItem.prototype.getSourceValidUntil = function() {
|
|
6502
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
6503
|
+
};
|
|
6504
|
+
|
|
6505
|
+
|
|
6506
|
+
/**
|
|
6507
|
+
* @param {string} value
|
|
6508
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6509
|
+
*/
|
|
6510
|
+
proto.config.CurrencyRateItem.prototype.setSourceValidUntil = function(value) {
|
|
6511
|
+
return jspb.Message.setField(this, 14, value);
|
|
6512
|
+
};
|
|
6513
|
+
|
|
6514
|
+
|
|
6515
|
+
/**
|
|
6516
|
+
* Clears the field making it undefined.
|
|
6517
|
+
* @return {!proto.config.CurrencyRateItem} returns this
|
|
6518
|
+
*/
|
|
6519
|
+
proto.config.CurrencyRateItem.prototype.clearSourceValidUntil = function() {
|
|
6520
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6521
|
+
};
|
|
6522
|
+
|
|
6523
|
+
|
|
6524
|
+
/**
|
|
6525
|
+
* Returns whether this field is set.
|
|
6526
|
+
* @return {boolean}
|
|
6527
|
+
*/
|
|
6528
|
+
proto.config.CurrencyRateItem.prototype.hasSourceValidUntil = function() {
|
|
6529
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6530
|
+
};
|
|
6531
|
+
|
|
6532
|
+
|
|
6485
6533
|
|
|
6486
6534
|
/**
|
|
6487
6535
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -1051,6 +1051,8 @@ message CheckWithdrawalEligibilityResponse {
|
|
|
1051
1051
|
optional int64 available_real_minor = 3;
|
|
1052
1052
|
optional string currency = 4;
|
|
1053
1053
|
optional int32 currency_scale = 5;
|
|
1054
|
+
optional string available_real_major = 6;
|
|
1055
|
+
optional string available_real_minor_exact = 7;
|
|
1054
1056
|
}
|
|
1055
1057
|
message GetWithdrawalWagerSnapshotRequest {
|
|
1056
1058
|
int32 user_id = 1;
|
|
@@ -1077,6 +1079,18 @@ message GetWithdrawalWagerSnapshotResponse {
|
|
|
1077
1079
|
int64 locked_amount_minor = 7;
|
|
1078
1080
|
int32 active_locked_buckets_count = 8;
|
|
1079
1081
|
repeated WithdrawalWagerLockedBucketItem active_locked_buckets = 9;
|
|
1082
|
+
optional WithdrawalAvailability withdrawal_availability = 10;
|
|
1083
|
+
}
|
|
1084
|
+
// Ceiling for one debit wallet, before method-specific limits. Missing on older producers.
|
|
1085
|
+
message WithdrawalAvailability {
|
|
1086
|
+
string debit_currency = 1;
|
|
1087
|
+
string availability_status = 2; // known or unknown
|
|
1088
|
+
optional string withdrawable_real_minor = 3;
|
|
1089
|
+
optional string withdrawable_real_major = 4;
|
|
1090
|
+
optional string entitlement_currency = 5;
|
|
1091
|
+
// Present only when a global wagering ceiling applies and is known.
|
|
1092
|
+
optional string remaining_entitlement_minor = 6;
|
|
1093
|
+
optional int32 entitlement_currency_scale = 7;
|
|
1080
1094
|
}
|
|
1081
1095
|
message GetWithdrawalWagerBucketHistoryRequest {
|
|
1082
1096
|
int32 user_id = 1;
|
|
@@ -1174,6 +1188,7 @@ message ResolveGameWalletContextRequest {
|
|
|
1174
1188
|
optional string preferred_wallet_currency = 5;
|
|
1175
1189
|
// Validate an actual wallet without creating one (including empty wallets).
|
|
1176
1190
|
optional bool existing_wallet_only = 6;
|
|
1191
|
+
optional bool include_withdrawal_availability = 7;
|
|
1177
1192
|
}
|
|
1178
1193
|
message ResolveGameWalletContextResponse {
|
|
1179
1194
|
int32 user_id = 1;
|
|
@@ -1187,12 +1202,16 @@ message ResolveGameWalletContextResponse {
|
|
|
1187
1202
|
// Cash ledger less active monetary reservations; absent on older servers.
|
|
1188
1203
|
optional string available_real_minor = 8;
|
|
1189
1204
|
repeated WalletCashBalanceItem wallets = 9;
|
|
1205
|
+
optional string available_real_major = 10;
|
|
1206
|
+
optional WithdrawalAvailability withdrawal_availability = 11;
|
|
1190
1207
|
}
|
|
1191
1208
|
message WalletCashBalanceItem {
|
|
1192
1209
|
string currency = 1;
|
|
1193
1210
|
int32 currency_scale = 2;
|
|
1194
1211
|
string balance_minor = 3;
|
|
1195
1212
|
string available_real_minor = 4;
|
|
1213
|
+
optional string available_real_major = 5;
|
|
1214
|
+
optional WithdrawalAvailability withdrawal_availability = 6;
|
|
1196
1215
|
}
|
|
1197
1216
|
message FinancialAdmissionWalletContext {
|
|
1198
1217
|
uint32 protocol_version = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -186,6 +186,7 @@ goog.exportSymbol('proto.payment.UserWalletOperationHistoryReward', null, global
|
|
|
186
186
|
goog.exportSymbol('proto.payment.UserWithdrawalItem', null, global);
|
|
187
187
|
goog.exportSymbol('proto.payment.UserWithdrawalItemsResponse', null, global);
|
|
188
188
|
goog.exportSymbol('proto.payment.WalletCashBalanceItem', null, global);
|
|
189
|
+
goog.exportSymbol('proto.payment.WithdrawalAvailability', null, global);
|
|
189
190
|
goog.exportSymbol('proto.payment.WithdrawalItem', null, global);
|
|
190
191
|
goog.exportSymbol('proto.payment.WithdrawalItemsResponse', null, global);
|
|
191
192
|
goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
|
|
@@ -2145,6 +2146,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2145
2146
|
*/
|
|
2146
2147
|
proto.payment.GetWithdrawalWagerSnapshotResponse.displayName = 'proto.payment.GetWithdrawalWagerSnapshotResponse';
|
|
2147
2148
|
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Generated by JsPbCodeGenerator.
|
|
2151
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2152
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2153
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2154
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2155
|
+
* valid.
|
|
2156
|
+
* @extends {jspb.Message}
|
|
2157
|
+
* @constructor
|
|
2158
|
+
*/
|
|
2159
|
+
proto.payment.WithdrawalAvailability = function(opt_data) {
|
|
2160
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2161
|
+
};
|
|
2162
|
+
goog.inherits(proto.payment.WithdrawalAvailability, jspb.Message);
|
|
2163
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2164
|
+
/**
|
|
2165
|
+
* @public
|
|
2166
|
+
* @override
|
|
2167
|
+
*/
|
|
2168
|
+
proto.payment.WithdrawalAvailability.displayName = 'proto.payment.WithdrawalAvailability';
|
|
2169
|
+
}
|
|
2148
2170
|
/**
|
|
2149
2171
|
* Generated by JsPbCodeGenerator.
|
|
2150
2172
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -43621,7 +43643,9 @@ proto.payment.CheckWithdrawalEligibilityResponse.toObject = function(includeInst
|
|
|
43621
43643
|
reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
43622
43644
|
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
43623
43645
|
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
43624
|
-
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
43646
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
43647
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
43648
|
+
availableRealMinorExact: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
43625
43649
|
};
|
|
43626
43650
|
|
|
43627
43651
|
if (includeInstance) {
|
|
@@ -43678,6 +43702,14 @@ proto.payment.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = f
|
|
|
43678
43702
|
var value = /** @type {number} */ (reader.readInt32());
|
|
43679
43703
|
msg.setCurrencyScale(value);
|
|
43680
43704
|
break;
|
|
43705
|
+
case 6:
|
|
43706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43707
|
+
msg.setAvailableRealMajor(value);
|
|
43708
|
+
break;
|
|
43709
|
+
case 7:
|
|
43710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43711
|
+
msg.setAvailableRealMinorExact(value);
|
|
43712
|
+
break;
|
|
43681
43713
|
default:
|
|
43682
43714
|
reader.skipField();
|
|
43683
43715
|
break;
|
|
@@ -43742,6 +43774,20 @@ proto.payment.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = funct
|
|
|
43742
43774
|
f
|
|
43743
43775
|
);
|
|
43744
43776
|
}
|
|
43777
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
43778
|
+
if (f != null) {
|
|
43779
|
+
writer.writeString(
|
|
43780
|
+
6,
|
|
43781
|
+
f
|
|
43782
|
+
);
|
|
43783
|
+
}
|
|
43784
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
43785
|
+
if (f != null) {
|
|
43786
|
+
writer.writeString(
|
|
43787
|
+
7,
|
|
43788
|
+
f
|
|
43789
|
+
);
|
|
43790
|
+
}
|
|
43745
43791
|
};
|
|
43746
43792
|
|
|
43747
43793
|
|
|
@@ -43907,6 +43953,78 @@ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = fu
|
|
|
43907
43953
|
};
|
|
43908
43954
|
|
|
43909
43955
|
|
|
43956
|
+
/**
|
|
43957
|
+
* optional string available_real_major = 6;
|
|
43958
|
+
* @return {string}
|
|
43959
|
+
*/
|
|
43960
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMajor = function() {
|
|
43961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
43962
|
+
};
|
|
43963
|
+
|
|
43964
|
+
|
|
43965
|
+
/**
|
|
43966
|
+
* @param {string} value
|
|
43967
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
43968
|
+
*/
|
|
43969
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMajor = function(value) {
|
|
43970
|
+
return jspb.Message.setField(this, 6, value);
|
|
43971
|
+
};
|
|
43972
|
+
|
|
43973
|
+
|
|
43974
|
+
/**
|
|
43975
|
+
* Clears the field making it undefined.
|
|
43976
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
43977
|
+
*/
|
|
43978
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMajor = function() {
|
|
43979
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
43980
|
+
};
|
|
43981
|
+
|
|
43982
|
+
|
|
43983
|
+
/**
|
|
43984
|
+
* Returns whether this field is set.
|
|
43985
|
+
* @return {boolean}
|
|
43986
|
+
*/
|
|
43987
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor = function() {
|
|
43988
|
+
return jspb.Message.getField(this, 6) != null;
|
|
43989
|
+
};
|
|
43990
|
+
|
|
43991
|
+
|
|
43992
|
+
/**
|
|
43993
|
+
* optional string available_real_minor_exact = 7;
|
|
43994
|
+
* @return {string}
|
|
43995
|
+
*/
|
|
43996
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMinorExact = function() {
|
|
43997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
43998
|
+
};
|
|
43999
|
+
|
|
44000
|
+
|
|
44001
|
+
/**
|
|
44002
|
+
* @param {string} value
|
|
44003
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
44004
|
+
*/
|
|
44005
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMinorExact = function(value) {
|
|
44006
|
+
return jspb.Message.setField(this, 7, value);
|
|
44007
|
+
};
|
|
44008
|
+
|
|
44009
|
+
|
|
44010
|
+
/**
|
|
44011
|
+
* Clears the field making it undefined.
|
|
44012
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
44013
|
+
*/
|
|
44014
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMinorExact = function() {
|
|
44015
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
44016
|
+
};
|
|
44017
|
+
|
|
44018
|
+
|
|
44019
|
+
/**
|
|
44020
|
+
* Returns whether this field is set.
|
|
44021
|
+
* @return {boolean}
|
|
44022
|
+
*/
|
|
44023
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMinorExact = function() {
|
|
44024
|
+
return jspb.Message.getField(this, 7) != null;
|
|
44025
|
+
};
|
|
44026
|
+
|
|
44027
|
+
|
|
43910
44028
|
|
|
43911
44029
|
|
|
43912
44030
|
|
|
@@ -44503,7 +44621,8 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.toObject = function(includeInst
|
|
|
44503
44621
|
lockedAmountMinor: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
44504
44622
|
activeLockedBucketsCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
44505
44623
|
activeLockedBucketsList: jspb.Message.toObjectList(msg.getActiveLockedBucketsList(),
|
|
44506
|
-
proto.payment.WithdrawalWagerLockedBucketItem.toObject, includeInstance)
|
|
44624
|
+
proto.payment.WithdrawalWagerLockedBucketItem.toObject, includeInstance),
|
|
44625
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
44507
44626
|
};
|
|
44508
44627
|
|
|
44509
44628
|
if (includeInstance) {
|
|
@@ -44577,6 +44696,11 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.deserializeBinaryFromReader = f
|
|
|
44577
44696
|
reader.readMessage(value,proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinaryFromReader);
|
|
44578
44697
|
msg.addActiveLockedBuckets(value);
|
|
44579
44698
|
break;
|
|
44699
|
+
case 10:
|
|
44700
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
44701
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
44702
|
+
msg.setWithdrawalAvailability(value);
|
|
44703
|
+
break;
|
|
44580
44704
|
default:
|
|
44581
44705
|
reader.skipField();
|
|
44582
44706
|
break;
|
|
@@ -44670,6 +44794,14 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.serializeBinaryToWriter = funct
|
|
|
44670
44794
|
proto.payment.WithdrawalWagerLockedBucketItem.serializeBinaryToWriter
|
|
44671
44795
|
);
|
|
44672
44796
|
}
|
|
44797
|
+
f = message.getWithdrawalAvailability();
|
|
44798
|
+
if (f != null) {
|
|
44799
|
+
writer.writeMessage(
|
|
44800
|
+
10,
|
|
44801
|
+
f,
|
|
44802
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
44803
|
+
);
|
|
44804
|
+
}
|
|
44673
44805
|
};
|
|
44674
44806
|
|
|
44675
44807
|
|
|
@@ -44855,6 +44987,443 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearActiveLockedBuck
|
|
|
44855
44987
|
};
|
|
44856
44988
|
|
|
44857
44989
|
|
|
44990
|
+
/**
|
|
44991
|
+
* optional WithdrawalAvailability withdrawal_availability = 10;
|
|
44992
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
44993
|
+
*/
|
|
44994
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getWithdrawalAvailability = function() {
|
|
44995
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
44996
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 10));
|
|
44997
|
+
};
|
|
44998
|
+
|
|
44999
|
+
|
|
45000
|
+
/**
|
|
45001
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
45002
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
45003
|
+
*/
|
|
45004
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setWithdrawalAvailability = function(value) {
|
|
45005
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
45006
|
+
};
|
|
45007
|
+
|
|
45008
|
+
|
|
45009
|
+
/**
|
|
45010
|
+
* Clears the message field making it undefined.
|
|
45011
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
45012
|
+
*/
|
|
45013
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearWithdrawalAvailability = function() {
|
|
45014
|
+
return this.setWithdrawalAvailability(undefined);
|
|
45015
|
+
};
|
|
45016
|
+
|
|
45017
|
+
|
|
45018
|
+
/**
|
|
45019
|
+
* Returns whether this field is set.
|
|
45020
|
+
* @return {boolean}
|
|
45021
|
+
*/
|
|
45022
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.hasWithdrawalAvailability = function() {
|
|
45023
|
+
return jspb.Message.getField(this, 10) != null;
|
|
45024
|
+
};
|
|
45025
|
+
|
|
45026
|
+
|
|
45027
|
+
|
|
45028
|
+
|
|
45029
|
+
|
|
45030
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45031
|
+
/**
|
|
45032
|
+
* Creates an object representation of this proto.
|
|
45033
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45034
|
+
* Optional fields that are not set will be set to undefined.
|
|
45035
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45036
|
+
* For the list of reserved names please see:
|
|
45037
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45038
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45039
|
+
* JSPB instance for transitional soy proto support:
|
|
45040
|
+
* http://goto/soy-param-migration
|
|
45041
|
+
* @return {!Object}
|
|
45042
|
+
*/
|
|
45043
|
+
proto.payment.WithdrawalAvailability.prototype.toObject = function(opt_includeInstance) {
|
|
45044
|
+
return proto.payment.WithdrawalAvailability.toObject(opt_includeInstance, this);
|
|
45045
|
+
};
|
|
45046
|
+
|
|
45047
|
+
|
|
45048
|
+
/**
|
|
45049
|
+
* Static version of the {@see toObject} method.
|
|
45050
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45051
|
+
* the JSPB instance for transitional soy proto support:
|
|
45052
|
+
* http://goto/soy-param-migration
|
|
45053
|
+
* @param {!proto.payment.WithdrawalAvailability} msg The msg instance to transform.
|
|
45054
|
+
* @return {!Object}
|
|
45055
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45056
|
+
*/
|
|
45057
|
+
proto.payment.WithdrawalAvailability.toObject = function(includeInstance, msg) {
|
|
45058
|
+
var f, obj = {
|
|
45059
|
+
debitCurrency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
45060
|
+
availabilityStatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45061
|
+
withdrawableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
45062
|
+
withdrawableRealMajor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45063
|
+
entitlementCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
45064
|
+
remainingEntitlementMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
45065
|
+
entitlementCurrencyScale: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
45066
|
+
};
|
|
45067
|
+
|
|
45068
|
+
if (includeInstance) {
|
|
45069
|
+
obj.$jspbMessageInstance = msg;
|
|
45070
|
+
}
|
|
45071
|
+
return obj;
|
|
45072
|
+
};
|
|
45073
|
+
}
|
|
45074
|
+
|
|
45075
|
+
|
|
45076
|
+
/**
|
|
45077
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45078
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45079
|
+
* @return {!proto.payment.WithdrawalAvailability}
|
|
45080
|
+
*/
|
|
45081
|
+
proto.payment.WithdrawalAvailability.deserializeBinary = function(bytes) {
|
|
45082
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45083
|
+
var msg = new proto.payment.WithdrawalAvailability;
|
|
45084
|
+
return proto.payment.WithdrawalAvailability.deserializeBinaryFromReader(msg, reader);
|
|
45085
|
+
};
|
|
45086
|
+
|
|
45087
|
+
|
|
45088
|
+
/**
|
|
45089
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45090
|
+
* given reader into the given message object.
|
|
45091
|
+
* @param {!proto.payment.WithdrawalAvailability} msg The message object to deserialize into.
|
|
45092
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45093
|
+
* @return {!proto.payment.WithdrawalAvailability}
|
|
45094
|
+
*/
|
|
45095
|
+
proto.payment.WithdrawalAvailability.deserializeBinaryFromReader = function(msg, reader) {
|
|
45096
|
+
while (reader.nextField()) {
|
|
45097
|
+
if (reader.isEndGroup()) {
|
|
45098
|
+
break;
|
|
45099
|
+
}
|
|
45100
|
+
var field = reader.getFieldNumber();
|
|
45101
|
+
switch (field) {
|
|
45102
|
+
case 1:
|
|
45103
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45104
|
+
msg.setDebitCurrency(value);
|
|
45105
|
+
break;
|
|
45106
|
+
case 2:
|
|
45107
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45108
|
+
msg.setAvailabilityStatus(value);
|
|
45109
|
+
break;
|
|
45110
|
+
case 3:
|
|
45111
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45112
|
+
msg.setWithdrawableRealMinor(value);
|
|
45113
|
+
break;
|
|
45114
|
+
case 4:
|
|
45115
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45116
|
+
msg.setWithdrawableRealMajor(value);
|
|
45117
|
+
break;
|
|
45118
|
+
case 5:
|
|
45119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45120
|
+
msg.setEntitlementCurrency(value);
|
|
45121
|
+
break;
|
|
45122
|
+
case 6:
|
|
45123
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45124
|
+
msg.setRemainingEntitlementMinor(value);
|
|
45125
|
+
break;
|
|
45126
|
+
case 7:
|
|
45127
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45128
|
+
msg.setEntitlementCurrencyScale(value);
|
|
45129
|
+
break;
|
|
45130
|
+
default:
|
|
45131
|
+
reader.skipField();
|
|
45132
|
+
break;
|
|
45133
|
+
}
|
|
45134
|
+
}
|
|
45135
|
+
return msg;
|
|
45136
|
+
};
|
|
45137
|
+
|
|
45138
|
+
|
|
45139
|
+
/**
|
|
45140
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45141
|
+
* @return {!Uint8Array}
|
|
45142
|
+
*/
|
|
45143
|
+
proto.payment.WithdrawalAvailability.prototype.serializeBinary = function() {
|
|
45144
|
+
var writer = new jspb.BinaryWriter();
|
|
45145
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter(this, writer);
|
|
45146
|
+
return writer.getResultBuffer();
|
|
45147
|
+
};
|
|
45148
|
+
|
|
45149
|
+
|
|
45150
|
+
/**
|
|
45151
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45152
|
+
* format), writing to the given BinaryWriter.
|
|
45153
|
+
* @param {!proto.payment.WithdrawalAvailability} message
|
|
45154
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45155
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45156
|
+
*/
|
|
45157
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter = function(message, writer) {
|
|
45158
|
+
var f = undefined;
|
|
45159
|
+
f = message.getDebitCurrency();
|
|
45160
|
+
if (f.length > 0) {
|
|
45161
|
+
writer.writeString(
|
|
45162
|
+
1,
|
|
45163
|
+
f
|
|
45164
|
+
);
|
|
45165
|
+
}
|
|
45166
|
+
f = message.getAvailabilityStatus();
|
|
45167
|
+
if (f.length > 0) {
|
|
45168
|
+
writer.writeString(
|
|
45169
|
+
2,
|
|
45170
|
+
f
|
|
45171
|
+
);
|
|
45172
|
+
}
|
|
45173
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
45174
|
+
if (f != null) {
|
|
45175
|
+
writer.writeString(
|
|
45176
|
+
3,
|
|
45177
|
+
f
|
|
45178
|
+
);
|
|
45179
|
+
}
|
|
45180
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
45181
|
+
if (f != null) {
|
|
45182
|
+
writer.writeString(
|
|
45183
|
+
4,
|
|
45184
|
+
f
|
|
45185
|
+
);
|
|
45186
|
+
}
|
|
45187
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
45188
|
+
if (f != null) {
|
|
45189
|
+
writer.writeString(
|
|
45190
|
+
5,
|
|
45191
|
+
f
|
|
45192
|
+
);
|
|
45193
|
+
}
|
|
45194
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
45195
|
+
if (f != null) {
|
|
45196
|
+
writer.writeString(
|
|
45197
|
+
6,
|
|
45198
|
+
f
|
|
45199
|
+
);
|
|
45200
|
+
}
|
|
45201
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
45202
|
+
if (f != null) {
|
|
45203
|
+
writer.writeInt32(
|
|
45204
|
+
7,
|
|
45205
|
+
f
|
|
45206
|
+
);
|
|
45207
|
+
}
|
|
45208
|
+
};
|
|
45209
|
+
|
|
45210
|
+
|
|
45211
|
+
/**
|
|
45212
|
+
* optional string debit_currency = 1;
|
|
45213
|
+
* @return {string}
|
|
45214
|
+
*/
|
|
45215
|
+
proto.payment.WithdrawalAvailability.prototype.getDebitCurrency = function() {
|
|
45216
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
45217
|
+
};
|
|
45218
|
+
|
|
45219
|
+
|
|
45220
|
+
/**
|
|
45221
|
+
* @param {string} value
|
|
45222
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45223
|
+
*/
|
|
45224
|
+
proto.payment.WithdrawalAvailability.prototype.setDebitCurrency = function(value) {
|
|
45225
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
45226
|
+
};
|
|
45227
|
+
|
|
45228
|
+
|
|
45229
|
+
/**
|
|
45230
|
+
* optional string availability_status = 2;
|
|
45231
|
+
* @return {string}
|
|
45232
|
+
*/
|
|
45233
|
+
proto.payment.WithdrawalAvailability.prototype.getAvailabilityStatus = function() {
|
|
45234
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45235
|
+
};
|
|
45236
|
+
|
|
45237
|
+
|
|
45238
|
+
/**
|
|
45239
|
+
* @param {string} value
|
|
45240
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45241
|
+
*/
|
|
45242
|
+
proto.payment.WithdrawalAvailability.prototype.setAvailabilityStatus = function(value) {
|
|
45243
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
45244
|
+
};
|
|
45245
|
+
|
|
45246
|
+
|
|
45247
|
+
/**
|
|
45248
|
+
* optional string withdrawable_real_minor = 3;
|
|
45249
|
+
* @return {string}
|
|
45250
|
+
*/
|
|
45251
|
+
proto.payment.WithdrawalAvailability.prototype.getWithdrawableRealMinor = function() {
|
|
45252
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
45253
|
+
};
|
|
45254
|
+
|
|
45255
|
+
|
|
45256
|
+
/**
|
|
45257
|
+
* @param {string} value
|
|
45258
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45259
|
+
*/
|
|
45260
|
+
proto.payment.WithdrawalAvailability.prototype.setWithdrawableRealMinor = function(value) {
|
|
45261
|
+
return jspb.Message.setField(this, 3, value);
|
|
45262
|
+
};
|
|
45263
|
+
|
|
45264
|
+
|
|
45265
|
+
/**
|
|
45266
|
+
* Clears the field making it undefined.
|
|
45267
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45268
|
+
*/
|
|
45269
|
+
proto.payment.WithdrawalAvailability.prototype.clearWithdrawableRealMinor = function() {
|
|
45270
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
45271
|
+
};
|
|
45272
|
+
|
|
45273
|
+
|
|
45274
|
+
/**
|
|
45275
|
+
* Returns whether this field is set.
|
|
45276
|
+
* @return {boolean}
|
|
45277
|
+
*/
|
|
45278
|
+
proto.payment.WithdrawalAvailability.prototype.hasWithdrawableRealMinor = function() {
|
|
45279
|
+
return jspb.Message.getField(this, 3) != null;
|
|
45280
|
+
};
|
|
45281
|
+
|
|
45282
|
+
|
|
45283
|
+
/**
|
|
45284
|
+
* optional string withdrawable_real_major = 4;
|
|
45285
|
+
* @return {string}
|
|
45286
|
+
*/
|
|
45287
|
+
proto.payment.WithdrawalAvailability.prototype.getWithdrawableRealMajor = function() {
|
|
45288
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45289
|
+
};
|
|
45290
|
+
|
|
45291
|
+
|
|
45292
|
+
/**
|
|
45293
|
+
* @param {string} value
|
|
45294
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45295
|
+
*/
|
|
45296
|
+
proto.payment.WithdrawalAvailability.prototype.setWithdrawableRealMajor = function(value) {
|
|
45297
|
+
return jspb.Message.setField(this, 4, value);
|
|
45298
|
+
};
|
|
45299
|
+
|
|
45300
|
+
|
|
45301
|
+
/**
|
|
45302
|
+
* Clears the field making it undefined.
|
|
45303
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45304
|
+
*/
|
|
45305
|
+
proto.payment.WithdrawalAvailability.prototype.clearWithdrawableRealMajor = function() {
|
|
45306
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
45307
|
+
};
|
|
45308
|
+
|
|
45309
|
+
|
|
45310
|
+
/**
|
|
45311
|
+
* Returns whether this field is set.
|
|
45312
|
+
* @return {boolean}
|
|
45313
|
+
*/
|
|
45314
|
+
proto.payment.WithdrawalAvailability.prototype.hasWithdrawableRealMajor = function() {
|
|
45315
|
+
return jspb.Message.getField(this, 4) != null;
|
|
45316
|
+
};
|
|
45317
|
+
|
|
45318
|
+
|
|
45319
|
+
/**
|
|
45320
|
+
* optional string entitlement_currency = 5;
|
|
45321
|
+
* @return {string}
|
|
45322
|
+
*/
|
|
45323
|
+
proto.payment.WithdrawalAvailability.prototype.getEntitlementCurrency = function() {
|
|
45324
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
45325
|
+
};
|
|
45326
|
+
|
|
45327
|
+
|
|
45328
|
+
/**
|
|
45329
|
+
* @param {string} value
|
|
45330
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45331
|
+
*/
|
|
45332
|
+
proto.payment.WithdrawalAvailability.prototype.setEntitlementCurrency = function(value) {
|
|
45333
|
+
return jspb.Message.setField(this, 5, value);
|
|
45334
|
+
};
|
|
45335
|
+
|
|
45336
|
+
|
|
45337
|
+
/**
|
|
45338
|
+
* Clears the field making it undefined.
|
|
45339
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45340
|
+
*/
|
|
45341
|
+
proto.payment.WithdrawalAvailability.prototype.clearEntitlementCurrency = function() {
|
|
45342
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
45343
|
+
};
|
|
45344
|
+
|
|
45345
|
+
|
|
45346
|
+
/**
|
|
45347
|
+
* Returns whether this field is set.
|
|
45348
|
+
* @return {boolean}
|
|
45349
|
+
*/
|
|
45350
|
+
proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrency = function() {
|
|
45351
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45352
|
+
};
|
|
45353
|
+
|
|
45354
|
+
|
|
45355
|
+
/**
|
|
45356
|
+
* optional string remaining_entitlement_minor = 6;
|
|
45357
|
+
* @return {string}
|
|
45358
|
+
*/
|
|
45359
|
+
proto.payment.WithdrawalAvailability.prototype.getRemainingEntitlementMinor = function() {
|
|
45360
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
45361
|
+
};
|
|
45362
|
+
|
|
45363
|
+
|
|
45364
|
+
/**
|
|
45365
|
+
* @param {string} value
|
|
45366
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45367
|
+
*/
|
|
45368
|
+
proto.payment.WithdrawalAvailability.prototype.setRemainingEntitlementMinor = function(value) {
|
|
45369
|
+
return jspb.Message.setField(this, 6, value);
|
|
45370
|
+
};
|
|
45371
|
+
|
|
45372
|
+
|
|
45373
|
+
/**
|
|
45374
|
+
* Clears the field making it undefined.
|
|
45375
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45376
|
+
*/
|
|
45377
|
+
proto.payment.WithdrawalAvailability.prototype.clearRemainingEntitlementMinor = function() {
|
|
45378
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
45379
|
+
};
|
|
45380
|
+
|
|
45381
|
+
|
|
45382
|
+
/**
|
|
45383
|
+
* Returns whether this field is set.
|
|
45384
|
+
* @return {boolean}
|
|
45385
|
+
*/
|
|
45386
|
+
proto.payment.WithdrawalAvailability.prototype.hasRemainingEntitlementMinor = function() {
|
|
45387
|
+
return jspb.Message.getField(this, 6) != null;
|
|
45388
|
+
};
|
|
45389
|
+
|
|
45390
|
+
|
|
45391
|
+
/**
|
|
45392
|
+
* optional int32 entitlement_currency_scale = 7;
|
|
45393
|
+
* @return {number}
|
|
45394
|
+
*/
|
|
45395
|
+
proto.payment.WithdrawalAvailability.prototype.getEntitlementCurrencyScale = function() {
|
|
45396
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
45397
|
+
};
|
|
45398
|
+
|
|
45399
|
+
|
|
45400
|
+
/**
|
|
45401
|
+
* @param {number} value
|
|
45402
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45403
|
+
*/
|
|
45404
|
+
proto.payment.WithdrawalAvailability.prototype.setEntitlementCurrencyScale = function(value) {
|
|
45405
|
+
return jspb.Message.setField(this, 7, value);
|
|
45406
|
+
};
|
|
45407
|
+
|
|
45408
|
+
|
|
45409
|
+
/**
|
|
45410
|
+
* Clears the field making it undefined.
|
|
45411
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45412
|
+
*/
|
|
45413
|
+
proto.payment.WithdrawalAvailability.prototype.clearEntitlementCurrencyScale = function() {
|
|
45414
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
45415
|
+
};
|
|
45416
|
+
|
|
45417
|
+
|
|
45418
|
+
/**
|
|
45419
|
+
* Returns whether this field is set.
|
|
45420
|
+
* @return {boolean}
|
|
45421
|
+
*/
|
|
45422
|
+
proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrencyScale = function() {
|
|
45423
|
+
return jspb.Message.getField(this, 7) != null;
|
|
45424
|
+
};
|
|
45425
|
+
|
|
45426
|
+
|
|
44858
45427
|
|
|
44859
45428
|
|
|
44860
45429
|
|
|
@@ -47790,7 +48359,8 @@ proto.payment.ResolveGameWalletContextRequest.toObject = function(includeInstanc
|
|
|
47790
48359
|
includeBonusBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
47791
48360
|
prepareFinancialAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
47792
48361
|
preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
47793
|
-
existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
48362
|
+
existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
48363
|
+
includeWithdrawalAvailability: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
47794
48364
|
};
|
|
47795
48365
|
|
|
47796
48366
|
if (includeInstance) {
|
|
@@ -47851,6 +48421,10 @@ proto.payment.ResolveGameWalletContextRequest.deserializeBinaryFromReader = func
|
|
|
47851
48421
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
47852
48422
|
msg.setExistingWalletOnly(value);
|
|
47853
48423
|
break;
|
|
48424
|
+
case 7:
|
|
48425
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
48426
|
+
msg.setIncludeWithdrawalAvailability(value);
|
|
48427
|
+
break;
|
|
47854
48428
|
default:
|
|
47855
48429
|
reader.skipField();
|
|
47856
48430
|
break;
|
|
@@ -47922,6 +48496,13 @@ proto.payment.ResolveGameWalletContextRequest.serializeBinaryToWriter = function
|
|
|
47922
48496
|
f
|
|
47923
48497
|
);
|
|
47924
48498
|
}
|
|
48499
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
48500
|
+
if (f != null) {
|
|
48501
|
+
writer.writeBool(
|
|
48502
|
+
7,
|
|
48503
|
+
f
|
|
48504
|
+
);
|
|
48505
|
+
}
|
|
47925
48506
|
};
|
|
47926
48507
|
|
|
47927
48508
|
|
|
@@ -48123,6 +48704,42 @@ proto.payment.ResolveGameWalletContextRequest.prototype.hasExistingWalletOnly =
|
|
|
48123
48704
|
};
|
|
48124
48705
|
|
|
48125
48706
|
|
|
48707
|
+
/**
|
|
48708
|
+
* optional bool include_withdrawal_availability = 7;
|
|
48709
|
+
* @return {boolean}
|
|
48710
|
+
*/
|
|
48711
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.getIncludeWithdrawalAvailability = function() {
|
|
48712
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
48713
|
+
};
|
|
48714
|
+
|
|
48715
|
+
|
|
48716
|
+
/**
|
|
48717
|
+
* @param {boolean} value
|
|
48718
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
48719
|
+
*/
|
|
48720
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.setIncludeWithdrawalAvailability = function(value) {
|
|
48721
|
+
return jspb.Message.setField(this, 7, value);
|
|
48722
|
+
};
|
|
48723
|
+
|
|
48724
|
+
|
|
48725
|
+
/**
|
|
48726
|
+
* Clears the field making it undefined.
|
|
48727
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
48728
|
+
*/
|
|
48729
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.clearIncludeWithdrawalAvailability = function() {
|
|
48730
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
48731
|
+
};
|
|
48732
|
+
|
|
48733
|
+
|
|
48734
|
+
/**
|
|
48735
|
+
* Returns whether this field is set.
|
|
48736
|
+
* @return {boolean}
|
|
48737
|
+
*/
|
|
48738
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.hasIncludeWithdrawalAvailability = function() {
|
|
48739
|
+
return jspb.Message.getField(this, 7) != null;
|
|
48740
|
+
};
|
|
48741
|
+
|
|
48742
|
+
|
|
48126
48743
|
|
|
48127
48744
|
/**
|
|
48128
48745
|
* List of repeated fields within this message type.
|
|
@@ -48171,7 +48788,9 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
48171
48788
|
financialAdmission: (f = msg.getFinancialAdmission()) && proto.payment.FinancialAdmissionWalletContext.toObject(includeInstance, f),
|
|
48172
48789
|
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
48173
48790
|
walletsList: jspb.Message.toObjectList(msg.getWalletsList(),
|
|
48174
|
-
proto.payment.WalletCashBalanceItem.toObject, includeInstance)
|
|
48791
|
+
proto.payment.WalletCashBalanceItem.toObject, includeInstance),
|
|
48792
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
48793
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
48175
48794
|
};
|
|
48176
48795
|
|
|
48177
48796
|
if (includeInstance) {
|
|
@@ -48246,6 +48865,15 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
48246
48865
|
reader.readMessage(value,proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader);
|
|
48247
48866
|
msg.addWallets(value);
|
|
48248
48867
|
break;
|
|
48868
|
+
case 10:
|
|
48869
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48870
|
+
msg.setAvailableRealMajor(value);
|
|
48871
|
+
break;
|
|
48872
|
+
case 11:
|
|
48873
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
48874
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
48875
|
+
msg.setWithdrawalAvailability(value);
|
|
48876
|
+
break;
|
|
48249
48877
|
default:
|
|
48250
48878
|
reader.skipField();
|
|
48251
48879
|
break;
|
|
@@ -48340,6 +48968,21 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
48340
48968
|
proto.payment.WalletCashBalanceItem.serializeBinaryToWriter
|
|
48341
48969
|
);
|
|
48342
48970
|
}
|
|
48971
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
48972
|
+
if (f != null) {
|
|
48973
|
+
writer.writeString(
|
|
48974
|
+
10,
|
|
48975
|
+
f
|
|
48976
|
+
);
|
|
48977
|
+
}
|
|
48978
|
+
f = message.getWithdrawalAvailability();
|
|
48979
|
+
if (f != null) {
|
|
48980
|
+
writer.writeMessage(
|
|
48981
|
+
11,
|
|
48982
|
+
f,
|
|
48983
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
48984
|
+
);
|
|
48985
|
+
}
|
|
48343
48986
|
};
|
|
48344
48987
|
|
|
48345
48988
|
|
|
@@ -48580,6 +49223,79 @@ proto.payment.ResolveGameWalletContextResponse.prototype.clearWalletsList = func
|
|
|
48580
49223
|
};
|
|
48581
49224
|
|
|
48582
49225
|
|
|
49226
|
+
/**
|
|
49227
|
+
* optional string available_real_major = 10;
|
|
49228
|
+
* @return {string}
|
|
49229
|
+
*/
|
|
49230
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getAvailableRealMajor = function() {
|
|
49231
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
49232
|
+
};
|
|
49233
|
+
|
|
49234
|
+
|
|
49235
|
+
/**
|
|
49236
|
+
* @param {string} value
|
|
49237
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49238
|
+
*/
|
|
49239
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setAvailableRealMajor = function(value) {
|
|
49240
|
+
return jspb.Message.setField(this, 10, value);
|
|
49241
|
+
};
|
|
49242
|
+
|
|
49243
|
+
|
|
49244
|
+
/**
|
|
49245
|
+
* Clears the field making it undefined.
|
|
49246
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49247
|
+
*/
|
|
49248
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearAvailableRealMajor = function() {
|
|
49249
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
49250
|
+
};
|
|
49251
|
+
|
|
49252
|
+
|
|
49253
|
+
/**
|
|
49254
|
+
* Returns whether this field is set.
|
|
49255
|
+
* @return {boolean}
|
|
49256
|
+
*/
|
|
49257
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasAvailableRealMajor = function() {
|
|
49258
|
+
return jspb.Message.getField(this, 10) != null;
|
|
49259
|
+
};
|
|
49260
|
+
|
|
49261
|
+
|
|
49262
|
+
/**
|
|
49263
|
+
* optional WithdrawalAvailability withdrawal_availability = 11;
|
|
49264
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
49265
|
+
*/
|
|
49266
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getWithdrawalAvailability = function() {
|
|
49267
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
49268
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 11));
|
|
49269
|
+
};
|
|
49270
|
+
|
|
49271
|
+
|
|
49272
|
+
/**
|
|
49273
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
49274
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49275
|
+
*/
|
|
49276
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setWithdrawalAvailability = function(value) {
|
|
49277
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
49278
|
+
};
|
|
49279
|
+
|
|
49280
|
+
|
|
49281
|
+
/**
|
|
49282
|
+
* Clears the message field making it undefined.
|
|
49283
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49284
|
+
*/
|
|
49285
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearWithdrawalAvailability = function() {
|
|
49286
|
+
return this.setWithdrawalAvailability(undefined);
|
|
49287
|
+
};
|
|
49288
|
+
|
|
49289
|
+
|
|
49290
|
+
/**
|
|
49291
|
+
* Returns whether this field is set.
|
|
49292
|
+
* @return {boolean}
|
|
49293
|
+
*/
|
|
49294
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasWithdrawalAvailability = function() {
|
|
49295
|
+
return jspb.Message.getField(this, 11) != null;
|
|
49296
|
+
};
|
|
49297
|
+
|
|
49298
|
+
|
|
48583
49299
|
|
|
48584
49300
|
|
|
48585
49301
|
|
|
@@ -48615,7 +49331,9 @@ proto.payment.WalletCashBalanceItem.toObject = function(includeInstance, msg) {
|
|
|
48615
49331
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
48616
49332
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
48617
49333
|
balanceMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
48618
|
-
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
49334
|
+
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
49335
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
49336
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
48619
49337
|
};
|
|
48620
49338
|
|
|
48621
49339
|
if (includeInstance) {
|
|
@@ -48668,6 +49386,15 @@ proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader = function(msg,
|
|
|
48668
49386
|
var value = /** @type {string} */ (reader.readString());
|
|
48669
49387
|
msg.setAvailableRealMinor(value);
|
|
48670
49388
|
break;
|
|
49389
|
+
case 5:
|
|
49390
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49391
|
+
msg.setAvailableRealMajor(value);
|
|
49392
|
+
break;
|
|
49393
|
+
case 6:
|
|
49394
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
49395
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
49396
|
+
msg.setWithdrawalAvailability(value);
|
|
49397
|
+
break;
|
|
48671
49398
|
default:
|
|
48672
49399
|
reader.skipField();
|
|
48673
49400
|
break;
|
|
@@ -48725,6 +49452,21 @@ proto.payment.WalletCashBalanceItem.serializeBinaryToWriter = function(message,
|
|
|
48725
49452
|
f
|
|
48726
49453
|
);
|
|
48727
49454
|
}
|
|
49455
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
49456
|
+
if (f != null) {
|
|
49457
|
+
writer.writeString(
|
|
49458
|
+
5,
|
|
49459
|
+
f
|
|
49460
|
+
);
|
|
49461
|
+
}
|
|
49462
|
+
f = message.getWithdrawalAvailability();
|
|
49463
|
+
if (f != null) {
|
|
49464
|
+
writer.writeMessage(
|
|
49465
|
+
6,
|
|
49466
|
+
f,
|
|
49467
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
49468
|
+
);
|
|
49469
|
+
}
|
|
48728
49470
|
};
|
|
48729
49471
|
|
|
48730
49472
|
|
|
@@ -48800,6 +49542,79 @@ proto.payment.WalletCashBalanceItem.prototype.setAvailableRealMinor = function(v
|
|
|
48800
49542
|
};
|
|
48801
49543
|
|
|
48802
49544
|
|
|
49545
|
+
/**
|
|
49546
|
+
* optional string available_real_major = 5;
|
|
49547
|
+
* @return {string}
|
|
49548
|
+
*/
|
|
49549
|
+
proto.payment.WalletCashBalanceItem.prototype.getAvailableRealMajor = function() {
|
|
49550
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
49551
|
+
};
|
|
49552
|
+
|
|
49553
|
+
|
|
49554
|
+
/**
|
|
49555
|
+
* @param {string} value
|
|
49556
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49557
|
+
*/
|
|
49558
|
+
proto.payment.WalletCashBalanceItem.prototype.setAvailableRealMajor = function(value) {
|
|
49559
|
+
return jspb.Message.setField(this, 5, value);
|
|
49560
|
+
};
|
|
49561
|
+
|
|
49562
|
+
|
|
49563
|
+
/**
|
|
49564
|
+
* Clears the field making it undefined.
|
|
49565
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49566
|
+
*/
|
|
49567
|
+
proto.payment.WalletCashBalanceItem.prototype.clearAvailableRealMajor = function() {
|
|
49568
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
49569
|
+
};
|
|
49570
|
+
|
|
49571
|
+
|
|
49572
|
+
/**
|
|
49573
|
+
* Returns whether this field is set.
|
|
49574
|
+
* @return {boolean}
|
|
49575
|
+
*/
|
|
49576
|
+
proto.payment.WalletCashBalanceItem.prototype.hasAvailableRealMajor = function() {
|
|
49577
|
+
return jspb.Message.getField(this, 5) != null;
|
|
49578
|
+
};
|
|
49579
|
+
|
|
49580
|
+
|
|
49581
|
+
/**
|
|
49582
|
+
* optional WithdrawalAvailability withdrawal_availability = 6;
|
|
49583
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
49584
|
+
*/
|
|
49585
|
+
proto.payment.WalletCashBalanceItem.prototype.getWithdrawalAvailability = function() {
|
|
49586
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
49587
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 6));
|
|
49588
|
+
};
|
|
49589
|
+
|
|
49590
|
+
|
|
49591
|
+
/**
|
|
49592
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
49593
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49594
|
+
*/
|
|
49595
|
+
proto.payment.WalletCashBalanceItem.prototype.setWithdrawalAvailability = function(value) {
|
|
49596
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
49597
|
+
};
|
|
49598
|
+
|
|
49599
|
+
|
|
49600
|
+
/**
|
|
49601
|
+
* Clears the message field making it undefined.
|
|
49602
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49603
|
+
*/
|
|
49604
|
+
proto.payment.WalletCashBalanceItem.prototype.clearWithdrawalAvailability = function() {
|
|
49605
|
+
return this.setWithdrawalAvailability(undefined);
|
|
49606
|
+
};
|
|
49607
|
+
|
|
49608
|
+
|
|
49609
|
+
/**
|
|
49610
|
+
* Returns whether this field is set.
|
|
49611
|
+
* @return {boolean}
|
|
49612
|
+
*/
|
|
49613
|
+
proto.payment.WalletCashBalanceItem.prototype.hasWithdrawalAvailability = function() {
|
|
49614
|
+
return jspb.Message.getField(this, 6) != null;
|
|
49615
|
+
};
|
|
49616
|
+
|
|
49617
|
+
|
|
48803
49618
|
|
|
48804
49619
|
|
|
48805
49620
|
|
package/user/user.proto
CHANGED
|
@@ -669,6 +669,8 @@ message CheckWithdrawalEligibilityResponse {
|
|
|
669
669
|
optional int64 available_real_minor = 3;
|
|
670
670
|
optional string currency = 4;
|
|
671
671
|
optional int32 currency_scale = 5;
|
|
672
|
+
optional string available_real_major = 6;
|
|
673
|
+
optional string available_real_minor_exact = 7;
|
|
672
674
|
}
|
|
673
675
|
message SetPreferredWalletCurrencyRequest {
|
|
674
676
|
int32 user_id = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -26101,7 +26101,9 @@ proto.user.CheckWithdrawalEligibilityResponse.toObject = function(includeInstanc
|
|
|
26101
26101
|
reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
26102
26102
|
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
26103
26103
|
currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
26104
|
-
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
26104
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
26105
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
26106
|
+
availableRealMinorExact: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
26105
26107
|
};
|
|
26106
26108
|
|
|
26107
26109
|
if (includeInstance) {
|
|
@@ -26158,6 +26160,14 @@ proto.user.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = func
|
|
|
26158
26160
|
var value = /** @type {number} */ (reader.readInt32());
|
|
26159
26161
|
msg.setCurrencyScale(value);
|
|
26160
26162
|
break;
|
|
26163
|
+
case 6:
|
|
26164
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26165
|
+
msg.setAvailableRealMajor(value);
|
|
26166
|
+
break;
|
|
26167
|
+
case 7:
|
|
26168
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26169
|
+
msg.setAvailableRealMinorExact(value);
|
|
26170
|
+
break;
|
|
26161
26171
|
default:
|
|
26162
26172
|
reader.skipField();
|
|
26163
26173
|
break;
|
|
@@ -26222,6 +26232,20 @@ proto.user.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = function
|
|
|
26222
26232
|
f
|
|
26223
26233
|
);
|
|
26224
26234
|
}
|
|
26235
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
26236
|
+
if (f != null) {
|
|
26237
|
+
writer.writeString(
|
|
26238
|
+
6,
|
|
26239
|
+
f
|
|
26240
|
+
);
|
|
26241
|
+
}
|
|
26242
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
26243
|
+
if (f != null) {
|
|
26244
|
+
writer.writeString(
|
|
26245
|
+
7,
|
|
26246
|
+
f
|
|
26247
|
+
);
|
|
26248
|
+
}
|
|
26225
26249
|
};
|
|
26226
26250
|
|
|
26227
26251
|
|
|
@@ -26387,6 +26411,78 @@ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = funct
|
|
|
26387
26411
|
};
|
|
26388
26412
|
|
|
26389
26413
|
|
|
26414
|
+
/**
|
|
26415
|
+
* optional string available_real_major = 6;
|
|
26416
|
+
* @return {string}
|
|
26417
|
+
*/
|
|
26418
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMajor = function() {
|
|
26419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
26420
|
+
};
|
|
26421
|
+
|
|
26422
|
+
|
|
26423
|
+
/**
|
|
26424
|
+
* @param {string} value
|
|
26425
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26426
|
+
*/
|
|
26427
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMajor = function(value) {
|
|
26428
|
+
return jspb.Message.setField(this, 6, value);
|
|
26429
|
+
};
|
|
26430
|
+
|
|
26431
|
+
|
|
26432
|
+
/**
|
|
26433
|
+
* Clears the field making it undefined.
|
|
26434
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26435
|
+
*/
|
|
26436
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMajor = function() {
|
|
26437
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
26438
|
+
};
|
|
26439
|
+
|
|
26440
|
+
|
|
26441
|
+
/**
|
|
26442
|
+
* Returns whether this field is set.
|
|
26443
|
+
* @return {boolean}
|
|
26444
|
+
*/
|
|
26445
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor = function() {
|
|
26446
|
+
return jspb.Message.getField(this, 6) != null;
|
|
26447
|
+
};
|
|
26448
|
+
|
|
26449
|
+
|
|
26450
|
+
/**
|
|
26451
|
+
* optional string available_real_minor_exact = 7;
|
|
26452
|
+
* @return {string}
|
|
26453
|
+
*/
|
|
26454
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMinorExact = function() {
|
|
26455
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
26456
|
+
};
|
|
26457
|
+
|
|
26458
|
+
|
|
26459
|
+
/**
|
|
26460
|
+
* @param {string} value
|
|
26461
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26462
|
+
*/
|
|
26463
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMinorExact = function(value) {
|
|
26464
|
+
return jspb.Message.setField(this, 7, value);
|
|
26465
|
+
};
|
|
26466
|
+
|
|
26467
|
+
|
|
26468
|
+
/**
|
|
26469
|
+
* Clears the field making it undefined.
|
|
26470
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26471
|
+
*/
|
|
26472
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMinorExact = function() {
|
|
26473
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
26474
|
+
};
|
|
26475
|
+
|
|
26476
|
+
|
|
26477
|
+
/**
|
|
26478
|
+
* Returns whether this field is set.
|
|
26479
|
+
* @return {boolean}
|
|
26480
|
+
*/
|
|
26481
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMinorExact = function() {
|
|
26482
|
+
return jspb.Message.getField(this, 7) != null;
|
|
26483
|
+
};
|
|
26484
|
+
|
|
26485
|
+
|
|
26390
26486
|
|
|
26391
26487
|
|
|
26392
26488
|
|