protobuf-platform 1.2.579 → 1.2.581

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.
@@ -21,6 +21,10 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.payment.AdjustmentItem', null, global);
25
+ goog.exportSymbol('proto.payment.AdjustmentItemsResponse', null, global);
26
+ goog.exportSymbol('proto.payment.AdjustmentRequest', null, global);
27
+ goog.exportSymbol('proto.payment.AdjustmentSearchRequest', null, global);
24
28
  goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
25
29
  goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
26
30
  goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
@@ -2316,6 +2320,90 @@ if (goog.DEBUG && !COMPILED) {
2316
2320
  */
2317
2321
  proto.payment.CompensationItemsResponse.displayName = 'proto.payment.CompensationItemsResponse';
2318
2322
  }
2323
+ /**
2324
+ * Generated by JsPbCodeGenerator.
2325
+ * @param {Array=} opt_data Optional initial data array, typically from a
2326
+ * server response, or constructed directly in Javascript. The array is used
2327
+ * in place and becomes part of the constructed object. It is not cloned.
2328
+ * If no data is provided, the constructed object will be empty, but still
2329
+ * valid.
2330
+ * @extends {jspb.Message}
2331
+ * @constructor
2332
+ */
2333
+ proto.payment.AdjustmentRequest = function(opt_data) {
2334
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2335
+ };
2336
+ goog.inherits(proto.payment.AdjustmentRequest, jspb.Message);
2337
+ if (goog.DEBUG && !COMPILED) {
2338
+ /**
2339
+ * @public
2340
+ * @override
2341
+ */
2342
+ proto.payment.AdjustmentRequest.displayName = 'proto.payment.AdjustmentRequest';
2343
+ }
2344
+ /**
2345
+ * Generated by JsPbCodeGenerator.
2346
+ * @param {Array=} opt_data Optional initial data array, typically from a
2347
+ * server response, or constructed directly in Javascript. The array is used
2348
+ * in place and becomes part of the constructed object. It is not cloned.
2349
+ * If no data is provided, the constructed object will be empty, but still
2350
+ * valid.
2351
+ * @extends {jspb.Message}
2352
+ * @constructor
2353
+ */
2354
+ proto.payment.AdjustmentSearchRequest = function(opt_data) {
2355
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.AdjustmentSearchRequest.repeatedFields_, null);
2356
+ };
2357
+ goog.inherits(proto.payment.AdjustmentSearchRequest, jspb.Message);
2358
+ if (goog.DEBUG && !COMPILED) {
2359
+ /**
2360
+ * @public
2361
+ * @override
2362
+ */
2363
+ proto.payment.AdjustmentSearchRequest.displayName = 'proto.payment.AdjustmentSearchRequest';
2364
+ }
2365
+ /**
2366
+ * Generated by JsPbCodeGenerator.
2367
+ * @param {Array=} opt_data Optional initial data array, typically from a
2368
+ * server response, or constructed directly in Javascript. The array is used
2369
+ * in place and becomes part of the constructed object. It is not cloned.
2370
+ * If no data is provided, the constructed object will be empty, but still
2371
+ * valid.
2372
+ * @extends {jspb.Message}
2373
+ * @constructor
2374
+ */
2375
+ proto.payment.AdjustmentItem = function(opt_data) {
2376
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2377
+ };
2378
+ goog.inherits(proto.payment.AdjustmentItem, jspb.Message);
2379
+ if (goog.DEBUG && !COMPILED) {
2380
+ /**
2381
+ * @public
2382
+ * @override
2383
+ */
2384
+ proto.payment.AdjustmentItem.displayName = 'proto.payment.AdjustmentItem';
2385
+ }
2386
+ /**
2387
+ * Generated by JsPbCodeGenerator.
2388
+ * @param {Array=} opt_data Optional initial data array, typically from a
2389
+ * server response, or constructed directly in Javascript. The array is used
2390
+ * in place and becomes part of the constructed object. It is not cloned.
2391
+ * If no data is provided, the constructed object will be empty, but still
2392
+ * valid.
2393
+ * @extends {jspb.Message}
2394
+ * @constructor
2395
+ */
2396
+ proto.payment.AdjustmentItemsResponse = function(opt_data) {
2397
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.AdjustmentItemsResponse.repeatedFields_, null);
2398
+ };
2399
+ goog.inherits(proto.payment.AdjustmentItemsResponse, jspb.Message);
2400
+ if (goog.DEBUG && !COMPILED) {
2401
+ /**
2402
+ * @public
2403
+ * @override
2404
+ */
2405
+ proto.payment.AdjustmentItemsResponse.displayName = 'proto.payment.AdjustmentItemsResponse';
2406
+ }
2319
2407
  /**
2320
2408
  * Generated by JsPbCodeGenerator.
2321
2409
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3128,7 +3216,8 @@ proto.payment.PaginationRequest.toObject = function(includeInstance, msg) {
3128
3216
  order: jspb.Message.getFieldWithDefault(msg, 3, ""),
3129
3217
  paymentSearchParams: (f = msg.getPaymentSearchParams()) && proto.payment.PaymentSearchRequest.toObject(includeInstance, f),
3130
3218
  compensationSearchParams: (f = msg.getCompensationSearchParams()) && proto.payment.CompensationSearchRequest.toObject(includeInstance, f),
3131
- confiscationSearchParams: (f = msg.getConfiscationSearchParams()) && proto.payment.ConfiscationSearchRequest.toObject(includeInstance, f)
3219
+ confiscationSearchParams: (f = msg.getConfiscationSearchParams()) && proto.payment.ConfiscationSearchRequest.toObject(includeInstance, f),
3220
+ adjustmentSearchParams: (f = msg.getAdjustmentSearchParams()) && proto.payment.AdjustmentSearchRequest.toObject(includeInstance, f)
3132
3221
  };
3133
3222
 
3134
3223
  if (includeInstance) {
@@ -3192,6 +3281,11 @@ proto.payment.PaginationRequest.deserializeBinaryFromReader = function(msg, read
3192
3281
  reader.readMessage(value,proto.payment.ConfiscationSearchRequest.deserializeBinaryFromReader);
3193
3282
  msg.setConfiscationSearchParams(value);
3194
3283
  break;
3284
+ case 7:
3285
+ var value = new proto.payment.AdjustmentSearchRequest;
3286
+ reader.readMessage(value,proto.payment.AdjustmentSearchRequest.deserializeBinaryFromReader);
3287
+ msg.setAdjustmentSearchParams(value);
3288
+ break;
3195
3289
  default:
3196
3290
  reader.skipField();
3197
3291
  break;
@@ -3266,6 +3360,14 @@ proto.payment.PaginationRequest.serializeBinaryToWriter = function(message, writ
3266
3360
  proto.payment.ConfiscationSearchRequest.serializeBinaryToWriter
3267
3361
  );
3268
3362
  }
3363
+ f = message.getAdjustmentSearchParams();
3364
+ if (f != null) {
3365
+ writer.writeMessage(
3366
+ 7,
3367
+ f,
3368
+ proto.payment.AdjustmentSearchRequest.serializeBinaryToWriter
3369
+ );
3370
+ }
3269
3371
  };
3270
3372
 
3271
3373
 
@@ -3452,6 +3554,43 @@ proto.payment.PaginationRequest.prototype.hasConfiscationSearchParams = function
3452
3554
  };
3453
3555
 
3454
3556
 
3557
+ /**
3558
+ * optional AdjustmentSearchRequest adjustment_search_params = 7;
3559
+ * @return {?proto.payment.AdjustmentSearchRequest}
3560
+ */
3561
+ proto.payment.PaginationRequest.prototype.getAdjustmentSearchParams = function() {
3562
+ return /** @type{?proto.payment.AdjustmentSearchRequest} */ (
3563
+ jspb.Message.getWrapperField(this, proto.payment.AdjustmentSearchRequest, 7));
3564
+ };
3565
+
3566
+
3567
+ /**
3568
+ * @param {?proto.payment.AdjustmentSearchRequest|undefined} value
3569
+ * @return {!proto.payment.PaginationRequest} returns this
3570
+ */
3571
+ proto.payment.PaginationRequest.prototype.setAdjustmentSearchParams = function(value) {
3572
+ return jspb.Message.setWrapperField(this, 7, value);
3573
+ };
3574
+
3575
+
3576
+ /**
3577
+ * Clears the message field making it undefined.
3578
+ * @return {!proto.payment.PaginationRequest} returns this
3579
+ */
3580
+ proto.payment.PaginationRequest.prototype.clearAdjustmentSearchParams = function() {
3581
+ return this.setAdjustmentSearchParams(undefined);
3582
+ };
3583
+
3584
+
3585
+ /**
3586
+ * Returns whether this field is set.
3587
+ * @return {boolean}
3588
+ */
3589
+ proto.payment.PaginationRequest.prototype.hasAdjustmentSearchParams = function() {
3590
+ return jspb.Message.getField(this, 7) != null;
3591
+ };
3592
+
3593
+
3455
3594
 
3456
3595
  /**
3457
3596
  * List of repeated fields within this message type.
@@ -40525,7 +40664,9 @@ proto.payment.ManualDepositRequest.toObject = function(includeInstance, msg) {
40525
40664
  amount: jspb.Message.getFieldWithDefault(msg, 7, ""),
40526
40665
  paymentMethodId: jspb.Message.getFieldWithDefault(msg, 8, 0),
40527
40666
  externalPaymentId: jspb.Message.getFieldWithDefault(msg, 9, ""),
40528
- externalTransactionId: jspb.Message.getFieldWithDefault(msg, 10, "")
40667
+ externalTransactionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
40668
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 11, 0),
40669
+ bonusId: jspb.Message.getFieldWithDefault(msg, 12, 0)
40529
40670
  };
40530
40671
 
40531
40672
  if (includeInstance) {
@@ -40602,6 +40743,14 @@ proto.payment.ManualDepositRequest.deserializeBinaryFromReader = function(msg, r
40602
40743
  var value = /** @type {string} */ (reader.readString());
40603
40744
  msg.setExternalTransactionId(value);
40604
40745
  break;
40746
+ case 11:
40747
+ var value = /** @type {number} */ (reader.readInt32());
40748
+ msg.setUserBonusId(value);
40749
+ break;
40750
+ case 12:
40751
+ var value = /** @type {number} */ (reader.readInt32());
40752
+ msg.setBonusId(value);
40753
+ break;
40605
40754
  default:
40606
40755
  reader.skipField();
40607
40756
  break;
@@ -40701,6 +40850,20 @@ proto.payment.ManualDepositRequest.serializeBinaryToWriter = function(message, w
40701
40850
  f
40702
40851
  );
40703
40852
  }
40853
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
40854
+ if (f != null) {
40855
+ writer.writeInt32(
40856
+ 11,
40857
+ f
40858
+ );
40859
+ }
40860
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
40861
+ if (f != null) {
40862
+ writer.writeInt32(
40863
+ 12,
40864
+ f
40865
+ );
40866
+ }
40704
40867
  };
40705
40868
 
40706
40869
 
@@ -40956,6 +41119,78 @@ proto.payment.ManualDepositRequest.prototype.hasExternalTransactionId = function
40956
41119
  };
40957
41120
 
40958
41121
 
41122
+ /**
41123
+ * optional int32 user_bonus_id = 11;
41124
+ * @return {number}
41125
+ */
41126
+ proto.payment.ManualDepositRequest.prototype.getUserBonusId = function() {
41127
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
41128
+ };
41129
+
41130
+
41131
+ /**
41132
+ * @param {number} value
41133
+ * @return {!proto.payment.ManualDepositRequest} returns this
41134
+ */
41135
+ proto.payment.ManualDepositRequest.prototype.setUserBonusId = function(value) {
41136
+ return jspb.Message.setField(this, 11, value);
41137
+ };
41138
+
41139
+
41140
+ /**
41141
+ * Clears the field making it undefined.
41142
+ * @return {!proto.payment.ManualDepositRequest} returns this
41143
+ */
41144
+ proto.payment.ManualDepositRequest.prototype.clearUserBonusId = function() {
41145
+ return jspb.Message.setField(this, 11, undefined);
41146
+ };
41147
+
41148
+
41149
+ /**
41150
+ * Returns whether this field is set.
41151
+ * @return {boolean}
41152
+ */
41153
+ proto.payment.ManualDepositRequest.prototype.hasUserBonusId = function() {
41154
+ return jspb.Message.getField(this, 11) != null;
41155
+ };
41156
+
41157
+
41158
+ /**
41159
+ * optional int32 bonus_id = 12;
41160
+ * @return {number}
41161
+ */
41162
+ proto.payment.ManualDepositRequest.prototype.getBonusId = function() {
41163
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
41164
+ };
41165
+
41166
+
41167
+ /**
41168
+ * @param {number} value
41169
+ * @return {!proto.payment.ManualDepositRequest} returns this
41170
+ */
41171
+ proto.payment.ManualDepositRequest.prototype.setBonusId = function(value) {
41172
+ return jspb.Message.setField(this, 12, value);
41173
+ };
41174
+
41175
+
41176
+ /**
41177
+ * Clears the field making it undefined.
41178
+ * @return {!proto.payment.ManualDepositRequest} returns this
41179
+ */
41180
+ proto.payment.ManualDepositRequest.prototype.clearBonusId = function() {
41181
+ return jspb.Message.setField(this, 12, undefined);
41182
+ };
41183
+
41184
+
41185
+ /**
41186
+ * Returns whether this field is set.
41187
+ * @return {boolean}
41188
+ */
41189
+ proto.payment.ManualDepositRequest.prototype.hasBonusId = function() {
41190
+ return jspb.Message.getField(this, 12) != null;
41191
+ };
41192
+
41193
+
40959
41194
 
40960
41195
 
40961
41196
 
@@ -41458,7 +41693,9 @@ proto.payment.CompensationRequest.toObject = function(includeInstance, msg) {
41458
41693
  transactionCode: jspb.Message.getFieldWithDefault(msg, 8, ""),
41459
41694
  internalComment: jspb.Message.getFieldWithDefault(msg, 9, ""),
41460
41695
  amount: jspb.Message.getFieldWithDefault(msg, 10, ""),
41461
- promoOrBonusId: jspb.Message.getFieldWithDefault(msg, 11, "")
41696
+ promoOrBonusId: jspb.Message.getFieldWithDefault(msg, 11, ""),
41697
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 12, 0),
41698
+ bonusId: jspb.Message.getFieldWithDefault(msg, 13, 0)
41462
41699
  };
41463
41700
 
41464
41701
  if (includeInstance) {
@@ -41539,6 +41776,14 @@ proto.payment.CompensationRequest.deserializeBinaryFromReader = function(msg, re
41539
41776
  var value = /** @type {string} */ (reader.readString());
41540
41777
  msg.setPromoOrBonusId(value);
41541
41778
  break;
41779
+ case 12:
41780
+ var value = /** @type {number} */ (reader.readInt32());
41781
+ msg.setUserBonusId(value);
41782
+ break;
41783
+ case 13:
41784
+ var value = /** @type {number} */ (reader.readInt32());
41785
+ msg.setBonusId(value);
41786
+ break;
41542
41787
  default:
41543
41788
  reader.skipField();
41544
41789
  break;
@@ -41645,6 +41890,20 @@ proto.payment.CompensationRequest.serializeBinaryToWriter = function(message, wr
41645
41890
  f
41646
41891
  );
41647
41892
  }
41893
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
41894
+ if (f != null) {
41895
+ writer.writeInt32(
41896
+ 12,
41897
+ f
41898
+ );
41899
+ }
41900
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
41901
+ if (f != null) {
41902
+ writer.writeInt32(
41903
+ 13,
41904
+ f
41905
+ );
41906
+ }
41648
41907
  };
41649
41908
 
41650
41909
 
@@ -41882,6 +42141,78 @@ proto.payment.CompensationRequest.prototype.hasPromoOrBonusId = function() {
41882
42141
  };
41883
42142
 
41884
42143
 
42144
+ /**
42145
+ * optional int32 user_bonus_id = 12;
42146
+ * @return {number}
42147
+ */
42148
+ proto.payment.CompensationRequest.prototype.getUserBonusId = function() {
42149
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
42150
+ };
42151
+
42152
+
42153
+ /**
42154
+ * @param {number} value
42155
+ * @return {!proto.payment.CompensationRequest} returns this
42156
+ */
42157
+ proto.payment.CompensationRequest.prototype.setUserBonusId = function(value) {
42158
+ return jspb.Message.setField(this, 12, value);
42159
+ };
42160
+
42161
+
42162
+ /**
42163
+ * Clears the field making it undefined.
42164
+ * @return {!proto.payment.CompensationRequest} returns this
42165
+ */
42166
+ proto.payment.CompensationRequest.prototype.clearUserBonusId = function() {
42167
+ return jspb.Message.setField(this, 12, undefined);
42168
+ };
42169
+
42170
+
42171
+ /**
42172
+ * Returns whether this field is set.
42173
+ * @return {boolean}
42174
+ */
42175
+ proto.payment.CompensationRequest.prototype.hasUserBonusId = function() {
42176
+ return jspb.Message.getField(this, 12) != null;
42177
+ };
42178
+
42179
+
42180
+ /**
42181
+ * optional int32 bonus_id = 13;
42182
+ * @return {number}
42183
+ */
42184
+ proto.payment.CompensationRequest.prototype.getBonusId = function() {
42185
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
42186
+ };
42187
+
42188
+
42189
+ /**
42190
+ * @param {number} value
42191
+ * @return {!proto.payment.CompensationRequest} returns this
42192
+ */
42193
+ proto.payment.CompensationRequest.prototype.setBonusId = function(value) {
42194
+ return jspb.Message.setField(this, 13, value);
42195
+ };
42196
+
42197
+
42198
+ /**
42199
+ * Clears the field making it undefined.
42200
+ * @return {!proto.payment.CompensationRequest} returns this
42201
+ */
42202
+ proto.payment.CompensationRequest.prototype.clearBonusId = function() {
42203
+ return jspb.Message.setField(this, 13, undefined);
42204
+ };
42205
+
42206
+
42207
+ /**
42208
+ * Returns whether this field is set.
42209
+ * @return {boolean}
42210
+ */
42211
+ proto.payment.CompensationRequest.prototype.hasBonusId = function() {
42212
+ return jspb.Message.getField(this, 13) != null;
42213
+ };
42214
+
42215
+
41885
42216
 
41886
42217
  /**
41887
42218
  * List of repeated fields within this message type.
@@ -42624,7 +42955,9 @@ proto.payment.CompensationItem.toObject = function(includeInstance, msg) {
42624
42955
  playerNickname: jspb.Message.getFieldWithDefault(msg, 16, ""),
42625
42956
  playerEmail: jspb.Message.getFieldWithDefault(msg, 17, ""),
42626
42957
  operatorName: jspb.Message.getFieldWithDefault(msg, 18, ""),
42627
- operatorEmail: jspb.Message.getFieldWithDefault(msg, 19, "")
42958
+ operatorEmail: jspb.Message.getFieldWithDefault(msg, 19, ""),
42959
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 20, 0),
42960
+ bonusId: jspb.Message.getFieldWithDefault(msg, 21, 0)
42628
42961
  };
42629
42962
 
42630
42963
  if (includeInstance) {
@@ -42737,6 +43070,14 @@ proto.payment.CompensationItem.deserializeBinaryFromReader = function(msg, reade
42737
43070
  var value = /** @type {string} */ (reader.readString());
42738
43071
  msg.setOperatorEmail(value);
42739
43072
  break;
43073
+ case 20:
43074
+ var value = /** @type {number} */ (reader.readInt32());
43075
+ msg.setUserBonusId(value);
43076
+ break;
43077
+ case 21:
43078
+ var value = /** @type {number} */ (reader.readInt32());
43079
+ msg.setBonusId(value);
43080
+ break;
42740
43081
  default:
42741
43082
  reader.skipField();
42742
43083
  break;
@@ -42885,20 +43226,2147 @@ proto.payment.CompensationItem.serializeBinaryToWriter = function(message, write
42885
43226
  f
42886
43227
  );
42887
43228
  }
42888
- f = /** @type {string} */ (jspb.Message.getField(message, 18));
42889
- if (f != null) {
42890
- writer.writeString(
42891
- 18,
42892
- f
42893
- );
42894
- }
42895
- f = /** @type {string} */ (jspb.Message.getField(message, 19));
42896
- if (f != null) {
42897
- writer.writeString(
42898
- 19,
42899
- f
42900
- );
42901
- }
43229
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
43230
+ if (f != null) {
43231
+ writer.writeString(
43232
+ 18,
43233
+ f
43234
+ );
43235
+ }
43236
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
43237
+ if (f != null) {
43238
+ writer.writeString(
43239
+ 19,
43240
+ f
43241
+ );
43242
+ }
43243
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
43244
+ if (f != null) {
43245
+ writer.writeInt32(
43246
+ 20,
43247
+ f
43248
+ );
43249
+ }
43250
+ f = /** @type {number} */ (jspb.Message.getField(message, 21));
43251
+ if (f != null) {
43252
+ writer.writeInt32(
43253
+ 21,
43254
+ f
43255
+ );
43256
+ }
43257
+ };
43258
+
43259
+
43260
+ /**
43261
+ * optional int32 operation_id = 1;
43262
+ * @return {number}
43263
+ */
43264
+ proto.payment.CompensationItem.prototype.getOperationId = function() {
43265
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43266
+ };
43267
+
43268
+
43269
+ /**
43270
+ * @param {number} value
43271
+ * @return {!proto.payment.CompensationItem} returns this
43272
+ */
43273
+ proto.payment.CompensationItem.prototype.setOperationId = function(value) {
43274
+ return jspb.Message.setProto3IntField(this, 1, value);
43275
+ };
43276
+
43277
+
43278
+ /**
43279
+ * optional string operation_public_id = 2;
43280
+ * @return {string}
43281
+ */
43282
+ proto.payment.CompensationItem.prototype.getOperationPublicId = function() {
43283
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
43284
+ };
43285
+
43286
+
43287
+ /**
43288
+ * @param {string} value
43289
+ * @return {!proto.payment.CompensationItem} returns this
43290
+ */
43291
+ proto.payment.CompensationItem.prototype.setOperationPublicId = function(value) {
43292
+ return jspb.Message.setProto3StringField(this, 2, value);
43293
+ };
43294
+
43295
+
43296
+ /**
43297
+ * optional int32 user_id = 3;
43298
+ * @return {number}
43299
+ */
43300
+ proto.payment.CompensationItem.prototype.getUserId = function() {
43301
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43302
+ };
43303
+
43304
+
43305
+ /**
43306
+ * @param {number} value
43307
+ * @return {!proto.payment.CompensationItem} returns this
43308
+ */
43309
+ proto.payment.CompensationItem.prototype.setUserId = function(value) {
43310
+ return jspb.Message.setProto3IntField(this, 3, value);
43311
+ };
43312
+
43313
+
43314
+ /**
43315
+ * optional string compensation_type = 4;
43316
+ * @return {string}
43317
+ */
43318
+ proto.payment.CompensationItem.prototype.getCompensationType = function() {
43319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43320
+ };
43321
+
43322
+
43323
+ /**
43324
+ * @param {string} value
43325
+ * @return {!proto.payment.CompensationItem} returns this
43326
+ */
43327
+ proto.payment.CompensationItem.prototype.setCompensationType = function(value) {
43328
+ return jspb.Message.setProto3StringField(this, 4, value);
43329
+ };
43330
+
43331
+
43332
+ /**
43333
+ * optional string transaction_code = 5;
43334
+ * @return {string}
43335
+ */
43336
+ proto.payment.CompensationItem.prototype.getTransactionCode = function() {
43337
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
43338
+ };
43339
+
43340
+
43341
+ /**
43342
+ * @param {string} value
43343
+ * @return {!proto.payment.CompensationItem} returns this
43344
+ */
43345
+ proto.payment.CompensationItem.prototype.setTransactionCode = function(value) {
43346
+ return jspb.Message.setProto3StringField(this, 5, value);
43347
+ };
43348
+
43349
+
43350
+ /**
43351
+ * optional int64 amount_minor = 6;
43352
+ * @return {number}
43353
+ */
43354
+ proto.payment.CompensationItem.prototype.getAmountMinor = function() {
43355
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
43356
+ };
43357
+
43358
+
43359
+ /**
43360
+ * @param {number} value
43361
+ * @return {!proto.payment.CompensationItem} returns this
43362
+ */
43363
+ proto.payment.CompensationItem.prototype.setAmountMinor = function(value) {
43364
+ return jspb.Message.setProto3IntField(this, 6, value);
43365
+ };
43366
+
43367
+
43368
+ /**
43369
+ * optional string currency = 7;
43370
+ * @return {string}
43371
+ */
43372
+ proto.payment.CompensationItem.prototype.getCurrency = function() {
43373
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
43374
+ };
43375
+
43376
+
43377
+ /**
43378
+ * @param {string} value
43379
+ * @return {!proto.payment.CompensationItem} returns this
43380
+ */
43381
+ proto.payment.CompensationItem.prototype.setCurrency = function(value) {
43382
+ return jspb.Message.setProto3StringField(this, 7, value);
43383
+ };
43384
+
43385
+
43386
+ /**
43387
+ * optional int32 currency_scale = 8;
43388
+ * @return {number}
43389
+ */
43390
+ proto.payment.CompensationItem.prototype.getCurrencyScale = function() {
43391
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
43392
+ };
43393
+
43394
+
43395
+ /**
43396
+ * @param {number} value
43397
+ * @return {!proto.payment.CompensationItem} returns this
43398
+ */
43399
+ proto.payment.CompensationItem.prototype.setCurrencyScale = function(value) {
43400
+ return jspb.Message.setProto3IntField(this, 8, value);
43401
+ };
43402
+
43403
+
43404
+ /**
43405
+ * optional string wager_multiplier = 9;
43406
+ * @return {string}
43407
+ */
43408
+ proto.payment.CompensationItem.prototype.getWagerMultiplier = function() {
43409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
43410
+ };
43411
+
43412
+
43413
+ /**
43414
+ * @param {string} value
43415
+ * @return {!proto.payment.CompensationItem} returns this
43416
+ */
43417
+ proto.payment.CompensationItem.prototype.setWagerMultiplier = function(value) {
43418
+ return jspb.Message.setProto3StringField(this, 9, value);
43419
+ };
43420
+
43421
+
43422
+ /**
43423
+ * optional string promo_or_bonus_id = 10;
43424
+ * @return {string}
43425
+ */
43426
+ proto.payment.CompensationItem.prototype.getPromoOrBonusId = function() {
43427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
43428
+ };
43429
+
43430
+
43431
+ /**
43432
+ * @param {string} value
43433
+ * @return {!proto.payment.CompensationItem} returns this
43434
+ */
43435
+ proto.payment.CompensationItem.prototype.setPromoOrBonusId = function(value) {
43436
+ return jspb.Message.setField(this, 10, value);
43437
+ };
43438
+
43439
+
43440
+ /**
43441
+ * Clears the field making it undefined.
43442
+ * @return {!proto.payment.CompensationItem} returns this
43443
+ */
43444
+ proto.payment.CompensationItem.prototype.clearPromoOrBonusId = function() {
43445
+ return jspb.Message.setField(this, 10, undefined);
43446
+ };
43447
+
43448
+
43449
+ /**
43450
+ * Returns whether this field is set.
43451
+ * @return {boolean}
43452
+ */
43453
+ proto.payment.CompensationItem.prototype.hasPromoOrBonusId = function() {
43454
+ return jspb.Message.getField(this, 10) != null;
43455
+ };
43456
+
43457
+
43458
+ /**
43459
+ * optional string internal_comment = 11;
43460
+ * @return {string}
43461
+ */
43462
+ proto.payment.CompensationItem.prototype.getInternalComment = function() {
43463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
43464
+ };
43465
+
43466
+
43467
+ /**
43468
+ * @param {string} value
43469
+ * @return {!proto.payment.CompensationItem} returns this
43470
+ */
43471
+ proto.payment.CompensationItem.prototype.setInternalComment = function(value) {
43472
+ return jspb.Message.setProto3StringField(this, 11, value);
43473
+ };
43474
+
43475
+
43476
+ /**
43477
+ * optional int32 operator_id = 12;
43478
+ * @return {number}
43479
+ */
43480
+ proto.payment.CompensationItem.prototype.getOperatorId = function() {
43481
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
43482
+ };
43483
+
43484
+
43485
+ /**
43486
+ * @param {number} value
43487
+ * @return {!proto.payment.CompensationItem} returns this
43488
+ */
43489
+ proto.payment.CompensationItem.prototype.setOperatorId = function(value) {
43490
+ return jspb.Message.setProto3IntField(this, 12, value);
43491
+ };
43492
+
43493
+
43494
+ /**
43495
+ * optional string status_code = 13;
43496
+ * @return {string}
43497
+ */
43498
+ proto.payment.CompensationItem.prototype.getStatusCode = function() {
43499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
43500
+ };
43501
+
43502
+
43503
+ /**
43504
+ * @param {string} value
43505
+ * @return {!proto.payment.CompensationItem} returns this
43506
+ */
43507
+ proto.payment.CompensationItem.prototype.setStatusCode = function(value) {
43508
+ return jspb.Message.setProto3StringField(this, 13, value);
43509
+ };
43510
+
43511
+
43512
+ /**
43513
+ * optional string created_at = 14;
43514
+ * @return {string}
43515
+ */
43516
+ proto.payment.CompensationItem.prototype.getCreatedAt = function() {
43517
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
43518
+ };
43519
+
43520
+
43521
+ /**
43522
+ * @param {string} value
43523
+ * @return {!proto.payment.CompensationItem} returns this
43524
+ */
43525
+ proto.payment.CompensationItem.prototype.setCreatedAt = function(value) {
43526
+ return jspb.Message.setProto3StringField(this, 14, value);
43527
+ };
43528
+
43529
+
43530
+ /**
43531
+ * optional string completed_at = 15;
43532
+ * @return {string}
43533
+ */
43534
+ proto.payment.CompensationItem.prototype.getCompletedAt = function() {
43535
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
43536
+ };
43537
+
43538
+
43539
+ /**
43540
+ * @param {string} value
43541
+ * @return {!proto.payment.CompensationItem} returns this
43542
+ */
43543
+ proto.payment.CompensationItem.prototype.setCompletedAt = function(value) {
43544
+ return jspb.Message.setField(this, 15, value);
43545
+ };
43546
+
43547
+
43548
+ /**
43549
+ * Clears the field making it undefined.
43550
+ * @return {!proto.payment.CompensationItem} returns this
43551
+ */
43552
+ proto.payment.CompensationItem.prototype.clearCompletedAt = function() {
43553
+ return jspb.Message.setField(this, 15, undefined);
43554
+ };
43555
+
43556
+
43557
+ /**
43558
+ * Returns whether this field is set.
43559
+ * @return {boolean}
43560
+ */
43561
+ proto.payment.CompensationItem.prototype.hasCompletedAt = function() {
43562
+ return jspb.Message.getField(this, 15) != null;
43563
+ };
43564
+
43565
+
43566
+ /**
43567
+ * optional string player_nickname = 16;
43568
+ * @return {string}
43569
+ */
43570
+ proto.payment.CompensationItem.prototype.getPlayerNickname = function() {
43571
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
43572
+ };
43573
+
43574
+
43575
+ /**
43576
+ * @param {string} value
43577
+ * @return {!proto.payment.CompensationItem} returns this
43578
+ */
43579
+ proto.payment.CompensationItem.prototype.setPlayerNickname = function(value) {
43580
+ return jspb.Message.setField(this, 16, value);
43581
+ };
43582
+
43583
+
43584
+ /**
43585
+ * Clears the field making it undefined.
43586
+ * @return {!proto.payment.CompensationItem} returns this
43587
+ */
43588
+ proto.payment.CompensationItem.prototype.clearPlayerNickname = function() {
43589
+ return jspb.Message.setField(this, 16, undefined);
43590
+ };
43591
+
43592
+
43593
+ /**
43594
+ * Returns whether this field is set.
43595
+ * @return {boolean}
43596
+ */
43597
+ proto.payment.CompensationItem.prototype.hasPlayerNickname = function() {
43598
+ return jspb.Message.getField(this, 16) != null;
43599
+ };
43600
+
43601
+
43602
+ /**
43603
+ * optional string player_email = 17;
43604
+ * @return {string}
43605
+ */
43606
+ proto.payment.CompensationItem.prototype.getPlayerEmail = function() {
43607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
43608
+ };
43609
+
43610
+
43611
+ /**
43612
+ * @param {string} value
43613
+ * @return {!proto.payment.CompensationItem} returns this
43614
+ */
43615
+ proto.payment.CompensationItem.prototype.setPlayerEmail = function(value) {
43616
+ return jspb.Message.setField(this, 17, value);
43617
+ };
43618
+
43619
+
43620
+ /**
43621
+ * Clears the field making it undefined.
43622
+ * @return {!proto.payment.CompensationItem} returns this
43623
+ */
43624
+ proto.payment.CompensationItem.prototype.clearPlayerEmail = function() {
43625
+ return jspb.Message.setField(this, 17, undefined);
43626
+ };
43627
+
43628
+
43629
+ /**
43630
+ * Returns whether this field is set.
43631
+ * @return {boolean}
43632
+ */
43633
+ proto.payment.CompensationItem.prototype.hasPlayerEmail = function() {
43634
+ return jspb.Message.getField(this, 17) != null;
43635
+ };
43636
+
43637
+
43638
+ /**
43639
+ * optional string operator_name = 18;
43640
+ * @return {string}
43641
+ */
43642
+ proto.payment.CompensationItem.prototype.getOperatorName = function() {
43643
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
43644
+ };
43645
+
43646
+
43647
+ /**
43648
+ * @param {string} value
43649
+ * @return {!proto.payment.CompensationItem} returns this
43650
+ */
43651
+ proto.payment.CompensationItem.prototype.setOperatorName = function(value) {
43652
+ return jspb.Message.setField(this, 18, value);
43653
+ };
43654
+
43655
+
43656
+ /**
43657
+ * Clears the field making it undefined.
43658
+ * @return {!proto.payment.CompensationItem} returns this
43659
+ */
43660
+ proto.payment.CompensationItem.prototype.clearOperatorName = function() {
43661
+ return jspb.Message.setField(this, 18, undefined);
43662
+ };
43663
+
43664
+
43665
+ /**
43666
+ * Returns whether this field is set.
43667
+ * @return {boolean}
43668
+ */
43669
+ proto.payment.CompensationItem.prototype.hasOperatorName = function() {
43670
+ return jspb.Message.getField(this, 18) != null;
43671
+ };
43672
+
43673
+
43674
+ /**
43675
+ * optional string operator_email = 19;
43676
+ * @return {string}
43677
+ */
43678
+ proto.payment.CompensationItem.prototype.getOperatorEmail = function() {
43679
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
43680
+ };
43681
+
43682
+
43683
+ /**
43684
+ * @param {string} value
43685
+ * @return {!proto.payment.CompensationItem} returns this
43686
+ */
43687
+ proto.payment.CompensationItem.prototype.setOperatorEmail = function(value) {
43688
+ return jspb.Message.setField(this, 19, value);
43689
+ };
43690
+
43691
+
43692
+ /**
43693
+ * Clears the field making it undefined.
43694
+ * @return {!proto.payment.CompensationItem} returns this
43695
+ */
43696
+ proto.payment.CompensationItem.prototype.clearOperatorEmail = function() {
43697
+ return jspb.Message.setField(this, 19, undefined);
43698
+ };
43699
+
43700
+
43701
+ /**
43702
+ * Returns whether this field is set.
43703
+ * @return {boolean}
43704
+ */
43705
+ proto.payment.CompensationItem.prototype.hasOperatorEmail = function() {
43706
+ return jspb.Message.getField(this, 19) != null;
43707
+ };
43708
+
43709
+
43710
+ /**
43711
+ * optional int32 user_bonus_id = 20;
43712
+ * @return {number}
43713
+ */
43714
+ proto.payment.CompensationItem.prototype.getUserBonusId = function() {
43715
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
43716
+ };
43717
+
43718
+
43719
+ /**
43720
+ * @param {number} value
43721
+ * @return {!proto.payment.CompensationItem} returns this
43722
+ */
43723
+ proto.payment.CompensationItem.prototype.setUserBonusId = function(value) {
43724
+ return jspb.Message.setField(this, 20, value);
43725
+ };
43726
+
43727
+
43728
+ /**
43729
+ * Clears the field making it undefined.
43730
+ * @return {!proto.payment.CompensationItem} returns this
43731
+ */
43732
+ proto.payment.CompensationItem.prototype.clearUserBonusId = function() {
43733
+ return jspb.Message.setField(this, 20, undefined);
43734
+ };
43735
+
43736
+
43737
+ /**
43738
+ * Returns whether this field is set.
43739
+ * @return {boolean}
43740
+ */
43741
+ proto.payment.CompensationItem.prototype.hasUserBonusId = function() {
43742
+ return jspb.Message.getField(this, 20) != null;
43743
+ };
43744
+
43745
+
43746
+ /**
43747
+ * optional int32 bonus_id = 21;
43748
+ * @return {number}
43749
+ */
43750
+ proto.payment.CompensationItem.prototype.getBonusId = function() {
43751
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
43752
+ };
43753
+
43754
+
43755
+ /**
43756
+ * @param {number} value
43757
+ * @return {!proto.payment.CompensationItem} returns this
43758
+ */
43759
+ proto.payment.CompensationItem.prototype.setBonusId = function(value) {
43760
+ return jspb.Message.setField(this, 21, value);
43761
+ };
43762
+
43763
+
43764
+ /**
43765
+ * Clears the field making it undefined.
43766
+ * @return {!proto.payment.CompensationItem} returns this
43767
+ */
43768
+ proto.payment.CompensationItem.prototype.clearBonusId = function() {
43769
+ return jspb.Message.setField(this, 21, undefined);
43770
+ };
43771
+
43772
+
43773
+ /**
43774
+ * Returns whether this field is set.
43775
+ * @return {boolean}
43776
+ */
43777
+ proto.payment.CompensationItem.prototype.hasBonusId = function() {
43778
+ return jspb.Message.getField(this, 21) != null;
43779
+ };
43780
+
43781
+
43782
+
43783
+ /**
43784
+ * List of repeated fields within this message type.
43785
+ * @private {!Array<number>}
43786
+ * @const
43787
+ */
43788
+ proto.payment.CompensationItemsResponse.repeatedFields_ = [1];
43789
+
43790
+
43791
+
43792
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43793
+ /**
43794
+ * Creates an object representation of this proto.
43795
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43796
+ * Optional fields that are not set will be set to undefined.
43797
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43798
+ * For the list of reserved names please see:
43799
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43800
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43801
+ * JSPB instance for transitional soy proto support:
43802
+ * http://goto/soy-param-migration
43803
+ * @return {!Object}
43804
+ */
43805
+ proto.payment.CompensationItemsResponse.prototype.toObject = function(opt_includeInstance) {
43806
+ return proto.payment.CompensationItemsResponse.toObject(opt_includeInstance, this);
43807
+ };
43808
+
43809
+
43810
+ /**
43811
+ * Static version of the {@see toObject} method.
43812
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43813
+ * the JSPB instance for transitional soy proto support:
43814
+ * http://goto/soy-param-migration
43815
+ * @param {!proto.payment.CompensationItemsResponse} msg The msg instance to transform.
43816
+ * @return {!Object}
43817
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43818
+ */
43819
+ proto.payment.CompensationItemsResponse.toObject = function(includeInstance, msg) {
43820
+ var f, obj = {
43821
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
43822
+ proto.payment.CompensationItem.toObject, includeInstance),
43823
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
43824
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
43825
+ };
43826
+
43827
+ if (includeInstance) {
43828
+ obj.$jspbMessageInstance = msg;
43829
+ }
43830
+ return obj;
43831
+ };
43832
+ }
43833
+
43834
+
43835
+ /**
43836
+ * Deserializes binary data (in protobuf wire format).
43837
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43838
+ * @return {!proto.payment.CompensationItemsResponse}
43839
+ */
43840
+ proto.payment.CompensationItemsResponse.deserializeBinary = function(bytes) {
43841
+ var reader = new jspb.BinaryReader(bytes);
43842
+ var msg = new proto.payment.CompensationItemsResponse;
43843
+ return proto.payment.CompensationItemsResponse.deserializeBinaryFromReader(msg, reader);
43844
+ };
43845
+
43846
+
43847
+ /**
43848
+ * Deserializes binary data (in protobuf wire format) from the
43849
+ * given reader into the given message object.
43850
+ * @param {!proto.payment.CompensationItemsResponse} msg The message object to deserialize into.
43851
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43852
+ * @return {!proto.payment.CompensationItemsResponse}
43853
+ */
43854
+ proto.payment.CompensationItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
43855
+ while (reader.nextField()) {
43856
+ if (reader.isEndGroup()) {
43857
+ break;
43858
+ }
43859
+ var field = reader.getFieldNumber();
43860
+ switch (field) {
43861
+ case 1:
43862
+ var value = new proto.payment.CompensationItem;
43863
+ reader.readMessage(value,proto.payment.CompensationItem.deserializeBinaryFromReader);
43864
+ msg.addItems(value);
43865
+ break;
43866
+ case 2:
43867
+ var value = /** @type {number} */ (reader.readInt32());
43868
+ msg.setTotalPages(value);
43869
+ break;
43870
+ case 3:
43871
+ var value = /** @type {number} */ (reader.readInt32());
43872
+ msg.setTotalItems(value);
43873
+ break;
43874
+ default:
43875
+ reader.skipField();
43876
+ break;
43877
+ }
43878
+ }
43879
+ return msg;
43880
+ };
43881
+
43882
+
43883
+ /**
43884
+ * Serializes the message to binary data (in protobuf wire format).
43885
+ * @return {!Uint8Array}
43886
+ */
43887
+ proto.payment.CompensationItemsResponse.prototype.serializeBinary = function() {
43888
+ var writer = new jspb.BinaryWriter();
43889
+ proto.payment.CompensationItemsResponse.serializeBinaryToWriter(this, writer);
43890
+ return writer.getResultBuffer();
43891
+ };
43892
+
43893
+
43894
+ /**
43895
+ * Serializes the given message to binary data (in protobuf wire
43896
+ * format), writing to the given BinaryWriter.
43897
+ * @param {!proto.payment.CompensationItemsResponse} message
43898
+ * @param {!jspb.BinaryWriter} writer
43899
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43900
+ */
43901
+ proto.payment.CompensationItemsResponse.serializeBinaryToWriter = function(message, writer) {
43902
+ var f = undefined;
43903
+ f = message.getItemsList();
43904
+ if (f.length > 0) {
43905
+ writer.writeRepeatedMessage(
43906
+ 1,
43907
+ f,
43908
+ proto.payment.CompensationItem.serializeBinaryToWriter
43909
+ );
43910
+ }
43911
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
43912
+ if (f != null) {
43913
+ writer.writeInt32(
43914
+ 2,
43915
+ f
43916
+ );
43917
+ }
43918
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
43919
+ if (f != null) {
43920
+ writer.writeInt32(
43921
+ 3,
43922
+ f
43923
+ );
43924
+ }
43925
+ };
43926
+
43927
+
43928
+ /**
43929
+ * repeated CompensationItem items = 1;
43930
+ * @return {!Array<!proto.payment.CompensationItem>}
43931
+ */
43932
+ proto.payment.CompensationItemsResponse.prototype.getItemsList = function() {
43933
+ return /** @type{!Array<!proto.payment.CompensationItem>} */ (
43934
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.CompensationItem, 1));
43935
+ };
43936
+
43937
+
43938
+ /**
43939
+ * @param {!Array<!proto.payment.CompensationItem>} value
43940
+ * @return {!proto.payment.CompensationItemsResponse} returns this
43941
+ */
43942
+ proto.payment.CompensationItemsResponse.prototype.setItemsList = function(value) {
43943
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
43944
+ };
43945
+
43946
+
43947
+ /**
43948
+ * @param {!proto.payment.CompensationItem=} opt_value
43949
+ * @param {number=} opt_index
43950
+ * @return {!proto.payment.CompensationItem}
43951
+ */
43952
+ proto.payment.CompensationItemsResponse.prototype.addItems = function(opt_value, opt_index) {
43953
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.CompensationItem, opt_index);
43954
+ };
43955
+
43956
+
43957
+ /**
43958
+ * Clears the list making it empty but non-null.
43959
+ * @return {!proto.payment.CompensationItemsResponse} returns this
43960
+ */
43961
+ proto.payment.CompensationItemsResponse.prototype.clearItemsList = function() {
43962
+ return this.setItemsList([]);
43963
+ };
43964
+
43965
+
43966
+ /**
43967
+ * optional int32 total_pages = 2;
43968
+ * @return {number}
43969
+ */
43970
+ proto.payment.CompensationItemsResponse.prototype.getTotalPages = function() {
43971
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43972
+ };
43973
+
43974
+
43975
+ /**
43976
+ * @param {number} value
43977
+ * @return {!proto.payment.CompensationItemsResponse} returns this
43978
+ */
43979
+ proto.payment.CompensationItemsResponse.prototype.setTotalPages = function(value) {
43980
+ return jspb.Message.setField(this, 2, value);
43981
+ };
43982
+
43983
+
43984
+ /**
43985
+ * Clears the field making it undefined.
43986
+ * @return {!proto.payment.CompensationItemsResponse} returns this
43987
+ */
43988
+ proto.payment.CompensationItemsResponse.prototype.clearTotalPages = function() {
43989
+ return jspb.Message.setField(this, 2, undefined);
43990
+ };
43991
+
43992
+
43993
+ /**
43994
+ * Returns whether this field is set.
43995
+ * @return {boolean}
43996
+ */
43997
+ proto.payment.CompensationItemsResponse.prototype.hasTotalPages = function() {
43998
+ return jspb.Message.getField(this, 2) != null;
43999
+ };
44000
+
44001
+
44002
+ /**
44003
+ * optional int32 total_items = 3;
44004
+ * @return {number}
44005
+ */
44006
+ proto.payment.CompensationItemsResponse.prototype.getTotalItems = function() {
44007
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44008
+ };
44009
+
44010
+
44011
+ /**
44012
+ * @param {number} value
44013
+ * @return {!proto.payment.CompensationItemsResponse} returns this
44014
+ */
44015
+ proto.payment.CompensationItemsResponse.prototype.setTotalItems = function(value) {
44016
+ return jspb.Message.setField(this, 3, value);
44017
+ };
44018
+
44019
+
44020
+ /**
44021
+ * Clears the field making it undefined.
44022
+ * @return {!proto.payment.CompensationItemsResponse} returns this
44023
+ */
44024
+ proto.payment.CompensationItemsResponse.prototype.clearTotalItems = function() {
44025
+ return jspb.Message.setField(this, 3, undefined);
44026
+ };
44027
+
44028
+
44029
+ /**
44030
+ * Returns whether this field is set.
44031
+ * @return {boolean}
44032
+ */
44033
+ proto.payment.CompensationItemsResponse.prototype.hasTotalItems = function() {
44034
+ return jspb.Message.getField(this, 3) != null;
44035
+ };
44036
+
44037
+
44038
+
44039
+
44040
+
44041
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44042
+ /**
44043
+ * Creates an object representation of this proto.
44044
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
44045
+ * Optional fields that are not set will be set to undefined.
44046
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44047
+ * For the list of reserved names please see:
44048
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44049
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44050
+ * JSPB instance for transitional soy proto support:
44051
+ * http://goto/soy-param-migration
44052
+ * @return {!Object}
44053
+ */
44054
+ proto.payment.AdjustmentRequest.prototype.toObject = function(opt_includeInstance) {
44055
+ return proto.payment.AdjustmentRequest.toObject(opt_includeInstance, this);
44056
+ };
44057
+
44058
+
44059
+ /**
44060
+ * Static version of the {@see toObject} method.
44061
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44062
+ * the JSPB instance for transitional soy proto support:
44063
+ * http://goto/soy-param-migration
44064
+ * @param {!proto.payment.AdjustmentRequest} msg The msg instance to transform.
44065
+ * @return {!Object}
44066
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44067
+ */
44068
+ proto.payment.AdjustmentRequest.toObject = function(includeInstance, msg) {
44069
+ var f, obj = {
44070
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44071
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
44072
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
44073
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
44074
+ reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
44075
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, ""),
44076
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
44077
+ internalComment: jspb.Message.getFieldWithDefault(msg, 8, ""),
44078
+ amount: jspb.Message.getFieldWithDefault(msg, 9, "")
44079
+ };
44080
+
44081
+ if (includeInstance) {
44082
+ obj.$jspbMessageInstance = msg;
44083
+ }
44084
+ return obj;
44085
+ };
44086
+ }
44087
+
44088
+
44089
+ /**
44090
+ * Deserializes binary data (in protobuf wire format).
44091
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
44092
+ * @return {!proto.payment.AdjustmentRequest}
44093
+ */
44094
+ proto.payment.AdjustmentRequest.deserializeBinary = function(bytes) {
44095
+ var reader = new jspb.BinaryReader(bytes);
44096
+ var msg = new proto.payment.AdjustmentRequest;
44097
+ return proto.payment.AdjustmentRequest.deserializeBinaryFromReader(msg, reader);
44098
+ };
44099
+
44100
+
44101
+ /**
44102
+ * Deserializes binary data (in protobuf wire format) from the
44103
+ * given reader into the given message object.
44104
+ * @param {!proto.payment.AdjustmentRequest} msg The message object to deserialize into.
44105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44106
+ * @return {!proto.payment.AdjustmentRequest}
44107
+ */
44108
+ proto.payment.AdjustmentRequest.deserializeBinaryFromReader = function(msg, reader) {
44109
+ while (reader.nextField()) {
44110
+ if (reader.isEndGroup()) {
44111
+ break;
44112
+ }
44113
+ var field = reader.getFieldNumber();
44114
+ switch (field) {
44115
+ case 1:
44116
+ var value = /** @type {number} */ (reader.readInt32());
44117
+ msg.setUserId(value);
44118
+ break;
44119
+ case 2:
44120
+ var value = /** @type {number} */ (reader.readInt64());
44121
+ msg.setAmountMinor(value);
44122
+ break;
44123
+ case 3:
44124
+ var value = /** @type {string} */ (reader.readString());
44125
+ msg.setCurrency(value);
44126
+ break;
44127
+ case 4:
44128
+ var value = /** @type {string} */ (reader.readString());
44129
+ msg.setWagerMultiplier(value);
44130
+ break;
44131
+ case 5:
44132
+ var value = /** @type {string} */ (reader.readString());
44133
+ msg.setReason(value);
44134
+ break;
44135
+ case 6:
44136
+ var value = /** @type {string} */ (reader.readString());
44137
+ msg.setIdempotencyId(value);
44138
+ break;
44139
+ case 7:
44140
+ var value = /** @type {string} */ (reader.readString());
44141
+ msg.setTransactionCode(value);
44142
+ break;
44143
+ case 8:
44144
+ var value = /** @type {string} */ (reader.readString());
44145
+ msg.setInternalComment(value);
44146
+ break;
44147
+ case 9:
44148
+ var value = /** @type {string} */ (reader.readString());
44149
+ msg.setAmount(value);
44150
+ break;
44151
+ default:
44152
+ reader.skipField();
44153
+ break;
44154
+ }
44155
+ }
44156
+ return msg;
44157
+ };
44158
+
44159
+
44160
+ /**
44161
+ * Serializes the message to binary data (in protobuf wire format).
44162
+ * @return {!Uint8Array}
44163
+ */
44164
+ proto.payment.AdjustmentRequest.prototype.serializeBinary = function() {
44165
+ var writer = new jspb.BinaryWriter();
44166
+ proto.payment.AdjustmentRequest.serializeBinaryToWriter(this, writer);
44167
+ return writer.getResultBuffer();
44168
+ };
44169
+
44170
+
44171
+ /**
44172
+ * Serializes the given message to binary data (in protobuf wire
44173
+ * format), writing to the given BinaryWriter.
44174
+ * @param {!proto.payment.AdjustmentRequest} message
44175
+ * @param {!jspb.BinaryWriter} writer
44176
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44177
+ */
44178
+ proto.payment.AdjustmentRequest.serializeBinaryToWriter = function(message, writer) {
44179
+ var f = undefined;
44180
+ f = message.getUserId();
44181
+ if (f !== 0) {
44182
+ writer.writeInt32(
44183
+ 1,
44184
+ f
44185
+ );
44186
+ }
44187
+ f = message.getAmountMinor();
44188
+ if (f !== 0) {
44189
+ writer.writeInt64(
44190
+ 2,
44191
+ f
44192
+ );
44193
+ }
44194
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
44195
+ if (f != null) {
44196
+ writer.writeString(
44197
+ 3,
44198
+ f
44199
+ );
44200
+ }
44201
+ f = message.getWagerMultiplier();
44202
+ if (f.length > 0) {
44203
+ writer.writeString(
44204
+ 4,
44205
+ f
44206
+ );
44207
+ }
44208
+ f = message.getReason();
44209
+ if (f.length > 0) {
44210
+ writer.writeString(
44211
+ 5,
44212
+ f
44213
+ );
44214
+ }
44215
+ f = message.getIdempotencyId();
44216
+ if (f.length > 0) {
44217
+ writer.writeString(
44218
+ 6,
44219
+ f
44220
+ );
44221
+ }
44222
+ f = message.getTransactionCode();
44223
+ if (f.length > 0) {
44224
+ writer.writeString(
44225
+ 7,
44226
+ f
44227
+ );
44228
+ }
44229
+ f = message.getInternalComment();
44230
+ if (f.length > 0) {
44231
+ writer.writeString(
44232
+ 8,
44233
+ f
44234
+ );
44235
+ }
44236
+ f = message.getAmount();
44237
+ if (f.length > 0) {
44238
+ writer.writeString(
44239
+ 9,
44240
+ f
44241
+ );
44242
+ }
44243
+ };
44244
+
44245
+
44246
+ /**
44247
+ * optional int32 user_id = 1;
44248
+ * @return {number}
44249
+ */
44250
+ proto.payment.AdjustmentRequest.prototype.getUserId = function() {
44251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44252
+ };
44253
+
44254
+
44255
+ /**
44256
+ * @param {number} value
44257
+ * @return {!proto.payment.AdjustmentRequest} returns this
44258
+ */
44259
+ proto.payment.AdjustmentRequest.prototype.setUserId = function(value) {
44260
+ return jspb.Message.setProto3IntField(this, 1, value);
44261
+ };
44262
+
44263
+
44264
+ /**
44265
+ * optional int64 amount_minor = 2;
44266
+ * @return {number}
44267
+ */
44268
+ proto.payment.AdjustmentRequest.prototype.getAmountMinor = function() {
44269
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44270
+ };
44271
+
44272
+
44273
+ /**
44274
+ * @param {number} value
44275
+ * @return {!proto.payment.AdjustmentRequest} returns this
44276
+ */
44277
+ proto.payment.AdjustmentRequest.prototype.setAmountMinor = function(value) {
44278
+ return jspb.Message.setProto3IntField(this, 2, value);
44279
+ };
44280
+
44281
+
44282
+ /**
44283
+ * optional string currency = 3;
44284
+ * @return {string}
44285
+ */
44286
+ proto.payment.AdjustmentRequest.prototype.getCurrency = function() {
44287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44288
+ };
44289
+
44290
+
44291
+ /**
44292
+ * @param {string} value
44293
+ * @return {!proto.payment.AdjustmentRequest} returns this
44294
+ */
44295
+ proto.payment.AdjustmentRequest.prototype.setCurrency = function(value) {
44296
+ return jspb.Message.setField(this, 3, value);
44297
+ };
44298
+
44299
+
44300
+ /**
44301
+ * Clears the field making it undefined.
44302
+ * @return {!proto.payment.AdjustmentRequest} returns this
44303
+ */
44304
+ proto.payment.AdjustmentRequest.prototype.clearCurrency = function() {
44305
+ return jspb.Message.setField(this, 3, undefined);
44306
+ };
44307
+
44308
+
44309
+ /**
44310
+ * Returns whether this field is set.
44311
+ * @return {boolean}
44312
+ */
44313
+ proto.payment.AdjustmentRequest.prototype.hasCurrency = function() {
44314
+ return jspb.Message.getField(this, 3) != null;
44315
+ };
44316
+
44317
+
44318
+ /**
44319
+ * optional string wager_multiplier = 4;
44320
+ * @return {string}
44321
+ */
44322
+ proto.payment.AdjustmentRequest.prototype.getWagerMultiplier = function() {
44323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44324
+ };
44325
+
44326
+
44327
+ /**
44328
+ * @param {string} value
44329
+ * @return {!proto.payment.AdjustmentRequest} returns this
44330
+ */
44331
+ proto.payment.AdjustmentRequest.prototype.setWagerMultiplier = function(value) {
44332
+ return jspb.Message.setProto3StringField(this, 4, value);
44333
+ };
44334
+
44335
+
44336
+ /**
44337
+ * optional string reason = 5;
44338
+ * @return {string}
44339
+ */
44340
+ proto.payment.AdjustmentRequest.prototype.getReason = function() {
44341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
44342
+ };
44343
+
44344
+
44345
+ /**
44346
+ * @param {string} value
44347
+ * @return {!proto.payment.AdjustmentRequest} returns this
44348
+ */
44349
+ proto.payment.AdjustmentRequest.prototype.setReason = function(value) {
44350
+ return jspb.Message.setProto3StringField(this, 5, value);
44351
+ };
44352
+
44353
+
44354
+ /**
44355
+ * optional string idempotency_id = 6;
44356
+ * @return {string}
44357
+ */
44358
+ proto.payment.AdjustmentRequest.prototype.getIdempotencyId = function() {
44359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
44360
+ };
44361
+
44362
+
44363
+ /**
44364
+ * @param {string} value
44365
+ * @return {!proto.payment.AdjustmentRequest} returns this
44366
+ */
44367
+ proto.payment.AdjustmentRequest.prototype.setIdempotencyId = function(value) {
44368
+ return jspb.Message.setProto3StringField(this, 6, value);
44369
+ };
44370
+
44371
+
44372
+ /**
44373
+ * optional string transaction_code = 7;
44374
+ * @return {string}
44375
+ */
44376
+ proto.payment.AdjustmentRequest.prototype.getTransactionCode = function() {
44377
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
44378
+ };
44379
+
44380
+
44381
+ /**
44382
+ * @param {string} value
44383
+ * @return {!proto.payment.AdjustmentRequest} returns this
44384
+ */
44385
+ proto.payment.AdjustmentRequest.prototype.setTransactionCode = function(value) {
44386
+ return jspb.Message.setProto3StringField(this, 7, value);
44387
+ };
44388
+
44389
+
44390
+ /**
44391
+ * optional string internal_comment = 8;
44392
+ * @return {string}
44393
+ */
44394
+ proto.payment.AdjustmentRequest.prototype.getInternalComment = function() {
44395
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
44396
+ };
44397
+
44398
+
44399
+ /**
44400
+ * @param {string} value
44401
+ * @return {!proto.payment.AdjustmentRequest} returns this
44402
+ */
44403
+ proto.payment.AdjustmentRequest.prototype.setInternalComment = function(value) {
44404
+ return jspb.Message.setProto3StringField(this, 8, value);
44405
+ };
44406
+
44407
+
44408
+ /**
44409
+ * optional string amount = 9;
44410
+ * @return {string}
44411
+ */
44412
+ proto.payment.AdjustmentRequest.prototype.getAmount = function() {
44413
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
44414
+ };
44415
+
44416
+
44417
+ /**
44418
+ * @param {string} value
44419
+ * @return {!proto.payment.AdjustmentRequest} returns this
44420
+ */
44421
+ proto.payment.AdjustmentRequest.prototype.setAmount = function(value) {
44422
+ return jspb.Message.setProto3StringField(this, 9, value);
44423
+ };
44424
+
44425
+
44426
+
44427
+ /**
44428
+ * List of repeated fields within this message type.
44429
+ * @private {!Array<number>}
44430
+ * @const
44431
+ */
44432
+ proto.payment.AdjustmentSearchRequest.repeatedFields_ = [2,4,7,9];
44433
+
44434
+
44435
+
44436
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44437
+ /**
44438
+ * Creates an object representation of this proto.
44439
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
44440
+ * Optional fields that are not set will be set to undefined.
44441
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44442
+ * For the list of reserved names please see:
44443
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44444
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44445
+ * JSPB instance for transitional soy proto support:
44446
+ * http://goto/soy-param-migration
44447
+ * @return {!Object}
44448
+ */
44449
+ proto.payment.AdjustmentSearchRequest.prototype.toObject = function(opt_includeInstance) {
44450
+ return proto.payment.AdjustmentSearchRequest.toObject(opt_includeInstance, this);
44451
+ };
44452
+
44453
+
44454
+ /**
44455
+ * Static version of the {@see toObject} method.
44456
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44457
+ * the JSPB instance for transitional soy proto support:
44458
+ * http://goto/soy-param-migration
44459
+ * @param {!proto.payment.AdjustmentSearchRequest} msg The msg instance to transform.
44460
+ * @return {!Object}
44461
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44462
+ */
44463
+ proto.payment.AdjustmentSearchRequest.toObject = function(includeInstance, msg) {
44464
+ var f, obj = {
44465
+ operationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44466
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
44467
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
44468
+ operationStatusCodesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
44469
+ createdFrom: jspb.Message.getFieldWithDefault(msg, 5, ""),
44470
+ createdTo: jspb.Message.getFieldWithDefault(msg, 6, ""),
44471
+ currencyList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
44472
+ playerNickname: jspb.Message.getFieldWithDefault(msg, 8, ""),
44473
+ operatorIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
44474
+ amountMinorFrom: jspb.Message.getFieldWithDefault(msg, 10, 0),
44475
+ amountMinorTo: jspb.Message.getFieldWithDefault(msg, 11, 0)
44476
+ };
44477
+
44478
+ if (includeInstance) {
44479
+ obj.$jspbMessageInstance = msg;
44480
+ }
44481
+ return obj;
44482
+ };
44483
+ }
44484
+
44485
+
44486
+ /**
44487
+ * Deserializes binary data (in protobuf wire format).
44488
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
44489
+ * @return {!proto.payment.AdjustmentSearchRequest}
44490
+ */
44491
+ proto.payment.AdjustmentSearchRequest.deserializeBinary = function(bytes) {
44492
+ var reader = new jspb.BinaryReader(bytes);
44493
+ var msg = new proto.payment.AdjustmentSearchRequest;
44494
+ return proto.payment.AdjustmentSearchRequest.deserializeBinaryFromReader(msg, reader);
44495
+ };
44496
+
44497
+
44498
+ /**
44499
+ * Deserializes binary data (in protobuf wire format) from the
44500
+ * given reader into the given message object.
44501
+ * @param {!proto.payment.AdjustmentSearchRequest} msg The message object to deserialize into.
44502
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44503
+ * @return {!proto.payment.AdjustmentSearchRequest}
44504
+ */
44505
+ proto.payment.AdjustmentSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
44506
+ while (reader.nextField()) {
44507
+ if (reader.isEndGroup()) {
44508
+ break;
44509
+ }
44510
+ var field = reader.getFieldNumber();
44511
+ switch (field) {
44512
+ case 1:
44513
+ var value = /** @type {number} */ (reader.readInt32());
44514
+ msg.setOperationId(value);
44515
+ break;
44516
+ case 2:
44517
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
44518
+ for (var i = 0; i < values.length; i++) {
44519
+ msg.addUserIds(values[i]);
44520
+ }
44521
+ break;
44522
+ case 3:
44523
+ var value = /** @type {string} */ (reader.readString());
44524
+ msg.setTransactionCode(value);
44525
+ break;
44526
+ case 4:
44527
+ var value = /** @type {string} */ (reader.readString());
44528
+ msg.addOperationStatusCodes(value);
44529
+ break;
44530
+ case 5:
44531
+ var value = /** @type {string} */ (reader.readString());
44532
+ msg.setCreatedFrom(value);
44533
+ break;
44534
+ case 6:
44535
+ var value = /** @type {string} */ (reader.readString());
44536
+ msg.setCreatedTo(value);
44537
+ break;
44538
+ case 7:
44539
+ var value = /** @type {string} */ (reader.readString());
44540
+ msg.addCurrency(value);
44541
+ break;
44542
+ case 8:
44543
+ var value = /** @type {string} */ (reader.readString());
44544
+ msg.setPlayerNickname(value);
44545
+ break;
44546
+ case 9:
44547
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
44548
+ for (var i = 0; i < values.length; i++) {
44549
+ msg.addOperatorIds(values[i]);
44550
+ }
44551
+ break;
44552
+ case 10:
44553
+ var value = /** @type {number} */ (reader.readInt64());
44554
+ msg.setAmountMinorFrom(value);
44555
+ break;
44556
+ case 11:
44557
+ var value = /** @type {number} */ (reader.readInt64());
44558
+ msg.setAmountMinorTo(value);
44559
+ break;
44560
+ default:
44561
+ reader.skipField();
44562
+ break;
44563
+ }
44564
+ }
44565
+ return msg;
44566
+ };
44567
+
44568
+
44569
+ /**
44570
+ * Serializes the message to binary data (in protobuf wire format).
44571
+ * @return {!Uint8Array}
44572
+ */
44573
+ proto.payment.AdjustmentSearchRequest.prototype.serializeBinary = function() {
44574
+ var writer = new jspb.BinaryWriter();
44575
+ proto.payment.AdjustmentSearchRequest.serializeBinaryToWriter(this, writer);
44576
+ return writer.getResultBuffer();
44577
+ };
44578
+
44579
+
44580
+ /**
44581
+ * Serializes the given message to binary data (in protobuf wire
44582
+ * format), writing to the given BinaryWriter.
44583
+ * @param {!proto.payment.AdjustmentSearchRequest} message
44584
+ * @param {!jspb.BinaryWriter} writer
44585
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44586
+ */
44587
+ proto.payment.AdjustmentSearchRequest.serializeBinaryToWriter = function(message, writer) {
44588
+ var f = undefined;
44589
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
44590
+ if (f != null) {
44591
+ writer.writeInt32(
44592
+ 1,
44593
+ f
44594
+ );
44595
+ }
44596
+ f = message.getUserIdsList();
44597
+ if (f.length > 0) {
44598
+ writer.writePackedInt32(
44599
+ 2,
44600
+ f
44601
+ );
44602
+ }
44603
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
44604
+ if (f != null) {
44605
+ writer.writeString(
44606
+ 3,
44607
+ f
44608
+ );
44609
+ }
44610
+ f = message.getOperationStatusCodesList();
44611
+ if (f.length > 0) {
44612
+ writer.writeRepeatedString(
44613
+ 4,
44614
+ f
44615
+ );
44616
+ }
44617
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
44618
+ if (f != null) {
44619
+ writer.writeString(
44620
+ 5,
44621
+ f
44622
+ );
44623
+ }
44624
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
44625
+ if (f != null) {
44626
+ writer.writeString(
44627
+ 6,
44628
+ f
44629
+ );
44630
+ }
44631
+ f = message.getCurrencyList();
44632
+ if (f.length > 0) {
44633
+ writer.writeRepeatedString(
44634
+ 7,
44635
+ f
44636
+ );
44637
+ }
44638
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
44639
+ if (f != null) {
44640
+ writer.writeString(
44641
+ 8,
44642
+ f
44643
+ );
44644
+ }
44645
+ f = message.getOperatorIdsList();
44646
+ if (f.length > 0) {
44647
+ writer.writePackedInt32(
44648
+ 9,
44649
+ f
44650
+ );
44651
+ }
44652
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
44653
+ if (f != null) {
44654
+ writer.writeInt64(
44655
+ 10,
44656
+ f
44657
+ );
44658
+ }
44659
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
44660
+ if (f != null) {
44661
+ writer.writeInt64(
44662
+ 11,
44663
+ f
44664
+ );
44665
+ }
44666
+ };
44667
+
44668
+
44669
+ /**
44670
+ * optional int32 operation_id = 1;
44671
+ * @return {number}
44672
+ */
44673
+ proto.payment.AdjustmentSearchRequest.prototype.getOperationId = function() {
44674
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44675
+ };
44676
+
44677
+
44678
+ /**
44679
+ * @param {number} value
44680
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44681
+ */
44682
+ proto.payment.AdjustmentSearchRequest.prototype.setOperationId = function(value) {
44683
+ return jspb.Message.setField(this, 1, value);
44684
+ };
44685
+
44686
+
44687
+ /**
44688
+ * Clears the field making it undefined.
44689
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44690
+ */
44691
+ proto.payment.AdjustmentSearchRequest.prototype.clearOperationId = function() {
44692
+ return jspb.Message.setField(this, 1, undefined);
44693
+ };
44694
+
44695
+
44696
+ /**
44697
+ * Returns whether this field is set.
44698
+ * @return {boolean}
44699
+ */
44700
+ proto.payment.AdjustmentSearchRequest.prototype.hasOperationId = function() {
44701
+ return jspb.Message.getField(this, 1) != null;
44702
+ };
44703
+
44704
+
44705
+ /**
44706
+ * repeated int32 user_ids = 2;
44707
+ * @return {!Array<number>}
44708
+ */
44709
+ proto.payment.AdjustmentSearchRequest.prototype.getUserIdsList = function() {
44710
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
44711
+ };
44712
+
44713
+
44714
+ /**
44715
+ * @param {!Array<number>} value
44716
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44717
+ */
44718
+ proto.payment.AdjustmentSearchRequest.prototype.setUserIdsList = function(value) {
44719
+ return jspb.Message.setField(this, 2, value || []);
44720
+ };
44721
+
44722
+
44723
+ /**
44724
+ * @param {number} value
44725
+ * @param {number=} opt_index
44726
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44727
+ */
44728
+ proto.payment.AdjustmentSearchRequest.prototype.addUserIds = function(value, opt_index) {
44729
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
44730
+ };
44731
+
44732
+
44733
+ /**
44734
+ * Clears the list making it empty but non-null.
44735
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44736
+ */
44737
+ proto.payment.AdjustmentSearchRequest.prototype.clearUserIdsList = function() {
44738
+ return this.setUserIdsList([]);
44739
+ };
44740
+
44741
+
44742
+ /**
44743
+ * optional string transaction_code = 3;
44744
+ * @return {string}
44745
+ */
44746
+ proto.payment.AdjustmentSearchRequest.prototype.getTransactionCode = function() {
44747
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44748
+ };
44749
+
44750
+
44751
+ /**
44752
+ * @param {string} value
44753
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44754
+ */
44755
+ proto.payment.AdjustmentSearchRequest.prototype.setTransactionCode = function(value) {
44756
+ return jspb.Message.setField(this, 3, value);
44757
+ };
44758
+
44759
+
44760
+ /**
44761
+ * Clears the field making it undefined.
44762
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44763
+ */
44764
+ proto.payment.AdjustmentSearchRequest.prototype.clearTransactionCode = function() {
44765
+ return jspb.Message.setField(this, 3, undefined);
44766
+ };
44767
+
44768
+
44769
+ /**
44770
+ * Returns whether this field is set.
44771
+ * @return {boolean}
44772
+ */
44773
+ proto.payment.AdjustmentSearchRequest.prototype.hasTransactionCode = function() {
44774
+ return jspb.Message.getField(this, 3) != null;
44775
+ };
44776
+
44777
+
44778
+ /**
44779
+ * repeated string operation_status_codes = 4;
44780
+ * @return {!Array<string>}
44781
+ */
44782
+ proto.payment.AdjustmentSearchRequest.prototype.getOperationStatusCodesList = function() {
44783
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
44784
+ };
44785
+
44786
+
44787
+ /**
44788
+ * @param {!Array<string>} value
44789
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44790
+ */
44791
+ proto.payment.AdjustmentSearchRequest.prototype.setOperationStatusCodesList = function(value) {
44792
+ return jspb.Message.setField(this, 4, value || []);
44793
+ };
44794
+
44795
+
44796
+ /**
44797
+ * @param {string} value
44798
+ * @param {number=} opt_index
44799
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44800
+ */
44801
+ proto.payment.AdjustmentSearchRequest.prototype.addOperationStatusCodes = function(value, opt_index) {
44802
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
44803
+ };
44804
+
44805
+
44806
+ /**
44807
+ * Clears the list making it empty but non-null.
44808
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44809
+ */
44810
+ proto.payment.AdjustmentSearchRequest.prototype.clearOperationStatusCodesList = function() {
44811
+ return this.setOperationStatusCodesList([]);
44812
+ };
44813
+
44814
+
44815
+ /**
44816
+ * optional string created_from = 5;
44817
+ * @return {string}
44818
+ */
44819
+ proto.payment.AdjustmentSearchRequest.prototype.getCreatedFrom = function() {
44820
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
44821
+ };
44822
+
44823
+
44824
+ /**
44825
+ * @param {string} value
44826
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44827
+ */
44828
+ proto.payment.AdjustmentSearchRequest.prototype.setCreatedFrom = function(value) {
44829
+ return jspb.Message.setField(this, 5, value);
44830
+ };
44831
+
44832
+
44833
+ /**
44834
+ * Clears the field making it undefined.
44835
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44836
+ */
44837
+ proto.payment.AdjustmentSearchRequest.prototype.clearCreatedFrom = function() {
44838
+ return jspb.Message.setField(this, 5, undefined);
44839
+ };
44840
+
44841
+
44842
+ /**
44843
+ * Returns whether this field is set.
44844
+ * @return {boolean}
44845
+ */
44846
+ proto.payment.AdjustmentSearchRequest.prototype.hasCreatedFrom = function() {
44847
+ return jspb.Message.getField(this, 5) != null;
44848
+ };
44849
+
44850
+
44851
+ /**
44852
+ * optional string created_to = 6;
44853
+ * @return {string}
44854
+ */
44855
+ proto.payment.AdjustmentSearchRequest.prototype.getCreatedTo = function() {
44856
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
44857
+ };
44858
+
44859
+
44860
+ /**
44861
+ * @param {string} value
44862
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44863
+ */
44864
+ proto.payment.AdjustmentSearchRequest.prototype.setCreatedTo = function(value) {
44865
+ return jspb.Message.setField(this, 6, value);
44866
+ };
44867
+
44868
+
44869
+ /**
44870
+ * Clears the field making it undefined.
44871
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44872
+ */
44873
+ proto.payment.AdjustmentSearchRequest.prototype.clearCreatedTo = function() {
44874
+ return jspb.Message.setField(this, 6, undefined);
44875
+ };
44876
+
44877
+
44878
+ /**
44879
+ * Returns whether this field is set.
44880
+ * @return {boolean}
44881
+ */
44882
+ proto.payment.AdjustmentSearchRequest.prototype.hasCreatedTo = function() {
44883
+ return jspb.Message.getField(this, 6) != null;
44884
+ };
44885
+
44886
+
44887
+ /**
44888
+ * repeated string currency = 7;
44889
+ * @return {!Array<string>}
44890
+ */
44891
+ proto.payment.AdjustmentSearchRequest.prototype.getCurrencyList = function() {
44892
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
44893
+ };
44894
+
44895
+
44896
+ /**
44897
+ * @param {!Array<string>} value
44898
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44899
+ */
44900
+ proto.payment.AdjustmentSearchRequest.prototype.setCurrencyList = function(value) {
44901
+ return jspb.Message.setField(this, 7, value || []);
44902
+ };
44903
+
44904
+
44905
+ /**
44906
+ * @param {string} value
44907
+ * @param {number=} opt_index
44908
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44909
+ */
44910
+ proto.payment.AdjustmentSearchRequest.prototype.addCurrency = function(value, opt_index) {
44911
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
44912
+ };
44913
+
44914
+
44915
+ /**
44916
+ * Clears the list making it empty but non-null.
44917
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44918
+ */
44919
+ proto.payment.AdjustmentSearchRequest.prototype.clearCurrencyList = function() {
44920
+ return this.setCurrencyList([]);
44921
+ };
44922
+
44923
+
44924
+ /**
44925
+ * optional string player_nickname = 8;
44926
+ * @return {string}
44927
+ */
44928
+ proto.payment.AdjustmentSearchRequest.prototype.getPlayerNickname = function() {
44929
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
44930
+ };
44931
+
44932
+
44933
+ /**
44934
+ * @param {string} value
44935
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44936
+ */
44937
+ proto.payment.AdjustmentSearchRequest.prototype.setPlayerNickname = function(value) {
44938
+ return jspb.Message.setField(this, 8, value);
44939
+ };
44940
+
44941
+
44942
+ /**
44943
+ * Clears the field making it undefined.
44944
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44945
+ */
44946
+ proto.payment.AdjustmentSearchRequest.prototype.clearPlayerNickname = function() {
44947
+ return jspb.Message.setField(this, 8, undefined);
44948
+ };
44949
+
44950
+
44951
+ /**
44952
+ * Returns whether this field is set.
44953
+ * @return {boolean}
44954
+ */
44955
+ proto.payment.AdjustmentSearchRequest.prototype.hasPlayerNickname = function() {
44956
+ return jspb.Message.getField(this, 8) != null;
44957
+ };
44958
+
44959
+
44960
+ /**
44961
+ * repeated int32 operator_ids = 9;
44962
+ * @return {!Array<number>}
44963
+ */
44964
+ proto.payment.AdjustmentSearchRequest.prototype.getOperatorIdsList = function() {
44965
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 9));
44966
+ };
44967
+
44968
+
44969
+ /**
44970
+ * @param {!Array<number>} value
44971
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44972
+ */
44973
+ proto.payment.AdjustmentSearchRequest.prototype.setOperatorIdsList = function(value) {
44974
+ return jspb.Message.setField(this, 9, value || []);
44975
+ };
44976
+
44977
+
44978
+ /**
44979
+ * @param {number} value
44980
+ * @param {number=} opt_index
44981
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44982
+ */
44983
+ proto.payment.AdjustmentSearchRequest.prototype.addOperatorIds = function(value, opt_index) {
44984
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
44985
+ };
44986
+
44987
+
44988
+ /**
44989
+ * Clears the list making it empty but non-null.
44990
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
44991
+ */
44992
+ proto.payment.AdjustmentSearchRequest.prototype.clearOperatorIdsList = function() {
44993
+ return this.setOperatorIdsList([]);
44994
+ };
44995
+
44996
+
44997
+ /**
44998
+ * optional int64 amount_minor_from = 10;
44999
+ * @return {number}
45000
+ */
45001
+ proto.payment.AdjustmentSearchRequest.prototype.getAmountMinorFrom = function() {
45002
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
45003
+ };
45004
+
45005
+
45006
+ /**
45007
+ * @param {number} value
45008
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
45009
+ */
45010
+ proto.payment.AdjustmentSearchRequest.prototype.setAmountMinorFrom = function(value) {
45011
+ return jspb.Message.setField(this, 10, value);
45012
+ };
45013
+
45014
+
45015
+ /**
45016
+ * Clears the field making it undefined.
45017
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
45018
+ */
45019
+ proto.payment.AdjustmentSearchRequest.prototype.clearAmountMinorFrom = function() {
45020
+ return jspb.Message.setField(this, 10, undefined);
45021
+ };
45022
+
45023
+
45024
+ /**
45025
+ * Returns whether this field is set.
45026
+ * @return {boolean}
45027
+ */
45028
+ proto.payment.AdjustmentSearchRequest.prototype.hasAmountMinorFrom = function() {
45029
+ return jspb.Message.getField(this, 10) != null;
45030
+ };
45031
+
45032
+
45033
+ /**
45034
+ * optional int64 amount_minor_to = 11;
45035
+ * @return {number}
45036
+ */
45037
+ proto.payment.AdjustmentSearchRequest.prototype.getAmountMinorTo = function() {
45038
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
45039
+ };
45040
+
45041
+
45042
+ /**
45043
+ * @param {number} value
45044
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
45045
+ */
45046
+ proto.payment.AdjustmentSearchRequest.prototype.setAmountMinorTo = function(value) {
45047
+ return jspb.Message.setField(this, 11, value);
45048
+ };
45049
+
45050
+
45051
+ /**
45052
+ * Clears the field making it undefined.
45053
+ * @return {!proto.payment.AdjustmentSearchRequest} returns this
45054
+ */
45055
+ proto.payment.AdjustmentSearchRequest.prototype.clearAmountMinorTo = function() {
45056
+ return jspb.Message.setField(this, 11, undefined);
45057
+ };
45058
+
45059
+
45060
+ /**
45061
+ * Returns whether this field is set.
45062
+ * @return {boolean}
45063
+ */
45064
+ proto.payment.AdjustmentSearchRequest.prototype.hasAmountMinorTo = function() {
45065
+ return jspb.Message.getField(this, 11) != null;
45066
+ };
45067
+
45068
+
45069
+
45070
+
45071
+
45072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45073
+ /**
45074
+ * Creates an object representation of this proto.
45075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45076
+ * Optional fields that are not set will be set to undefined.
45077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45078
+ * For the list of reserved names please see:
45079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45081
+ * JSPB instance for transitional soy proto support:
45082
+ * http://goto/soy-param-migration
45083
+ * @return {!Object}
45084
+ */
45085
+ proto.payment.AdjustmentItem.prototype.toObject = function(opt_includeInstance) {
45086
+ return proto.payment.AdjustmentItem.toObject(opt_includeInstance, this);
45087
+ };
45088
+
45089
+
45090
+ /**
45091
+ * Static version of the {@see toObject} method.
45092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45093
+ * the JSPB instance for transitional soy proto support:
45094
+ * http://goto/soy-param-migration
45095
+ * @param {!proto.payment.AdjustmentItem} msg The msg instance to transform.
45096
+ * @return {!Object}
45097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45098
+ */
45099
+ proto.payment.AdjustmentItem.toObject = function(includeInstance, msg) {
45100
+ var f, obj = {
45101
+ operationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
45102
+ operationPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
45103
+ userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
45104
+ transactionCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
45105
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 5, 0),
45106
+ currency: jspb.Message.getFieldWithDefault(msg, 6, ""),
45107
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 7, 0),
45108
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 8, ""),
45109
+ internalComment: jspb.Message.getFieldWithDefault(msg, 9, ""),
45110
+ operatorId: jspb.Message.getFieldWithDefault(msg, 10, 0),
45111
+ statusCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
45112
+ createdAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
45113
+ completedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
45114
+ playerNickname: jspb.Message.getFieldWithDefault(msg, 14, ""),
45115
+ playerEmail: jspb.Message.getFieldWithDefault(msg, 15, ""),
45116
+ operatorName: jspb.Message.getFieldWithDefault(msg, 16, ""),
45117
+ operatorEmail: jspb.Message.getFieldWithDefault(msg, 17, "")
45118
+ };
45119
+
45120
+ if (includeInstance) {
45121
+ obj.$jspbMessageInstance = msg;
45122
+ }
45123
+ return obj;
45124
+ };
45125
+ }
45126
+
45127
+
45128
+ /**
45129
+ * Deserializes binary data (in protobuf wire format).
45130
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45131
+ * @return {!proto.payment.AdjustmentItem}
45132
+ */
45133
+ proto.payment.AdjustmentItem.deserializeBinary = function(bytes) {
45134
+ var reader = new jspb.BinaryReader(bytes);
45135
+ var msg = new proto.payment.AdjustmentItem;
45136
+ return proto.payment.AdjustmentItem.deserializeBinaryFromReader(msg, reader);
45137
+ };
45138
+
45139
+
45140
+ /**
45141
+ * Deserializes binary data (in protobuf wire format) from the
45142
+ * given reader into the given message object.
45143
+ * @param {!proto.payment.AdjustmentItem} msg The message object to deserialize into.
45144
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45145
+ * @return {!proto.payment.AdjustmentItem}
45146
+ */
45147
+ proto.payment.AdjustmentItem.deserializeBinaryFromReader = function(msg, reader) {
45148
+ while (reader.nextField()) {
45149
+ if (reader.isEndGroup()) {
45150
+ break;
45151
+ }
45152
+ var field = reader.getFieldNumber();
45153
+ switch (field) {
45154
+ case 1:
45155
+ var value = /** @type {number} */ (reader.readInt32());
45156
+ msg.setOperationId(value);
45157
+ break;
45158
+ case 2:
45159
+ var value = /** @type {string} */ (reader.readString());
45160
+ msg.setOperationPublicId(value);
45161
+ break;
45162
+ case 3:
45163
+ var value = /** @type {number} */ (reader.readInt32());
45164
+ msg.setUserId(value);
45165
+ break;
45166
+ case 4:
45167
+ var value = /** @type {string} */ (reader.readString());
45168
+ msg.setTransactionCode(value);
45169
+ break;
45170
+ case 5:
45171
+ var value = /** @type {number} */ (reader.readInt64());
45172
+ msg.setAmountMinor(value);
45173
+ break;
45174
+ case 6:
45175
+ var value = /** @type {string} */ (reader.readString());
45176
+ msg.setCurrency(value);
45177
+ break;
45178
+ case 7:
45179
+ var value = /** @type {number} */ (reader.readInt32());
45180
+ msg.setCurrencyScale(value);
45181
+ break;
45182
+ case 8:
45183
+ var value = /** @type {string} */ (reader.readString());
45184
+ msg.setWagerMultiplier(value);
45185
+ break;
45186
+ case 9:
45187
+ var value = /** @type {string} */ (reader.readString());
45188
+ msg.setInternalComment(value);
45189
+ break;
45190
+ case 10:
45191
+ var value = /** @type {number} */ (reader.readInt32());
45192
+ msg.setOperatorId(value);
45193
+ break;
45194
+ case 11:
45195
+ var value = /** @type {string} */ (reader.readString());
45196
+ msg.setStatusCode(value);
45197
+ break;
45198
+ case 12:
45199
+ var value = /** @type {string} */ (reader.readString());
45200
+ msg.setCreatedAt(value);
45201
+ break;
45202
+ case 13:
45203
+ var value = /** @type {string} */ (reader.readString());
45204
+ msg.setCompletedAt(value);
45205
+ break;
45206
+ case 14:
45207
+ var value = /** @type {string} */ (reader.readString());
45208
+ msg.setPlayerNickname(value);
45209
+ break;
45210
+ case 15:
45211
+ var value = /** @type {string} */ (reader.readString());
45212
+ msg.setPlayerEmail(value);
45213
+ break;
45214
+ case 16:
45215
+ var value = /** @type {string} */ (reader.readString());
45216
+ msg.setOperatorName(value);
45217
+ break;
45218
+ case 17:
45219
+ var value = /** @type {string} */ (reader.readString());
45220
+ msg.setOperatorEmail(value);
45221
+ break;
45222
+ default:
45223
+ reader.skipField();
45224
+ break;
45225
+ }
45226
+ }
45227
+ return msg;
45228
+ };
45229
+
45230
+
45231
+ /**
45232
+ * Serializes the message to binary data (in protobuf wire format).
45233
+ * @return {!Uint8Array}
45234
+ */
45235
+ proto.payment.AdjustmentItem.prototype.serializeBinary = function() {
45236
+ var writer = new jspb.BinaryWriter();
45237
+ proto.payment.AdjustmentItem.serializeBinaryToWriter(this, writer);
45238
+ return writer.getResultBuffer();
45239
+ };
45240
+
45241
+
45242
+ /**
45243
+ * Serializes the given message to binary data (in protobuf wire
45244
+ * format), writing to the given BinaryWriter.
45245
+ * @param {!proto.payment.AdjustmentItem} message
45246
+ * @param {!jspb.BinaryWriter} writer
45247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45248
+ */
45249
+ proto.payment.AdjustmentItem.serializeBinaryToWriter = function(message, writer) {
45250
+ var f = undefined;
45251
+ f = message.getOperationId();
45252
+ if (f !== 0) {
45253
+ writer.writeInt32(
45254
+ 1,
45255
+ f
45256
+ );
45257
+ }
45258
+ f = message.getOperationPublicId();
45259
+ if (f.length > 0) {
45260
+ writer.writeString(
45261
+ 2,
45262
+ f
45263
+ );
45264
+ }
45265
+ f = message.getUserId();
45266
+ if (f !== 0) {
45267
+ writer.writeInt32(
45268
+ 3,
45269
+ f
45270
+ );
45271
+ }
45272
+ f = message.getTransactionCode();
45273
+ if (f.length > 0) {
45274
+ writer.writeString(
45275
+ 4,
45276
+ f
45277
+ );
45278
+ }
45279
+ f = message.getAmountMinor();
45280
+ if (f !== 0) {
45281
+ writer.writeInt64(
45282
+ 5,
45283
+ f
45284
+ );
45285
+ }
45286
+ f = message.getCurrency();
45287
+ if (f.length > 0) {
45288
+ writer.writeString(
45289
+ 6,
45290
+ f
45291
+ );
45292
+ }
45293
+ f = message.getCurrencyScale();
45294
+ if (f !== 0) {
45295
+ writer.writeInt32(
45296
+ 7,
45297
+ f
45298
+ );
45299
+ }
45300
+ f = message.getWagerMultiplier();
45301
+ if (f.length > 0) {
45302
+ writer.writeString(
45303
+ 8,
45304
+ f
45305
+ );
45306
+ }
45307
+ f = message.getInternalComment();
45308
+ if (f.length > 0) {
45309
+ writer.writeString(
45310
+ 9,
45311
+ f
45312
+ );
45313
+ }
45314
+ f = message.getOperatorId();
45315
+ if (f !== 0) {
45316
+ writer.writeInt32(
45317
+ 10,
45318
+ f
45319
+ );
45320
+ }
45321
+ f = message.getStatusCode();
45322
+ if (f.length > 0) {
45323
+ writer.writeString(
45324
+ 11,
45325
+ f
45326
+ );
45327
+ }
45328
+ f = message.getCreatedAt();
45329
+ if (f.length > 0) {
45330
+ writer.writeString(
45331
+ 12,
45332
+ f
45333
+ );
45334
+ }
45335
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
45336
+ if (f != null) {
45337
+ writer.writeString(
45338
+ 13,
45339
+ f
45340
+ );
45341
+ }
45342
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
45343
+ if (f != null) {
45344
+ writer.writeString(
45345
+ 14,
45346
+ f
45347
+ );
45348
+ }
45349
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
45350
+ if (f != null) {
45351
+ writer.writeString(
45352
+ 15,
45353
+ f
45354
+ );
45355
+ }
45356
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
45357
+ if (f != null) {
45358
+ writer.writeString(
45359
+ 16,
45360
+ f
45361
+ );
45362
+ }
45363
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
45364
+ if (f != null) {
45365
+ writer.writeString(
45366
+ 17,
45367
+ f
45368
+ );
45369
+ }
42902
45370
  };
42903
45371
 
42904
45372
 
@@ -42906,16 +45374,16 @@ proto.payment.CompensationItem.serializeBinaryToWriter = function(message, write
42906
45374
  * optional int32 operation_id = 1;
42907
45375
  * @return {number}
42908
45376
  */
42909
- proto.payment.CompensationItem.prototype.getOperationId = function() {
45377
+ proto.payment.AdjustmentItem.prototype.getOperationId = function() {
42910
45378
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
42911
45379
  };
42912
45380
 
42913
45381
 
42914
45382
  /**
42915
45383
  * @param {number} value
42916
- * @return {!proto.payment.CompensationItem} returns this
45384
+ * @return {!proto.payment.AdjustmentItem} returns this
42917
45385
  */
42918
- proto.payment.CompensationItem.prototype.setOperationId = function(value) {
45386
+ proto.payment.AdjustmentItem.prototype.setOperationId = function(value) {
42919
45387
  return jspb.Message.setProto3IntField(this, 1, value);
42920
45388
  };
42921
45389
 
@@ -42924,16 +45392,16 @@ proto.payment.CompensationItem.prototype.setOperationId = function(value) {
42924
45392
  * optional string operation_public_id = 2;
42925
45393
  * @return {string}
42926
45394
  */
42927
- proto.payment.CompensationItem.prototype.getOperationPublicId = function() {
45395
+ proto.payment.AdjustmentItem.prototype.getOperationPublicId = function() {
42928
45396
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
42929
45397
  };
42930
45398
 
42931
45399
 
42932
45400
  /**
42933
45401
  * @param {string} value
42934
- * @return {!proto.payment.CompensationItem} returns this
45402
+ * @return {!proto.payment.AdjustmentItem} returns this
42935
45403
  */
42936
- proto.payment.CompensationItem.prototype.setOperationPublicId = function(value) {
45404
+ proto.payment.AdjustmentItem.prototype.setOperationPublicId = function(value) {
42937
45405
  return jspb.Message.setProto3StringField(this, 2, value);
42938
45406
  };
42939
45407
 
@@ -42942,260 +45410,206 @@ proto.payment.CompensationItem.prototype.setOperationPublicId = function(value)
42942
45410
  * optional int32 user_id = 3;
42943
45411
  * @return {number}
42944
45412
  */
42945
- proto.payment.CompensationItem.prototype.getUserId = function() {
45413
+ proto.payment.AdjustmentItem.prototype.getUserId = function() {
42946
45414
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
42947
45415
  };
42948
45416
 
42949
45417
 
42950
45418
  /**
42951
45419
  * @param {number} value
42952
- * @return {!proto.payment.CompensationItem} returns this
45420
+ * @return {!proto.payment.AdjustmentItem} returns this
42953
45421
  */
42954
- proto.payment.CompensationItem.prototype.setUserId = function(value) {
45422
+ proto.payment.AdjustmentItem.prototype.setUserId = function(value) {
42955
45423
  return jspb.Message.setProto3IntField(this, 3, value);
42956
45424
  };
42957
45425
 
42958
45426
 
42959
45427
  /**
42960
- * optional string compensation_type = 4;
45428
+ * optional string transaction_code = 4;
42961
45429
  * @return {string}
42962
45430
  */
42963
- proto.payment.CompensationItem.prototype.getCompensationType = function() {
45431
+ proto.payment.AdjustmentItem.prototype.getTransactionCode = function() {
42964
45432
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
42965
45433
  };
42966
45434
 
42967
45435
 
42968
45436
  /**
42969
45437
  * @param {string} value
42970
- * @return {!proto.payment.CompensationItem} returns this
45438
+ * @return {!proto.payment.AdjustmentItem} returns this
42971
45439
  */
42972
- proto.payment.CompensationItem.prototype.setCompensationType = function(value) {
45440
+ proto.payment.AdjustmentItem.prototype.setTransactionCode = function(value) {
42973
45441
  return jspb.Message.setProto3StringField(this, 4, value);
42974
45442
  };
42975
45443
 
42976
45444
 
42977
45445
  /**
42978
- * optional string transaction_code = 5;
42979
- * @return {string}
42980
- */
42981
- proto.payment.CompensationItem.prototype.getTransactionCode = function() {
42982
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
42983
- };
42984
-
42985
-
42986
- /**
42987
- * @param {string} value
42988
- * @return {!proto.payment.CompensationItem} returns this
42989
- */
42990
- proto.payment.CompensationItem.prototype.setTransactionCode = function(value) {
42991
- return jspb.Message.setProto3StringField(this, 5, value);
42992
- };
42993
-
42994
-
42995
- /**
42996
- * optional int64 amount_minor = 6;
45446
+ * optional int64 amount_minor = 5;
42997
45447
  * @return {number}
42998
45448
  */
42999
- proto.payment.CompensationItem.prototype.getAmountMinor = function() {
43000
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
45449
+ proto.payment.AdjustmentItem.prototype.getAmountMinor = function() {
45450
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
43001
45451
  };
43002
45452
 
43003
45453
 
43004
45454
  /**
43005
45455
  * @param {number} value
43006
- * @return {!proto.payment.CompensationItem} returns this
45456
+ * @return {!proto.payment.AdjustmentItem} returns this
43007
45457
  */
43008
- proto.payment.CompensationItem.prototype.setAmountMinor = function(value) {
43009
- return jspb.Message.setProto3IntField(this, 6, value);
45458
+ proto.payment.AdjustmentItem.prototype.setAmountMinor = function(value) {
45459
+ return jspb.Message.setProto3IntField(this, 5, value);
43010
45460
  };
43011
45461
 
43012
45462
 
43013
45463
  /**
43014
- * optional string currency = 7;
45464
+ * optional string currency = 6;
43015
45465
  * @return {string}
43016
45466
  */
43017
- proto.payment.CompensationItem.prototype.getCurrency = function() {
43018
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
45467
+ proto.payment.AdjustmentItem.prototype.getCurrency = function() {
45468
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
43019
45469
  };
43020
45470
 
43021
45471
 
43022
45472
  /**
43023
45473
  * @param {string} value
43024
- * @return {!proto.payment.CompensationItem} returns this
45474
+ * @return {!proto.payment.AdjustmentItem} returns this
43025
45475
  */
43026
- proto.payment.CompensationItem.prototype.setCurrency = function(value) {
43027
- return jspb.Message.setProto3StringField(this, 7, value);
45476
+ proto.payment.AdjustmentItem.prototype.setCurrency = function(value) {
45477
+ return jspb.Message.setProto3StringField(this, 6, value);
43028
45478
  };
43029
45479
 
43030
45480
 
43031
45481
  /**
43032
- * optional int32 currency_scale = 8;
45482
+ * optional int32 currency_scale = 7;
43033
45483
  * @return {number}
43034
45484
  */
43035
- proto.payment.CompensationItem.prototype.getCurrencyScale = function() {
43036
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
45485
+ proto.payment.AdjustmentItem.prototype.getCurrencyScale = function() {
45486
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
43037
45487
  };
43038
45488
 
43039
45489
 
43040
45490
  /**
43041
45491
  * @param {number} value
43042
- * @return {!proto.payment.CompensationItem} returns this
45492
+ * @return {!proto.payment.AdjustmentItem} returns this
43043
45493
  */
43044
- proto.payment.CompensationItem.prototype.setCurrencyScale = function(value) {
43045
- return jspb.Message.setProto3IntField(this, 8, value);
43046
- };
43047
-
43048
-
43049
- /**
43050
- * optional string wager_multiplier = 9;
43051
- * @return {string}
43052
- */
43053
- proto.payment.CompensationItem.prototype.getWagerMultiplier = function() {
43054
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
43055
- };
43056
-
43057
-
43058
- /**
43059
- * @param {string} value
43060
- * @return {!proto.payment.CompensationItem} returns this
43061
- */
43062
- proto.payment.CompensationItem.prototype.setWagerMultiplier = function(value) {
43063
- return jspb.Message.setProto3StringField(this, 9, value);
45494
+ proto.payment.AdjustmentItem.prototype.setCurrencyScale = function(value) {
45495
+ return jspb.Message.setProto3IntField(this, 7, value);
43064
45496
  };
43065
45497
 
43066
45498
 
43067
45499
  /**
43068
- * optional string promo_or_bonus_id = 10;
45500
+ * optional string wager_multiplier = 8;
43069
45501
  * @return {string}
43070
45502
  */
43071
- proto.payment.CompensationItem.prototype.getPromoOrBonusId = function() {
43072
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
45503
+ proto.payment.AdjustmentItem.prototype.getWagerMultiplier = function() {
45504
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
43073
45505
  };
43074
45506
 
43075
45507
 
43076
45508
  /**
43077
45509
  * @param {string} value
43078
- * @return {!proto.payment.CompensationItem} returns this
45510
+ * @return {!proto.payment.AdjustmentItem} returns this
43079
45511
  */
43080
- proto.payment.CompensationItem.prototype.setPromoOrBonusId = function(value) {
43081
- return jspb.Message.setField(this, 10, value);
43082
- };
43083
-
43084
-
43085
- /**
43086
- * Clears the field making it undefined.
43087
- * @return {!proto.payment.CompensationItem} returns this
43088
- */
43089
- proto.payment.CompensationItem.prototype.clearPromoOrBonusId = function() {
43090
- return jspb.Message.setField(this, 10, undefined);
43091
- };
43092
-
43093
-
43094
- /**
43095
- * Returns whether this field is set.
43096
- * @return {boolean}
43097
- */
43098
- proto.payment.CompensationItem.prototype.hasPromoOrBonusId = function() {
43099
- return jspb.Message.getField(this, 10) != null;
45512
+ proto.payment.AdjustmentItem.prototype.setWagerMultiplier = function(value) {
45513
+ return jspb.Message.setProto3StringField(this, 8, value);
43100
45514
  };
43101
45515
 
43102
45516
 
43103
45517
  /**
43104
- * optional string internal_comment = 11;
45518
+ * optional string internal_comment = 9;
43105
45519
  * @return {string}
43106
45520
  */
43107
- proto.payment.CompensationItem.prototype.getInternalComment = function() {
43108
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
45521
+ proto.payment.AdjustmentItem.prototype.getInternalComment = function() {
45522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
43109
45523
  };
43110
45524
 
43111
45525
 
43112
45526
  /**
43113
45527
  * @param {string} value
43114
- * @return {!proto.payment.CompensationItem} returns this
45528
+ * @return {!proto.payment.AdjustmentItem} returns this
43115
45529
  */
43116
- proto.payment.CompensationItem.prototype.setInternalComment = function(value) {
43117
- return jspb.Message.setProto3StringField(this, 11, value);
45530
+ proto.payment.AdjustmentItem.prototype.setInternalComment = function(value) {
45531
+ return jspb.Message.setProto3StringField(this, 9, value);
43118
45532
  };
43119
45533
 
43120
45534
 
43121
45535
  /**
43122
- * optional int32 operator_id = 12;
45536
+ * optional int32 operator_id = 10;
43123
45537
  * @return {number}
43124
45538
  */
43125
- proto.payment.CompensationItem.prototype.getOperatorId = function() {
43126
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
45539
+ proto.payment.AdjustmentItem.prototype.getOperatorId = function() {
45540
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
43127
45541
  };
43128
45542
 
43129
45543
 
43130
45544
  /**
43131
45545
  * @param {number} value
43132
- * @return {!proto.payment.CompensationItem} returns this
45546
+ * @return {!proto.payment.AdjustmentItem} returns this
43133
45547
  */
43134
- proto.payment.CompensationItem.prototype.setOperatorId = function(value) {
43135
- return jspb.Message.setProto3IntField(this, 12, value);
45548
+ proto.payment.AdjustmentItem.prototype.setOperatorId = function(value) {
45549
+ return jspb.Message.setProto3IntField(this, 10, value);
43136
45550
  };
43137
45551
 
43138
45552
 
43139
45553
  /**
43140
- * optional string status_code = 13;
45554
+ * optional string status_code = 11;
43141
45555
  * @return {string}
43142
45556
  */
43143
- proto.payment.CompensationItem.prototype.getStatusCode = function() {
43144
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
45557
+ proto.payment.AdjustmentItem.prototype.getStatusCode = function() {
45558
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
43145
45559
  };
43146
45560
 
43147
45561
 
43148
45562
  /**
43149
45563
  * @param {string} value
43150
- * @return {!proto.payment.CompensationItem} returns this
45564
+ * @return {!proto.payment.AdjustmentItem} returns this
43151
45565
  */
43152
- proto.payment.CompensationItem.prototype.setStatusCode = function(value) {
43153
- return jspb.Message.setProto3StringField(this, 13, value);
45566
+ proto.payment.AdjustmentItem.prototype.setStatusCode = function(value) {
45567
+ return jspb.Message.setProto3StringField(this, 11, value);
43154
45568
  };
43155
45569
 
43156
45570
 
43157
45571
  /**
43158
- * optional string created_at = 14;
45572
+ * optional string created_at = 12;
43159
45573
  * @return {string}
43160
45574
  */
43161
- proto.payment.CompensationItem.prototype.getCreatedAt = function() {
43162
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
45575
+ proto.payment.AdjustmentItem.prototype.getCreatedAt = function() {
45576
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
43163
45577
  };
43164
45578
 
43165
45579
 
43166
45580
  /**
43167
45581
  * @param {string} value
43168
- * @return {!proto.payment.CompensationItem} returns this
45582
+ * @return {!proto.payment.AdjustmentItem} returns this
43169
45583
  */
43170
- proto.payment.CompensationItem.prototype.setCreatedAt = function(value) {
43171
- return jspb.Message.setProto3StringField(this, 14, value);
45584
+ proto.payment.AdjustmentItem.prototype.setCreatedAt = function(value) {
45585
+ return jspb.Message.setProto3StringField(this, 12, value);
43172
45586
  };
43173
45587
 
43174
45588
 
43175
45589
  /**
43176
- * optional string completed_at = 15;
45590
+ * optional string completed_at = 13;
43177
45591
  * @return {string}
43178
45592
  */
43179
- proto.payment.CompensationItem.prototype.getCompletedAt = function() {
43180
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
45593
+ proto.payment.AdjustmentItem.prototype.getCompletedAt = function() {
45594
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
43181
45595
  };
43182
45596
 
43183
45597
 
43184
45598
  /**
43185
45599
  * @param {string} value
43186
- * @return {!proto.payment.CompensationItem} returns this
45600
+ * @return {!proto.payment.AdjustmentItem} returns this
43187
45601
  */
43188
- proto.payment.CompensationItem.prototype.setCompletedAt = function(value) {
43189
- return jspb.Message.setField(this, 15, value);
45602
+ proto.payment.AdjustmentItem.prototype.setCompletedAt = function(value) {
45603
+ return jspb.Message.setField(this, 13, value);
43190
45604
  };
43191
45605
 
43192
45606
 
43193
45607
  /**
43194
45608
  * Clears the field making it undefined.
43195
- * @return {!proto.payment.CompensationItem} returns this
45609
+ * @return {!proto.payment.AdjustmentItem} returns this
43196
45610
  */
43197
- proto.payment.CompensationItem.prototype.clearCompletedAt = function() {
43198
- return jspb.Message.setField(this, 15, undefined);
45611
+ proto.payment.AdjustmentItem.prototype.clearCompletedAt = function() {
45612
+ return jspb.Message.setField(this, 13, undefined);
43199
45613
  };
43200
45614
 
43201
45615
 
@@ -43203,35 +45617,35 @@ proto.payment.CompensationItem.prototype.clearCompletedAt = function() {
43203
45617
  * Returns whether this field is set.
43204
45618
  * @return {boolean}
43205
45619
  */
43206
- proto.payment.CompensationItem.prototype.hasCompletedAt = function() {
43207
- return jspb.Message.getField(this, 15) != null;
45620
+ proto.payment.AdjustmentItem.prototype.hasCompletedAt = function() {
45621
+ return jspb.Message.getField(this, 13) != null;
43208
45622
  };
43209
45623
 
43210
45624
 
43211
45625
  /**
43212
- * optional string player_nickname = 16;
45626
+ * optional string player_nickname = 14;
43213
45627
  * @return {string}
43214
45628
  */
43215
- proto.payment.CompensationItem.prototype.getPlayerNickname = function() {
43216
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
45629
+ proto.payment.AdjustmentItem.prototype.getPlayerNickname = function() {
45630
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
43217
45631
  };
43218
45632
 
43219
45633
 
43220
45634
  /**
43221
45635
  * @param {string} value
43222
- * @return {!proto.payment.CompensationItem} returns this
45636
+ * @return {!proto.payment.AdjustmentItem} returns this
43223
45637
  */
43224
- proto.payment.CompensationItem.prototype.setPlayerNickname = function(value) {
43225
- return jspb.Message.setField(this, 16, value);
45638
+ proto.payment.AdjustmentItem.prototype.setPlayerNickname = function(value) {
45639
+ return jspb.Message.setField(this, 14, value);
43226
45640
  };
43227
45641
 
43228
45642
 
43229
45643
  /**
43230
45644
  * Clears the field making it undefined.
43231
- * @return {!proto.payment.CompensationItem} returns this
45645
+ * @return {!proto.payment.AdjustmentItem} returns this
43232
45646
  */
43233
- proto.payment.CompensationItem.prototype.clearPlayerNickname = function() {
43234
- return jspb.Message.setField(this, 16, undefined);
45647
+ proto.payment.AdjustmentItem.prototype.clearPlayerNickname = function() {
45648
+ return jspb.Message.setField(this, 14, undefined);
43235
45649
  };
43236
45650
 
43237
45651
 
@@ -43239,35 +45653,35 @@ proto.payment.CompensationItem.prototype.clearPlayerNickname = function() {
43239
45653
  * Returns whether this field is set.
43240
45654
  * @return {boolean}
43241
45655
  */
43242
- proto.payment.CompensationItem.prototype.hasPlayerNickname = function() {
43243
- return jspb.Message.getField(this, 16) != null;
45656
+ proto.payment.AdjustmentItem.prototype.hasPlayerNickname = function() {
45657
+ return jspb.Message.getField(this, 14) != null;
43244
45658
  };
43245
45659
 
43246
45660
 
43247
45661
  /**
43248
- * optional string player_email = 17;
45662
+ * optional string player_email = 15;
43249
45663
  * @return {string}
43250
45664
  */
43251
- proto.payment.CompensationItem.prototype.getPlayerEmail = function() {
43252
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
45665
+ proto.payment.AdjustmentItem.prototype.getPlayerEmail = function() {
45666
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
43253
45667
  };
43254
45668
 
43255
45669
 
43256
45670
  /**
43257
45671
  * @param {string} value
43258
- * @return {!proto.payment.CompensationItem} returns this
45672
+ * @return {!proto.payment.AdjustmentItem} returns this
43259
45673
  */
43260
- proto.payment.CompensationItem.prototype.setPlayerEmail = function(value) {
43261
- return jspb.Message.setField(this, 17, value);
45674
+ proto.payment.AdjustmentItem.prototype.setPlayerEmail = function(value) {
45675
+ return jspb.Message.setField(this, 15, value);
43262
45676
  };
43263
45677
 
43264
45678
 
43265
45679
  /**
43266
45680
  * Clears the field making it undefined.
43267
- * @return {!proto.payment.CompensationItem} returns this
45681
+ * @return {!proto.payment.AdjustmentItem} returns this
43268
45682
  */
43269
- proto.payment.CompensationItem.prototype.clearPlayerEmail = function() {
43270
- return jspb.Message.setField(this, 17, undefined);
45683
+ proto.payment.AdjustmentItem.prototype.clearPlayerEmail = function() {
45684
+ return jspb.Message.setField(this, 15, undefined);
43271
45685
  };
43272
45686
 
43273
45687
 
@@ -43275,35 +45689,35 @@ proto.payment.CompensationItem.prototype.clearPlayerEmail = function() {
43275
45689
  * Returns whether this field is set.
43276
45690
  * @return {boolean}
43277
45691
  */
43278
- proto.payment.CompensationItem.prototype.hasPlayerEmail = function() {
43279
- return jspb.Message.getField(this, 17) != null;
45692
+ proto.payment.AdjustmentItem.prototype.hasPlayerEmail = function() {
45693
+ return jspb.Message.getField(this, 15) != null;
43280
45694
  };
43281
45695
 
43282
45696
 
43283
45697
  /**
43284
- * optional string operator_name = 18;
45698
+ * optional string operator_name = 16;
43285
45699
  * @return {string}
43286
45700
  */
43287
- proto.payment.CompensationItem.prototype.getOperatorName = function() {
43288
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
45701
+ proto.payment.AdjustmentItem.prototype.getOperatorName = function() {
45702
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
43289
45703
  };
43290
45704
 
43291
45705
 
43292
45706
  /**
43293
45707
  * @param {string} value
43294
- * @return {!proto.payment.CompensationItem} returns this
45708
+ * @return {!proto.payment.AdjustmentItem} returns this
43295
45709
  */
43296
- proto.payment.CompensationItem.prototype.setOperatorName = function(value) {
43297
- return jspb.Message.setField(this, 18, value);
45710
+ proto.payment.AdjustmentItem.prototype.setOperatorName = function(value) {
45711
+ return jspb.Message.setField(this, 16, value);
43298
45712
  };
43299
45713
 
43300
45714
 
43301
45715
  /**
43302
45716
  * Clears the field making it undefined.
43303
- * @return {!proto.payment.CompensationItem} returns this
45717
+ * @return {!proto.payment.AdjustmentItem} returns this
43304
45718
  */
43305
- proto.payment.CompensationItem.prototype.clearOperatorName = function() {
43306
- return jspb.Message.setField(this, 18, undefined);
45719
+ proto.payment.AdjustmentItem.prototype.clearOperatorName = function() {
45720
+ return jspb.Message.setField(this, 16, undefined);
43307
45721
  };
43308
45722
 
43309
45723
 
@@ -43311,35 +45725,35 @@ proto.payment.CompensationItem.prototype.clearOperatorName = function() {
43311
45725
  * Returns whether this field is set.
43312
45726
  * @return {boolean}
43313
45727
  */
43314
- proto.payment.CompensationItem.prototype.hasOperatorName = function() {
43315
- return jspb.Message.getField(this, 18) != null;
45728
+ proto.payment.AdjustmentItem.prototype.hasOperatorName = function() {
45729
+ return jspb.Message.getField(this, 16) != null;
43316
45730
  };
43317
45731
 
43318
45732
 
43319
45733
  /**
43320
- * optional string operator_email = 19;
45734
+ * optional string operator_email = 17;
43321
45735
  * @return {string}
43322
45736
  */
43323
- proto.payment.CompensationItem.prototype.getOperatorEmail = function() {
43324
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
45737
+ proto.payment.AdjustmentItem.prototype.getOperatorEmail = function() {
45738
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
43325
45739
  };
43326
45740
 
43327
45741
 
43328
45742
  /**
43329
45743
  * @param {string} value
43330
- * @return {!proto.payment.CompensationItem} returns this
45744
+ * @return {!proto.payment.AdjustmentItem} returns this
43331
45745
  */
43332
- proto.payment.CompensationItem.prototype.setOperatorEmail = function(value) {
43333
- return jspb.Message.setField(this, 19, value);
45746
+ proto.payment.AdjustmentItem.prototype.setOperatorEmail = function(value) {
45747
+ return jspb.Message.setField(this, 17, value);
43334
45748
  };
43335
45749
 
43336
45750
 
43337
45751
  /**
43338
45752
  * Clears the field making it undefined.
43339
- * @return {!proto.payment.CompensationItem} returns this
45753
+ * @return {!proto.payment.AdjustmentItem} returns this
43340
45754
  */
43341
- proto.payment.CompensationItem.prototype.clearOperatorEmail = function() {
43342
- return jspb.Message.setField(this, 19, undefined);
45755
+ proto.payment.AdjustmentItem.prototype.clearOperatorEmail = function() {
45756
+ return jspb.Message.setField(this, 17, undefined);
43343
45757
  };
43344
45758
 
43345
45759
 
@@ -43347,8 +45761,8 @@ proto.payment.CompensationItem.prototype.clearOperatorEmail = function() {
43347
45761
  * Returns whether this field is set.
43348
45762
  * @return {boolean}
43349
45763
  */
43350
- proto.payment.CompensationItem.prototype.hasOperatorEmail = function() {
43351
- return jspb.Message.getField(this, 19) != null;
45764
+ proto.payment.AdjustmentItem.prototype.hasOperatorEmail = function() {
45765
+ return jspb.Message.getField(this, 17) != null;
43352
45766
  };
43353
45767
 
43354
45768
 
@@ -43358,7 +45772,7 @@ proto.payment.CompensationItem.prototype.hasOperatorEmail = function() {
43358
45772
  * @private {!Array<number>}
43359
45773
  * @const
43360
45774
  */
43361
- proto.payment.CompensationItemsResponse.repeatedFields_ = [1];
45775
+ proto.payment.AdjustmentItemsResponse.repeatedFields_ = [1];
43362
45776
 
43363
45777
 
43364
45778
 
@@ -43375,8 +45789,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43375
45789
  * http://goto/soy-param-migration
43376
45790
  * @return {!Object}
43377
45791
  */
43378
- proto.payment.CompensationItemsResponse.prototype.toObject = function(opt_includeInstance) {
43379
- return proto.payment.CompensationItemsResponse.toObject(opt_includeInstance, this);
45792
+ proto.payment.AdjustmentItemsResponse.prototype.toObject = function(opt_includeInstance) {
45793
+ return proto.payment.AdjustmentItemsResponse.toObject(opt_includeInstance, this);
43380
45794
  };
43381
45795
 
43382
45796
 
@@ -43385,14 +45799,14 @@ proto.payment.CompensationItemsResponse.prototype.toObject = function(opt_includ
43385
45799
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43386
45800
  * the JSPB instance for transitional soy proto support:
43387
45801
  * http://goto/soy-param-migration
43388
- * @param {!proto.payment.CompensationItemsResponse} msg The msg instance to transform.
45802
+ * @param {!proto.payment.AdjustmentItemsResponse} msg The msg instance to transform.
43389
45803
  * @return {!Object}
43390
45804
  * @suppress {unusedLocalVariables} f is only used for nested messages
43391
45805
  */
43392
- proto.payment.CompensationItemsResponse.toObject = function(includeInstance, msg) {
45806
+ proto.payment.AdjustmentItemsResponse.toObject = function(includeInstance, msg) {
43393
45807
  var f, obj = {
43394
45808
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
43395
- proto.payment.CompensationItem.toObject, includeInstance),
45809
+ proto.payment.AdjustmentItem.toObject, includeInstance),
43396
45810
  totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
43397
45811
  totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
43398
45812
  };
@@ -43408,23 +45822,23 @@ proto.payment.CompensationItemsResponse.toObject = function(includeInstance, msg
43408
45822
  /**
43409
45823
  * Deserializes binary data (in protobuf wire format).
43410
45824
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
43411
- * @return {!proto.payment.CompensationItemsResponse}
45825
+ * @return {!proto.payment.AdjustmentItemsResponse}
43412
45826
  */
43413
- proto.payment.CompensationItemsResponse.deserializeBinary = function(bytes) {
45827
+ proto.payment.AdjustmentItemsResponse.deserializeBinary = function(bytes) {
43414
45828
  var reader = new jspb.BinaryReader(bytes);
43415
- var msg = new proto.payment.CompensationItemsResponse;
43416
- return proto.payment.CompensationItemsResponse.deserializeBinaryFromReader(msg, reader);
45829
+ var msg = new proto.payment.AdjustmentItemsResponse;
45830
+ return proto.payment.AdjustmentItemsResponse.deserializeBinaryFromReader(msg, reader);
43417
45831
  };
43418
45832
 
43419
45833
 
43420
45834
  /**
43421
45835
  * Deserializes binary data (in protobuf wire format) from the
43422
45836
  * given reader into the given message object.
43423
- * @param {!proto.payment.CompensationItemsResponse} msg The message object to deserialize into.
45837
+ * @param {!proto.payment.AdjustmentItemsResponse} msg The message object to deserialize into.
43424
45838
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43425
- * @return {!proto.payment.CompensationItemsResponse}
45839
+ * @return {!proto.payment.AdjustmentItemsResponse}
43426
45840
  */
43427
- proto.payment.CompensationItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
45841
+ proto.payment.AdjustmentItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
43428
45842
  while (reader.nextField()) {
43429
45843
  if (reader.isEndGroup()) {
43430
45844
  break;
@@ -43432,8 +45846,8 @@ proto.payment.CompensationItemsResponse.deserializeBinaryFromReader = function(m
43432
45846
  var field = reader.getFieldNumber();
43433
45847
  switch (field) {
43434
45848
  case 1:
43435
- var value = new proto.payment.CompensationItem;
43436
- reader.readMessage(value,proto.payment.CompensationItem.deserializeBinaryFromReader);
45849
+ var value = new proto.payment.AdjustmentItem;
45850
+ reader.readMessage(value,proto.payment.AdjustmentItem.deserializeBinaryFromReader);
43437
45851
  msg.addItems(value);
43438
45852
  break;
43439
45853
  case 2:
@@ -43457,9 +45871,9 @@ proto.payment.CompensationItemsResponse.deserializeBinaryFromReader = function(m
43457
45871
  * Serializes the message to binary data (in protobuf wire format).
43458
45872
  * @return {!Uint8Array}
43459
45873
  */
43460
- proto.payment.CompensationItemsResponse.prototype.serializeBinary = function() {
45874
+ proto.payment.AdjustmentItemsResponse.prototype.serializeBinary = function() {
43461
45875
  var writer = new jspb.BinaryWriter();
43462
- proto.payment.CompensationItemsResponse.serializeBinaryToWriter(this, writer);
45876
+ proto.payment.AdjustmentItemsResponse.serializeBinaryToWriter(this, writer);
43463
45877
  return writer.getResultBuffer();
43464
45878
  };
43465
45879
 
@@ -43467,18 +45881,18 @@ proto.payment.CompensationItemsResponse.prototype.serializeBinary = function() {
43467
45881
  /**
43468
45882
  * Serializes the given message to binary data (in protobuf wire
43469
45883
  * format), writing to the given BinaryWriter.
43470
- * @param {!proto.payment.CompensationItemsResponse} message
45884
+ * @param {!proto.payment.AdjustmentItemsResponse} message
43471
45885
  * @param {!jspb.BinaryWriter} writer
43472
45886
  * @suppress {unusedLocalVariables} f is only used for nested messages
43473
45887
  */
43474
- proto.payment.CompensationItemsResponse.serializeBinaryToWriter = function(message, writer) {
45888
+ proto.payment.AdjustmentItemsResponse.serializeBinaryToWriter = function(message, writer) {
43475
45889
  var f = undefined;
43476
45890
  f = message.getItemsList();
43477
45891
  if (f.length > 0) {
43478
45892
  writer.writeRepeatedMessage(
43479
45893
  1,
43480
45894
  f,
43481
- proto.payment.CompensationItem.serializeBinaryToWriter
45895
+ proto.payment.AdjustmentItem.serializeBinaryToWriter
43482
45896
  );
43483
45897
  }
43484
45898
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
@@ -43499,39 +45913,39 @@ proto.payment.CompensationItemsResponse.serializeBinaryToWriter = function(messa
43499
45913
 
43500
45914
 
43501
45915
  /**
43502
- * repeated CompensationItem items = 1;
43503
- * @return {!Array<!proto.payment.CompensationItem>}
45916
+ * repeated AdjustmentItem items = 1;
45917
+ * @return {!Array<!proto.payment.AdjustmentItem>}
43504
45918
  */
43505
- proto.payment.CompensationItemsResponse.prototype.getItemsList = function() {
43506
- return /** @type{!Array<!proto.payment.CompensationItem>} */ (
43507
- jspb.Message.getRepeatedWrapperField(this, proto.payment.CompensationItem, 1));
45919
+ proto.payment.AdjustmentItemsResponse.prototype.getItemsList = function() {
45920
+ return /** @type{!Array<!proto.payment.AdjustmentItem>} */ (
45921
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.AdjustmentItem, 1));
43508
45922
  };
43509
45923
 
43510
45924
 
43511
45925
  /**
43512
- * @param {!Array<!proto.payment.CompensationItem>} value
43513
- * @return {!proto.payment.CompensationItemsResponse} returns this
45926
+ * @param {!Array<!proto.payment.AdjustmentItem>} value
45927
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43514
45928
  */
43515
- proto.payment.CompensationItemsResponse.prototype.setItemsList = function(value) {
45929
+ proto.payment.AdjustmentItemsResponse.prototype.setItemsList = function(value) {
43516
45930
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
43517
45931
  };
43518
45932
 
43519
45933
 
43520
45934
  /**
43521
- * @param {!proto.payment.CompensationItem=} opt_value
45935
+ * @param {!proto.payment.AdjustmentItem=} opt_value
43522
45936
  * @param {number=} opt_index
43523
- * @return {!proto.payment.CompensationItem}
45937
+ * @return {!proto.payment.AdjustmentItem}
43524
45938
  */
43525
- proto.payment.CompensationItemsResponse.prototype.addItems = function(opt_value, opt_index) {
43526
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.CompensationItem, opt_index);
45939
+ proto.payment.AdjustmentItemsResponse.prototype.addItems = function(opt_value, opt_index) {
45940
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.AdjustmentItem, opt_index);
43527
45941
  };
43528
45942
 
43529
45943
 
43530
45944
  /**
43531
45945
  * Clears the list making it empty but non-null.
43532
- * @return {!proto.payment.CompensationItemsResponse} returns this
45946
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43533
45947
  */
43534
- proto.payment.CompensationItemsResponse.prototype.clearItemsList = function() {
45948
+ proto.payment.AdjustmentItemsResponse.prototype.clearItemsList = function() {
43535
45949
  return this.setItemsList([]);
43536
45950
  };
43537
45951
 
@@ -43540,25 +45954,25 @@ proto.payment.CompensationItemsResponse.prototype.clearItemsList = function() {
43540
45954
  * optional int32 total_pages = 2;
43541
45955
  * @return {number}
43542
45956
  */
43543
- proto.payment.CompensationItemsResponse.prototype.getTotalPages = function() {
45957
+ proto.payment.AdjustmentItemsResponse.prototype.getTotalPages = function() {
43544
45958
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43545
45959
  };
43546
45960
 
43547
45961
 
43548
45962
  /**
43549
45963
  * @param {number} value
43550
- * @return {!proto.payment.CompensationItemsResponse} returns this
45964
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43551
45965
  */
43552
- proto.payment.CompensationItemsResponse.prototype.setTotalPages = function(value) {
45966
+ proto.payment.AdjustmentItemsResponse.prototype.setTotalPages = function(value) {
43553
45967
  return jspb.Message.setField(this, 2, value);
43554
45968
  };
43555
45969
 
43556
45970
 
43557
45971
  /**
43558
45972
  * Clears the field making it undefined.
43559
- * @return {!proto.payment.CompensationItemsResponse} returns this
45973
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43560
45974
  */
43561
- proto.payment.CompensationItemsResponse.prototype.clearTotalPages = function() {
45975
+ proto.payment.AdjustmentItemsResponse.prototype.clearTotalPages = function() {
43562
45976
  return jspb.Message.setField(this, 2, undefined);
43563
45977
  };
43564
45978
 
@@ -43567,7 +45981,7 @@ proto.payment.CompensationItemsResponse.prototype.clearTotalPages = function() {
43567
45981
  * Returns whether this field is set.
43568
45982
  * @return {boolean}
43569
45983
  */
43570
- proto.payment.CompensationItemsResponse.prototype.hasTotalPages = function() {
45984
+ proto.payment.AdjustmentItemsResponse.prototype.hasTotalPages = function() {
43571
45985
  return jspb.Message.getField(this, 2) != null;
43572
45986
  };
43573
45987
 
@@ -43576,25 +45990,25 @@ proto.payment.CompensationItemsResponse.prototype.hasTotalPages = function() {
43576
45990
  * optional int32 total_items = 3;
43577
45991
  * @return {number}
43578
45992
  */
43579
- proto.payment.CompensationItemsResponse.prototype.getTotalItems = function() {
45993
+ proto.payment.AdjustmentItemsResponse.prototype.getTotalItems = function() {
43580
45994
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43581
45995
  };
43582
45996
 
43583
45997
 
43584
45998
  /**
43585
45999
  * @param {number} value
43586
- * @return {!proto.payment.CompensationItemsResponse} returns this
46000
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43587
46001
  */
43588
- proto.payment.CompensationItemsResponse.prototype.setTotalItems = function(value) {
46002
+ proto.payment.AdjustmentItemsResponse.prototype.setTotalItems = function(value) {
43589
46003
  return jspb.Message.setField(this, 3, value);
43590
46004
  };
43591
46005
 
43592
46006
 
43593
46007
  /**
43594
46008
  * Clears the field making it undefined.
43595
- * @return {!proto.payment.CompensationItemsResponse} returns this
46009
+ * @return {!proto.payment.AdjustmentItemsResponse} returns this
43596
46010
  */
43597
- proto.payment.CompensationItemsResponse.prototype.clearTotalItems = function() {
46011
+ proto.payment.AdjustmentItemsResponse.prototype.clearTotalItems = function() {
43598
46012
  return jspb.Message.setField(this, 3, undefined);
43599
46013
  };
43600
46014
 
@@ -43603,7 +46017,7 @@ proto.payment.CompensationItemsResponse.prototype.clearTotalItems = function() {
43603
46017
  * Returns whether this field is set.
43604
46018
  * @return {boolean}
43605
46019
  */
43606
- proto.payment.CompensationItemsResponse.prototype.hasTotalItems = function() {
46020
+ proto.payment.AdjustmentItemsResponse.prototype.hasTotalItems = function() {
43607
46021
  return jspb.Message.getField(this, 3) != null;
43608
46022
  };
43609
46023