protobuf-platform 1.2.732 → 1.2.733
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 +17 -0
- package/payment/payment_pb.js +723 -4
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -1051,6 +1051,7 @@ 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;
|
|
1054
1055
|
}
|
|
1055
1056
|
message GetWithdrawalWagerSnapshotRequest {
|
|
1056
1057
|
int32 user_id = 1;
|
|
@@ -1077,6 +1078,18 @@ message GetWithdrawalWagerSnapshotResponse {
|
|
|
1077
1078
|
int64 locked_amount_minor = 7;
|
|
1078
1079
|
int32 active_locked_buckets_count = 8;
|
|
1079
1080
|
repeated WithdrawalWagerLockedBucketItem active_locked_buckets = 9;
|
|
1081
|
+
optional WithdrawalAvailability withdrawal_availability = 10;
|
|
1082
|
+
}
|
|
1083
|
+
// Ceiling for one debit wallet, before method-specific limits. Missing on older producers.
|
|
1084
|
+
message WithdrawalAvailability {
|
|
1085
|
+
string debit_currency = 1;
|
|
1086
|
+
string availability_status = 2; // known or unknown
|
|
1087
|
+
optional string withdrawable_real_minor = 3;
|
|
1088
|
+
optional string withdrawable_real_major = 4;
|
|
1089
|
+
optional string entitlement_currency = 5;
|
|
1090
|
+
// Present only when a global wagering ceiling applies and is known.
|
|
1091
|
+
optional string remaining_entitlement_minor = 6;
|
|
1092
|
+
optional int32 entitlement_currency_scale = 7;
|
|
1080
1093
|
}
|
|
1081
1094
|
message GetWithdrawalWagerBucketHistoryRequest {
|
|
1082
1095
|
int32 user_id = 1;
|
|
@@ -1187,12 +1200,16 @@ message ResolveGameWalletContextResponse {
|
|
|
1187
1200
|
// Cash ledger less active monetary reservations; absent on older servers.
|
|
1188
1201
|
optional string available_real_minor = 8;
|
|
1189
1202
|
repeated WalletCashBalanceItem wallets = 9;
|
|
1203
|
+
optional string available_real_major = 10;
|
|
1204
|
+
optional WithdrawalAvailability withdrawal_availability = 11;
|
|
1190
1205
|
}
|
|
1191
1206
|
message WalletCashBalanceItem {
|
|
1192
1207
|
string currency = 1;
|
|
1193
1208
|
int32 currency_scale = 2;
|
|
1194
1209
|
string balance_minor = 3;
|
|
1195
1210
|
string available_real_minor = 4;
|
|
1211
|
+
optional string available_real_major = 5;
|
|
1212
|
+
optional WithdrawalAvailability withdrawal_availability = 6;
|
|
1196
1213
|
}
|
|
1197
1214
|
message FinancialAdmissionWalletContext {
|
|
1198
1215
|
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,8 @@ 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, "")
|
|
43625
43648
|
};
|
|
43626
43649
|
|
|
43627
43650
|
if (includeInstance) {
|
|
@@ -43678,6 +43701,10 @@ proto.payment.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = f
|
|
|
43678
43701
|
var value = /** @type {number} */ (reader.readInt32());
|
|
43679
43702
|
msg.setCurrencyScale(value);
|
|
43680
43703
|
break;
|
|
43704
|
+
case 6:
|
|
43705
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43706
|
+
msg.setAvailableRealMajor(value);
|
|
43707
|
+
break;
|
|
43681
43708
|
default:
|
|
43682
43709
|
reader.skipField();
|
|
43683
43710
|
break;
|
|
@@ -43742,6 +43769,13 @@ proto.payment.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = funct
|
|
|
43742
43769
|
f
|
|
43743
43770
|
);
|
|
43744
43771
|
}
|
|
43772
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
43773
|
+
if (f != null) {
|
|
43774
|
+
writer.writeString(
|
|
43775
|
+
6,
|
|
43776
|
+
f
|
|
43777
|
+
);
|
|
43778
|
+
}
|
|
43745
43779
|
};
|
|
43746
43780
|
|
|
43747
43781
|
|
|
@@ -43907,6 +43941,42 @@ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = fu
|
|
|
43907
43941
|
};
|
|
43908
43942
|
|
|
43909
43943
|
|
|
43944
|
+
/**
|
|
43945
|
+
* optional string available_real_major = 6;
|
|
43946
|
+
* @return {string}
|
|
43947
|
+
*/
|
|
43948
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMajor = function() {
|
|
43949
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
43950
|
+
};
|
|
43951
|
+
|
|
43952
|
+
|
|
43953
|
+
/**
|
|
43954
|
+
* @param {string} value
|
|
43955
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
43956
|
+
*/
|
|
43957
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMajor = function(value) {
|
|
43958
|
+
return jspb.Message.setField(this, 6, value);
|
|
43959
|
+
};
|
|
43960
|
+
|
|
43961
|
+
|
|
43962
|
+
/**
|
|
43963
|
+
* Clears the field making it undefined.
|
|
43964
|
+
* @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
|
|
43965
|
+
*/
|
|
43966
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMajor = function() {
|
|
43967
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
43968
|
+
};
|
|
43969
|
+
|
|
43970
|
+
|
|
43971
|
+
/**
|
|
43972
|
+
* Returns whether this field is set.
|
|
43973
|
+
* @return {boolean}
|
|
43974
|
+
*/
|
|
43975
|
+
proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor = function() {
|
|
43976
|
+
return jspb.Message.getField(this, 6) != null;
|
|
43977
|
+
};
|
|
43978
|
+
|
|
43979
|
+
|
|
43910
43980
|
|
|
43911
43981
|
|
|
43912
43982
|
|
|
@@ -44503,7 +44573,8 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.toObject = function(includeInst
|
|
|
44503
44573
|
lockedAmountMinor: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
44504
44574
|
activeLockedBucketsCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
44505
44575
|
activeLockedBucketsList: jspb.Message.toObjectList(msg.getActiveLockedBucketsList(),
|
|
44506
|
-
proto.payment.WithdrawalWagerLockedBucketItem.toObject, includeInstance)
|
|
44576
|
+
proto.payment.WithdrawalWagerLockedBucketItem.toObject, includeInstance),
|
|
44577
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
44507
44578
|
};
|
|
44508
44579
|
|
|
44509
44580
|
if (includeInstance) {
|
|
@@ -44577,6 +44648,11 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.deserializeBinaryFromReader = f
|
|
|
44577
44648
|
reader.readMessage(value,proto.payment.WithdrawalWagerLockedBucketItem.deserializeBinaryFromReader);
|
|
44578
44649
|
msg.addActiveLockedBuckets(value);
|
|
44579
44650
|
break;
|
|
44651
|
+
case 10:
|
|
44652
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
44653
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
44654
|
+
msg.setWithdrawalAvailability(value);
|
|
44655
|
+
break;
|
|
44580
44656
|
default:
|
|
44581
44657
|
reader.skipField();
|
|
44582
44658
|
break;
|
|
@@ -44670,6 +44746,14 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.serializeBinaryToWriter = funct
|
|
|
44670
44746
|
proto.payment.WithdrawalWagerLockedBucketItem.serializeBinaryToWriter
|
|
44671
44747
|
);
|
|
44672
44748
|
}
|
|
44749
|
+
f = message.getWithdrawalAvailability();
|
|
44750
|
+
if (f != null) {
|
|
44751
|
+
writer.writeMessage(
|
|
44752
|
+
10,
|
|
44753
|
+
f,
|
|
44754
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
44755
|
+
);
|
|
44756
|
+
}
|
|
44673
44757
|
};
|
|
44674
44758
|
|
|
44675
44759
|
|
|
@@ -44855,6 +44939,443 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearActiveLockedBuck
|
|
|
44855
44939
|
};
|
|
44856
44940
|
|
|
44857
44941
|
|
|
44942
|
+
/**
|
|
44943
|
+
* optional WithdrawalAvailability withdrawal_availability = 10;
|
|
44944
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
44945
|
+
*/
|
|
44946
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.getWithdrawalAvailability = function() {
|
|
44947
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
44948
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 10));
|
|
44949
|
+
};
|
|
44950
|
+
|
|
44951
|
+
|
|
44952
|
+
/**
|
|
44953
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
44954
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
44955
|
+
*/
|
|
44956
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.setWithdrawalAvailability = function(value) {
|
|
44957
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
44958
|
+
};
|
|
44959
|
+
|
|
44960
|
+
|
|
44961
|
+
/**
|
|
44962
|
+
* Clears the message field making it undefined.
|
|
44963
|
+
* @return {!proto.payment.GetWithdrawalWagerSnapshotResponse} returns this
|
|
44964
|
+
*/
|
|
44965
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearWithdrawalAvailability = function() {
|
|
44966
|
+
return this.setWithdrawalAvailability(undefined);
|
|
44967
|
+
};
|
|
44968
|
+
|
|
44969
|
+
|
|
44970
|
+
/**
|
|
44971
|
+
* Returns whether this field is set.
|
|
44972
|
+
* @return {boolean}
|
|
44973
|
+
*/
|
|
44974
|
+
proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.hasWithdrawalAvailability = function() {
|
|
44975
|
+
return jspb.Message.getField(this, 10) != null;
|
|
44976
|
+
};
|
|
44977
|
+
|
|
44978
|
+
|
|
44979
|
+
|
|
44980
|
+
|
|
44981
|
+
|
|
44982
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44983
|
+
/**
|
|
44984
|
+
* Creates an object representation of this proto.
|
|
44985
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44986
|
+
* Optional fields that are not set will be set to undefined.
|
|
44987
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44988
|
+
* For the list of reserved names please see:
|
|
44989
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44990
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44991
|
+
* JSPB instance for transitional soy proto support:
|
|
44992
|
+
* http://goto/soy-param-migration
|
|
44993
|
+
* @return {!Object}
|
|
44994
|
+
*/
|
|
44995
|
+
proto.payment.WithdrawalAvailability.prototype.toObject = function(opt_includeInstance) {
|
|
44996
|
+
return proto.payment.WithdrawalAvailability.toObject(opt_includeInstance, this);
|
|
44997
|
+
};
|
|
44998
|
+
|
|
44999
|
+
|
|
45000
|
+
/**
|
|
45001
|
+
* Static version of the {@see toObject} method.
|
|
45002
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45003
|
+
* the JSPB instance for transitional soy proto support:
|
|
45004
|
+
* http://goto/soy-param-migration
|
|
45005
|
+
* @param {!proto.payment.WithdrawalAvailability} msg The msg instance to transform.
|
|
45006
|
+
* @return {!Object}
|
|
45007
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45008
|
+
*/
|
|
45009
|
+
proto.payment.WithdrawalAvailability.toObject = function(includeInstance, msg) {
|
|
45010
|
+
var f, obj = {
|
|
45011
|
+
debitCurrency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
45012
|
+
availabilityStatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45013
|
+
withdrawableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
45014
|
+
withdrawableRealMajor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45015
|
+
entitlementCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
45016
|
+
remainingEntitlementMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
45017
|
+
entitlementCurrencyScale: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
45018
|
+
};
|
|
45019
|
+
|
|
45020
|
+
if (includeInstance) {
|
|
45021
|
+
obj.$jspbMessageInstance = msg;
|
|
45022
|
+
}
|
|
45023
|
+
return obj;
|
|
45024
|
+
};
|
|
45025
|
+
}
|
|
45026
|
+
|
|
45027
|
+
|
|
45028
|
+
/**
|
|
45029
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45030
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45031
|
+
* @return {!proto.payment.WithdrawalAvailability}
|
|
45032
|
+
*/
|
|
45033
|
+
proto.payment.WithdrawalAvailability.deserializeBinary = function(bytes) {
|
|
45034
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45035
|
+
var msg = new proto.payment.WithdrawalAvailability;
|
|
45036
|
+
return proto.payment.WithdrawalAvailability.deserializeBinaryFromReader(msg, reader);
|
|
45037
|
+
};
|
|
45038
|
+
|
|
45039
|
+
|
|
45040
|
+
/**
|
|
45041
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45042
|
+
* given reader into the given message object.
|
|
45043
|
+
* @param {!proto.payment.WithdrawalAvailability} msg The message object to deserialize into.
|
|
45044
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45045
|
+
* @return {!proto.payment.WithdrawalAvailability}
|
|
45046
|
+
*/
|
|
45047
|
+
proto.payment.WithdrawalAvailability.deserializeBinaryFromReader = function(msg, reader) {
|
|
45048
|
+
while (reader.nextField()) {
|
|
45049
|
+
if (reader.isEndGroup()) {
|
|
45050
|
+
break;
|
|
45051
|
+
}
|
|
45052
|
+
var field = reader.getFieldNumber();
|
|
45053
|
+
switch (field) {
|
|
45054
|
+
case 1:
|
|
45055
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45056
|
+
msg.setDebitCurrency(value);
|
|
45057
|
+
break;
|
|
45058
|
+
case 2:
|
|
45059
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45060
|
+
msg.setAvailabilityStatus(value);
|
|
45061
|
+
break;
|
|
45062
|
+
case 3:
|
|
45063
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45064
|
+
msg.setWithdrawableRealMinor(value);
|
|
45065
|
+
break;
|
|
45066
|
+
case 4:
|
|
45067
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45068
|
+
msg.setWithdrawableRealMajor(value);
|
|
45069
|
+
break;
|
|
45070
|
+
case 5:
|
|
45071
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45072
|
+
msg.setEntitlementCurrency(value);
|
|
45073
|
+
break;
|
|
45074
|
+
case 6:
|
|
45075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45076
|
+
msg.setRemainingEntitlementMinor(value);
|
|
45077
|
+
break;
|
|
45078
|
+
case 7:
|
|
45079
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45080
|
+
msg.setEntitlementCurrencyScale(value);
|
|
45081
|
+
break;
|
|
45082
|
+
default:
|
|
45083
|
+
reader.skipField();
|
|
45084
|
+
break;
|
|
45085
|
+
}
|
|
45086
|
+
}
|
|
45087
|
+
return msg;
|
|
45088
|
+
};
|
|
45089
|
+
|
|
45090
|
+
|
|
45091
|
+
/**
|
|
45092
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45093
|
+
* @return {!Uint8Array}
|
|
45094
|
+
*/
|
|
45095
|
+
proto.payment.WithdrawalAvailability.prototype.serializeBinary = function() {
|
|
45096
|
+
var writer = new jspb.BinaryWriter();
|
|
45097
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter(this, writer);
|
|
45098
|
+
return writer.getResultBuffer();
|
|
45099
|
+
};
|
|
45100
|
+
|
|
45101
|
+
|
|
45102
|
+
/**
|
|
45103
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45104
|
+
* format), writing to the given BinaryWriter.
|
|
45105
|
+
* @param {!proto.payment.WithdrawalAvailability} message
|
|
45106
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45107
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45108
|
+
*/
|
|
45109
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter = function(message, writer) {
|
|
45110
|
+
var f = undefined;
|
|
45111
|
+
f = message.getDebitCurrency();
|
|
45112
|
+
if (f.length > 0) {
|
|
45113
|
+
writer.writeString(
|
|
45114
|
+
1,
|
|
45115
|
+
f
|
|
45116
|
+
);
|
|
45117
|
+
}
|
|
45118
|
+
f = message.getAvailabilityStatus();
|
|
45119
|
+
if (f.length > 0) {
|
|
45120
|
+
writer.writeString(
|
|
45121
|
+
2,
|
|
45122
|
+
f
|
|
45123
|
+
);
|
|
45124
|
+
}
|
|
45125
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
45126
|
+
if (f != null) {
|
|
45127
|
+
writer.writeString(
|
|
45128
|
+
3,
|
|
45129
|
+
f
|
|
45130
|
+
);
|
|
45131
|
+
}
|
|
45132
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
45133
|
+
if (f != null) {
|
|
45134
|
+
writer.writeString(
|
|
45135
|
+
4,
|
|
45136
|
+
f
|
|
45137
|
+
);
|
|
45138
|
+
}
|
|
45139
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
45140
|
+
if (f != null) {
|
|
45141
|
+
writer.writeString(
|
|
45142
|
+
5,
|
|
45143
|
+
f
|
|
45144
|
+
);
|
|
45145
|
+
}
|
|
45146
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
45147
|
+
if (f != null) {
|
|
45148
|
+
writer.writeString(
|
|
45149
|
+
6,
|
|
45150
|
+
f
|
|
45151
|
+
);
|
|
45152
|
+
}
|
|
45153
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
45154
|
+
if (f != null) {
|
|
45155
|
+
writer.writeInt32(
|
|
45156
|
+
7,
|
|
45157
|
+
f
|
|
45158
|
+
);
|
|
45159
|
+
}
|
|
45160
|
+
};
|
|
45161
|
+
|
|
45162
|
+
|
|
45163
|
+
/**
|
|
45164
|
+
* optional string debit_currency = 1;
|
|
45165
|
+
* @return {string}
|
|
45166
|
+
*/
|
|
45167
|
+
proto.payment.WithdrawalAvailability.prototype.getDebitCurrency = function() {
|
|
45168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
45169
|
+
};
|
|
45170
|
+
|
|
45171
|
+
|
|
45172
|
+
/**
|
|
45173
|
+
* @param {string} value
|
|
45174
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45175
|
+
*/
|
|
45176
|
+
proto.payment.WithdrawalAvailability.prototype.setDebitCurrency = function(value) {
|
|
45177
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
45178
|
+
};
|
|
45179
|
+
|
|
45180
|
+
|
|
45181
|
+
/**
|
|
45182
|
+
* optional string availability_status = 2;
|
|
45183
|
+
* @return {string}
|
|
45184
|
+
*/
|
|
45185
|
+
proto.payment.WithdrawalAvailability.prototype.getAvailabilityStatus = function() {
|
|
45186
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45187
|
+
};
|
|
45188
|
+
|
|
45189
|
+
|
|
45190
|
+
/**
|
|
45191
|
+
* @param {string} value
|
|
45192
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45193
|
+
*/
|
|
45194
|
+
proto.payment.WithdrawalAvailability.prototype.setAvailabilityStatus = function(value) {
|
|
45195
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
45196
|
+
};
|
|
45197
|
+
|
|
45198
|
+
|
|
45199
|
+
/**
|
|
45200
|
+
* optional string withdrawable_real_minor = 3;
|
|
45201
|
+
* @return {string}
|
|
45202
|
+
*/
|
|
45203
|
+
proto.payment.WithdrawalAvailability.prototype.getWithdrawableRealMinor = function() {
|
|
45204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
45205
|
+
};
|
|
45206
|
+
|
|
45207
|
+
|
|
45208
|
+
/**
|
|
45209
|
+
* @param {string} value
|
|
45210
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45211
|
+
*/
|
|
45212
|
+
proto.payment.WithdrawalAvailability.prototype.setWithdrawableRealMinor = function(value) {
|
|
45213
|
+
return jspb.Message.setField(this, 3, value);
|
|
45214
|
+
};
|
|
45215
|
+
|
|
45216
|
+
|
|
45217
|
+
/**
|
|
45218
|
+
* Clears the field making it undefined.
|
|
45219
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45220
|
+
*/
|
|
45221
|
+
proto.payment.WithdrawalAvailability.prototype.clearWithdrawableRealMinor = function() {
|
|
45222
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
45223
|
+
};
|
|
45224
|
+
|
|
45225
|
+
|
|
45226
|
+
/**
|
|
45227
|
+
* Returns whether this field is set.
|
|
45228
|
+
* @return {boolean}
|
|
45229
|
+
*/
|
|
45230
|
+
proto.payment.WithdrawalAvailability.prototype.hasWithdrawableRealMinor = function() {
|
|
45231
|
+
return jspb.Message.getField(this, 3) != null;
|
|
45232
|
+
};
|
|
45233
|
+
|
|
45234
|
+
|
|
45235
|
+
/**
|
|
45236
|
+
* optional string withdrawable_real_major = 4;
|
|
45237
|
+
* @return {string}
|
|
45238
|
+
*/
|
|
45239
|
+
proto.payment.WithdrawalAvailability.prototype.getWithdrawableRealMajor = function() {
|
|
45240
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45241
|
+
};
|
|
45242
|
+
|
|
45243
|
+
|
|
45244
|
+
/**
|
|
45245
|
+
* @param {string} value
|
|
45246
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45247
|
+
*/
|
|
45248
|
+
proto.payment.WithdrawalAvailability.prototype.setWithdrawableRealMajor = function(value) {
|
|
45249
|
+
return jspb.Message.setField(this, 4, value);
|
|
45250
|
+
};
|
|
45251
|
+
|
|
45252
|
+
|
|
45253
|
+
/**
|
|
45254
|
+
* Clears the field making it undefined.
|
|
45255
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45256
|
+
*/
|
|
45257
|
+
proto.payment.WithdrawalAvailability.prototype.clearWithdrawableRealMajor = function() {
|
|
45258
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
45259
|
+
};
|
|
45260
|
+
|
|
45261
|
+
|
|
45262
|
+
/**
|
|
45263
|
+
* Returns whether this field is set.
|
|
45264
|
+
* @return {boolean}
|
|
45265
|
+
*/
|
|
45266
|
+
proto.payment.WithdrawalAvailability.prototype.hasWithdrawableRealMajor = function() {
|
|
45267
|
+
return jspb.Message.getField(this, 4) != null;
|
|
45268
|
+
};
|
|
45269
|
+
|
|
45270
|
+
|
|
45271
|
+
/**
|
|
45272
|
+
* optional string entitlement_currency = 5;
|
|
45273
|
+
* @return {string}
|
|
45274
|
+
*/
|
|
45275
|
+
proto.payment.WithdrawalAvailability.prototype.getEntitlementCurrency = function() {
|
|
45276
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
45277
|
+
};
|
|
45278
|
+
|
|
45279
|
+
|
|
45280
|
+
/**
|
|
45281
|
+
* @param {string} value
|
|
45282
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45283
|
+
*/
|
|
45284
|
+
proto.payment.WithdrawalAvailability.prototype.setEntitlementCurrency = function(value) {
|
|
45285
|
+
return jspb.Message.setField(this, 5, value);
|
|
45286
|
+
};
|
|
45287
|
+
|
|
45288
|
+
|
|
45289
|
+
/**
|
|
45290
|
+
* Clears the field making it undefined.
|
|
45291
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45292
|
+
*/
|
|
45293
|
+
proto.payment.WithdrawalAvailability.prototype.clearEntitlementCurrency = function() {
|
|
45294
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
45295
|
+
};
|
|
45296
|
+
|
|
45297
|
+
|
|
45298
|
+
/**
|
|
45299
|
+
* Returns whether this field is set.
|
|
45300
|
+
* @return {boolean}
|
|
45301
|
+
*/
|
|
45302
|
+
proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrency = function() {
|
|
45303
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45304
|
+
};
|
|
45305
|
+
|
|
45306
|
+
|
|
45307
|
+
/**
|
|
45308
|
+
* optional string remaining_entitlement_minor = 6;
|
|
45309
|
+
* @return {string}
|
|
45310
|
+
*/
|
|
45311
|
+
proto.payment.WithdrawalAvailability.prototype.getRemainingEntitlementMinor = function() {
|
|
45312
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
45313
|
+
};
|
|
45314
|
+
|
|
45315
|
+
|
|
45316
|
+
/**
|
|
45317
|
+
* @param {string} value
|
|
45318
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45319
|
+
*/
|
|
45320
|
+
proto.payment.WithdrawalAvailability.prototype.setRemainingEntitlementMinor = function(value) {
|
|
45321
|
+
return jspb.Message.setField(this, 6, value);
|
|
45322
|
+
};
|
|
45323
|
+
|
|
45324
|
+
|
|
45325
|
+
/**
|
|
45326
|
+
* Clears the field making it undefined.
|
|
45327
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45328
|
+
*/
|
|
45329
|
+
proto.payment.WithdrawalAvailability.prototype.clearRemainingEntitlementMinor = function() {
|
|
45330
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
45331
|
+
};
|
|
45332
|
+
|
|
45333
|
+
|
|
45334
|
+
/**
|
|
45335
|
+
* Returns whether this field is set.
|
|
45336
|
+
* @return {boolean}
|
|
45337
|
+
*/
|
|
45338
|
+
proto.payment.WithdrawalAvailability.prototype.hasRemainingEntitlementMinor = function() {
|
|
45339
|
+
return jspb.Message.getField(this, 6) != null;
|
|
45340
|
+
};
|
|
45341
|
+
|
|
45342
|
+
|
|
45343
|
+
/**
|
|
45344
|
+
* optional int32 entitlement_currency_scale = 7;
|
|
45345
|
+
* @return {number}
|
|
45346
|
+
*/
|
|
45347
|
+
proto.payment.WithdrawalAvailability.prototype.getEntitlementCurrencyScale = function() {
|
|
45348
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
45349
|
+
};
|
|
45350
|
+
|
|
45351
|
+
|
|
45352
|
+
/**
|
|
45353
|
+
* @param {number} value
|
|
45354
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45355
|
+
*/
|
|
45356
|
+
proto.payment.WithdrawalAvailability.prototype.setEntitlementCurrencyScale = function(value) {
|
|
45357
|
+
return jspb.Message.setField(this, 7, value);
|
|
45358
|
+
};
|
|
45359
|
+
|
|
45360
|
+
|
|
45361
|
+
/**
|
|
45362
|
+
* Clears the field making it undefined.
|
|
45363
|
+
* @return {!proto.payment.WithdrawalAvailability} returns this
|
|
45364
|
+
*/
|
|
45365
|
+
proto.payment.WithdrawalAvailability.prototype.clearEntitlementCurrencyScale = function() {
|
|
45366
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
45367
|
+
};
|
|
45368
|
+
|
|
45369
|
+
|
|
45370
|
+
/**
|
|
45371
|
+
* Returns whether this field is set.
|
|
45372
|
+
* @return {boolean}
|
|
45373
|
+
*/
|
|
45374
|
+
proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrencyScale = function() {
|
|
45375
|
+
return jspb.Message.getField(this, 7) != null;
|
|
45376
|
+
};
|
|
45377
|
+
|
|
45378
|
+
|
|
44858
45379
|
|
|
44859
45380
|
|
|
44860
45381
|
|
|
@@ -48171,7 +48692,9 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
48171
48692
|
financialAdmission: (f = msg.getFinancialAdmission()) && proto.payment.FinancialAdmissionWalletContext.toObject(includeInstance, f),
|
|
48172
48693
|
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
48173
48694
|
walletsList: jspb.Message.toObjectList(msg.getWalletsList(),
|
|
48174
|
-
proto.payment.WalletCashBalanceItem.toObject, includeInstance)
|
|
48695
|
+
proto.payment.WalletCashBalanceItem.toObject, includeInstance),
|
|
48696
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
48697
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
48175
48698
|
};
|
|
48176
48699
|
|
|
48177
48700
|
if (includeInstance) {
|
|
@@ -48246,6 +48769,15 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
48246
48769
|
reader.readMessage(value,proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader);
|
|
48247
48770
|
msg.addWallets(value);
|
|
48248
48771
|
break;
|
|
48772
|
+
case 10:
|
|
48773
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48774
|
+
msg.setAvailableRealMajor(value);
|
|
48775
|
+
break;
|
|
48776
|
+
case 11:
|
|
48777
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
48778
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
48779
|
+
msg.setWithdrawalAvailability(value);
|
|
48780
|
+
break;
|
|
48249
48781
|
default:
|
|
48250
48782
|
reader.skipField();
|
|
48251
48783
|
break;
|
|
@@ -48340,6 +48872,21 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
48340
48872
|
proto.payment.WalletCashBalanceItem.serializeBinaryToWriter
|
|
48341
48873
|
);
|
|
48342
48874
|
}
|
|
48875
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
48876
|
+
if (f != null) {
|
|
48877
|
+
writer.writeString(
|
|
48878
|
+
10,
|
|
48879
|
+
f
|
|
48880
|
+
);
|
|
48881
|
+
}
|
|
48882
|
+
f = message.getWithdrawalAvailability();
|
|
48883
|
+
if (f != null) {
|
|
48884
|
+
writer.writeMessage(
|
|
48885
|
+
11,
|
|
48886
|
+
f,
|
|
48887
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
48888
|
+
);
|
|
48889
|
+
}
|
|
48343
48890
|
};
|
|
48344
48891
|
|
|
48345
48892
|
|
|
@@ -48580,6 +49127,79 @@ proto.payment.ResolveGameWalletContextResponse.prototype.clearWalletsList = func
|
|
|
48580
49127
|
};
|
|
48581
49128
|
|
|
48582
49129
|
|
|
49130
|
+
/**
|
|
49131
|
+
* optional string available_real_major = 10;
|
|
49132
|
+
* @return {string}
|
|
49133
|
+
*/
|
|
49134
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getAvailableRealMajor = function() {
|
|
49135
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
49136
|
+
};
|
|
49137
|
+
|
|
49138
|
+
|
|
49139
|
+
/**
|
|
49140
|
+
* @param {string} value
|
|
49141
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49142
|
+
*/
|
|
49143
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setAvailableRealMajor = function(value) {
|
|
49144
|
+
return jspb.Message.setField(this, 10, value);
|
|
49145
|
+
};
|
|
49146
|
+
|
|
49147
|
+
|
|
49148
|
+
/**
|
|
49149
|
+
* Clears the field making it undefined.
|
|
49150
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49151
|
+
*/
|
|
49152
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearAvailableRealMajor = function() {
|
|
49153
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
49154
|
+
};
|
|
49155
|
+
|
|
49156
|
+
|
|
49157
|
+
/**
|
|
49158
|
+
* Returns whether this field is set.
|
|
49159
|
+
* @return {boolean}
|
|
49160
|
+
*/
|
|
49161
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasAvailableRealMajor = function() {
|
|
49162
|
+
return jspb.Message.getField(this, 10) != null;
|
|
49163
|
+
};
|
|
49164
|
+
|
|
49165
|
+
|
|
49166
|
+
/**
|
|
49167
|
+
* optional WithdrawalAvailability withdrawal_availability = 11;
|
|
49168
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
49169
|
+
*/
|
|
49170
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getWithdrawalAvailability = function() {
|
|
49171
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
49172
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 11));
|
|
49173
|
+
};
|
|
49174
|
+
|
|
49175
|
+
|
|
49176
|
+
/**
|
|
49177
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
49178
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49179
|
+
*/
|
|
49180
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setWithdrawalAvailability = function(value) {
|
|
49181
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
49182
|
+
};
|
|
49183
|
+
|
|
49184
|
+
|
|
49185
|
+
/**
|
|
49186
|
+
* Clears the message field making it undefined.
|
|
49187
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
49188
|
+
*/
|
|
49189
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearWithdrawalAvailability = function() {
|
|
49190
|
+
return this.setWithdrawalAvailability(undefined);
|
|
49191
|
+
};
|
|
49192
|
+
|
|
49193
|
+
|
|
49194
|
+
/**
|
|
49195
|
+
* Returns whether this field is set.
|
|
49196
|
+
* @return {boolean}
|
|
49197
|
+
*/
|
|
49198
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasWithdrawalAvailability = function() {
|
|
49199
|
+
return jspb.Message.getField(this, 11) != null;
|
|
49200
|
+
};
|
|
49201
|
+
|
|
49202
|
+
|
|
48583
49203
|
|
|
48584
49204
|
|
|
48585
49205
|
|
|
@@ -48615,7 +49235,9 @@ proto.payment.WalletCashBalanceItem.toObject = function(includeInstance, msg) {
|
|
|
48615
49235
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
48616
49236
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
48617
49237
|
balanceMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
48618
|
-
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
49238
|
+
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
49239
|
+
availableRealMajor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
49240
|
+
withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
|
|
48619
49241
|
};
|
|
48620
49242
|
|
|
48621
49243
|
if (includeInstance) {
|
|
@@ -48668,6 +49290,15 @@ proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader = function(msg,
|
|
|
48668
49290
|
var value = /** @type {string} */ (reader.readString());
|
|
48669
49291
|
msg.setAvailableRealMinor(value);
|
|
48670
49292
|
break;
|
|
49293
|
+
case 5:
|
|
49294
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49295
|
+
msg.setAvailableRealMajor(value);
|
|
49296
|
+
break;
|
|
49297
|
+
case 6:
|
|
49298
|
+
var value = new proto.payment.WithdrawalAvailability;
|
|
49299
|
+
reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
|
|
49300
|
+
msg.setWithdrawalAvailability(value);
|
|
49301
|
+
break;
|
|
48671
49302
|
default:
|
|
48672
49303
|
reader.skipField();
|
|
48673
49304
|
break;
|
|
@@ -48725,6 +49356,21 @@ proto.payment.WalletCashBalanceItem.serializeBinaryToWriter = function(message,
|
|
|
48725
49356
|
f
|
|
48726
49357
|
);
|
|
48727
49358
|
}
|
|
49359
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
49360
|
+
if (f != null) {
|
|
49361
|
+
writer.writeString(
|
|
49362
|
+
5,
|
|
49363
|
+
f
|
|
49364
|
+
);
|
|
49365
|
+
}
|
|
49366
|
+
f = message.getWithdrawalAvailability();
|
|
49367
|
+
if (f != null) {
|
|
49368
|
+
writer.writeMessage(
|
|
49369
|
+
6,
|
|
49370
|
+
f,
|
|
49371
|
+
proto.payment.WithdrawalAvailability.serializeBinaryToWriter
|
|
49372
|
+
);
|
|
49373
|
+
}
|
|
48728
49374
|
};
|
|
48729
49375
|
|
|
48730
49376
|
|
|
@@ -48800,6 +49446,79 @@ proto.payment.WalletCashBalanceItem.prototype.setAvailableRealMinor = function(v
|
|
|
48800
49446
|
};
|
|
48801
49447
|
|
|
48802
49448
|
|
|
49449
|
+
/**
|
|
49450
|
+
* optional string available_real_major = 5;
|
|
49451
|
+
* @return {string}
|
|
49452
|
+
*/
|
|
49453
|
+
proto.payment.WalletCashBalanceItem.prototype.getAvailableRealMajor = function() {
|
|
49454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
49455
|
+
};
|
|
49456
|
+
|
|
49457
|
+
|
|
49458
|
+
/**
|
|
49459
|
+
* @param {string} value
|
|
49460
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49461
|
+
*/
|
|
49462
|
+
proto.payment.WalletCashBalanceItem.prototype.setAvailableRealMajor = function(value) {
|
|
49463
|
+
return jspb.Message.setField(this, 5, value);
|
|
49464
|
+
};
|
|
49465
|
+
|
|
49466
|
+
|
|
49467
|
+
/**
|
|
49468
|
+
* Clears the field making it undefined.
|
|
49469
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49470
|
+
*/
|
|
49471
|
+
proto.payment.WalletCashBalanceItem.prototype.clearAvailableRealMajor = function() {
|
|
49472
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
49473
|
+
};
|
|
49474
|
+
|
|
49475
|
+
|
|
49476
|
+
/**
|
|
49477
|
+
* Returns whether this field is set.
|
|
49478
|
+
* @return {boolean}
|
|
49479
|
+
*/
|
|
49480
|
+
proto.payment.WalletCashBalanceItem.prototype.hasAvailableRealMajor = function() {
|
|
49481
|
+
return jspb.Message.getField(this, 5) != null;
|
|
49482
|
+
};
|
|
49483
|
+
|
|
49484
|
+
|
|
49485
|
+
/**
|
|
49486
|
+
* optional WithdrawalAvailability withdrawal_availability = 6;
|
|
49487
|
+
* @return {?proto.payment.WithdrawalAvailability}
|
|
49488
|
+
*/
|
|
49489
|
+
proto.payment.WalletCashBalanceItem.prototype.getWithdrawalAvailability = function() {
|
|
49490
|
+
return /** @type{?proto.payment.WithdrawalAvailability} */ (
|
|
49491
|
+
jspb.Message.getWrapperField(this, proto.payment.WithdrawalAvailability, 6));
|
|
49492
|
+
};
|
|
49493
|
+
|
|
49494
|
+
|
|
49495
|
+
/**
|
|
49496
|
+
* @param {?proto.payment.WithdrawalAvailability|undefined} value
|
|
49497
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49498
|
+
*/
|
|
49499
|
+
proto.payment.WalletCashBalanceItem.prototype.setWithdrawalAvailability = function(value) {
|
|
49500
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
49501
|
+
};
|
|
49502
|
+
|
|
49503
|
+
|
|
49504
|
+
/**
|
|
49505
|
+
* Clears the message field making it undefined.
|
|
49506
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
49507
|
+
*/
|
|
49508
|
+
proto.payment.WalletCashBalanceItem.prototype.clearWithdrawalAvailability = function() {
|
|
49509
|
+
return this.setWithdrawalAvailability(undefined);
|
|
49510
|
+
};
|
|
49511
|
+
|
|
49512
|
+
|
|
49513
|
+
/**
|
|
49514
|
+
* Returns whether this field is set.
|
|
49515
|
+
* @return {boolean}
|
|
49516
|
+
*/
|
|
49517
|
+
proto.payment.WalletCashBalanceItem.prototype.hasWithdrawalAvailability = function() {
|
|
49518
|
+
return jspb.Message.getField(this, 6) != null;
|
|
49519
|
+
};
|
|
49520
|
+
|
|
49521
|
+
|
|
48803
49522
|
|
|
48804
49523
|
|
|
48805
49524
|
|
package/user/user.proto
CHANGED
|
@@ -669,6 +669,7 @@ 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;
|
|
672
673
|
}
|
|
673
674
|
message SetPreferredWalletCurrencyRequest {
|
|
674
675
|
int32 user_id = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -26101,7 +26101,8 @@ 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, "")
|
|
26105
26106
|
};
|
|
26106
26107
|
|
|
26107
26108
|
if (includeInstance) {
|
|
@@ -26158,6 +26159,10 @@ proto.user.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = func
|
|
|
26158
26159
|
var value = /** @type {number} */ (reader.readInt32());
|
|
26159
26160
|
msg.setCurrencyScale(value);
|
|
26160
26161
|
break;
|
|
26162
|
+
case 6:
|
|
26163
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26164
|
+
msg.setAvailableRealMajor(value);
|
|
26165
|
+
break;
|
|
26161
26166
|
default:
|
|
26162
26167
|
reader.skipField();
|
|
26163
26168
|
break;
|
|
@@ -26222,6 +26227,13 @@ proto.user.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = function
|
|
|
26222
26227
|
f
|
|
26223
26228
|
);
|
|
26224
26229
|
}
|
|
26230
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
26231
|
+
if (f != null) {
|
|
26232
|
+
writer.writeString(
|
|
26233
|
+
6,
|
|
26234
|
+
f
|
|
26235
|
+
);
|
|
26236
|
+
}
|
|
26225
26237
|
};
|
|
26226
26238
|
|
|
26227
26239
|
|
|
@@ -26387,6 +26399,42 @@ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = funct
|
|
|
26387
26399
|
};
|
|
26388
26400
|
|
|
26389
26401
|
|
|
26402
|
+
/**
|
|
26403
|
+
* optional string available_real_major = 6;
|
|
26404
|
+
* @return {string}
|
|
26405
|
+
*/
|
|
26406
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMajor = function() {
|
|
26407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
26408
|
+
};
|
|
26409
|
+
|
|
26410
|
+
|
|
26411
|
+
/**
|
|
26412
|
+
* @param {string} value
|
|
26413
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26414
|
+
*/
|
|
26415
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMajor = function(value) {
|
|
26416
|
+
return jspb.Message.setField(this, 6, value);
|
|
26417
|
+
};
|
|
26418
|
+
|
|
26419
|
+
|
|
26420
|
+
/**
|
|
26421
|
+
* Clears the field making it undefined.
|
|
26422
|
+
* @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
|
|
26423
|
+
*/
|
|
26424
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMajor = function() {
|
|
26425
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
26426
|
+
};
|
|
26427
|
+
|
|
26428
|
+
|
|
26429
|
+
/**
|
|
26430
|
+
* Returns whether this field is set.
|
|
26431
|
+
* @return {boolean}
|
|
26432
|
+
*/
|
|
26433
|
+
proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor = function() {
|
|
26434
|
+
return jspb.Message.getField(this, 6) != null;
|
|
26435
|
+
};
|
|
26436
|
+
|
|
26437
|
+
|
|
26390
26438
|
|
|
26391
26439
|
|
|
26392
26440
|
|