protobuf-platform 1.2.707 → 1.2.709
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 +50 -0
- package/payment/payment_grpc_pb.js +67 -0
- package/payment/payment_pb.js +1644 -3
package/payment/payment_pb.js
CHANGED
|
@@ -140,11 +140,16 @@ goog.exportSymbol('proto.payment.ProviderResponse', null, global);
|
|
|
140
140
|
goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
|
|
141
141
|
goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
|
|
142
142
|
goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
|
|
143
|
+
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactRequest', null, global);
|
|
144
|
+
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactResponse', null, global);
|
|
143
145
|
goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
|
|
144
146
|
goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
|
|
145
147
|
goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
|
|
148
|
+
goog.exportSymbol('proto.payment.SavedDepositCard', null, global);
|
|
146
149
|
goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
|
|
147
150
|
goog.exportSymbol('proto.payment.SegmentedUserResponse', null, global);
|
|
151
|
+
goog.exportSymbol('proto.payment.SettleGameplayRequest', null, global);
|
|
152
|
+
goog.exportSymbol('proto.payment.SettleGameplayResponse', null, global);
|
|
148
153
|
goog.exportSymbol('proto.payment.SyncCurrenciesRequest', null, global);
|
|
149
154
|
goog.exportSymbol('proto.payment.UpdateCurrencyRequest', null, global);
|
|
150
155
|
goog.exportSymbol('proto.payment.UserDepositCountResponse', null, global);
|
|
@@ -1763,6 +1768,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1763
1768
|
*/
|
|
1764
1769
|
proto.payment.UserWalletOperationHistoryItemsResponse.displayName = 'proto.payment.UserWalletOperationHistoryItemsResponse';
|
|
1765
1770
|
}
|
|
1771
|
+
/**
|
|
1772
|
+
* Generated by JsPbCodeGenerator.
|
|
1773
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1774
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1775
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1776
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1777
|
+
* valid.
|
|
1778
|
+
* @extends {jspb.Message}
|
|
1779
|
+
* @constructor
|
|
1780
|
+
*/
|
|
1781
|
+
proto.payment.SavedDepositCard = function(opt_data) {
|
|
1782
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1783
|
+
};
|
|
1784
|
+
goog.inherits(proto.payment.SavedDepositCard, jspb.Message);
|
|
1785
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1786
|
+
/**
|
|
1787
|
+
* @public
|
|
1788
|
+
* @override
|
|
1789
|
+
*/
|
|
1790
|
+
proto.payment.SavedDepositCard.displayName = 'proto.payment.SavedDepositCard';
|
|
1791
|
+
}
|
|
1766
1792
|
/**
|
|
1767
1793
|
* Generated by JsPbCodeGenerator.
|
|
1768
1794
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3149,6 +3175,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3149
3175
|
*/
|
|
3150
3176
|
proto.payment.CashbackClaimCreditRequest.displayName = 'proto.payment.CashbackClaimCreditRequest';
|
|
3151
3177
|
}
|
|
3178
|
+
/**
|
|
3179
|
+
* Generated by JsPbCodeGenerator.
|
|
3180
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3181
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3182
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3183
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3184
|
+
* valid.
|
|
3185
|
+
* @extends {jspb.Message}
|
|
3186
|
+
* @constructor
|
|
3187
|
+
*/
|
|
3188
|
+
proto.payment.SettleGameplayRequest = function(opt_data) {
|
|
3189
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3190
|
+
};
|
|
3191
|
+
goog.inherits(proto.payment.SettleGameplayRequest, jspb.Message);
|
|
3192
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3193
|
+
/**
|
|
3194
|
+
* @public
|
|
3195
|
+
* @override
|
|
3196
|
+
*/
|
|
3197
|
+
proto.payment.SettleGameplayRequest.displayName = 'proto.payment.SettleGameplayRequest';
|
|
3198
|
+
}
|
|
3199
|
+
/**
|
|
3200
|
+
* Generated by JsPbCodeGenerator.
|
|
3201
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3202
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3203
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3204
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3205
|
+
* valid.
|
|
3206
|
+
* @extends {jspb.Message}
|
|
3207
|
+
* @constructor
|
|
3208
|
+
*/
|
|
3209
|
+
proto.payment.SettleGameplayResponse = function(opt_data) {
|
|
3210
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3211
|
+
};
|
|
3212
|
+
goog.inherits(proto.payment.SettleGameplayResponse, jspb.Message);
|
|
3213
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3214
|
+
/**
|
|
3215
|
+
* @public
|
|
3216
|
+
* @override
|
|
3217
|
+
*/
|
|
3218
|
+
proto.payment.SettleGameplayResponse.displayName = 'proto.payment.SettleGameplayResponse';
|
|
3219
|
+
}
|
|
3220
|
+
/**
|
|
3221
|
+
* Generated by JsPbCodeGenerator.
|
|
3222
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3223
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3224
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3225
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3226
|
+
* valid.
|
|
3227
|
+
* @extends {jspb.Message}
|
|
3228
|
+
* @constructor
|
|
3229
|
+
*/
|
|
3230
|
+
proto.payment.ReadGameplaySettlementFactRequest = function(opt_data) {
|
|
3231
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3232
|
+
};
|
|
3233
|
+
goog.inherits(proto.payment.ReadGameplaySettlementFactRequest, jspb.Message);
|
|
3234
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3235
|
+
/**
|
|
3236
|
+
* @public
|
|
3237
|
+
* @override
|
|
3238
|
+
*/
|
|
3239
|
+
proto.payment.ReadGameplaySettlementFactRequest.displayName = 'proto.payment.ReadGameplaySettlementFactRequest';
|
|
3240
|
+
}
|
|
3241
|
+
/**
|
|
3242
|
+
* Generated by JsPbCodeGenerator.
|
|
3243
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3244
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3245
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3246
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3247
|
+
* valid.
|
|
3248
|
+
* @extends {jspb.Message}
|
|
3249
|
+
* @constructor
|
|
3250
|
+
*/
|
|
3251
|
+
proto.payment.ReadGameplaySettlementFactResponse = function(opt_data) {
|
|
3252
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3253
|
+
};
|
|
3254
|
+
goog.inherits(proto.payment.ReadGameplaySettlementFactResponse, jspb.Message);
|
|
3255
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3256
|
+
/**
|
|
3257
|
+
* @public
|
|
3258
|
+
* @override
|
|
3259
|
+
*/
|
|
3260
|
+
proto.payment.ReadGameplaySettlementFactResponse.displayName = 'proto.payment.ReadGameplaySettlementFactResponse';
|
|
3261
|
+
}
|
|
3152
3262
|
/**
|
|
3153
3263
|
* Generated by JsPbCodeGenerator.
|
|
3154
3264
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -18143,7 +18253,9 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
|
|
|
18143
18253
|
bonusId: jspb.Message.getFieldWithDefault(msg, 48, 0),
|
|
18144
18254
|
windowWidth: jspb.Message.getFieldWithDefault(msg, 49, 0),
|
|
18145
18255
|
windowHeight: jspb.Message.getFieldWithDefault(msg, 50, 0),
|
|
18146
|
-
cvv: jspb.Message.getFieldWithDefault(msg, 51, "")
|
|
18256
|
+
cvv: jspb.Message.getFieldWithDefault(msg, 51, ""),
|
|
18257
|
+
saveCard: jspb.Message.getBooleanFieldWithDefault(msg, 52, false),
|
|
18258
|
+
savedCardId: jspb.Message.getFieldWithDefault(msg, 53, "")
|
|
18147
18259
|
};
|
|
18148
18260
|
|
|
18149
18261
|
if (includeInstance) {
|
|
@@ -18384,6 +18496,14 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
|
|
|
18384
18496
|
var value = /** @type {string} */ (reader.readString());
|
|
18385
18497
|
msg.setCvv(value);
|
|
18386
18498
|
break;
|
|
18499
|
+
case 52:
|
|
18500
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
18501
|
+
msg.setSaveCard(value);
|
|
18502
|
+
break;
|
|
18503
|
+
case 53:
|
|
18504
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18505
|
+
msg.setSavedCardId(value);
|
|
18506
|
+
break;
|
|
18387
18507
|
default:
|
|
18388
18508
|
reader.skipField();
|
|
18389
18509
|
break;
|
|
@@ -18770,6 +18890,20 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
|
|
|
18770
18890
|
f
|
|
18771
18891
|
);
|
|
18772
18892
|
}
|
|
18893
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 52));
|
|
18894
|
+
if (f != null) {
|
|
18895
|
+
writer.writeBool(
|
|
18896
|
+
52,
|
|
18897
|
+
f
|
|
18898
|
+
);
|
|
18899
|
+
}
|
|
18900
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 53));
|
|
18901
|
+
if (f != null) {
|
|
18902
|
+
writer.writeString(
|
|
18903
|
+
53,
|
|
18904
|
+
f
|
|
18905
|
+
);
|
|
18906
|
+
}
|
|
18773
18907
|
};
|
|
18774
18908
|
|
|
18775
18909
|
|
|
@@ -20555,6 +20689,78 @@ proto.payment.AttemptDepositRequest.prototype.hasCvv = function() {
|
|
|
20555
20689
|
};
|
|
20556
20690
|
|
|
20557
20691
|
|
|
20692
|
+
/**
|
|
20693
|
+
* optional bool save_card = 52;
|
|
20694
|
+
* @return {boolean}
|
|
20695
|
+
*/
|
|
20696
|
+
proto.payment.AttemptDepositRequest.prototype.getSaveCard = function() {
|
|
20697
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 52, false));
|
|
20698
|
+
};
|
|
20699
|
+
|
|
20700
|
+
|
|
20701
|
+
/**
|
|
20702
|
+
* @param {boolean} value
|
|
20703
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
20704
|
+
*/
|
|
20705
|
+
proto.payment.AttemptDepositRequest.prototype.setSaveCard = function(value) {
|
|
20706
|
+
return jspb.Message.setField(this, 52, value);
|
|
20707
|
+
};
|
|
20708
|
+
|
|
20709
|
+
|
|
20710
|
+
/**
|
|
20711
|
+
* Clears the field making it undefined.
|
|
20712
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
20713
|
+
*/
|
|
20714
|
+
proto.payment.AttemptDepositRequest.prototype.clearSaveCard = function() {
|
|
20715
|
+
return jspb.Message.setField(this, 52, undefined);
|
|
20716
|
+
};
|
|
20717
|
+
|
|
20718
|
+
|
|
20719
|
+
/**
|
|
20720
|
+
* Returns whether this field is set.
|
|
20721
|
+
* @return {boolean}
|
|
20722
|
+
*/
|
|
20723
|
+
proto.payment.AttemptDepositRequest.prototype.hasSaveCard = function() {
|
|
20724
|
+
return jspb.Message.getField(this, 52) != null;
|
|
20725
|
+
};
|
|
20726
|
+
|
|
20727
|
+
|
|
20728
|
+
/**
|
|
20729
|
+
* optional string saved_card_id = 53;
|
|
20730
|
+
* @return {string}
|
|
20731
|
+
*/
|
|
20732
|
+
proto.payment.AttemptDepositRequest.prototype.getSavedCardId = function() {
|
|
20733
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 53, ""));
|
|
20734
|
+
};
|
|
20735
|
+
|
|
20736
|
+
|
|
20737
|
+
/**
|
|
20738
|
+
* @param {string} value
|
|
20739
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
20740
|
+
*/
|
|
20741
|
+
proto.payment.AttemptDepositRequest.prototype.setSavedCardId = function(value) {
|
|
20742
|
+
return jspb.Message.setField(this, 53, value);
|
|
20743
|
+
};
|
|
20744
|
+
|
|
20745
|
+
|
|
20746
|
+
/**
|
|
20747
|
+
* Clears the field making it undefined.
|
|
20748
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
20749
|
+
*/
|
|
20750
|
+
proto.payment.AttemptDepositRequest.prototype.clearSavedCardId = function() {
|
|
20751
|
+
return jspb.Message.setField(this, 53, undefined);
|
|
20752
|
+
};
|
|
20753
|
+
|
|
20754
|
+
|
|
20755
|
+
/**
|
|
20756
|
+
* Returns whether this field is set.
|
|
20757
|
+
* @return {boolean}
|
|
20758
|
+
*/
|
|
20759
|
+
proto.payment.AttemptDepositRequest.prototype.hasSavedCardId = function() {
|
|
20760
|
+
return jspb.Message.getField(this, 53) != null;
|
|
20761
|
+
};
|
|
20762
|
+
|
|
20763
|
+
|
|
20558
20764
|
|
|
20559
20765
|
|
|
20560
20766
|
|
|
@@ -38128,12 +38334,316 @@ proto.payment.UserWalletOperationHistoryItemsResponse.prototype.hasTotalItems =
|
|
|
38128
38334
|
|
|
38129
38335
|
|
|
38130
38336
|
|
|
38337
|
+
|
|
38338
|
+
|
|
38339
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38340
|
+
/**
|
|
38341
|
+
* Creates an object representation of this proto.
|
|
38342
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38343
|
+
* Optional fields that are not set will be set to undefined.
|
|
38344
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38345
|
+
* For the list of reserved names please see:
|
|
38346
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38347
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38348
|
+
* JSPB instance for transitional soy proto support:
|
|
38349
|
+
* http://goto/soy-param-migration
|
|
38350
|
+
* @return {!Object}
|
|
38351
|
+
*/
|
|
38352
|
+
proto.payment.SavedDepositCard.prototype.toObject = function(opt_includeInstance) {
|
|
38353
|
+
return proto.payment.SavedDepositCard.toObject(opt_includeInstance, this);
|
|
38354
|
+
};
|
|
38355
|
+
|
|
38356
|
+
|
|
38357
|
+
/**
|
|
38358
|
+
* Static version of the {@see toObject} method.
|
|
38359
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38360
|
+
* the JSPB instance for transitional soy proto support:
|
|
38361
|
+
* http://goto/soy-param-migration
|
|
38362
|
+
* @param {!proto.payment.SavedDepositCard} msg The msg instance to transform.
|
|
38363
|
+
* @return {!Object}
|
|
38364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38365
|
+
*/
|
|
38366
|
+
proto.payment.SavedDepositCard.toObject = function(includeInstance, msg) {
|
|
38367
|
+
var f, obj = {
|
|
38368
|
+
savedCardId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38369
|
+
maskedCardNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
38370
|
+
cardHolder: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
38371
|
+
cardExpireMonth: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
38372
|
+
cardExpireYear: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
38373
|
+
};
|
|
38374
|
+
|
|
38375
|
+
if (includeInstance) {
|
|
38376
|
+
obj.$jspbMessageInstance = msg;
|
|
38377
|
+
}
|
|
38378
|
+
return obj;
|
|
38379
|
+
};
|
|
38380
|
+
}
|
|
38381
|
+
|
|
38382
|
+
|
|
38383
|
+
/**
|
|
38384
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38385
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38386
|
+
* @return {!proto.payment.SavedDepositCard}
|
|
38387
|
+
*/
|
|
38388
|
+
proto.payment.SavedDepositCard.deserializeBinary = function(bytes) {
|
|
38389
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38390
|
+
var msg = new proto.payment.SavedDepositCard;
|
|
38391
|
+
return proto.payment.SavedDepositCard.deserializeBinaryFromReader(msg, reader);
|
|
38392
|
+
};
|
|
38393
|
+
|
|
38394
|
+
|
|
38395
|
+
/**
|
|
38396
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38397
|
+
* given reader into the given message object.
|
|
38398
|
+
* @param {!proto.payment.SavedDepositCard} msg The message object to deserialize into.
|
|
38399
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38400
|
+
* @return {!proto.payment.SavedDepositCard}
|
|
38401
|
+
*/
|
|
38402
|
+
proto.payment.SavedDepositCard.deserializeBinaryFromReader = function(msg, reader) {
|
|
38403
|
+
while (reader.nextField()) {
|
|
38404
|
+
if (reader.isEndGroup()) {
|
|
38405
|
+
break;
|
|
38406
|
+
}
|
|
38407
|
+
var field = reader.getFieldNumber();
|
|
38408
|
+
switch (field) {
|
|
38409
|
+
case 1:
|
|
38410
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38411
|
+
msg.setSavedCardId(value);
|
|
38412
|
+
break;
|
|
38413
|
+
case 2:
|
|
38414
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38415
|
+
msg.setMaskedCardNumber(value);
|
|
38416
|
+
break;
|
|
38417
|
+
case 3:
|
|
38418
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38419
|
+
msg.setCardHolder(value);
|
|
38420
|
+
break;
|
|
38421
|
+
case 4:
|
|
38422
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38423
|
+
msg.setCardExpireMonth(value);
|
|
38424
|
+
break;
|
|
38425
|
+
case 5:
|
|
38426
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38427
|
+
msg.setCardExpireYear(value);
|
|
38428
|
+
break;
|
|
38429
|
+
default:
|
|
38430
|
+
reader.skipField();
|
|
38431
|
+
break;
|
|
38432
|
+
}
|
|
38433
|
+
}
|
|
38434
|
+
return msg;
|
|
38435
|
+
};
|
|
38436
|
+
|
|
38437
|
+
|
|
38438
|
+
/**
|
|
38439
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38440
|
+
* @return {!Uint8Array}
|
|
38441
|
+
*/
|
|
38442
|
+
proto.payment.SavedDepositCard.prototype.serializeBinary = function() {
|
|
38443
|
+
var writer = new jspb.BinaryWriter();
|
|
38444
|
+
proto.payment.SavedDepositCard.serializeBinaryToWriter(this, writer);
|
|
38445
|
+
return writer.getResultBuffer();
|
|
38446
|
+
};
|
|
38447
|
+
|
|
38448
|
+
|
|
38449
|
+
/**
|
|
38450
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38451
|
+
* format), writing to the given BinaryWriter.
|
|
38452
|
+
* @param {!proto.payment.SavedDepositCard} message
|
|
38453
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38454
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38455
|
+
*/
|
|
38456
|
+
proto.payment.SavedDepositCard.serializeBinaryToWriter = function(message, writer) {
|
|
38457
|
+
var f = undefined;
|
|
38458
|
+
f = message.getSavedCardId();
|
|
38459
|
+
if (f.length > 0) {
|
|
38460
|
+
writer.writeString(
|
|
38461
|
+
1,
|
|
38462
|
+
f
|
|
38463
|
+
);
|
|
38464
|
+
}
|
|
38465
|
+
f = message.getMaskedCardNumber();
|
|
38466
|
+
if (f.length > 0) {
|
|
38467
|
+
writer.writeString(
|
|
38468
|
+
2,
|
|
38469
|
+
f
|
|
38470
|
+
);
|
|
38471
|
+
}
|
|
38472
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
38473
|
+
if (f != null) {
|
|
38474
|
+
writer.writeString(
|
|
38475
|
+
3,
|
|
38476
|
+
f
|
|
38477
|
+
);
|
|
38478
|
+
}
|
|
38479
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
38480
|
+
if (f != null) {
|
|
38481
|
+
writer.writeString(
|
|
38482
|
+
4,
|
|
38483
|
+
f
|
|
38484
|
+
);
|
|
38485
|
+
}
|
|
38486
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
38487
|
+
if (f != null) {
|
|
38488
|
+
writer.writeString(
|
|
38489
|
+
5,
|
|
38490
|
+
f
|
|
38491
|
+
);
|
|
38492
|
+
}
|
|
38493
|
+
};
|
|
38494
|
+
|
|
38495
|
+
|
|
38496
|
+
/**
|
|
38497
|
+
* optional string saved_card_id = 1;
|
|
38498
|
+
* @return {string}
|
|
38499
|
+
*/
|
|
38500
|
+
proto.payment.SavedDepositCard.prototype.getSavedCardId = function() {
|
|
38501
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
38502
|
+
};
|
|
38503
|
+
|
|
38504
|
+
|
|
38505
|
+
/**
|
|
38506
|
+
* @param {string} value
|
|
38507
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38508
|
+
*/
|
|
38509
|
+
proto.payment.SavedDepositCard.prototype.setSavedCardId = function(value) {
|
|
38510
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
38511
|
+
};
|
|
38512
|
+
|
|
38513
|
+
|
|
38514
|
+
/**
|
|
38515
|
+
* optional string masked_card_number = 2;
|
|
38516
|
+
* @return {string}
|
|
38517
|
+
*/
|
|
38518
|
+
proto.payment.SavedDepositCard.prototype.getMaskedCardNumber = function() {
|
|
38519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38520
|
+
};
|
|
38521
|
+
|
|
38522
|
+
|
|
38523
|
+
/**
|
|
38524
|
+
* @param {string} value
|
|
38525
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38526
|
+
*/
|
|
38527
|
+
proto.payment.SavedDepositCard.prototype.setMaskedCardNumber = function(value) {
|
|
38528
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
38529
|
+
};
|
|
38530
|
+
|
|
38531
|
+
|
|
38532
|
+
/**
|
|
38533
|
+
* optional string card_holder = 3;
|
|
38534
|
+
* @return {string}
|
|
38535
|
+
*/
|
|
38536
|
+
proto.payment.SavedDepositCard.prototype.getCardHolder = function() {
|
|
38537
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
38538
|
+
};
|
|
38539
|
+
|
|
38540
|
+
|
|
38541
|
+
/**
|
|
38542
|
+
* @param {string} value
|
|
38543
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38544
|
+
*/
|
|
38545
|
+
proto.payment.SavedDepositCard.prototype.setCardHolder = function(value) {
|
|
38546
|
+
return jspb.Message.setField(this, 3, value);
|
|
38547
|
+
};
|
|
38548
|
+
|
|
38549
|
+
|
|
38550
|
+
/**
|
|
38551
|
+
* Clears the field making it undefined.
|
|
38552
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38553
|
+
*/
|
|
38554
|
+
proto.payment.SavedDepositCard.prototype.clearCardHolder = function() {
|
|
38555
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
38556
|
+
};
|
|
38557
|
+
|
|
38558
|
+
|
|
38559
|
+
/**
|
|
38560
|
+
* Returns whether this field is set.
|
|
38561
|
+
* @return {boolean}
|
|
38562
|
+
*/
|
|
38563
|
+
proto.payment.SavedDepositCard.prototype.hasCardHolder = function() {
|
|
38564
|
+
return jspb.Message.getField(this, 3) != null;
|
|
38565
|
+
};
|
|
38566
|
+
|
|
38567
|
+
|
|
38568
|
+
/**
|
|
38569
|
+
* optional string card_expire_month = 4;
|
|
38570
|
+
* @return {string}
|
|
38571
|
+
*/
|
|
38572
|
+
proto.payment.SavedDepositCard.prototype.getCardExpireMonth = function() {
|
|
38573
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
38574
|
+
};
|
|
38575
|
+
|
|
38576
|
+
|
|
38577
|
+
/**
|
|
38578
|
+
* @param {string} value
|
|
38579
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38580
|
+
*/
|
|
38581
|
+
proto.payment.SavedDepositCard.prototype.setCardExpireMonth = function(value) {
|
|
38582
|
+
return jspb.Message.setField(this, 4, value);
|
|
38583
|
+
};
|
|
38584
|
+
|
|
38585
|
+
|
|
38586
|
+
/**
|
|
38587
|
+
* Clears the field making it undefined.
|
|
38588
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38589
|
+
*/
|
|
38590
|
+
proto.payment.SavedDepositCard.prototype.clearCardExpireMonth = function() {
|
|
38591
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
38592
|
+
};
|
|
38593
|
+
|
|
38594
|
+
|
|
38595
|
+
/**
|
|
38596
|
+
* Returns whether this field is set.
|
|
38597
|
+
* @return {boolean}
|
|
38598
|
+
*/
|
|
38599
|
+
proto.payment.SavedDepositCard.prototype.hasCardExpireMonth = function() {
|
|
38600
|
+
return jspb.Message.getField(this, 4) != null;
|
|
38601
|
+
};
|
|
38602
|
+
|
|
38603
|
+
|
|
38604
|
+
/**
|
|
38605
|
+
* optional string card_expire_year = 5;
|
|
38606
|
+
* @return {string}
|
|
38607
|
+
*/
|
|
38608
|
+
proto.payment.SavedDepositCard.prototype.getCardExpireYear = function() {
|
|
38609
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
38610
|
+
};
|
|
38611
|
+
|
|
38612
|
+
|
|
38613
|
+
/**
|
|
38614
|
+
* @param {string} value
|
|
38615
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38616
|
+
*/
|
|
38617
|
+
proto.payment.SavedDepositCard.prototype.setCardExpireYear = function(value) {
|
|
38618
|
+
return jspb.Message.setField(this, 5, value);
|
|
38619
|
+
};
|
|
38620
|
+
|
|
38621
|
+
|
|
38622
|
+
/**
|
|
38623
|
+
* Clears the field making it undefined.
|
|
38624
|
+
* @return {!proto.payment.SavedDepositCard} returns this
|
|
38625
|
+
*/
|
|
38626
|
+
proto.payment.SavedDepositCard.prototype.clearCardExpireYear = function() {
|
|
38627
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
38628
|
+
};
|
|
38629
|
+
|
|
38630
|
+
|
|
38631
|
+
/**
|
|
38632
|
+
* Returns whether this field is set.
|
|
38633
|
+
* @return {boolean}
|
|
38634
|
+
*/
|
|
38635
|
+
proto.payment.SavedDepositCard.prototype.hasCardExpireYear = function() {
|
|
38636
|
+
return jspb.Message.getField(this, 5) != null;
|
|
38637
|
+
};
|
|
38638
|
+
|
|
38639
|
+
|
|
38640
|
+
|
|
38131
38641
|
/**
|
|
38132
38642
|
* List of repeated fields within this message type.
|
|
38133
38643
|
* @private {!Array<number>}
|
|
38134
38644
|
* @const
|
|
38135
38645
|
*/
|
|
38136
|
-
proto.payment.UserPaymentMethodItem.repeatedFields_ = [19];
|
|
38646
|
+
proto.payment.UserPaymentMethodItem.repeatedFields_ = [19,31];
|
|
38137
38647
|
|
|
38138
38648
|
|
|
38139
38649
|
|
|
@@ -38195,7 +38705,10 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
38195
38705
|
isTop: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
38196
38706
|
isPopular: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
38197
38707
|
isNew: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
38198
|
-
allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
38708
|
+
allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
|
38709
|
+
saveCard: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
|
38710
|
+
savedCardsList: jspb.Message.toObjectList(msg.getSavedCardsList(),
|
|
38711
|
+
proto.payment.SavedDepositCard.toObject, includeInstance)
|
|
38199
38712
|
};
|
|
38200
38713
|
|
|
38201
38714
|
if (includeInstance) {
|
|
@@ -38349,6 +38862,15 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
38349
38862
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
38350
38863
|
msg.setAllowZeroAmount(value);
|
|
38351
38864
|
break;
|
|
38865
|
+
case 30:
|
|
38866
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
38867
|
+
msg.setSaveCard(value);
|
|
38868
|
+
break;
|
|
38869
|
+
case 31:
|
|
38870
|
+
var value = new proto.payment.SavedDepositCard;
|
|
38871
|
+
reader.readMessage(value,proto.payment.SavedDepositCard.deserializeBinaryFromReader);
|
|
38872
|
+
msg.addSavedCards(value);
|
|
38873
|
+
break;
|
|
38352
38874
|
default:
|
|
38353
38875
|
reader.skipField();
|
|
38354
38876
|
break;
|
|
@@ -38582,6 +39104,21 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
38582
39104
|
f
|
|
38583
39105
|
);
|
|
38584
39106
|
}
|
|
39107
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 30));
|
|
39108
|
+
if (f != null) {
|
|
39109
|
+
writer.writeBool(
|
|
39110
|
+
30,
|
|
39111
|
+
f
|
|
39112
|
+
);
|
|
39113
|
+
}
|
|
39114
|
+
f = message.getSavedCardsList();
|
|
39115
|
+
if (f.length > 0) {
|
|
39116
|
+
writer.writeRepeatedMessage(
|
|
39117
|
+
31,
|
|
39118
|
+
f,
|
|
39119
|
+
proto.payment.SavedDepositCard.serializeBinaryToWriter
|
|
39120
|
+
);
|
|
39121
|
+
}
|
|
38585
39122
|
};
|
|
38586
39123
|
|
|
38587
39124
|
|
|
@@ -39451,6 +39988,80 @@ proto.payment.UserPaymentMethodItem.prototype.hasAllowZeroAmount = function() {
|
|
|
39451
39988
|
};
|
|
39452
39989
|
|
|
39453
39990
|
|
|
39991
|
+
/**
|
|
39992
|
+
* optional bool save_card = 30;
|
|
39993
|
+
* @return {boolean}
|
|
39994
|
+
*/
|
|
39995
|
+
proto.payment.UserPaymentMethodItem.prototype.getSaveCard = function() {
|
|
39996
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 30, false));
|
|
39997
|
+
};
|
|
39998
|
+
|
|
39999
|
+
|
|
40000
|
+
/**
|
|
40001
|
+
* @param {boolean} value
|
|
40002
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40003
|
+
*/
|
|
40004
|
+
proto.payment.UserPaymentMethodItem.prototype.setSaveCard = function(value) {
|
|
40005
|
+
return jspb.Message.setField(this, 30, value);
|
|
40006
|
+
};
|
|
40007
|
+
|
|
40008
|
+
|
|
40009
|
+
/**
|
|
40010
|
+
* Clears the field making it undefined.
|
|
40011
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40012
|
+
*/
|
|
40013
|
+
proto.payment.UserPaymentMethodItem.prototype.clearSaveCard = function() {
|
|
40014
|
+
return jspb.Message.setField(this, 30, undefined);
|
|
40015
|
+
};
|
|
40016
|
+
|
|
40017
|
+
|
|
40018
|
+
/**
|
|
40019
|
+
* Returns whether this field is set.
|
|
40020
|
+
* @return {boolean}
|
|
40021
|
+
*/
|
|
40022
|
+
proto.payment.UserPaymentMethodItem.prototype.hasSaveCard = function() {
|
|
40023
|
+
return jspb.Message.getField(this, 30) != null;
|
|
40024
|
+
};
|
|
40025
|
+
|
|
40026
|
+
|
|
40027
|
+
/**
|
|
40028
|
+
* repeated SavedDepositCard saved_cards = 31;
|
|
40029
|
+
* @return {!Array<!proto.payment.SavedDepositCard>}
|
|
40030
|
+
*/
|
|
40031
|
+
proto.payment.UserPaymentMethodItem.prototype.getSavedCardsList = function() {
|
|
40032
|
+
return /** @type{!Array<!proto.payment.SavedDepositCard>} */ (
|
|
40033
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.SavedDepositCard, 31));
|
|
40034
|
+
};
|
|
40035
|
+
|
|
40036
|
+
|
|
40037
|
+
/**
|
|
40038
|
+
* @param {!Array<!proto.payment.SavedDepositCard>} value
|
|
40039
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40040
|
+
*/
|
|
40041
|
+
proto.payment.UserPaymentMethodItem.prototype.setSavedCardsList = function(value) {
|
|
40042
|
+
return jspb.Message.setRepeatedWrapperField(this, 31, value);
|
|
40043
|
+
};
|
|
40044
|
+
|
|
40045
|
+
|
|
40046
|
+
/**
|
|
40047
|
+
* @param {!proto.payment.SavedDepositCard=} opt_value
|
|
40048
|
+
* @param {number=} opt_index
|
|
40049
|
+
* @return {!proto.payment.SavedDepositCard}
|
|
40050
|
+
*/
|
|
40051
|
+
proto.payment.UserPaymentMethodItem.prototype.addSavedCards = function(opt_value, opt_index) {
|
|
40052
|
+
return jspb.Message.addToRepeatedWrapperField(this, 31, opt_value, proto.payment.SavedDepositCard, opt_index);
|
|
40053
|
+
};
|
|
40054
|
+
|
|
40055
|
+
|
|
40056
|
+
/**
|
|
40057
|
+
* Clears the list making it empty but non-null.
|
|
40058
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
40059
|
+
*/
|
|
40060
|
+
proto.payment.UserPaymentMethodItem.prototype.clearSavedCardsList = function() {
|
|
40061
|
+
return this.setSavedCardsList([]);
|
|
40062
|
+
};
|
|
40063
|
+
|
|
40064
|
+
|
|
39454
40065
|
|
|
39455
40066
|
/**
|
|
39456
40067
|
* List of repeated fields within this message type.
|
|
@@ -63356,6 +63967,1036 @@ proto.payment.CashbackClaimCreditRequest.prototype.hasWagerMultiplier = function
|
|
|
63356
63967
|
|
|
63357
63968
|
|
|
63358
63969
|
|
|
63970
|
+
|
|
63971
|
+
|
|
63972
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63973
|
+
/**
|
|
63974
|
+
* Creates an object representation of this proto.
|
|
63975
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
63976
|
+
* Optional fields that are not set will be set to undefined.
|
|
63977
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
63978
|
+
* For the list of reserved names please see:
|
|
63979
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
63980
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
63981
|
+
* JSPB instance for transitional soy proto support:
|
|
63982
|
+
* http://goto/soy-param-migration
|
|
63983
|
+
* @return {!Object}
|
|
63984
|
+
*/
|
|
63985
|
+
proto.payment.SettleGameplayRequest.prototype.toObject = function(opt_includeInstance) {
|
|
63986
|
+
return proto.payment.SettleGameplayRequest.toObject(opt_includeInstance, this);
|
|
63987
|
+
};
|
|
63988
|
+
|
|
63989
|
+
|
|
63990
|
+
/**
|
|
63991
|
+
* Static version of the {@see toObject} method.
|
|
63992
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
63993
|
+
* the JSPB instance for transitional soy proto support:
|
|
63994
|
+
* http://goto/soy-param-migration
|
|
63995
|
+
* @param {!proto.payment.SettleGameplayRequest} msg The msg instance to transform.
|
|
63996
|
+
* @return {!Object}
|
|
63997
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63998
|
+
*/
|
|
63999
|
+
proto.payment.SettleGameplayRequest.toObject = function(includeInstance, msg) {
|
|
64000
|
+
var f, obj = {
|
|
64001
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
64002
|
+
namespace: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
64003
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
64004
|
+
commandJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
64005
|
+
sourceJson: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
64006
|
+
candidateJson: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
64007
|
+
rgEvidenceJson: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
64008
|
+
attemptId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
64009
|
+
};
|
|
64010
|
+
|
|
64011
|
+
if (includeInstance) {
|
|
64012
|
+
obj.$jspbMessageInstance = msg;
|
|
64013
|
+
}
|
|
64014
|
+
return obj;
|
|
64015
|
+
};
|
|
64016
|
+
}
|
|
64017
|
+
|
|
64018
|
+
|
|
64019
|
+
/**
|
|
64020
|
+
* Deserializes binary data (in protobuf wire format).
|
|
64021
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
64022
|
+
* @return {!proto.payment.SettleGameplayRequest}
|
|
64023
|
+
*/
|
|
64024
|
+
proto.payment.SettleGameplayRequest.deserializeBinary = function(bytes) {
|
|
64025
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
64026
|
+
var msg = new proto.payment.SettleGameplayRequest;
|
|
64027
|
+
return proto.payment.SettleGameplayRequest.deserializeBinaryFromReader(msg, reader);
|
|
64028
|
+
};
|
|
64029
|
+
|
|
64030
|
+
|
|
64031
|
+
/**
|
|
64032
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
64033
|
+
* given reader into the given message object.
|
|
64034
|
+
* @param {!proto.payment.SettleGameplayRequest} msg The message object to deserialize into.
|
|
64035
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
64036
|
+
* @return {!proto.payment.SettleGameplayRequest}
|
|
64037
|
+
*/
|
|
64038
|
+
proto.payment.SettleGameplayRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
64039
|
+
while (reader.nextField()) {
|
|
64040
|
+
if (reader.isEndGroup()) {
|
|
64041
|
+
break;
|
|
64042
|
+
}
|
|
64043
|
+
var field = reader.getFieldNumber();
|
|
64044
|
+
switch (field) {
|
|
64045
|
+
case 1:
|
|
64046
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
64047
|
+
msg.setProtocolVersion(value);
|
|
64048
|
+
break;
|
|
64049
|
+
case 2:
|
|
64050
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64051
|
+
msg.setNamespace(value);
|
|
64052
|
+
break;
|
|
64053
|
+
case 3:
|
|
64054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64055
|
+
msg.setRequestId(value);
|
|
64056
|
+
break;
|
|
64057
|
+
case 4:
|
|
64058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64059
|
+
msg.setCommandJson(value);
|
|
64060
|
+
break;
|
|
64061
|
+
case 5:
|
|
64062
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64063
|
+
msg.setSourceJson(value);
|
|
64064
|
+
break;
|
|
64065
|
+
case 6:
|
|
64066
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64067
|
+
msg.setCandidateJson(value);
|
|
64068
|
+
break;
|
|
64069
|
+
case 7:
|
|
64070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64071
|
+
msg.setRgEvidenceJson(value);
|
|
64072
|
+
break;
|
|
64073
|
+
case 8:
|
|
64074
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64075
|
+
msg.setAttemptId(value);
|
|
64076
|
+
break;
|
|
64077
|
+
default:
|
|
64078
|
+
reader.skipField();
|
|
64079
|
+
break;
|
|
64080
|
+
}
|
|
64081
|
+
}
|
|
64082
|
+
return msg;
|
|
64083
|
+
};
|
|
64084
|
+
|
|
64085
|
+
|
|
64086
|
+
/**
|
|
64087
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
64088
|
+
* @return {!Uint8Array}
|
|
64089
|
+
*/
|
|
64090
|
+
proto.payment.SettleGameplayRequest.prototype.serializeBinary = function() {
|
|
64091
|
+
var writer = new jspb.BinaryWriter();
|
|
64092
|
+
proto.payment.SettleGameplayRequest.serializeBinaryToWriter(this, writer);
|
|
64093
|
+
return writer.getResultBuffer();
|
|
64094
|
+
};
|
|
64095
|
+
|
|
64096
|
+
|
|
64097
|
+
/**
|
|
64098
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
64099
|
+
* format), writing to the given BinaryWriter.
|
|
64100
|
+
* @param {!proto.payment.SettleGameplayRequest} message
|
|
64101
|
+
* @param {!jspb.BinaryWriter} writer
|
|
64102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64103
|
+
*/
|
|
64104
|
+
proto.payment.SettleGameplayRequest.serializeBinaryToWriter = function(message, writer) {
|
|
64105
|
+
var f = undefined;
|
|
64106
|
+
f = message.getProtocolVersion();
|
|
64107
|
+
if (f !== 0) {
|
|
64108
|
+
writer.writeUint32(
|
|
64109
|
+
1,
|
|
64110
|
+
f
|
|
64111
|
+
);
|
|
64112
|
+
}
|
|
64113
|
+
f = message.getNamespace();
|
|
64114
|
+
if (f.length > 0) {
|
|
64115
|
+
writer.writeString(
|
|
64116
|
+
2,
|
|
64117
|
+
f
|
|
64118
|
+
);
|
|
64119
|
+
}
|
|
64120
|
+
f = message.getRequestId();
|
|
64121
|
+
if (f.length > 0) {
|
|
64122
|
+
writer.writeString(
|
|
64123
|
+
3,
|
|
64124
|
+
f
|
|
64125
|
+
);
|
|
64126
|
+
}
|
|
64127
|
+
f = message.getCommandJson();
|
|
64128
|
+
if (f.length > 0) {
|
|
64129
|
+
writer.writeString(
|
|
64130
|
+
4,
|
|
64131
|
+
f
|
|
64132
|
+
);
|
|
64133
|
+
}
|
|
64134
|
+
f = message.getSourceJson();
|
|
64135
|
+
if (f.length > 0) {
|
|
64136
|
+
writer.writeString(
|
|
64137
|
+
5,
|
|
64138
|
+
f
|
|
64139
|
+
);
|
|
64140
|
+
}
|
|
64141
|
+
f = message.getCandidateJson();
|
|
64142
|
+
if (f.length > 0) {
|
|
64143
|
+
writer.writeString(
|
|
64144
|
+
6,
|
|
64145
|
+
f
|
|
64146
|
+
);
|
|
64147
|
+
}
|
|
64148
|
+
f = message.getRgEvidenceJson();
|
|
64149
|
+
if (f.length > 0) {
|
|
64150
|
+
writer.writeString(
|
|
64151
|
+
7,
|
|
64152
|
+
f
|
|
64153
|
+
);
|
|
64154
|
+
}
|
|
64155
|
+
f = message.getAttemptId();
|
|
64156
|
+
if (f.length > 0) {
|
|
64157
|
+
writer.writeString(
|
|
64158
|
+
8,
|
|
64159
|
+
f
|
|
64160
|
+
);
|
|
64161
|
+
}
|
|
64162
|
+
};
|
|
64163
|
+
|
|
64164
|
+
|
|
64165
|
+
/**
|
|
64166
|
+
* optional uint32 protocol_version = 1;
|
|
64167
|
+
* @return {number}
|
|
64168
|
+
*/
|
|
64169
|
+
proto.payment.SettleGameplayRequest.prototype.getProtocolVersion = function() {
|
|
64170
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
64171
|
+
};
|
|
64172
|
+
|
|
64173
|
+
|
|
64174
|
+
/**
|
|
64175
|
+
* @param {number} value
|
|
64176
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64177
|
+
*/
|
|
64178
|
+
proto.payment.SettleGameplayRequest.prototype.setProtocolVersion = function(value) {
|
|
64179
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
64180
|
+
};
|
|
64181
|
+
|
|
64182
|
+
|
|
64183
|
+
/**
|
|
64184
|
+
* optional string namespace = 2;
|
|
64185
|
+
* @return {string}
|
|
64186
|
+
*/
|
|
64187
|
+
proto.payment.SettleGameplayRequest.prototype.getNamespace = function() {
|
|
64188
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
64189
|
+
};
|
|
64190
|
+
|
|
64191
|
+
|
|
64192
|
+
/**
|
|
64193
|
+
* @param {string} value
|
|
64194
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64195
|
+
*/
|
|
64196
|
+
proto.payment.SettleGameplayRequest.prototype.setNamespace = function(value) {
|
|
64197
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
64198
|
+
};
|
|
64199
|
+
|
|
64200
|
+
|
|
64201
|
+
/**
|
|
64202
|
+
* optional string request_id = 3;
|
|
64203
|
+
* @return {string}
|
|
64204
|
+
*/
|
|
64205
|
+
proto.payment.SettleGameplayRequest.prototype.getRequestId = function() {
|
|
64206
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
64207
|
+
};
|
|
64208
|
+
|
|
64209
|
+
|
|
64210
|
+
/**
|
|
64211
|
+
* @param {string} value
|
|
64212
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64213
|
+
*/
|
|
64214
|
+
proto.payment.SettleGameplayRequest.prototype.setRequestId = function(value) {
|
|
64215
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
64216
|
+
};
|
|
64217
|
+
|
|
64218
|
+
|
|
64219
|
+
/**
|
|
64220
|
+
* optional string command_json = 4;
|
|
64221
|
+
* @return {string}
|
|
64222
|
+
*/
|
|
64223
|
+
proto.payment.SettleGameplayRequest.prototype.getCommandJson = function() {
|
|
64224
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
64225
|
+
};
|
|
64226
|
+
|
|
64227
|
+
|
|
64228
|
+
/**
|
|
64229
|
+
* @param {string} value
|
|
64230
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64231
|
+
*/
|
|
64232
|
+
proto.payment.SettleGameplayRequest.prototype.setCommandJson = function(value) {
|
|
64233
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
64234
|
+
};
|
|
64235
|
+
|
|
64236
|
+
|
|
64237
|
+
/**
|
|
64238
|
+
* optional string source_json = 5;
|
|
64239
|
+
* @return {string}
|
|
64240
|
+
*/
|
|
64241
|
+
proto.payment.SettleGameplayRequest.prototype.getSourceJson = function() {
|
|
64242
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
64243
|
+
};
|
|
64244
|
+
|
|
64245
|
+
|
|
64246
|
+
/**
|
|
64247
|
+
* @param {string} value
|
|
64248
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64249
|
+
*/
|
|
64250
|
+
proto.payment.SettleGameplayRequest.prototype.setSourceJson = function(value) {
|
|
64251
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
64252
|
+
};
|
|
64253
|
+
|
|
64254
|
+
|
|
64255
|
+
/**
|
|
64256
|
+
* optional string candidate_json = 6;
|
|
64257
|
+
* @return {string}
|
|
64258
|
+
*/
|
|
64259
|
+
proto.payment.SettleGameplayRequest.prototype.getCandidateJson = function() {
|
|
64260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
64261
|
+
};
|
|
64262
|
+
|
|
64263
|
+
|
|
64264
|
+
/**
|
|
64265
|
+
* @param {string} value
|
|
64266
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64267
|
+
*/
|
|
64268
|
+
proto.payment.SettleGameplayRequest.prototype.setCandidateJson = function(value) {
|
|
64269
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
64270
|
+
};
|
|
64271
|
+
|
|
64272
|
+
|
|
64273
|
+
/**
|
|
64274
|
+
* optional string rg_evidence_json = 7;
|
|
64275
|
+
* @return {string}
|
|
64276
|
+
*/
|
|
64277
|
+
proto.payment.SettleGameplayRequest.prototype.getRgEvidenceJson = function() {
|
|
64278
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
64279
|
+
};
|
|
64280
|
+
|
|
64281
|
+
|
|
64282
|
+
/**
|
|
64283
|
+
* @param {string} value
|
|
64284
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64285
|
+
*/
|
|
64286
|
+
proto.payment.SettleGameplayRequest.prototype.setRgEvidenceJson = function(value) {
|
|
64287
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
64288
|
+
};
|
|
64289
|
+
|
|
64290
|
+
|
|
64291
|
+
/**
|
|
64292
|
+
* optional string attempt_id = 8;
|
|
64293
|
+
* @return {string}
|
|
64294
|
+
*/
|
|
64295
|
+
proto.payment.SettleGameplayRequest.prototype.getAttemptId = function() {
|
|
64296
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
64297
|
+
};
|
|
64298
|
+
|
|
64299
|
+
|
|
64300
|
+
/**
|
|
64301
|
+
* @param {string} value
|
|
64302
|
+
* @return {!proto.payment.SettleGameplayRequest} returns this
|
|
64303
|
+
*/
|
|
64304
|
+
proto.payment.SettleGameplayRequest.prototype.setAttemptId = function(value) {
|
|
64305
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
64306
|
+
};
|
|
64307
|
+
|
|
64308
|
+
|
|
64309
|
+
|
|
64310
|
+
|
|
64311
|
+
|
|
64312
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
64313
|
+
/**
|
|
64314
|
+
* Creates an object representation of this proto.
|
|
64315
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
64316
|
+
* Optional fields that are not set will be set to undefined.
|
|
64317
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
64318
|
+
* For the list of reserved names please see:
|
|
64319
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
64320
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
64321
|
+
* JSPB instance for transitional soy proto support:
|
|
64322
|
+
* http://goto/soy-param-migration
|
|
64323
|
+
* @return {!Object}
|
|
64324
|
+
*/
|
|
64325
|
+
proto.payment.SettleGameplayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
64326
|
+
return proto.payment.SettleGameplayResponse.toObject(opt_includeInstance, this);
|
|
64327
|
+
};
|
|
64328
|
+
|
|
64329
|
+
|
|
64330
|
+
/**
|
|
64331
|
+
* Static version of the {@see toObject} method.
|
|
64332
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
64333
|
+
* the JSPB instance for transitional soy proto support:
|
|
64334
|
+
* http://goto/soy-param-migration
|
|
64335
|
+
* @param {!proto.payment.SettleGameplayResponse} msg The msg instance to transform.
|
|
64336
|
+
* @return {!Object}
|
|
64337
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64338
|
+
*/
|
|
64339
|
+
proto.payment.SettleGameplayResponse.toObject = function(includeInstance, msg) {
|
|
64340
|
+
var f, obj = {
|
|
64341
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
64342
|
+
decisionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
64343
|
+
replay: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
64344
|
+
outcomeJson: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
64345
|
+
};
|
|
64346
|
+
|
|
64347
|
+
if (includeInstance) {
|
|
64348
|
+
obj.$jspbMessageInstance = msg;
|
|
64349
|
+
}
|
|
64350
|
+
return obj;
|
|
64351
|
+
};
|
|
64352
|
+
}
|
|
64353
|
+
|
|
64354
|
+
|
|
64355
|
+
/**
|
|
64356
|
+
* Deserializes binary data (in protobuf wire format).
|
|
64357
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
64358
|
+
* @return {!proto.payment.SettleGameplayResponse}
|
|
64359
|
+
*/
|
|
64360
|
+
proto.payment.SettleGameplayResponse.deserializeBinary = function(bytes) {
|
|
64361
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
64362
|
+
var msg = new proto.payment.SettleGameplayResponse;
|
|
64363
|
+
return proto.payment.SettleGameplayResponse.deserializeBinaryFromReader(msg, reader);
|
|
64364
|
+
};
|
|
64365
|
+
|
|
64366
|
+
|
|
64367
|
+
/**
|
|
64368
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
64369
|
+
* given reader into the given message object.
|
|
64370
|
+
* @param {!proto.payment.SettleGameplayResponse} msg The message object to deserialize into.
|
|
64371
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
64372
|
+
* @return {!proto.payment.SettleGameplayResponse}
|
|
64373
|
+
*/
|
|
64374
|
+
proto.payment.SettleGameplayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
64375
|
+
while (reader.nextField()) {
|
|
64376
|
+
if (reader.isEndGroup()) {
|
|
64377
|
+
break;
|
|
64378
|
+
}
|
|
64379
|
+
var field = reader.getFieldNumber();
|
|
64380
|
+
switch (field) {
|
|
64381
|
+
case 1:
|
|
64382
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
64383
|
+
msg.setProtocolVersion(value);
|
|
64384
|
+
break;
|
|
64385
|
+
case 2:
|
|
64386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64387
|
+
msg.setDecisionId(value);
|
|
64388
|
+
break;
|
|
64389
|
+
case 3:
|
|
64390
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
64391
|
+
msg.setReplay(value);
|
|
64392
|
+
break;
|
|
64393
|
+
case 4:
|
|
64394
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64395
|
+
msg.setOutcomeJson(value);
|
|
64396
|
+
break;
|
|
64397
|
+
default:
|
|
64398
|
+
reader.skipField();
|
|
64399
|
+
break;
|
|
64400
|
+
}
|
|
64401
|
+
}
|
|
64402
|
+
return msg;
|
|
64403
|
+
};
|
|
64404
|
+
|
|
64405
|
+
|
|
64406
|
+
/**
|
|
64407
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
64408
|
+
* @return {!Uint8Array}
|
|
64409
|
+
*/
|
|
64410
|
+
proto.payment.SettleGameplayResponse.prototype.serializeBinary = function() {
|
|
64411
|
+
var writer = new jspb.BinaryWriter();
|
|
64412
|
+
proto.payment.SettleGameplayResponse.serializeBinaryToWriter(this, writer);
|
|
64413
|
+
return writer.getResultBuffer();
|
|
64414
|
+
};
|
|
64415
|
+
|
|
64416
|
+
|
|
64417
|
+
/**
|
|
64418
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
64419
|
+
* format), writing to the given BinaryWriter.
|
|
64420
|
+
* @param {!proto.payment.SettleGameplayResponse} message
|
|
64421
|
+
* @param {!jspb.BinaryWriter} writer
|
|
64422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64423
|
+
*/
|
|
64424
|
+
proto.payment.SettleGameplayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
64425
|
+
var f = undefined;
|
|
64426
|
+
f = message.getProtocolVersion();
|
|
64427
|
+
if (f !== 0) {
|
|
64428
|
+
writer.writeUint32(
|
|
64429
|
+
1,
|
|
64430
|
+
f
|
|
64431
|
+
);
|
|
64432
|
+
}
|
|
64433
|
+
f = message.getDecisionId();
|
|
64434
|
+
if (f.length > 0) {
|
|
64435
|
+
writer.writeString(
|
|
64436
|
+
2,
|
|
64437
|
+
f
|
|
64438
|
+
);
|
|
64439
|
+
}
|
|
64440
|
+
f = message.getReplay();
|
|
64441
|
+
if (f) {
|
|
64442
|
+
writer.writeBool(
|
|
64443
|
+
3,
|
|
64444
|
+
f
|
|
64445
|
+
);
|
|
64446
|
+
}
|
|
64447
|
+
f = message.getOutcomeJson();
|
|
64448
|
+
if (f.length > 0) {
|
|
64449
|
+
writer.writeString(
|
|
64450
|
+
4,
|
|
64451
|
+
f
|
|
64452
|
+
);
|
|
64453
|
+
}
|
|
64454
|
+
};
|
|
64455
|
+
|
|
64456
|
+
|
|
64457
|
+
/**
|
|
64458
|
+
* optional uint32 protocol_version = 1;
|
|
64459
|
+
* @return {number}
|
|
64460
|
+
*/
|
|
64461
|
+
proto.payment.SettleGameplayResponse.prototype.getProtocolVersion = function() {
|
|
64462
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
64463
|
+
};
|
|
64464
|
+
|
|
64465
|
+
|
|
64466
|
+
/**
|
|
64467
|
+
* @param {number} value
|
|
64468
|
+
* @return {!proto.payment.SettleGameplayResponse} returns this
|
|
64469
|
+
*/
|
|
64470
|
+
proto.payment.SettleGameplayResponse.prototype.setProtocolVersion = function(value) {
|
|
64471
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
64472
|
+
};
|
|
64473
|
+
|
|
64474
|
+
|
|
64475
|
+
/**
|
|
64476
|
+
* optional string decision_id = 2;
|
|
64477
|
+
* @return {string}
|
|
64478
|
+
*/
|
|
64479
|
+
proto.payment.SettleGameplayResponse.prototype.getDecisionId = function() {
|
|
64480
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
64481
|
+
};
|
|
64482
|
+
|
|
64483
|
+
|
|
64484
|
+
/**
|
|
64485
|
+
* @param {string} value
|
|
64486
|
+
* @return {!proto.payment.SettleGameplayResponse} returns this
|
|
64487
|
+
*/
|
|
64488
|
+
proto.payment.SettleGameplayResponse.prototype.setDecisionId = function(value) {
|
|
64489
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
64490
|
+
};
|
|
64491
|
+
|
|
64492
|
+
|
|
64493
|
+
/**
|
|
64494
|
+
* optional bool replay = 3;
|
|
64495
|
+
* @return {boolean}
|
|
64496
|
+
*/
|
|
64497
|
+
proto.payment.SettleGameplayResponse.prototype.getReplay = function() {
|
|
64498
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
64499
|
+
};
|
|
64500
|
+
|
|
64501
|
+
|
|
64502
|
+
/**
|
|
64503
|
+
* @param {boolean} value
|
|
64504
|
+
* @return {!proto.payment.SettleGameplayResponse} returns this
|
|
64505
|
+
*/
|
|
64506
|
+
proto.payment.SettleGameplayResponse.prototype.setReplay = function(value) {
|
|
64507
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
64508
|
+
};
|
|
64509
|
+
|
|
64510
|
+
|
|
64511
|
+
/**
|
|
64512
|
+
* optional string outcome_json = 4;
|
|
64513
|
+
* @return {string}
|
|
64514
|
+
*/
|
|
64515
|
+
proto.payment.SettleGameplayResponse.prototype.getOutcomeJson = function() {
|
|
64516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
64517
|
+
};
|
|
64518
|
+
|
|
64519
|
+
|
|
64520
|
+
/**
|
|
64521
|
+
* @param {string} value
|
|
64522
|
+
* @return {!proto.payment.SettleGameplayResponse} returns this
|
|
64523
|
+
*/
|
|
64524
|
+
proto.payment.SettleGameplayResponse.prototype.setOutcomeJson = function(value) {
|
|
64525
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
64526
|
+
};
|
|
64527
|
+
|
|
64528
|
+
|
|
64529
|
+
|
|
64530
|
+
|
|
64531
|
+
|
|
64532
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
64533
|
+
/**
|
|
64534
|
+
* Creates an object representation of this proto.
|
|
64535
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
64536
|
+
* Optional fields that are not set will be set to undefined.
|
|
64537
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
64538
|
+
* For the list of reserved names please see:
|
|
64539
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
64540
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
64541
|
+
* JSPB instance for transitional soy proto support:
|
|
64542
|
+
* http://goto/soy-param-migration
|
|
64543
|
+
* @return {!Object}
|
|
64544
|
+
*/
|
|
64545
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.toObject = function(opt_includeInstance) {
|
|
64546
|
+
return proto.payment.ReadGameplaySettlementFactRequest.toObject(opt_includeInstance, this);
|
|
64547
|
+
};
|
|
64548
|
+
|
|
64549
|
+
|
|
64550
|
+
/**
|
|
64551
|
+
* Static version of the {@see toObject} method.
|
|
64552
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
64553
|
+
* the JSPB instance for transitional soy proto support:
|
|
64554
|
+
* http://goto/soy-param-migration
|
|
64555
|
+
* @param {!proto.payment.ReadGameplaySettlementFactRequest} msg The msg instance to transform.
|
|
64556
|
+
* @return {!Object}
|
|
64557
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64558
|
+
*/
|
|
64559
|
+
proto.payment.ReadGameplaySettlementFactRequest.toObject = function(includeInstance, msg) {
|
|
64560
|
+
var f, obj = {
|
|
64561
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
64562
|
+
namespace: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
64563
|
+
fact: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
64564
|
+
commandJson: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
64565
|
+
sourceJson: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
64566
|
+
key: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
64567
|
+
requestedDebitMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
64568
|
+
packetJson: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
64569
|
+
};
|
|
64570
|
+
|
|
64571
|
+
if (includeInstance) {
|
|
64572
|
+
obj.$jspbMessageInstance = msg;
|
|
64573
|
+
}
|
|
64574
|
+
return obj;
|
|
64575
|
+
};
|
|
64576
|
+
}
|
|
64577
|
+
|
|
64578
|
+
|
|
64579
|
+
/**
|
|
64580
|
+
* Deserializes binary data (in protobuf wire format).
|
|
64581
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
64582
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest}
|
|
64583
|
+
*/
|
|
64584
|
+
proto.payment.ReadGameplaySettlementFactRequest.deserializeBinary = function(bytes) {
|
|
64585
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
64586
|
+
var msg = new proto.payment.ReadGameplaySettlementFactRequest;
|
|
64587
|
+
return proto.payment.ReadGameplaySettlementFactRequest.deserializeBinaryFromReader(msg, reader);
|
|
64588
|
+
};
|
|
64589
|
+
|
|
64590
|
+
|
|
64591
|
+
/**
|
|
64592
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
64593
|
+
* given reader into the given message object.
|
|
64594
|
+
* @param {!proto.payment.ReadGameplaySettlementFactRequest} msg The message object to deserialize into.
|
|
64595
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
64596
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest}
|
|
64597
|
+
*/
|
|
64598
|
+
proto.payment.ReadGameplaySettlementFactRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
64599
|
+
while (reader.nextField()) {
|
|
64600
|
+
if (reader.isEndGroup()) {
|
|
64601
|
+
break;
|
|
64602
|
+
}
|
|
64603
|
+
var field = reader.getFieldNumber();
|
|
64604
|
+
switch (field) {
|
|
64605
|
+
case 1:
|
|
64606
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
64607
|
+
msg.setProtocolVersion(value);
|
|
64608
|
+
break;
|
|
64609
|
+
case 2:
|
|
64610
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64611
|
+
msg.setNamespace(value);
|
|
64612
|
+
break;
|
|
64613
|
+
case 3:
|
|
64614
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64615
|
+
msg.setFact(value);
|
|
64616
|
+
break;
|
|
64617
|
+
case 4:
|
|
64618
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64619
|
+
msg.setCommandJson(value);
|
|
64620
|
+
break;
|
|
64621
|
+
case 5:
|
|
64622
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64623
|
+
msg.setSourceJson(value);
|
|
64624
|
+
break;
|
|
64625
|
+
case 6:
|
|
64626
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64627
|
+
msg.setKey(value);
|
|
64628
|
+
break;
|
|
64629
|
+
case 7:
|
|
64630
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64631
|
+
msg.setRequestedDebitMinor(value);
|
|
64632
|
+
break;
|
|
64633
|
+
case 8:
|
|
64634
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64635
|
+
msg.setPacketJson(value);
|
|
64636
|
+
break;
|
|
64637
|
+
default:
|
|
64638
|
+
reader.skipField();
|
|
64639
|
+
break;
|
|
64640
|
+
}
|
|
64641
|
+
}
|
|
64642
|
+
return msg;
|
|
64643
|
+
};
|
|
64644
|
+
|
|
64645
|
+
|
|
64646
|
+
/**
|
|
64647
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
64648
|
+
* @return {!Uint8Array}
|
|
64649
|
+
*/
|
|
64650
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.serializeBinary = function() {
|
|
64651
|
+
var writer = new jspb.BinaryWriter();
|
|
64652
|
+
proto.payment.ReadGameplaySettlementFactRequest.serializeBinaryToWriter(this, writer);
|
|
64653
|
+
return writer.getResultBuffer();
|
|
64654
|
+
};
|
|
64655
|
+
|
|
64656
|
+
|
|
64657
|
+
/**
|
|
64658
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
64659
|
+
* format), writing to the given BinaryWriter.
|
|
64660
|
+
* @param {!proto.payment.ReadGameplaySettlementFactRequest} message
|
|
64661
|
+
* @param {!jspb.BinaryWriter} writer
|
|
64662
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64663
|
+
*/
|
|
64664
|
+
proto.payment.ReadGameplaySettlementFactRequest.serializeBinaryToWriter = function(message, writer) {
|
|
64665
|
+
var f = undefined;
|
|
64666
|
+
f = message.getProtocolVersion();
|
|
64667
|
+
if (f !== 0) {
|
|
64668
|
+
writer.writeUint32(
|
|
64669
|
+
1,
|
|
64670
|
+
f
|
|
64671
|
+
);
|
|
64672
|
+
}
|
|
64673
|
+
f = message.getNamespace();
|
|
64674
|
+
if (f.length > 0) {
|
|
64675
|
+
writer.writeString(
|
|
64676
|
+
2,
|
|
64677
|
+
f
|
|
64678
|
+
);
|
|
64679
|
+
}
|
|
64680
|
+
f = message.getFact();
|
|
64681
|
+
if (f.length > 0) {
|
|
64682
|
+
writer.writeString(
|
|
64683
|
+
3,
|
|
64684
|
+
f
|
|
64685
|
+
);
|
|
64686
|
+
}
|
|
64687
|
+
f = message.getCommandJson();
|
|
64688
|
+
if (f.length > 0) {
|
|
64689
|
+
writer.writeString(
|
|
64690
|
+
4,
|
|
64691
|
+
f
|
|
64692
|
+
);
|
|
64693
|
+
}
|
|
64694
|
+
f = message.getSourceJson();
|
|
64695
|
+
if (f.length > 0) {
|
|
64696
|
+
writer.writeString(
|
|
64697
|
+
5,
|
|
64698
|
+
f
|
|
64699
|
+
);
|
|
64700
|
+
}
|
|
64701
|
+
f = message.getKey();
|
|
64702
|
+
if (f.length > 0) {
|
|
64703
|
+
writer.writeString(
|
|
64704
|
+
6,
|
|
64705
|
+
f
|
|
64706
|
+
);
|
|
64707
|
+
}
|
|
64708
|
+
f = message.getRequestedDebitMinor();
|
|
64709
|
+
if (f.length > 0) {
|
|
64710
|
+
writer.writeString(
|
|
64711
|
+
7,
|
|
64712
|
+
f
|
|
64713
|
+
);
|
|
64714
|
+
}
|
|
64715
|
+
f = message.getPacketJson();
|
|
64716
|
+
if (f.length > 0) {
|
|
64717
|
+
writer.writeString(
|
|
64718
|
+
8,
|
|
64719
|
+
f
|
|
64720
|
+
);
|
|
64721
|
+
}
|
|
64722
|
+
};
|
|
64723
|
+
|
|
64724
|
+
|
|
64725
|
+
/**
|
|
64726
|
+
* optional uint32 protocol_version = 1;
|
|
64727
|
+
* @return {number}
|
|
64728
|
+
*/
|
|
64729
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getProtocolVersion = function() {
|
|
64730
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
64731
|
+
};
|
|
64732
|
+
|
|
64733
|
+
|
|
64734
|
+
/**
|
|
64735
|
+
* @param {number} value
|
|
64736
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64737
|
+
*/
|
|
64738
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setProtocolVersion = function(value) {
|
|
64739
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
64740
|
+
};
|
|
64741
|
+
|
|
64742
|
+
|
|
64743
|
+
/**
|
|
64744
|
+
* optional string namespace = 2;
|
|
64745
|
+
* @return {string}
|
|
64746
|
+
*/
|
|
64747
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getNamespace = function() {
|
|
64748
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
64749
|
+
};
|
|
64750
|
+
|
|
64751
|
+
|
|
64752
|
+
/**
|
|
64753
|
+
* @param {string} value
|
|
64754
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64755
|
+
*/
|
|
64756
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setNamespace = function(value) {
|
|
64757
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
64758
|
+
};
|
|
64759
|
+
|
|
64760
|
+
|
|
64761
|
+
/**
|
|
64762
|
+
* optional string fact = 3;
|
|
64763
|
+
* @return {string}
|
|
64764
|
+
*/
|
|
64765
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getFact = function() {
|
|
64766
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
64767
|
+
};
|
|
64768
|
+
|
|
64769
|
+
|
|
64770
|
+
/**
|
|
64771
|
+
* @param {string} value
|
|
64772
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64773
|
+
*/
|
|
64774
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setFact = function(value) {
|
|
64775
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
64776
|
+
};
|
|
64777
|
+
|
|
64778
|
+
|
|
64779
|
+
/**
|
|
64780
|
+
* optional string command_json = 4;
|
|
64781
|
+
* @return {string}
|
|
64782
|
+
*/
|
|
64783
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getCommandJson = function() {
|
|
64784
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
64785
|
+
};
|
|
64786
|
+
|
|
64787
|
+
|
|
64788
|
+
/**
|
|
64789
|
+
* @param {string} value
|
|
64790
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64791
|
+
*/
|
|
64792
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setCommandJson = function(value) {
|
|
64793
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
64794
|
+
};
|
|
64795
|
+
|
|
64796
|
+
|
|
64797
|
+
/**
|
|
64798
|
+
* optional string source_json = 5;
|
|
64799
|
+
* @return {string}
|
|
64800
|
+
*/
|
|
64801
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getSourceJson = function() {
|
|
64802
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
64803
|
+
};
|
|
64804
|
+
|
|
64805
|
+
|
|
64806
|
+
/**
|
|
64807
|
+
* @param {string} value
|
|
64808
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64809
|
+
*/
|
|
64810
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setSourceJson = function(value) {
|
|
64811
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
64812
|
+
};
|
|
64813
|
+
|
|
64814
|
+
|
|
64815
|
+
/**
|
|
64816
|
+
* optional string key = 6;
|
|
64817
|
+
* @return {string}
|
|
64818
|
+
*/
|
|
64819
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getKey = function() {
|
|
64820
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
64821
|
+
};
|
|
64822
|
+
|
|
64823
|
+
|
|
64824
|
+
/**
|
|
64825
|
+
* @param {string} value
|
|
64826
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64827
|
+
*/
|
|
64828
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setKey = function(value) {
|
|
64829
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
64830
|
+
};
|
|
64831
|
+
|
|
64832
|
+
|
|
64833
|
+
/**
|
|
64834
|
+
* optional string requested_debit_minor = 7;
|
|
64835
|
+
* @return {string}
|
|
64836
|
+
*/
|
|
64837
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getRequestedDebitMinor = function() {
|
|
64838
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
64839
|
+
};
|
|
64840
|
+
|
|
64841
|
+
|
|
64842
|
+
/**
|
|
64843
|
+
* @param {string} value
|
|
64844
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64845
|
+
*/
|
|
64846
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setRequestedDebitMinor = function(value) {
|
|
64847
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
64848
|
+
};
|
|
64849
|
+
|
|
64850
|
+
|
|
64851
|
+
/**
|
|
64852
|
+
* optional string packet_json = 8;
|
|
64853
|
+
* @return {string}
|
|
64854
|
+
*/
|
|
64855
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.getPacketJson = function() {
|
|
64856
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
64857
|
+
};
|
|
64858
|
+
|
|
64859
|
+
|
|
64860
|
+
/**
|
|
64861
|
+
* @param {string} value
|
|
64862
|
+
* @return {!proto.payment.ReadGameplaySettlementFactRequest} returns this
|
|
64863
|
+
*/
|
|
64864
|
+
proto.payment.ReadGameplaySettlementFactRequest.prototype.setPacketJson = function(value) {
|
|
64865
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
64866
|
+
};
|
|
64867
|
+
|
|
64868
|
+
|
|
64869
|
+
|
|
64870
|
+
|
|
64871
|
+
|
|
64872
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
64873
|
+
/**
|
|
64874
|
+
* Creates an object representation of this proto.
|
|
64875
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
64876
|
+
* Optional fields that are not set will be set to undefined.
|
|
64877
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
64878
|
+
* For the list of reserved names please see:
|
|
64879
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
64880
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
64881
|
+
* JSPB instance for transitional soy proto support:
|
|
64882
|
+
* http://goto/soy-param-migration
|
|
64883
|
+
* @return {!Object}
|
|
64884
|
+
*/
|
|
64885
|
+
proto.payment.ReadGameplaySettlementFactResponse.prototype.toObject = function(opt_includeInstance) {
|
|
64886
|
+
return proto.payment.ReadGameplaySettlementFactResponse.toObject(opt_includeInstance, this);
|
|
64887
|
+
};
|
|
64888
|
+
|
|
64889
|
+
|
|
64890
|
+
/**
|
|
64891
|
+
* Static version of the {@see toObject} method.
|
|
64892
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
64893
|
+
* the JSPB instance for transitional soy proto support:
|
|
64894
|
+
* http://goto/soy-param-migration
|
|
64895
|
+
* @param {!proto.payment.ReadGameplaySettlementFactResponse} msg The msg instance to transform.
|
|
64896
|
+
* @return {!Object}
|
|
64897
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64898
|
+
*/
|
|
64899
|
+
proto.payment.ReadGameplaySettlementFactResponse.toObject = function(includeInstance, msg) {
|
|
64900
|
+
var f, obj = {
|
|
64901
|
+
resultJson: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
64902
|
+
};
|
|
64903
|
+
|
|
64904
|
+
if (includeInstance) {
|
|
64905
|
+
obj.$jspbMessageInstance = msg;
|
|
64906
|
+
}
|
|
64907
|
+
return obj;
|
|
64908
|
+
};
|
|
64909
|
+
}
|
|
64910
|
+
|
|
64911
|
+
|
|
64912
|
+
/**
|
|
64913
|
+
* Deserializes binary data (in protobuf wire format).
|
|
64914
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
64915
|
+
* @return {!proto.payment.ReadGameplaySettlementFactResponse}
|
|
64916
|
+
*/
|
|
64917
|
+
proto.payment.ReadGameplaySettlementFactResponse.deserializeBinary = function(bytes) {
|
|
64918
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
64919
|
+
var msg = new proto.payment.ReadGameplaySettlementFactResponse;
|
|
64920
|
+
return proto.payment.ReadGameplaySettlementFactResponse.deserializeBinaryFromReader(msg, reader);
|
|
64921
|
+
};
|
|
64922
|
+
|
|
64923
|
+
|
|
64924
|
+
/**
|
|
64925
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
64926
|
+
* given reader into the given message object.
|
|
64927
|
+
* @param {!proto.payment.ReadGameplaySettlementFactResponse} msg The message object to deserialize into.
|
|
64928
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
64929
|
+
* @return {!proto.payment.ReadGameplaySettlementFactResponse}
|
|
64930
|
+
*/
|
|
64931
|
+
proto.payment.ReadGameplaySettlementFactResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
64932
|
+
while (reader.nextField()) {
|
|
64933
|
+
if (reader.isEndGroup()) {
|
|
64934
|
+
break;
|
|
64935
|
+
}
|
|
64936
|
+
var field = reader.getFieldNumber();
|
|
64937
|
+
switch (field) {
|
|
64938
|
+
case 1:
|
|
64939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
64940
|
+
msg.setResultJson(value);
|
|
64941
|
+
break;
|
|
64942
|
+
default:
|
|
64943
|
+
reader.skipField();
|
|
64944
|
+
break;
|
|
64945
|
+
}
|
|
64946
|
+
}
|
|
64947
|
+
return msg;
|
|
64948
|
+
};
|
|
64949
|
+
|
|
64950
|
+
|
|
64951
|
+
/**
|
|
64952
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
64953
|
+
* @return {!Uint8Array}
|
|
64954
|
+
*/
|
|
64955
|
+
proto.payment.ReadGameplaySettlementFactResponse.prototype.serializeBinary = function() {
|
|
64956
|
+
var writer = new jspb.BinaryWriter();
|
|
64957
|
+
proto.payment.ReadGameplaySettlementFactResponse.serializeBinaryToWriter(this, writer);
|
|
64958
|
+
return writer.getResultBuffer();
|
|
64959
|
+
};
|
|
64960
|
+
|
|
64961
|
+
|
|
64962
|
+
/**
|
|
64963
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
64964
|
+
* format), writing to the given BinaryWriter.
|
|
64965
|
+
* @param {!proto.payment.ReadGameplaySettlementFactResponse} message
|
|
64966
|
+
* @param {!jspb.BinaryWriter} writer
|
|
64967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
64968
|
+
*/
|
|
64969
|
+
proto.payment.ReadGameplaySettlementFactResponse.serializeBinaryToWriter = function(message, writer) {
|
|
64970
|
+
var f = undefined;
|
|
64971
|
+
f = message.getResultJson();
|
|
64972
|
+
if (f.length > 0) {
|
|
64973
|
+
writer.writeString(
|
|
64974
|
+
1,
|
|
64975
|
+
f
|
|
64976
|
+
);
|
|
64977
|
+
}
|
|
64978
|
+
};
|
|
64979
|
+
|
|
64980
|
+
|
|
64981
|
+
/**
|
|
64982
|
+
* optional string result_json = 1;
|
|
64983
|
+
* @return {string}
|
|
64984
|
+
*/
|
|
64985
|
+
proto.payment.ReadGameplaySettlementFactResponse.prototype.getResultJson = function() {
|
|
64986
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
64987
|
+
};
|
|
64988
|
+
|
|
64989
|
+
|
|
64990
|
+
/**
|
|
64991
|
+
* @param {string} value
|
|
64992
|
+
* @return {!proto.payment.ReadGameplaySettlementFactResponse} returns this
|
|
64993
|
+
*/
|
|
64994
|
+
proto.payment.ReadGameplaySettlementFactResponse.prototype.setResultJson = function(value) {
|
|
64995
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
64996
|
+
};
|
|
64997
|
+
|
|
64998
|
+
|
|
64999
|
+
|
|
63359
65000
|
/**
|
|
63360
65001
|
* List of repeated fields within this message type.
|
|
63361
65002
|
* @private {!Array<number>}
|