protobuf-platform 1.2.663 → 1.2.664

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.
@@ -109,6 +109,8 @@ goog.exportSymbol('proto.payment.OperationItem', null, global);
109
109
  goog.exportSymbol('proto.payment.OperationItemsResponse', null, global);
110
110
  goog.exportSymbol('proto.payment.OperationLedgerItem', null, global);
111
111
  goog.exportSymbol('proto.payment.PaginationRequest', null, global);
112
+ goog.exportSymbol('proto.payment.PaymentLifecycleStatus', null, global);
113
+ goog.exportSymbol('proto.payment.PaymentLifecycleStatusItemsResponse', null, global);
112
114
  goog.exportSymbol('proto.payment.PaymentMethodConfigRequest', null, global);
113
115
  goog.exportSymbol('proto.payment.PaymentMethodConfigResponse', null, global);
114
116
  goog.exportSymbol('proto.payment.PaymentMethodSnapshotItem', null, global);
@@ -1071,7 +1073,7 @@ if (goog.DEBUG && !COMPILED) {
1071
1073
  * @constructor
1072
1074
  */
1073
1075
  proto.payment.DepositResponse = function(opt_data) {
1074
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1076
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositResponse.repeatedFields_, null);
1075
1077
  };
1076
1078
  goog.inherits(proto.payment.DepositResponse, jspb.Message);
1077
1079
  if (goog.DEBUG && !COMPILED) {
@@ -1092,7 +1094,7 @@ if (goog.DEBUG && !COMPILED) {
1092
1094
  * @constructor
1093
1095
  */
1094
1096
  proto.payment.DepositItem = function(opt_data) {
1095
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1097
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositItem.repeatedFields_, null);
1096
1098
  };
1097
1099
  goog.inherits(proto.payment.DepositItem, jspb.Message);
1098
1100
  if (goog.DEBUG && !COMPILED) {
@@ -1323,7 +1325,7 @@ if (goog.DEBUG && !COMPILED) {
1323
1325
  * @constructor
1324
1326
  */
1325
1327
  proto.payment.WithdrawalResponse = function(opt_data) {
1326
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1328
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.WithdrawalResponse.repeatedFields_, null);
1327
1329
  };
1328
1330
  goog.inherits(proto.payment.WithdrawalResponse, jspb.Message);
1329
1331
  if (goog.DEBUG && !COMPILED) {
@@ -1344,7 +1346,7 @@ if (goog.DEBUG && !COMPILED) {
1344
1346
  * @constructor
1345
1347
  */
1346
1348
  proto.payment.WithdrawalItem = function(opt_data) {
1347
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1349
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.WithdrawalItem.repeatedFields_, null);
1348
1350
  };
1349
1351
  goog.inherits(proto.payment.WithdrawalItem, jspb.Message);
1350
1352
  if (goog.DEBUG && !COMPILED) {
@@ -2950,6 +2952,48 @@ if (goog.DEBUG && !COMPILED) {
2950
2952
  */
2951
2953
  proto.payment.PrepareGameplayPrecisionCommandResponse.displayName = 'proto.payment.PrepareGameplayPrecisionCommandResponse';
2952
2954
  }
2955
+ /**
2956
+ * Generated by JsPbCodeGenerator.
2957
+ * @param {Array=} opt_data Optional initial data array, typically from a
2958
+ * server response, or constructed directly in Javascript. The array is used
2959
+ * in place and becomes part of the constructed object. It is not cloned.
2960
+ * If no data is provided, the constructed object will be empty, but still
2961
+ * valid.
2962
+ * @extends {jspb.Message}
2963
+ * @constructor
2964
+ */
2965
+ proto.payment.PaymentLifecycleStatus = function(opt_data) {
2966
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2967
+ };
2968
+ goog.inherits(proto.payment.PaymentLifecycleStatus, jspb.Message);
2969
+ if (goog.DEBUG && !COMPILED) {
2970
+ /**
2971
+ * @public
2972
+ * @override
2973
+ */
2974
+ proto.payment.PaymentLifecycleStatus.displayName = 'proto.payment.PaymentLifecycleStatus';
2975
+ }
2976
+ /**
2977
+ * Generated by JsPbCodeGenerator.
2978
+ * @param {Array=} opt_data Optional initial data array, typically from a
2979
+ * server response, or constructed directly in Javascript. The array is used
2980
+ * in place and becomes part of the constructed object. It is not cloned.
2981
+ * If no data is provided, the constructed object will be empty, but still
2982
+ * valid.
2983
+ * @extends {jspb.Message}
2984
+ * @constructor
2985
+ */
2986
+ proto.payment.PaymentLifecycleStatusItemsResponse = function(opt_data) {
2987
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_, null);
2988
+ };
2989
+ goog.inherits(proto.payment.PaymentLifecycleStatusItemsResponse, jspb.Message);
2990
+ if (goog.DEBUG && !COMPILED) {
2991
+ /**
2992
+ * @public
2993
+ * @override
2994
+ */
2995
+ proto.payment.PaymentLifecycleStatusItemsResponse.displayName = 'proto.payment.PaymentLifecycleStatusItemsResponse';
2996
+ }
2953
2997
 
2954
2998
 
2955
2999
 
@@ -4038,7 +4082,7 @@ proto.payment.PaginationRequest.prototype.hasAdjustmentSearchParams = function()
4038
4082
  * @private {!Array<number>}
4039
4083
  * @const
4040
4084
  */
4041
- proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18,20];
4085
+ proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18,20,26];
4042
4086
 
4043
4087
 
4044
4088
 
@@ -4095,7 +4139,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
4095
4139
  createdAtFrom: jspb.Message.getFieldWithDefault(msg, 22, ""),
4096
4140
  createdAtTo: jspb.Message.getFieldWithDefault(msg, 23, ""),
4097
4141
  completedAtFrom: jspb.Message.getFieldWithDefault(msg, 24, ""),
4098
- completedAtTo: jspb.Message.getFieldWithDefault(msg, 25, "")
4142
+ completedAtTo: jspb.Message.getFieldWithDefault(msg, 25, ""),
4143
+ canonicalStatusList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f
4099
4144
  };
4100
4145
 
4101
4146
  if (includeInstance) {
@@ -4240,6 +4285,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
4240
4285
  var value = /** @type {string} */ (reader.readString());
4241
4286
  msg.setCompletedAtTo(value);
4242
4287
  break;
4288
+ case 26:
4289
+ var value = /** @type {string} */ (reader.readString());
4290
+ msg.addCanonicalStatus(value);
4291
+ break;
4243
4292
  default:
4244
4293
  reader.skipField();
4245
4294
  break;
@@ -4444,6 +4493,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
4444
4493
  f
4445
4494
  );
4446
4495
  }
4496
+ f = message.getCanonicalStatusList();
4497
+ if (f.length > 0) {
4498
+ writer.writeRepeatedString(
4499
+ 26,
4500
+ f
4501
+ );
4502
+ }
4447
4503
  };
4448
4504
 
4449
4505
 
@@ -5358,6 +5414,43 @@ proto.payment.PaymentSearchRequest.prototype.hasCompletedAtTo = function() {
5358
5414
  };
5359
5415
 
5360
5416
 
5417
+ /**
5418
+ * repeated string canonical_status = 26;
5419
+ * @return {!Array<string>}
5420
+ */
5421
+ proto.payment.PaymentSearchRequest.prototype.getCanonicalStatusList = function() {
5422
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 26));
5423
+ };
5424
+
5425
+
5426
+ /**
5427
+ * @param {!Array<string>} value
5428
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5429
+ */
5430
+ proto.payment.PaymentSearchRequest.prototype.setCanonicalStatusList = function(value) {
5431
+ return jspb.Message.setField(this, 26, value || []);
5432
+ };
5433
+
5434
+
5435
+ /**
5436
+ * @param {string} value
5437
+ * @param {number=} opt_index
5438
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5439
+ */
5440
+ proto.payment.PaymentSearchRequest.prototype.addCanonicalStatus = function(value, opt_index) {
5441
+ return jspb.Message.addToRepeatedField(this, 26, value, opt_index);
5442
+ };
5443
+
5444
+
5445
+ /**
5446
+ * Clears the list making it empty but non-null.
5447
+ * @return {!proto.payment.PaymentSearchRequest} returns this
5448
+ */
5449
+ proto.payment.PaymentSearchRequest.prototype.clearCanonicalStatusList = function() {
5450
+ return this.setCanonicalStatusList([]);
5451
+ };
5452
+
5453
+
5361
5454
 
5362
5455
  /**
5363
5456
  * List of repeated fields within this message type.
@@ -14236,7 +14329,8 @@ proto.payment.OperationItem.toObject = function(includeInstance, msg) {
14236
14329
  currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
14237
14330
  externalRef: jspb.Message.getFieldWithDefault(msg, 9, ""),
14238
14331
  created: jspb.Message.getFieldWithDefault(msg, 10, ""),
14239
- origin: jspb.Message.getFieldWithDefault(msg, 11, "")
14332
+ origin: jspb.Message.getFieldWithDefault(msg, 11, ""),
14333
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 12, "")
14240
14334
  };
14241
14335
 
14242
14336
  if (includeInstance) {
@@ -14317,6 +14411,10 @@ proto.payment.OperationItem.deserializeBinaryFromReader = function(msg, reader)
14317
14411
  var value = /** @type {string} */ (reader.readString());
14318
14412
  msg.setOrigin(value);
14319
14413
  break;
14414
+ case 12:
14415
+ var value = /** @type {string} */ (reader.readString());
14416
+ msg.setCanonicalStatus(value);
14417
+ break;
14320
14418
  default:
14321
14419
  reader.skipField();
14322
14420
  break;
@@ -14423,6 +14521,13 @@ proto.payment.OperationItem.serializeBinaryToWriter = function(message, writer)
14423
14521
  f
14424
14522
  );
14425
14523
  }
14524
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
14525
+ if (f != null) {
14526
+ writer.writeString(
14527
+ 12,
14528
+ f
14529
+ );
14530
+ }
14426
14531
  };
14427
14532
 
14428
14533
 
@@ -14642,6 +14747,42 @@ proto.payment.OperationItem.prototype.hasOrigin = function() {
14642
14747
  };
14643
14748
 
14644
14749
 
14750
+ /**
14751
+ * optional string canonical_status = 12;
14752
+ * @return {string}
14753
+ */
14754
+ proto.payment.OperationItem.prototype.getCanonicalStatus = function() {
14755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14756
+ };
14757
+
14758
+
14759
+ /**
14760
+ * @param {string} value
14761
+ * @return {!proto.payment.OperationItem} returns this
14762
+ */
14763
+ proto.payment.OperationItem.prototype.setCanonicalStatus = function(value) {
14764
+ return jspb.Message.setField(this, 12, value);
14765
+ };
14766
+
14767
+
14768
+ /**
14769
+ * Clears the field making it undefined.
14770
+ * @return {!proto.payment.OperationItem} returns this
14771
+ */
14772
+ proto.payment.OperationItem.prototype.clearCanonicalStatus = function() {
14773
+ return jspb.Message.setField(this, 12, undefined);
14774
+ };
14775
+
14776
+
14777
+ /**
14778
+ * Returns whether this field is set.
14779
+ * @return {boolean}
14780
+ */
14781
+ proto.payment.OperationItem.prototype.hasCanonicalStatus = function() {
14782
+ return jspb.Message.getField(this, 12) != null;
14783
+ };
14784
+
14785
+
14645
14786
 
14646
14787
  /**
14647
14788
  * List of repeated fields within this message type.
@@ -15865,7 +16006,8 @@ proto.payment.OperationDetailsItem.toObject = function(includeInstance, msg) {
15865
16006
  comment: jspb.Message.getFieldWithDefault(msg, 17, ""),
15866
16007
  providerCode: jspb.Message.getFieldWithDefault(msg, 18, ""),
15867
16008
  providerOutcome: (f = msg.getProviderOutcome()) && proto.payment.ProviderOutcome.toObject(includeInstance, f),
15868
- origin: jspb.Message.getFieldWithDefault(msg, 20, "")
16009
+ origin: jspb.Message.getFieldWithDefault(msg, 20, ""),
16010
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 21, "")
15869
16011
  };
15870
16012
 
15871
16013
  if (includeInstance) {
@@ -15983,6 +16125,10 @@ proto.payment.OperationDetailsItem.deserializeBinaryFromReader = function(msg, r
15983
16125
  var value = /** @type {string} */ (reader.readString());
15984
16126
  msg.setOrigin(value);
15985
16127
  break;
16128
+ case 21:
16129
+ var value = /** @type {string} */ (reader.readString());
16130
+ msg.setCanonicalStatus(value);
16131
+ break;
15986
16132
  default:
15987
16133
  reader.skipField();
15988
16134
  break;
@@ -16153,6 +16299,13 @@ proto.payment.OperationDetailsItem.serializeBinaryToWriter = function(message, w
16153
16299
  f
16154
16300
  );
16155
16301
  }
16302
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
16303
+ if (f != null) {
16304
+ writer.writeString(
16305
+ 21,
16306
+ f
16307
+ );
16308
+ }
16156
16309
  };
16157
16310
 
16158
16311
 
@@ -16589,6 +16742,42 @@ proto.payment.OperationDetailsItem.prototype.hasOrigin = function() {
16589
16742
  };
16590
16743
 
16591
16744
 
16745
+ /**
16746
+ * optional string canonical_status = 21;
16747
+ * @return {string}
16748
+ */
16749
+ proto.payment.OperationDetailsItem.prototype.getCanonicalStatus = function() {
16750
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
16751
+ };
16752
+
16753
+
16754
+ /**
16755
+ * @param {string} value
16756
+ * @return {!proto.payment.OperationDetailsItem} returns this
16757
+ */
16758
+ proto.payment.OperationDetailsItem.prototype.setCanonicalStatus = function(value) {
16759
+ return jspb.Message.setField(this, 21, value);
16760
+ };
16761
+
16762
+
16763
+ /**
16764
+ * Clears the field making it undefined.
16765
+ * @return {!proto.payment.OperationDetailsItem} returns this
16766
+ */
16767
+ proto.payment.OperationDetailsItem.prototype.clearCanonicalStatus = function() {
16768
+ return jspb.Message.setField(this, 21, undefined);
16769
+ };
16770
+
16771
+
16772
+ /**
16773
+ * Returns whether this field is set.
16774
+ * @return {boolean}
16775
+ */
16776
+ proto.payment.OperationDetailsItem.prototype.hasCanonicalStatus = function() {
16777
+ return jspb.Message.getField(this, 21) != null;
16778
+ };
16779
+
16780
+
16592
16781
 
16593
16782
 
16594
16783
 
@@ -20565,6 +20754,13 @@ proto.payment.CryptoDepositInstructions.prototype.hasMinDeposit = function() {
20565
20754
 
20566
20755
 
20567
20756
 
20757
+ /**
20758
+ * List of repeated fields within this message type.
20759
+ * @private {!Array<number>}
20760
+ * @const
20761
+ */
20762
+ proto.payment.DepositResponse.repeatedFields_ = [21];
20763
+
20568
20764
 
20569
20765
 
20570
20766
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -20614,7 +20810,9 @@ proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
20614
20810
  creditedCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
20615
20811
  providerAmountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
20616
20812
  providerAmountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
20617
- providerCurrency: jspb.Message.getFieldWithDefault(msg, 19, "")
20813
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 19, ""),
20814
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
20815
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f
20618
20816
  };
20619
20817
 
20620
20818
  if (includeInstance) {
@@ -20728,6 +20926,14 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
20728
20926
  var value = /** @type {string} */ (reader.readString());
20729
20927
  msg.setProviderCurrency(value);
20730
20928
  break;
20929
+ case 20:
20930
+ var value = /** @type {string} */ (reader.readString());
20931
+ msg.setCanonicalStatus(value);
20932
+ break;
20933
+ case 21:
20934
+ var value = /** @type {string} */ (reader.readString());
20935
+ msg.addAllowedStatusActions(value);
20936
+ break;
20731
20937
  default:
20732
20938
  reader.skipField();
20733
20939
  break;
@@ -20891,6 +21097,20 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
20891
21097
  f
20892
21098
  );
20893
21099
  }
21100
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
21101
+ if (f != null) {
21102
+ writer.writeString(
21103
+ 20,
21104
+ f
21105
+ );
21106
+ }
21107
+ f = message.getAllowedStatusActionsList();
21108
+ if (f.length > 0) {
21109
+ writer.writeRepeatedString(
21110
+ 21,
21111
+ f
21112
+ );
21113
+ }
20894
21114
  };
20895
21115
 
20896
21116
 
@@ -21561,6 +21781,86 @@ proto.payment.DepositResponse.prototype.hasProviderCurrency = function() {
21561
21781
  };
21562
21782
 
21563
21783
 
21784
+ /**
21785
+ * optional string canonical_status = 20;
21786
+ * @return {string}
21787
+ */
21788
+ proto.payment.DepositResponse.prototype.getCanonicalStatus = function() {
21789
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
21790
+ };
21791
+
21792
+
21793
+ /**
21794
+ * @param {string} value
21795
+ * @return {!proto.payment.DepositResponse} returns this
21796
+ */
21797
+ proto.payment.DepositResponse.prototype.setCanonicalStatus = function(value) {
21798
+ return jspb.Message.setField(this, 20, value);
21799
+ };
21800
+
21801
+
21802
+ /**
21803
+ * Clears the field making it undefined.
21804
+ * @return {!proto.payment.DepositResponse} returns this
21805
+ */
21806
+ proto.payment.DepositResponse.prototype.clearCanonicalStatus = function() {
21807
+ return jspb.Message.setField(this, 20, undefined);
21808
+ };
21809
+
21810
+
21811
+ /**
21812
+ * Returns whether this field is set.
21813
+ * @return {boolean}
21814
+ */
21815
+ proto.payment.DepositResponse.prototype.hasCanonicalStatus = function() {
21816
+ return jspb.Message.getField(this, 20) != null;
21817
+ };
21818
+
21819
+
21820
+ /**
21821
+ * repeated string allowed_status_actions = 21;
21822
+ * @return {!Array<string>}
21823
+ */
21824
+ proto.payment.DepositResponse.prototype.getAllowedStatusActionsList = function() {
21825
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 21));
21826
+ };
21827
+
21828
+
21829
+ /**
21830
+ * @param {!Array<string>} value
21831
+ * @return {!proto.payment.DepositResponse} returns this
21832
+ */
21833
+ proto.payment.DepositResponse.prototype.setAllowedStatusActionsList = function(value) {
21834
+ return jspb.Message.setField(this, 21, value || []);
21835
+ };
21836
+
21837
+
21838
+ /**
21839
+ * @param {string} value
21840
+ * @param {number=} opt_index
21841
+ * @return {!proto.payment.DepositResponse} returns this
21842
+ */
21843
+ proto.payment.DepositResponse.prototype.addAllowedStatusActions = function(value, opt_index) {
21844
+ return jspb.Message.addToRepeatedField(this, 21, value, opt_index);
21845
+ };
21846
+
21847
+
21848
+ /**
21849
+ * Clears the list making it empty but non-null.
21850
+ * @return {!proto.payment.DepositResponse} returns this
21851
+ */
21852
+ proto.payment.DepositResponse.prototype.clearAllowedStatusActionsList = function() {
21853
+ return this.setAllowedStatusActionsList([]);
21854
+ };
21855
+
21856
+
21857
+
21858
+ /**
21859
+ * List of repeated fields within this message type.
21860
+ * @private {!Array<number>}
21861
+ * @const
21862
+ */
21863
+ proto.payment.DepositItem.repeatedFields_ = [29];
21564
21864
 
21565
21865
 
21566
21866
 
@@ -21619,7 +21919,9 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
21619
21919
  creditedCurrency: jspb.Message.getFieldWithDefault(msg, 24, ""),
21620
21920
  providerAmountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
21621
21921
  providerAmountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
21622
- providerCurrency: jspb.Message.getFieldWithDefault(msg, 27, "")
21922
+ providerCurrency: jspb.Message.getFieldWithDefault(msg, 27, ""),
21923
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 28, ""),
21924
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f
21623
21925
  };
21624
21926
 
21625
21927
  if (includeInstance) {
@@ -21764,6 +22066,14 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
21764
22066
  var value = /** @type {string} */ (reader.readString());
21765
22067
  msg.setProviderCurrency(value);
21766
22068
  break;
22069
+ case 28:
22070
+ var value = /** @type {string} */ (reader.readString());
22071
+ msg.setCanonicalStatus(value);
22072
+ break;
22073
+ case 29:
22074
+ var value = /** @type {string} */ (reader.readString());
22075
+ msg.addAllowedStatusActions(value);
22076
+ break;
21767
22077
  default:
21768
22078
  reader.skipField();
21769
22079
  break;
@@ -21982,6 +22292,20 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
21982
22292
  f
21983
22293
  );
21984
22294
  }
22295
+ f = /** @type {string} */ (jspb.Message.getField(message, 28));
22296
+ if (f != null) {
22297
+ writer.writeString(
22298
+ 28,
22299
+ f
22300
+ );
22301
+ }
22302
+ f = message.getAllowedStatusActionsList();
22303
+ if (f.length > 0) {
22304
+ writer.writeRepeatedString(
22305
+ 29,
22306
+ f
22307
+ );
22308
+ }
21985
22309
  };
21986
22310
 
21987
22311
 
@@ -22831,6 +23155,79 @@ proto.payment.DepositItem.prototype.hasProviderCurrency = function() {
22831
23155
  };
22832
23156
 
22833
23157
 
23158
+ /**
23159
+ * optional string canonical_status = 28;
23160
+ * @return {string}
23161
+ */
23162
+ proto.payment.DepositItem.prototype.getCanonicalStatus = function() {
23163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
23164
+ };
23165
+
23166
+
23167
+ /**
23168
+ * @param {string} value
23169
+ * @return {!proto.payment.DepositItem} returns this
23170
+ */
23171
+ proto.payment.DepositItem.prototype.setCanonicalStatus = function(value) {
23172
+ return jspb.Message.setField(this, 28, value);
23173
+ };
23174
+
23175
+
23176
+ /**
23177
+ * Clears the field making it undefined.
23178
+ * @return {!proto.payment.DepositItem} returns this
23179
+ */
23180
+ proto.payment.DepositItem.prototype.clearCanonicalStatus = function() {
23181
+ return jspb.Message.setField(this, 28, undefined);
23182
+ };
23183
+
23184
+
23185
+ /**
23186
+ * Returns whether this field is set.
23187
+ * @return {boolean}
23188
+ */
23189
+ proto.payment.DepositItem.prototype.hasCanonicalStatus = function() {
23190
+ return jspb.Message.getField(this, 28) != null;
23191
+ };
23192
+
23193
+
23194
+ /**
23195
+ * repeated string allowed_status_actions = 29;
23196
+ * @return {!Array<string>}
23197
+ */
23198
+ proto.payment.DepositItem.prototype.getAllowedStatusActionsList = function() {
23199
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 29));
23200
+ };
23201
+
23202
+
23203
+ /**
23204
+ * @param {!Array<string>} value
23205
+ * @return {!proto.payment.DepositItem} returns this
23206
+ */
23207
+ proto.payment.DepositItem.prototype.setAllowedStatusActionsList = function(value) {
23208
+ return jspb.Message.setField(this, 29, value || []);
23209
+ };
23210
+
23211
+
23212
+ /**
23213
+ * @param {string} value
23214
+ * @param {number=} opt_index
23215
+ * @return {!proto.payment.DepositItem} returns this
23216
+ */
23217
+ proto.payment.DepositItem.prototype.addAllowedStatusActions = function(value, opt_index) {
23218
+ return jspb.Message.addToRepeatedField(this, 29, value, opt_index);
23219
+ };
23220
+
23221
+
23222
+ /**
23223
+ * Clears the list making it empty but non-null.
23224
+ * @return {!proto.payment.DepositItem} returns this
23225
+ */
23226
+ proto.payment.DepositItem.prototype.clearAllowedStatusActionsList = function() {
23227
+ return this.setAllowedStatusActionsList([]);
23228
+ };
23229
+
23230
+
22834
23231
 
22835
23232
  /**
22836
23233
  * List of repeated fields within this message type.
@@ -26445,6 +26842,13 @@ proto.payment.GetWithdrawalRequest.prototype.hasReason = function() {
26445
26842
 
26446
26843
 
26447
26844
 
26845
+ /**
26846
+ * List of repeated fields within this message type.
26847
+ * @private {!Array<number>}
26848
+ * @const
26849
+ */
26850
+ proto.payment.WithdrawalResponse.repeatedFields_ = [23];
26851
+
26448
26852
 
26449
26853
 
26450
26854
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -26496,7 +26900,9 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
26496
26900
  paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
26497
26901
  paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
26498
26902
  paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
26499
- origin: jspb.Message.getFieldWithDefault(msg, 21, "")
26903
+ origin: jspb.Message.getFieldWithDefault(msg, 21, ""),
26904
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
26905
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f
26500
26906
  };
26501
26907
 
26502
26908
  if (includeInstance) {
@@ -26617,6 +27023,14 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
26617
27023
  var value = /** @type {string} */ (reader.readString());
26618
27024
  msg.setOrigin(value);
26619
27025
  break;
27026
+ case 22:
27027
+ var value = /** @type {string} */ (reader.readString());
27028
+ msg.setCanonicalStatus(value);
27029
+ break;
27030
+ case 23:
27031
+ var value = /** @type {string} */ (reader.readString());
27032
+ msg.addAllowedStatusActions(value);
27033
+ break;
26620
27034
  default:
26621
27035
  reader.skipField();
26622
27036
  break;
@@ -26793,6 +27207,20 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
26793
27207
  f
26794
27208
  );
26795
27209
  }
27210
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
27211
+ if (f != null) {
27212
+ writer.writeString(
27213
+ 22,
27214
+ f
27215
+ );
27216
+ }
27217
+ f = message.getAllowedStatusActionsList();
27218
+ if (f.length > 0) {
27219
+ writer.writeRepeatedString(
27220
+ 23,
27221
+ f
27222
+ );
27223
+ }
26796
27224
  };
26797
27225
 
26798
27226
 
@@ -27534,6 +27962,86 @@ proto.payment.WithdrawalResponse.prototype.hasOrigin = function() {
27534
27962
  };
27535
27963
 
27536
27964
 
27965
+ /**
27966
+ * optional string canonical_status = 22;
27967
+ * @return {string}
27968
+ */
27969
+ proto.payment.WithdrawalResponse.prototype.getCanonicalStatus = function() {
27970
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
27971
+ };
27972
+
27973
+
27974
+ /**
27975
+ * @param {string} value
27976
+ * @return {!proto.payment.WithdrawalResponse} returns this
27977
+ */
27978
+ proto.payment.WithdrawalResponse.prototype.setCanonicalStatus = function(value) {
27979
+ return jspb.Message.setField(this, 22, value);
27980
+ };
27981
+
27982
+
27983
+ /**
27984
+ * Clears the field making it undefined.
27985
+ * @return {!proto.payment.WithdrawalResponse} returns this
27986
+ */
27987
+ proto.payment.WithdrawalResponse.prototype.clearCanonicalStatus = function() {
27988
+ return jspb.Message.setField(this, 22, undefined);
27989
+ };
27990
+
27991
+
27992
+ /**
27993
+ * Returns whether this field is set.
27994
+ * @return {boolean}
27995
+ */
27996
+ proto.payment.WithdrawalResponse.prototype.hasCanonicalStatus = function() {
27997
+ return jspb.Message.getField(this, 22) != null;
27998
+ };
27999
+
28000
+
28001
+ /**
28002
+ * repeated string allowed_status_actions = 23;
28003
+ * @return {!Array<string>}
28004
+ */
28005
+ proto.payment.WithdrawalResponse.prototype.getAllowedStatusActionsList = function() {
28006
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 23));
28007
+ };
28008
+
28009
+
28010
+ /**
28011
+ * @param {!Array<string>} value
28012
+ * @return {!proto.payment.WithdrawalResponse} returns this
28013
+ */
28014
+ proto.payment.WithdrawalResponse.prototype.setAllowedStatusActionsList = function(value) {
28015
+ return jspb.Message.setField(this, 23, value || []);
28016
+ };
28017
+
28018
+
28019
+ /**
28020
+ * @param {string} value
28021
+ * @param {number=} opt_index
28022
+ * @return {!proto.payment.WithdrawalResponse} returns this
28023
+ */
28024
+ proto.payment.WithdrawalResponse.prototype.addAllowedStatusActions = function(value, opt_index) {
28025
+ return jspb.Message.addToRepeatedField(this, 23, value, opt_index);
28026
+ };
28027
+
28028
+
28029
+ /**
28030
+ * Clears the list making it empty but non-null.
28031
+ * @return {!proto.payment.WithdrawalResponse} returns this
28032
+ */
28033
+ proto.payment.WithdrawalResponse.prototype.clearAllowedStatusActionsList = function() {
28034
+ return this.setAllowedStatusActionsList([]);
28035
+ };
28036
+
28037
+
28038
+
28039
+ /**
28040
+ * List of repeated fields within this message type.
28041
+ * @private {!Array<number>}
28042
+ * @const
28043
+ */
28044
+ proto.payment.WithdrawalItem.repeatedFields_ = [24];
27537
28045
 
27538
28046
 
27539
28047
 
@@ -27587,7 +28095,9 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
27587
28095
  paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
27588
28096
  paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
27589
28097
  completedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
27590
- origin: jspb.Message.getFieldWithDefault(msg, 22, "")
28098
+ origin: jspb.Message.getFieldWithDefault(msg, 22, ""),
28099
+ canonicalStatus: jspb.Message.getFieldWithDefault(msg, 23, ""),
28100
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f
27591
28101
  };
27592
28102
 
27593
28103
  if (includeInstance) {
@@ -27712,6 +28222,14 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
27712
28222
  var value = /** @type {string} */ (reader.readString());
27713
28223
  msg.setOrigin(value);
27714
28224
  break;
28225
+ case 23:
28226
+ var value = /** @type {string} */ (reader.readString());
28227
+ msg.setCanonicalStatus(value);
28228
+ break;
28229
+ case 24:
28230
+ var value = /** @type {string} */ (reader.readString());
28231
+ msg.addAllowedStatusActions(value);
28232
+ break;
27715
28233
  default:
27716
28234
  reader.skipField();
27717
28235
  break;
@@ -27895,6 +28413,20 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
27895
28413
  f
27896
28414
  );
27897
28415
  }
28416
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
28417
+ if (f != null) {
28418
+ writer.writeString(
28419
+ 23,
28420
+ f
28421
+ );
28422
+ }
28423
+ f = message.getAllowedStatusActionsList();
28424
+ if (f.length > 0) {
28425
+ writer.writeRepeatedString(
28426
+ 24,
28427
+ f
28428
+ );
28429
+ }
27898
28430
  };
27899
28431
 
27900
28432
 
@@ -28582,6 +29114,79 @@ proto.payment.WithdrawalItem.prototype.hasOrigin = function() {
28582
29114
  };
28583
29115
 
28584
29116
 
29117
+ /**
29118
+ * optional string canonical_status = 23;
29119
+ * @return {string}
29120
+ */
29121
+ proto.payment.WithdrawalItem.prototype.getCanonicalStatus = function() {
29122
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
29123
+ };
29124
+
29125
+
29126
+ /**
29127
+ * @param {string} value
29128
+ * @return {!proto.payment.WithdrawalItem} returns this
29129
+ */
29130
+ proto.payment.WithdrawalItem.prototype.setCanonicalStatus = function(value) {
29131
+ return jspb.Message.setField(this, 23, value);
29132
+ };
29133
+
29134
+
29135
+ /**
29136
+ * Clears the field making it undefined.
29137
+ * @return {!proto.payment.WithdrawalItem} returns this
29138
+ */
29139
+ proto.payment.WithdrawalItem.prototype.clearCanonicalStatus = function() {
29140
+ return jspb.Message.setField(this, 23, undefined);
29141
+ };
29142
+
29143
+
29144
+ /**
29145
+ * Returns whether this field is set.
29146
+ * @return {boolean}
29147
+ */
29148
+ proto.payment.WithdrawalItem.prototype.hasCanonicalStatus = function() {
29149
+ return jspb.Message.getField(this, 23) != null;
29150
+ };
29151
+
29152
+
29153
+ /**
29154
+ * repeated string allowed_status_actions = 24;
29155
+ * @return {!Array<string>}
29156
+ */
29157
+ proto.payment.WithdrawalItem.prototype.getAllowedStatusActionsList = function() {
29158
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 24));
29159
+ };
29160
+
29161
+
29162
+ /**
29163
+ * @param {!Array<string>} value
29164
+ * @return {!proto.payment.WithdrawalItem} returns this
29165
+ */
29166
+ proto.payment.WithdrawalItem.prototype.setAllowedStatusActionsList = function(value) {
29167
+ return jspb.Message.setField(this, 24, value || []);
29168
+ };
29169
+
29170
+
29171
+ /**
29172
+ * @param {string} value
29173
+ * @param {number=} opt_index
29174
+ * @return {!proto.payment.WithdrawalItem} returns this
29175
+ */
29176
+ proto.payment.WithdrawalItem.prototype.addAllowedStatusActions = function(value, opt_index) {
29177
+ return jspb.Message.addToRepeatedField(this, 24, value, opt_index);
29178
+ };
29179
+
29180
+
29181
+ /**
29182
+ * Clears the list making it empty but non-null.
29183
+ * @return {!proto.payment.WithdrawalItem} returns this
29184
+ */
29185
+ proto.payment.WithdrawalItem.prototype.clearAllowedStatusActionsList = function() {
29186
+ return this.setAllowedStatusActionsList([]);
29187
+ };
29188
+
29189
+
28585
29190
 
28586
29191
  /**
28587
29192
  * List of repeated fields within this message type.
@@ -29211,7 +29816,8 @@ proto.payment.DepositStatus.toObject = function(includeInstance, msg) {
29211
29816
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
29212
29817
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
29213
29818
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
29214
- isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
29819
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
29820
+ canonicalCode: jspb.Message.getFieldWithDefault(msg, 5, "")
29215
29821
  };
29216
29822
 
29217
29823
  if (includeInstance) {
@@ -29264,6 +29870,10 @@ proto.payment.DepositStatus.deserializeBinaryFromReader = function(msg, reader)
29264
29870
  var value = /** @type {number} */ (reader.readInt32());
29265
29871
  msg.setIsActive(value);
29266
29872
  break;
29873
+ case 5:
29874
+ var value = /** @type {string} */ (reader.readString());
29875
+ msg.setCanonicalCode(value);
29876
+ break;
29267
29877
  default:
29268
29878
  reader.skipField();
29269
29879
  break;
@@ -29321,6 +29931,13 @@ proto.payment.DepositStatus.serializeBinaryToWriter = function(message, writer)
29321
29931
  f
29322
29932
  );
29323
29933
  }
29934
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
29935
+ if (f != null) {
29936
+ writer.writeString(
29937
+ 5,
29938
+ f
29939
+ );
29940
+ }
29324
29941
  };
29325
29942
 
29326
29943
 
@@ -29432,6 +30049,42 @@ proto.payment.DepositStatus.prototype.hasIsActive = function() {
29432
30049
  };
29433
30050
 
29434
30051
 
30052
+ /**
30053
+ * optional string canonical_code = 5;
30054
+ * @return {string}
30055
+ */
30056
+ proto.payment.DepositStatus.prototype.getCanonicalCode = function() {
30057
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
30058
+ };
30059
+
30060
+
30061
+ /**
30062
+ * @param {string} value
30063
+ * @return {!proto.payment.DepositStatus} returns this
30064
+ */
30065
+ proto.payment.DepositStatus.prototype.setCanonicalCode = function(value) {
30066
+ return jspb.Message.setField(this, 5, value);
30067
+ };
30068
+
30069
+
30070
+ /**
30071
+ * Clears the field making it undefined.
30072
+ * @return {!proto.payment.DepositStatus} returns this
30073
+ */
30074
+ proto.payment.DepositStatus.prototype.clearCanonicalCode = function() {
30075
+ return jspb.Message.setField(this, 5, undefined);
30076
+ };
30077
+
30078
+
30079
+ /**
30080
+ * Returns whether this field is set.
30081
+ * @return {boolean}
30082
+ */
30083
+ proto.payment.DepositStatus.prototype.hasCanonicalCode = function() {
30084
+ return jspb.Message.getField(this, 5) != null;
30085
+ };
30086
+
30087
+
29435
30088
 
29436
30089
  /**
29437
30090
  * List of repeated fields within this message type.
@@ -58261,6 +58914,422 @@ proto.payment.PrepareGameplayPrecisionCommandResponse.prototype.setReasonKey = f
58261
58914
  };
58262
58915
 
58263
58916
 
58917
+
58918
+
58919
+
58920
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58921
+ /**
58922
+ * Creates an object representation of this proto.
58923
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58924
+ * Optional fields that are not set will be set to undefined.
58925
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58926
+ * For the list of reserved names please see:
58927
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58928
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58929
+ * JSPB instance for transitional soy proto support:
58930
+ * http://goto/soy-param-migration
58931
+ * @return {!Object}
58932
+ */
58933
+ proto.payment.PaymentLifecycleStatus.prototype.toObject = function(opt_includeInstance) {
58934
+ return proto.payment.PaymentLifecycleStatus.toObject(opt_includeInstance, this);
58935
+ };
58936
+
58937
+
58938
+ /**
58939
+ * Static version of the {@see toObject} method.
58940
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58941
+ * the JSPB instance for transitional soy proto support:
58942
+ * http://goto/soy-param-migration
58943
+ * @param {!proto.payment.PaymentLifecycleStatus} msg The msg instance to transform.
58944
+ * @return {!Object}
58945
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58946
+ */
58947
+ proto.payment.PaymentLifecycleStatus.toObject = function(includeInstance, msg) {
58948
+ var f, obj = {
58949
+ code: jspb.Message.getFieldWithDefault(msg, 1, ""),
58950
+ title: jspb.Message.getFieldWithDefault(msg, 2, "")
58951
+ };
58952
+
58953
+ if (includeInstance) {
58954
+ obj.$jspbMessageInstance = msg;
58955
+ }
58956
+ return obj;
58957
+ };
58958
+ }
58959
+
58960
+
58961
+ /**
58962
+ * Deserializes binary data (in protobuf wire format).
58963
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
58964
+ * @return {!proto.payment.PaymentLifecycleStatus}
58965
+ */
58966
+ proto.payment.PaymentLifecycleStatus.deserializeBinary = function(bytes) {
58967
+ var reader = new jspb.BinaryReader(bytes);
58968
+ var msg = new proto.payment.PaymentLifecycleStatus;
58969
+ return proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader(msg, reader);
58970
+ };
58971
+
58972
+
58973
+ /**
58974
+ * Deserializes binary data (in protobuf wire format) from the
58975
+ * given reader into the given message object.
58976
+ * @param {!proto.payment.PaymentLifecycleStatus} msg The message object to deserialize into.
58977
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58978
+ * @return {!proto.payment.PaymentLifecycleStatus}
58979
+ */
58980
+ proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader = function(msg, reader) {
58981
+ while (reader.nextField()) {
58982
+ if (reader.isEndGroup()) {
58983
+ break;
58984
+ }
58985
+ var field = reader.getFieldNumber();
58986
+ switch (field) {
58987
+ case 1:
58988
+ var value = /** @type {string} */ (reader.readString());
58989
+ msg.setCode(value);
58990
+ break;
58991
+ case 2:
58992
+ var value = /** @type {string} */ (reader.readString());
58993
+ msg.setTitle(value);
58994
+ break;
58995
+ default:
58996
+ reader.skipField();
58997
+ break;
58998
+ }
58999
+ }
59000
+ return msg;
59001
+ };
59002
+
59003
+
59004
+ /**
59005
+ * Serializes the message to binary data (in protobuf wire format).
59006
+ * @return {!Uint8Array}
59007
+ */
59008
+ proto.payment.PaymentLifecycleStatus.prototype.serializeBinary = function() {
59009
+ var writer = new jspb.BinaryWriter();
59010
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter(this, writer);
59011
+ return writer.getResultBuffer();
59012
+ };
59013
+
59014
+
59015
+ /**
59016
+ * Serializes the given message to binary data (in protobuf wire
59017
+ * format), writing to the given BinaryWriter.
59018
+ * @param {!proto.payment.PaymentLifecycleStatus} message
59019
+ * @param {!jspb.BinaryWriter} writer
59020
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59021
+ */
59022
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter = function(message, writer) {
59023
+ var f = undefined;
59024
+ f = message.getCode();
59025
+ if (f.length > 0) {
59026
+ writer.writeString(
59027
+ 1,
59028
+ f
59029
+ );
59030
+ }
59031
+ f = message.getTitle();
59032
+ if (f.length > 0) {
59033
+ writer.writeString(
59034
+ 2,
59035
+ f
59036
+ );
59037
+ }
59038
+ };
59039
+
59040
+
59041
+ /**
59042
+ * optional string code = 1;
59043
+ * @return {string}
59044
+ */
59045
+ proto.payment.PaymentLifecycleStatus.prototype.getCode = function() {
59046
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
59047
+ };
59048
+
59049
+
59050
+ /**
59051
+ * @param {string} value
59052
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59053
+ */
59054
+ proto.payment.PaymentLifecycleStatus.prototype.setCode = function(value) {
59055
+ return jspb.Message.setProto3StringField(this, 1, value);
59056
+ };
59057
+
59058
+
59059
+ /**
59060
+ * optional string title = 2;
59061
+ * @return {string}
59062
+ */
59063
+ proto.payment.PaymentLifecycleStatus.prototype.getTitle = function() {
59064
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
59065
+ };
59066
+
59067
+
59068
+ /**
59069
+ * @param {string} value
59070
+ * @return {!proto.payment.PaymentLifecycleStatus} returns this
59071
+ */
59072
+ proto.payment.PaymentLifecycleStatus.prototype.setTitle = function(value) {
59073
+ return jspb.Message.setProto3StringField(this, 2, value);
59074
+ };
59075
+
59076
+
59077
+
59078
+ /**
59079
+ * List of repeated fields within this message type.
59080
+ * @private {!Array<number>}
59081
+ * @const
59082
+ */
59083
+ proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_ = [1];
59084
+
59085
+
59086
+
59087
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59088
+ /**
59089
+ * Creates an object representation of this proto.
59090
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59091
+ * Optional fields that are not set will be set to undefined.
59092
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59093
+ * For the list of reserved names please see:
59094
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59095
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59096
+ * JSPB instance for transitional soy proto support:
59097
+ * http://goto/soy-param-migration
59098
+ * @return {!Object}
59099
+ */
59100
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
59101
+ return proto.payment.PaymentLifecycleStatusItemsResponse.toObject(opt_includeInstance, this);
59102
+ };
59103
+
59104
+
59105
+ /**
59106
+ * Static version of the {@see toObject} method.
59107
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59108
+ * the JSPB instance for transitional soy proto support:
59109
+ * http://goto/soy-param-migration
59110
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} msg The msg instance to transform.
59111
+ * @return {!Object}
59112
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59113
+ */
59114
+ proto.payment.PaymentLifecycleStatusItemsResponse.toObject = function(includeInstance, msg) {
59115
+ var f, obj = {
59116
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
59117
+ proto.payment.PaymentLifecycleStatus.toObject, includeInstance),
59118
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
59119
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
59120
+ };
59121
+
59122
+ if (includeInstance) {
59123
+ obj.$jspbMessageInstance = msg;
59124
+ }
59125
+ return obj;
59126
+ };
59127
+ }
59128
+
59129
+
59130
+ /**
59131
+ * Deserializes binary data (in protobuf wire format).
59132
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
59133
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse}
59134
+ */
59135
+ proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinary = function(bytes) {
59136
+ var reader = new jspb.BinaryReader(bytes);
59137
+ var msg = new proto.payment.PaymentLifecycleStatusItemsResponse;
59138
+ return proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
59139
+ };
59140
+
59141
+
59142
+ /**
59143
+ * Deserializes binary data (in protobuf wire format) from the
59144
+ * given reader into the given message object.
59145
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} msg The message object to deserialize into.
59146
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59147
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse}
59148
+ */
59149
+ proto.payment.PaymentLifecycleStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
59150
+ while (reader.nextField()) {
59151
+ if (reader.isEndGroup()) {
59152
+ break;
59153
+ }
59154
+ var field = reader.getFieldNumber();
59155
+ switch (field) {
59156
+ case 1:
59157
+ var value = new proto.payment.PaymentLifecycleStatus;
59158
+ reader.readMessage(value,proto.payment.PaymentLifecycleStatus.deserializeBinaryFromReader);
59159
+ msg.addItems(value);
59160
+ break;
59161
+ case 2:
59162
+ var value = /** @type {number} */ (reader.readInt32());
59163
+ msg.setTotalPages(value);
59164
+ break;
59165
+ case 3:
59166
+ var value = /** @type {number} */ (reader.readInt32());
59167
+ msg.setTotalItems(value);
59168
+ break;
59169
+ default:
59170
+ reader.skipField();
59171
+ break;
59172
+ }
59173
+ }
59174
+ return msg;
59175
+ };
59176
+
59177
+
59178
+ /**
59179
+ * Serializes the message to binary data (in protobuf wire format).
59180
+ * @return {!Uint8Array}
59181
+ */
59182
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.serializeBinary = function() {
59183
+ var writer = new jspb.BinaryWriter();
59184
+ proto.payment.PaymentLifecycleStatusItemsResponse.serializeBinaryToWriter(this, writer);
59185
+ return writer.getResultBuffer();
59186
+ };
59187
+
59188
+
59189
+ /**
59190
+ * Serializes the given message to binary data (in protobuf wire
59191
+ * format), writing to the given BinaryWriter.
59192
+ * @param {!proto.payment.PaymentLifecycleStatusItemsResponse} message
59193
+ * @param {!jspb.BinaryWriter} writer
59194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59195
+ */
59196
+ proto.payment.PaymentLifecycleStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
59197
+ var f = undefined;
59198
+ f = message.getItemsList();
59199
+ if (f.length > 0) {
59200
+ writer.writeRepeatedMessage(
59201
+ 1,
59202
+ f,
59203
+ proto.payment.PaymentLifecycleStatus.serializeBinaryToWriter
59204
+ );
59205
+ }
59206
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
59207
+ if (f != null) {
59208
+ writer.writeInt32(
59209
+ 2,
59210
+ f
59211
+ );
59212
+ }
59213
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
59214
+ if (f != null) {
59215
+ writer.writeInt32(
59216
+ 3,
59217
+ f
59218
+ );
59219
+ }
59220
+ };
59221
+
59222
+
59223
+ /**
59224
+ * repeated PaymentLifecycleStatus items = 1;
59225
+ * @return {!Array<!proto.payment.PaymentLifecycleStatus>}
59226
+ */
59227
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getItemsList = function() {
59228
+ return /** @type{!Array<!proto.payment.PaymentLifecycleStatus>} */ (
59229
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.PaymentLifecycleStatus, 1));
59230
+ };
59231
+
59232
+
59233
+ /**
59234
+ * @param {!Array<!proto.payment.PaymentLifecycleStatus>} value
59235
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59236
+ */
59237
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setItemsList = function(value) {
59238
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
59239
+ };
59240
+
59241
+
59242
+ /**
59243
+ * @param {!proto.payment.PaymentLifecycleStatus=} opt_value
59244
+ * @param {number=} opt_index
59245
+ * @return {!proto.payment.PaymentLifecycleStatus}
59246
+ */
59247
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
59248
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.PaymentLifecycleStatus, opt_index);
59249
+ };
59250
+
59251
+
59252
+ /**
59253
+ * Clears the list making it empty but non-null.
59254
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59255
+ */
59256
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearItemsList = function() {
59257
+ return this.setItemsList([]);
59258
+ };
59259
+
59260
+
59261
+ /**
59262
+ * optional int32 total_pages = 2;
59263
+ * @return {number}
59264
+ */
59265
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getTotalPages = function() {
59266
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
59267
+ };
59268
+
59269
+
59270
+ /**
59271
+ * @param {number} value
59272
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59273
+ */
59274
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setTotalPages = function(value) {
59275
+ return jspb.Message.setField(this, 2, value);
59276
+ };
59277
+
59278
+
59279
+ /**
59280
+ * Clears the field making it undefined.
59281
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59282
+ */
59283
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearTotalPages = function() {
59284
+ return jspb.Message.setField(this, 2, undefined);
59285
+ };
59286
+
59287
+
59288
+ /**
59289
+ * Returns whether this field is set.
59290
+ * @return {boolean}
59291
+ */
59292
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.hasTotalPages = function() {
59293
+ return jspb.Message.getField(this, 2) != null;
59294
+ };
59295
+
59296
+
59297
+ /**
59298
+ * optional int32 total_items = 3;
59299
+ * @return {number}
59300
+ */
59301
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.getTotalItems = function() {
59302
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
59303
+ };
59304
+
59305
+
59306
+ /**
59307
+ * @param {number} value
59308
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59309
+ */
59310
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.setTotalItems = function(value) {
59311
+ return jspb.Message.setField(this, 3, value);
59312
+ };
59313
+
59314
+
59315
+ /**
59316
+ * Clears the field making it undefined.
59317
+ * @return {!proto.payment.PaymentLifecycleStatusItemsResponse} returns this
59318
+ */
59319
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.clearTotalItems = function() {
59320
+ return jspb.Message.setField(this, 3, undefined);
59321
+ };
59322
+
59323
+
59324
+ /**
59325
+ * Returns whether this field is set.
59326
+ * @return {boolean}
59327
+ */
59328
+ proto.payment.PaymentLifecycleStatusItemsResponse.prototype.hasTotalItems = function() {
59329
+ return jspb.Message.getField(this, 3) != null;
59330
+ };
59331
+
59332
+
58264
59333
  /**
58265
59334
  * @enum {number}
58266
59335
  */