protobuf-platform 1.2.734 → 1.2.736

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.
@@ -32,6 +32,10 @@ goog.exportSymbol('proto.payment.AvailableRealBalanceResponse', null, global);
32
32
  goog.exportSymbol('proto.payment.BonusBalanceRewardIssueRequest', null, global);
33
33
  goog.exportSymbol('proto.payment.BonusBalanceRewardOperationResponse', null, global);
34
34
  goog.exportSymbol('proto.payment.BonusBalanceRewardReversalRequest', null, global);
35
+ goog.exportSymbol('proto.payment.BonusTerminalDecisionIdentity', null, global);
36
+ goog.exportSymbol('proto.payment.BonusTerminalReceipt', null, global);
37
+ goog.exportSymbol('proto.payment.BonusTerminalReceiptResponse', null, global);
38
+ goog.exportSymbol('proto.payment.BonusTerminalReceiptResponse.OutcomeCase', null, global);
35
39
  goog.exportSymbol('proto.payment.CaptureMonetaryReservationRequest', null, global);
36
40
  goog.exportSymbol('proto.payment.CashbackClaimCreditRequest', null, global);
37
41
  goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
@@ -109,6 +113,7 @@ goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryRequest', null,
109
113
  goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryResponse', null, global);
110
114
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
111
115
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
116
+ goog.exportSymbol('proto.payment.GlobalWithdrawalAvailability', null, global);
112
117
  goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
113
118
  goog.exportSymbol('proto.payment.LoyaltyLevelUpRewardRequest', null, global);
114
119
  goog.exportSymbol('proto.payment.LoyaltyLevelUpRewardResponse', null, global);
@@ -2167,6 +2172,27 @@ if (goog.DEBUG && !COMPILED) {
2167
2172
  */
2168
2173
  proto.payment.WithdrawalAvailability.displayName = 'proto.payment.WithdrawalAvailability';
2169
2174
  }
2175
+ /**
2176
+ * Generated by JsPbCodeGenerator.
2177
+ * @param {Array=} opt_data Optional initial data array, typically from a
2178
+ * server response, or constructed directly in Javascript. The array is used
2179
+ * in place and becomes part of the constructed object. It is not cloned.
2180
+ * If no data is provided, the constructed object will be empty, but still
2181
+ * valid.
2182
+ * @extends {jspb.Message}
2183
+ * @constructor
2184
+ */
2185
+ proto.payment.GlobalWithdrawalAvailability = function(opt_data) {
2186
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2187
+ };
2188
+ goog.inherits(proto.payment.GlobalWithdrawalAvailability, jspb.Message);
2189
+ if (goog.DEBUG && !COMPILED) {
2190
+ /**
2191
+ * @public
2192
+ * @override
2193
+ */
2194
+ proto.payment.GlobalWithdrawalAvailability.displayName = 'proto.payment.GlobalWithdrawalAvailability';
2195
+ }
2170
2196
  /**
2171
2197
  * Generated by JsPbCodeGenerator.
2172
2198
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3700,6 +3726,69 @@ if (goog.DEBUG && !COMPILED) {
3700
3726
  */
3701
3727
  proto.payment.ResolveGuardedGameplayScopeResponse.displayName = 'proto.payment.ResolveGuardedGameplayScopeResponse';
3702
3728
  }
3729
+ /**
3730
+ * Generated by JsPbCodeGenerator.
3731
+ * @param {Array=} opt_data Optional initial data array, typically from a
3732
+ * server response, or constructed directly in Javascript. The array is used
3733
+ * in place and becomes part of the constructed object. It is not cloned.
3734
+ * If no data is provided, the constructed object will be empty, but still
3735
+ * valid.
3736
+ * @extends {jspb.Message}
3737
+ * @constructor
3738
+ */
3739
+ proto.payment.BonusTerminalDecisionIdentity = function(opt_data) {
3740
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3741
+ };
3742
+ goog.inherits(proto.payment.BonusTerminalDecisionIdentity, jspb.Message);
3743
+ if (goog.DEBUG && !COMPILED) {
3744
+ /**
3745
+ * @public
3746
+ * @override
3747
+ */
3748
+ proto.payment.BonusTerminalDecisionIdentity.displayName = 'proto.payment.BonusTerminalDecisionIdentity';
3749
+ }
3750
+ /**
3751
+ * Generated by JsPbCodeGenerator.
3752
+ * @param {Array=} opt_data Optional initial data array, typically from a
3753
+ * server response, or constructed directly in Javascript. The array is used
3754
+ * in place and becomes part of the constructed object. It is not cloned.
3755
+ * If no data is provided, the constructed object will be empty, but still
3756
+ * valid.
3757
+ * @extends {jspb.Message}
3758
+ * @constructor
3759
+ */
3760
+ proto.payment.BonusTerminalReceipt = function(opt_data) {
3761
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3762
+ };
3763
+ goog.inherits(proto.payment.BonusTerminalReceipt, jspb.Message);
3764
+ if (goog.DEBUG && !COMPILED) {
3765
+ /**
3766
+ * @public
3767
+ * @override
3768
+ */
3769
+ proto.payment.BonusTerminalReceipt.displayName = 'proto.payment.BonusTerminalReceipt';
3770
+ }
3771
+ /**
3772
+ * Generated by JsPbCodeGenerator.
3773
+ * @param {Array=} opt_data Optional initial data array, typically from a
3774
+ * server response, or constructed directly in Javascript. The array is used
3775
+ * in place and becomes part of the constructed object. It is not cloned.
3776
+ * If no data is provided, the constructed object will be empty, but still
3777
+ * valid.
3778
+ * @extends {jspb.Message}
3779
+ * @constructor
3780
+ */
3781
+ proto.payment.BonusTerminalReceiptResponse = function(opt_data) {
3782
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.payment.BonusTerminalReceiptResponse.oneofGroups_);
3783
+ };
3784
+ goog.inherits(proto.payment.BonusTerminalReceiptResponse, jspb.Message);
3785
+ if (goog.DEBUG && !COMPILED) {
3786
+ /**
3787
+ * @public
3788
+ * @override
3789
+ */
3790
+ proto.payment.BonusTerminalReceiptResponse.displayName = 'proto.payment.BonusTerminalReceiptResponse';
3791
+ }
3703
3792
 
3704
3793
 
3705
3794
 
@@ -45427,6 +45516,328 @@ proto.payment.WithdrawalAvailability.prototype.hasEntitlementCurrencyScale = fun
45427
45516
 
45428
45517
 
45429
45518
 
45519
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45520
+ /**
45521
+ * Creates an object representation of this proto.
45522
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45523
+ * Optional fields that are not set will be set to undefined.
45524
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45525
+ * For the list of reserved names please see:
45526
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45527
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45528
+ * JSPB instance for transitional soy proto support:
45529
+ * http://goto/soy-param-migration
45530
+ * @return {!Object}
45531
+ */
45532
+ proto.payment.GlobalWithdrawalAvailability.prototype.toObject = function(opt_includeInstance) {
45533
+ return proto.payment.GlobalWithdrawalAvailability.toObject(opt_includeInstance, this);
45534
+ };
45535
+
45536
+
45537
+ /**
45538
+ * Static version of the {@see toObject} method.
45539
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45540
+ * the JSPB instance for transitional soy proto support:
45541
+ * http://goto/soy-param-migration
45542
+ * @param {!proto.payment.GlobalWithdrawalAvailability} msg The msg instance to transform.
45543
+ * @return {!Object}
45544
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45545
+ */
45546
+ proto.payment.GlobalWithdrawalAvailability.toObject = function(includeInstance, msg) {
45547
+ var f, obj = {
45548
+ availabilityStatus: jspb.Message.getFieldWithDefault(msg, 1, ""),
45549
+ currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
45550
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
45551
+ withdrawableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
45552
+ withdrawableRealMajor: jspb.Message.getFieldWithDefault(msg, 5, "")
45553
+ };
45554
+
45555
+ if (includeInstance) {
45556
+ obj.$jspbMessageInstance = msg;
45557
+ }
45558
+ return obj;
45559
+ };
45560
+ }
45561
+
45562
+
45563
+ /**
45564
+ * Deserializes binary data (in protobuf wire format).
45565
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45566
+ * @return {!proto.payment.GlobalWithdrawalAvailability}
45567
+ */
45568
+ proto.payment.GlobalWithdrawalAvailability.deserializeBinary = function(bytes) {
45569
+ var reader = new jspb.BinaryReader(bytes);
45570
+ var msg = new proto.payment.GlobalWithdrawalAvailability;
45571
+ return proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader(msg, reader);
45572
+ };
45573
+
45574
+
45575
+ /**
45576
+ * Deserializes binary data (in protobuf wire format) from the
45577
+ * given reader into the given message object.
45578
+ * @param {!proto.payment.GlobalWithdrawalAvailability} msg The message object to deserialize into.
45579
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45580
+ * @return {!proto.payment.GlobalWithdrawalAvailability}
45581
+ */
45582
+ proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader = function(msg, reader) {
45583
+ while (reader.nextField()) {
45584
+ if (reader.isEndGroup()) {
45585
+ break;
45586
+ }
45587
+ var field = reader.getFieldNumber();
45588
+ switch (field) {
45589
+ case 1:
45590
+ var value = /** @type {string} */ (reader.readString());
45591
+ msg.setAvailabilityStatus(value);
45592
+ break;
45593
+ case 2:
45594
+ var value = /** @type {string} */ (reader.readString());
45595
+ msg.setCurrency(value);
45596
+ break;
45597
+ case 3:
45598
+ var value = /** @type {number} */ (reader.readInt32());
45599
+ msg.setCurrencyScale(value);
45600
+ break;
45601
+ case 4:
45602
+ var value = /** @type {string} */ (reader.readString());
45603
+ msg.setWithdrawableRealMinor(value);
45604
+ break;
45605
+ case 5:
45606
+ var value = /** @type {string} */ (reader.readString());
45607
+ msg.setWithdrawableRealMajor(value);
45608
+ break;
45609
+ default:
45610
+ reader.skipField();
45611
+ break;
45612
+ }
45613
+ }
45614
+ return msg;
45615
+ };
45616
+
45617
+
45618
+ /**
45619
+ * Serializes the message to binary data (in protobuf wire format).
45620
+ * @return {!Uint8Array}
45621
+ */
45622
+ proto.payment.GlobalWithdrawalAvailability.prototype.serializeBinary = function() {
45623
+ var writer = new jspb.BinaryWriter();
45624
+ proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter(this, writer);
45625
+ return writer.getResultBuffer();
45626
+ };
45627
+
45628
+
45629
+ /**
45630
+ * Serializes the given message to binary data (in protobuf wire
45631
+ * format), writing to the given BinaryWriter.
45632
+ * @param {!proto.payment.GlobalWithdrawalAvailability} message
45633
+ * @param {!jspb.BinaryWriter} writer
45634
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45635
+ */
45636
+ proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter = function(message, writer) {
45637
+ var f = undefined;
45638
+ f = message.getAvailabilityStatus();
45639
+ if (f.length > 0) {
45640
+ writer.writeString(
45641
+ 1,
45642
+ f
45643
+ );
45644
+ }
45645
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
45646
+ if (f != null) {
45647
+ writer.writeString(
45648
+ 2,
45649
+ f
45650
+ );
45651
+ }
45652
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
45653
+ if (f != null) {
45654
+ writer.writeInt32(
45655
+ 3,
45656
+ f
45657
+ );
45658
+ }
45659
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
45660
+ if (f != null) {
45661
+ writer.writeString(
45662
+ 4,
45663
+ f
45664
+ );
45665
+ }
45666
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
45667
+ if (f != null) {
45668
+ writer.writeString(
45669
+ 5,
45670
+ f
45671
+ );
45672
+ }
45673
+ };
45674
+
45675
+
45676
+ /**
45677
+ * optional string availability_status = 1;
45678
+ * @return {string}
45679
+ */
45680
+ proto.payment.GlobalWithdrawalAvailability.prototype.getAvailabilityStatus = function() {
45681
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
45682
+ };
45683
+
45684
+
45685
+ /**
45686
+ * @param {string} value
45687
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45688
+ */
45689
+ proto.payment.GlobalWithdrawalAvailability.prototype.setAvailabilityStatus = function(value) {
45690
+ return jspb.Message.setProto3StringField(this, 1, value);
45691
+ };
45692
+
45693
+
45694
+ /**
45695
+ * optional string currency = 2;
45696
+ * @return {string}
45697
+ */
45698
+ proto.payment.GlobalWithdrawalAvailability.prototype.getCurrency = function() {
45699
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
45700
+ };
45701
+
45702
+
45703
+ /**
45704
+ * @param {string} value
45705
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45706
+ */
45707
+ proto.payment.GlobalWithdrawalAvailability.prototype.setCurrency = function(value) {
45708
+ return jspb.Message.setField(this, 2, value);
45709
+ };
45710
+
45711
+
45712
+ /**
45713
+ * Clears the field making it undefined.
45714
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45715
+ */
45716
+ proto.payment.GlobalWithdrawalAvailability.prototype.clearCurrency = function() {
45717
+ return jspb.Message.setField(this, 2, undefined);
45718
+ };
45719
+
45720
+
45721
+ /**
45722
+ * Returns whether this field is set.
45723
+ * @return {boolean}
45724
+ */
45725
+ proto.payment.GlobalWithdrawalAvailability.prototype.hasCurrency = function() {
45726
+ return jspb.Message.getField(this, 2) != null;
45727
+ };
45728
+
45729
+
45730
+ /**
45731
+ * optional int32 currency_scale = 3;
45732
+ * @return {number}
45733
+ */
45734
+ proto.payment.GlobalWithdrawalAvailability.prototype.getCurrencyScale = function() {
45735
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
45736
+ };
45737
+
45738
+
45739
+ /**
45740
+ * @param {number} value
45741
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45742
+ */
45743
+ proto.payment.GlobalWithdrawalAvailability.prototype.setCurrencyScale = function(value) {
45744
+ return jspb.Message.setField(this, 3, value);
45745
+ };
45746
+
45747
+
45748
+ /**
45749
+ * Clears the field making it undefined.
45750
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45751
+ */
45752
+ proto.payment.GlobalWithdrawalAvailability.prototype.clearCurrencyScale = function() {
45753
+ return jspb.Message.setField(this, 3, undefined);
45754
+ };
45755
+
45756
+
45757
+ /**
45758
+ * Returns whether this field is set.
45759
+ * @return {boolean}
45760
+ */
45761
+ proto.payment.GlobalWithdrawalAvailability.prototype.hasCurrencyScale = function() {
45762
+ return jspb.Message.getField(this, 3) != null;
45763
+ };
45764
+
45765
+
45766
+ /**
45767
+ * optional string withdrawable_real_minor = 4;
45768
+ * @return {string}
45769
+ */
45770
+ proto.payment.GlobalWithdrawalAvailability.prototype.getWithdrawableRealMinor = function() {
45771
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
45772
+ };
45773
+
45774
+
45775
+ /**
45776
+ * @param {string} value
45777
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45778
+ */
45779
+ proto.payment.GlobalWithdrawalAvailability.prototype.setWithdrawableRealMinor = function(value) {
45780
+ return jspb.Message.setField(this, 4, value);
45781
+ };
45782
+
45783
+
45784
+ /**
45785
+ * Clears the field making it undefined.
45786
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45787
+ */
45788
+ proto.payment.GlobalWithdrawalAvailability.prototype.clearWithdrawableRealMinor = function() {
45789
+ return jspb.Message.setField(this, 4, undefined);
45790
+ };
45791
+
45792
+
45793
+ /**
45794
+ * Returns whether this field is set.
45795
+ * @return {boolean}
45796
+ */
45797
+ proto.payment.GlobalWithdrawalAvailability.prototype.hasWithdrawableRealMinor = function() {
45798
+ return jspb.Message.getField(this, 4) != null;
45799
+ };
45800
+
45801
+
45802
+ /**
45803
+ * optional string withdrawable_real_major = 5;
45804
+ * @return {string}
45805
+ */
45806
+ proto.payment.GlobalWithdrawalAvailability.prototype.getWithdrawableRealMajor = function() {
45807
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
45808
+ };
45809
+
45810
+
45811
+ /**
45812
+ * @param {string} value
45813
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45814
+ */
45815
+ proto.payment.GlobalWithdrawalAvailability.prototype.setWithdrawableRealMajor = function(value) {
45816
+ return jspb.Message.setField(this, 5, value);
45817
+ };
45818
+
45819
+
45820
+ /**
45821
+ * Clears the field making it undefined.
45822
+ * @return {!proto.payment.GlobalWithdrawalAvailability} returns this
45823
+ */
45824
+ proto.payment.GlobalWithdrawalAvailability.prototype.clearWithdrawableRealMajor = function() {
45825
+ return jspb.Message.setField(this, 5, undefined);
45826
+ };
45827
+
45828
+
45829
+ /**
45830
+ * Returns whether this field is set.
45831
+ * @return {boolean}
45832
+ */
45833
+ proto.payment.GlobalWithdrawalAvailability.prototype.hasWithdrawableRealMajor = function() {
45834
+ return jspb.Message.getField(this, 5) != null;
45835
+ };
45836
+
45837
+
45838
+
45839
+
45840
+
45430
45841
  if (jspb.Message.GENERATE_TO_OBJECT) {
45431
45842
  /**
45432
45843
  * Creates an object representation of this proto.
@@ -48790,7 +49201,8 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
48790
49201
  walletsList: jspb.Message.toObjectList(msg.getWalletsList(),
48791
49202
  proto.payment.WalletCashBalanceItem.toObject, includeInstance),
48792
49203
  availableRealMajor: jspb.Message.getFieldWithDefault(msg, 10, ""),
48793
- withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f)
49204
+ withdrawalAvailability: (f = msg.getWithdrawalAvailability()) && proto.payment.WithdrawalAvailability.toObject(includeInstance, f),
49205
+ globalWithdrawalAvailability: (f = msg.getGlobalWithdrawalAvailability()) && proto.payment.GlobalWithdrawalAvailability.toObject(includeInstance, f)
48794
49206
  };
48795
49207
 
48796
49208
  if (includeInstance) {
@@ -48874,6 +49286,11 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
48874
49286
  reader.readMessage(value,proto.payment.WithdrawalAvailability.deserializeBinaryFromReader);
48875
49287
  msg.setWithdrawalAvailability(value);
48876
49288
  break;
49289
+ case 12:
49290
+ var value = new proto.payment.GlobalWithdrawalAvailability;
49291
+ reader.readMessage(value,proto.payment.GlobalWithdrawalAvailability.deserializeBinaryFromReader);
49292
+ msg.setGlobalWithdrawalAvailability(value);
49293
+ break;
48877
49294
  default:
48878
49295
  reader.skipField();
48879
49296
  break;
@@ -48983,6 +49400,14 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
48983
49400
  proto.payment.WithdrawalAvailability.serializeBinaryToWriter
48984
49401
  );
48985
49402
  }
49403
+ f = message.getGlobalWithdrawalAvailability();
49404
+ if (f != null) {
49405
+ writer.writeMessage(
49406
+ 12,
49407
+ f,
49408
+ proto.payment.GlobalWithdrawalAvailability.serializeBinaryToWriter
49409
+ );
49410
+ }
48986
49411
  };
48987
49412
 
48988
49413
 
@@ -49296,6 +49721,43 @@ proto.payment.ResolveGameWalletContextResponse.prototype.hasWithdrawalAvailabili
49296
49721
  };
49297
49722
 
49298
49723
 
49724
+ /**
49725
+ * optional GlobalWithdrawalAvailability global_withdrawal_availability = 12;
49726
+ * @return {?proto.payment.GlobalWithdrawalAvailability}
49727
+ */
49728
+ proto.payment.ResolveGameWalletContextResponse.prototype.getGlobalWithdrawalAvailability = function() {
49729
+ return /** @type{?proto.payment.GlobalWithdrawalAvailability} */ (
49730
+ jspb.Message.getWrapperField(this, proto.payment.GlobalWithdrawalAvailability, 12));
49731
+ };
49732
+
49733
+
49734
+ /**
49735
+ * @param {?proto.payment.GlobalWithdrawalAvailability|undefined} value
49736
+ * @return {!proto.payment.ResolveGameWalletContextResponse} returns this
49737
+ */
49738
+ proto.payment.ResolveGameWalletContextResponse.prototype.setGlobalWithdrawalAvailability = function(value) {
49739
+ return jspb.Message.setWrapperField(this, 12, value);
49740
+ };
49741
+
49742
+
49743
+ /**
49744
+ * Clears the message field making it undefined.
49745
+ * @return {!proto.payment.ResolveGameWalletContextResponse} returns this
49746
+ */
49747
+ proto.payment.ResolveGameWalletContextResponse.prototype.clearGlobalWithdrawalAvailability = function() {
49748
+ return this.setGlobalWithdrawalAvailability(undefined);
49749
+ };
49750
+
49751
+
49752
+ /**
49753
+ * Returns whether this field is set.
49754
+ * @return {boolean}
49755
+ */
49756
+ proto.payment.ResolveGameWalletContextResponse.prototype.hasGlobalWithdrawalAvailability = function() {
49757
+ return jspb.Message.getField(this, 12) != null;
49758
+ };
49759
+
49760
+
49299
49761
 
49300
49762
 
49301
49763
 
@@ -71834,6 +72296,938 @@ proto.payment.ResolveGuardedGameplayScopeResponse.prototype.setAdmissionId = fun
71834
72296
  };
71835
72297
 
71836
72298
 
72299
+
72300
+
72301
+
72302
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72303
+ /**
72304
+ * Creates an object representation of this proto.
72305
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72306
+ * Optional fields that are not set will be set to undefined.
72307
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72308
+ * For the list of reserved names please see:
72309
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72310
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72311
+ * JSPB instance for transitional soy proto support:
72312
+ * http://goto/soy-param-migration
72313
+ * @return {!Object}
72314
+ */
72315
+ proto.payment.BonusTerminalDecisionIdentity.prototype.toObject = function(opt_includeInstance) {
72316
+ return proto.payment.BonusTerminalDecisionIdentity.toObject(opt_includeInstance, this);
72317
+ };
72318
+
72319
+
72320
+ /**
72321
+ * Static version of the {@see toObject} method.
72322
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72323
+ * the JSPB instance for transitional soy proto support:
72324
+ * http://goto/soy-param-migration
72325
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} msg The msg instance to transform.
72326
+ * @return {!Object}
72327
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72328
+ */
72329
+ proto.payment.BonusTerminalDecisionIdentity.toObject = function(includeInstance, msg) {
72330
+ var f, obj = {
72331
+ customer: jspb.Message.getFieldWithDefault(msg, 1, ""),
72332
+ environment: jspb.Message.getFieldWithDefault(msg, 2, ""),
72333
+ userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
72334
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
72335
+ decisionId: jspb.Message.getFieldWithDefault(msg, 5, ""),
72336
+ terminalStatus: jspb.Message.getFieldWithDefault(msg, 6, ""),
72337
+ reasonCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
72338
+ currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
72339
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 9, 0),
72340
+ requestedWriteoffMinor: jspb.Message.getFieldWithDefault(msg, 10, "")
72341
+ };
72342
+
72343
+ if (includeInstance) {
72344
+ obj.$jspbMessageInstance = msg;
72345
+ }
72346
+ return obj;
72347
+ };
72348
+ }
72349
+
72350
+
72351
+ /**
72352
+ * Deserializes binary data (in protobuf wire format).
72353
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72354
+ * @return {!proto.payment.BonusTerminalDecisionIdentity}
72355
+ */
72356
+ proto.payment.BonusTerminalDecisionIdentity.deserializeBinary = function(bytes) {
72357
+ var reader = new jspb.BinaryReader(bytes);
72358
+ var msg = new proto.payment.BonusTerminalDecisionIdentity;
72359
+ return proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader(msg, reader);
72360
+ };
72361
+
72362
+
72363
+ /**
72364
+ * Deserializes binary data (in protobuf wire format) from the
72365
+ * given reader into the given message object.
72366
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} msg The message object to deserialize into.
72367
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72368
+ * @return {!proto.payment.BonusTerminalDecisionIdentity}
72369
+ */
72370
+ proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader = function(msg, reader) {
72371
+ while (reader.nextField()) {
72372
+ if (reader.isEndGroup()) {
72373
+ break;
72374
+ }
72375
+ var field = reader.getFieldNumber();
72376
+ switch (field) {
72377
+ case 1:
72378
+ var value = /** @type {string} */ (reader.readString());
72379
+ msg.setCustomer(value);
72380
+ break;
72381
+ case 2:
72382
+ var value = /** @type {string} */ (reader.readString());
72383
+ msg.setEnvironment(value);
72384
+ break;
72385
+ case 3:
72386
+ var value = /** @type {number} */ (reader.readInt32());
72387
+ msg.setUserId(value);
72388
+ break;
72389
+ case 4:
72390
+ var value = /** @type {number} */ (reader.readInt32());
72391
+ msg.setUserBonusId(value);
72392
+ break;
72393
+ case 5:
72394
+ var value = /** @type {string} */ (reader.readString());
72395
+ msg.setDecisionId(value);
72396
+ break;
72397
+ case 6:
72398
+ var value = /** @type {string} */ (reader.readString());
72399
+ msg.setTerminalStatus(value);
72400
+ break;
72401
+ case 7:
72402
+ var value = /** @type {string} */ (reader.readString());
72403
+ msg.setReasonCode(value);
72404
+ break;
72405
+ case 8:
72406
+ var value = /** @type {string} */ (reader.readString());
72407
+ msg.setCurrency(value);
72408
+ break;
72409
+ case 9:
72410
+ var value = /** @type {number} */ (reader.readUint32());
72411
+ msg.setCurrencyScale(value);
72412
+ break;
72413
+ case 10:
72414
+ var value = /** @type {string} */ (reader.readString());
72415
+ msg.setRequestedWriteoffMinor(value);
72416
+ break;
72417
+ default:
72418
+ reader.skipField();
72419
+ break;
72420
+ }
72421
+ }
72422
+ return msg;
72423
+ };
72424
+
72425
+
72426
+ /**
72427
+ * Serializes the message to binary data (in protobuf wire format).
72428
+ * @return {!Uint8Array}
72429
+ */
72430
+ proto.payment.BonusTerminalDecisionIdentity.prototype.serializeBinary = function() {
72431
+ var writer = new jspb.BinaryWriter();
72432
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter(this, writer);
72433
+ return writer.getResultBuffer();
72434
+ };
72435
+
72436
+
72437
+ /**
72438
+ * Serializes the given message to binary data (in protobuf wire
72439
+ * format), writing to the given BinaryWriter.
72440
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} message
72441
+ * @param {!jspb.BinaryWriter} writer
72442
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72443
+ */
72444
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter = function(message, writer) {
72445
+ var f = undefined;
72446
+ f = message.getCustomer();
72447
+ if (f.length > 0) {
72448
+ writer.writeString(
72449
+ 1,
72450
+ f
72451
+ );
72452
+ }
72453
+ f = message.getEnvironment();
72454
+ if (f.length > 0) {
72455
+ writer.writeString(
72456
+ 2,
72457
+ f
72458
+ );
72459
+ }
72460
+ f = message.getUserId();
72461
+ if (f !== 0) {
72462
+ writer.writeInt32(
72463
+ 3,
72464
+ f
72465
+ );
72466
+ }
72467
+ f = message.getUserBonusId();
72468
+ if (f !== 0) {
72469
+ writer.writeInt32(
72470
+ 4,
72471
+ f
72472
+ );
72473
+ }
72474
+ f = message.getDecisionId();
72475
+ if (f.length > 0) {
72476
+ writer.writeString(
72477
+ 5,
72478
+ f
72479
+ );
72480
+ }
72481
+ f = message.getTerminalStatus();
72482
+ if (f.length > 0) {
72483
+ writer.writeString(
72484
+ 6,
72485
+ f
72486
+ );
72487
+ }
72488
+ f = message.getReasonCode();
72489
+ if (f.length > 0) {
72490
+ writer.writeString(
72491
+ 7,
72492
+ f
72493
+ );
72494
+ }
72495
+ f = message.getCurrency();
72496
+ if (f.length > 0) {
72497
+ writer.writeString(
72498
+ 8,
72499
+ f
72500
+ );
72501
+ }
72502
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
72503
+ if (f != null) {
72504
+ writer.writeUint32(
72505
+ 9,
72506
+ f
72507
+ );
72508
+ }
72509
+ f = message.getRequestedWriteoffMinor();
72510
+ if (f.length > 0) {
72511
+ writer.writeString(
72512
+ 10,
72513
+ f
72514
+ );
72515
+ }
72516
+ };
72517
+
72518
+
72519
+ /**
72520
+ * optional string customer = 1;
72521
+ * @return {string}
72522
+ */
72523
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCustomer = function() {
72524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
72525
+ };
72526
+
72527
+
72528
+ /**
72529
+ * @param {string} value
72530
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72531
+ */
72532
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCustomer = function(value) {
72533
+ return jspb.Message.setProto3StringField(this, 1, value);
72534
+ };
72535
+
72536
+
72537
+ /**
72538
+ * optional string environment = 2;
72539
+ * @return {string}
72540
+ */
72541
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getEnvironment = function() {
72542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72543
+ };
72544
+
72545
+
72546
+ /**
72547
+ * @param {string} value
72548
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72549
+ */
72550
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setEnvironment = function(value) {
72551
+ return jspb.Message.setProto3StringField(this, 2, value);
72552
+ };
72553
+
72554
+
72555
+ /**
72556
+ * optional int32 user_id = 3;
72557
+ * @return {number}
72558
+ */
72559
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getUserId = function() {
72560
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
72561
+ };
72562
+
72563
+
72564
+ /**
72565
+ * @param {number} value
72566
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72567
+ */
72568
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setUserId = function(value) {
72569
+ return jspb.Message.setProto3IntField(this, 3, value);
72570
+ };
72571
+
72572
+
72573
+ /**
72574
+ * optional int32 user_bonus_id = 4;
72575
+ * @return {number}
72576
+ */
72577
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getUserBonusId = function() {
72578
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
72579
+ };
72580
+
72581
+
72582
+ /**
72583
+ * @param {number} value
72584
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72585
+ */
72586
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setUserBonusId = function(value) {
72587
+ return jspb.Message.setProto3IntField(this, 4, value);
72588
+ };
72589
+
72590
+
72591
+ /**
72592
+ * optional string decision_id = 5;
72593
+ * @return {string}
72594
+ */
72595
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getDecisionId = function() {
72596
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
72597
+ };
72598
+
72599
+
72600
+ /**
72601
+ * @param {string} value
72602
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72603
+ */
72604
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setDecisionId = function(value) {
72605
+ return jspb.Message.setProto3StringField(this, 5, value);
72606
+ };
72607
+
72608
+
72609
+ /**
72610
+ * optional string terminal_status = 6;
72611
+ * @return {string}
72612
+ */
72613
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getTerminalStatus = function() {
72614
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
72615
+ };
72616
+
72617
+
72618
+ /**
72619
+ * @param {string} value
72620
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72621
+ */
72622
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setTerminalStatus = function(value) {
72623
+ return jspb.Message.setProto3StringField(this, 6, value);
72624
+ };
72625
+
72626
+
72627
+ /**
72628
+ * optional string reason_code = 7;
72629
+ * @return {string}
72630
+ */
72631
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getReasonCode = function() {
72632
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
72633
+ };
72634
+
72635
+
72636
+ /**
72637
+ * @param {string} value
72638
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72639
+ */
72640
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setReasonCode = function(value) {
72641
+ return jspb.Message.setProto3StringField(this, 7, value);
72642
+ };
72643
+
72644
+
72645
+ /**
72646
+ * optional string currency = 8;
72647
+ * @return {string}
72648
+ */
72649
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCurrency = function() {
72650
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
72651
+ };
72652
+
72653
+
72654
+ /**
72655
+ * @param {string} value
72656
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72657
+ */
72658
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCurrency = function(value) {
72659
+ return jspb.Message.setProto3StringField(this, 8, value);
72660
+ };
72661
+
72662
+
72663
+ /**
72664
+ * optional uint32 currency_scale = 9;
72665
+ * @return {number}
72666
+ */
72667
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCurrencyScale = function() {
72668
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
72669
+ };
72670
+
72671
+
72672
+ /**
72673
+ * @param {number} value
72674
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72675
+ */
72676
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCurrencyScale = function(value) {
72677
+ return jspb.Message.setField(this, 9, value);
72678
+ };
72679
+
72680
+
72681
+ /**
72682
+ * Clears the field making it undefined.
72683
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72684
+ */
72685
+ proto.payment.BonusTerminalDecisionIdentity.prototype.clearCurrencyScale = function() {
72686
+ return jspb.Message.setField(this, 9, undefined);
72687
+ };
72688
+
72689
+
72690
+ /**
72691
+ * Returns whether this field is set.
72692
+ * @return {boolean}
72693
+ */
72694
+ proto.payment.BonusTerminalDecisionIdentity.prototype.hasCurrencyScale = function() {
72695
+ return jspb.Message.getField(this, 9) != null;
72696
+ };
72697
+
72698
+
72699
+ /**
72700
+ * optional string requested_writeoff_minor = 10;
72701
+ * @return {string}
72702
+ */
72703
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getRequestedWriteoffMinor = function() {
72704
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
72705
+ };
72706
+
72707
+
72708
+ /**
72709
+ * @param {string} value
72710
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72711
+ */
72712
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setRequestedWriteoffMinor = function(value) {
72713
+ return jspb.Message.setProto3StringField(this, 10, value);
72714
+ };
72715
+
72716
+
72717
+
72718
+
72719
+
72720
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72721
+ /**
72722
+ * Creates an object representation of this proto.
72723
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72724
+ * Optional fields that are not set will be set to undefined.
72725
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72726
+ * For the list of reserved names please see:
72727
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72728
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72729
+ * JSPB instance for transitional soy proto support:
72730
+ * http://goto/soy-param-migration
72731
+ * @return {!Object}
72732
+ */
72733
+ proto.payment.BonusTerminalReceipt.prototype.toObject = function(opt_includeInstance) {
72734
+ return proto.payment.BonusTerminalReceipt.toObject(opt_includeInstance, this);
72735
+ };
72736
+
72737
+
72738
+ /**
72739
+ * Static version of the {@see toObject} method.
72740
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72741
+ * the JSPB instance for transitional soy proto support:
72742
+ * http://goto/soy-param-migration
72743
+ * @param {!proto.payment.BonusTerminalReceipt} msg The msg instance to transform.
72744
+ * @return {!Object}
72745
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72746
+ */
72747
+ proto.payment.BonusTerminalReceipt.toObject = function(includeInstance, msg) {
72748
+ var f, obj = {
72749
+ decision: (f = msg.getDecision()) && proto.payment.BonusTerminalDecisionIdentity.toObject(includeInstance, f),
72750
+ deductedMinor: jspb.Message.getFieldWithDefault(msg, 2, ""),
72751
+ unresolvedMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
72752
+ obligationsResolved: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
72753
+ paymentOperationId: jspb.Message.getFieldWithDefault(msg, 5, "")
72754
+ };
72755
+
72756
+ if (includeInstance) {
72757
+ obj.$jspbMessageInstance = msg;
72758
+ }
72759
+ return obj;
72760
+ };
72761
+ }
72762
+
72763
+
72764
+ /**
72765
+ * Deserializes binary data (in protobuf wire format).
72766
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72767
+ * @return {!proto.payment.BonusTerminalReceipt}
72768
+ */
72769
+ proto.payment.BonusTerminalReceipt.deserializeBinary = function(bytes) {
72770
+ var reader = new jspb.BinaryReader(bytes);
72771
+ var msg = new proto.payment.BonusTerminalReceipt;
72772
+ return proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader(msg, reader);
72773
+ };
72774
+
72775
+
72776
+ /**
72777
+ * Deserializes binary data (in protobuf wire format) from the
72778
+ * given reader into the given message object.
72779
+ * @param {!proto.payment.BonusTerminalReceipt} msg The message object to deserialize into.
72780
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72781
+ * @return {!proto.payment.BonusTerminalReceipt}
72782
+ */
72783
+ proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader = function(msg, reader) {
72784
+ while (reader.nextField()) {
72785
+ if (reader.isEndGroup()) {
72786
+ break;
72787
+ }
72788
+ var field = reader.getFieldNumber();
72789
+ switch (field) {
72790
+ case 1:
72791
+ var value = new proto.payment.BonusTerminalDecisionIdentity;
72792
+ reader.readMessage(value,proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader);
72793
+ msg.setDecision(value);
72794
+ break;
72795
+ case 2:
72796
+ var value = /** @type {string} */ (reader.readString());
72797
+ msg.setDeductedMinor(value);
72798
+ break;
72799
+ case 3:
72800
+ var value = /** @type {string} */ (reader.readString());
72801
+ msg.setUnresolvedMinor(value);
72802
+ break;
72803
+ case 4:
72804
+ var value = /** @type {boolean} */ (reader.readBool());
72805
+ msg.setObligationsResolved(value);
72806
+ break;
72807
+ case 5:
72808
+ var value = /** @type {string} */ (reader.readString());
72809
+ msg.setPaymentOperationId(value);
72810
+ break;
72811
+ default:
72812
+ reader.skipField();
72813
+ break;
72814
+ }
72815
+ }
72816
+ return msg;
72817
+ };
72818
+
72819
+
72820
+ /**
72821
+ * Serializes the message to binary data (in protobuf wire format).
72822
+ * @return {!Uint8Array}
72823
+ */
72824
+ proto.payment.BonusTerminalReceipt.prototype.serializeBinary = function() {
72825
+ var writer = new jspb.BinaryWriter();
72826
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter(this, writer);
72827
+ return writer.getResultBuffer();
72828
+ };
72829
+
72830
+
72831
+ /**
72832
+ * Serializes the given message to binary data (in protobuf wire
72833
+ * format), writing to the given BinaryWriter.
72834
+ * @param {!proto.payment.BonusTerminalReceipt} message
72835
+ * @param {!jspb.BinaryWriter} writer
72836
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72837
+ */
72838
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter = function(message, writer) {
72839
+ var f = undefined;
72840
+ f = message.getDecision();
72841
+ if (f != null) {
72842
+ writer.writeMessage(
72843
+ 1,
72844
+ f,
72845
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter
72846
+ );
72847
+ }
72848
+ f = message.getDeductedMinor();
72849
+ if (f.length > 0) {
72850
+ writer.writeString(
72851
+ 2,
72852
+ f
72853
+ );
72854
+ }
72855
+ f = message.getUnresolvedMinor();
72856
+ if (f.length > 0) {
72857
+ writer.writeString(
72858
+ 3,
72859
+ f
72860
+ );
72861
+ }
72862
+ f = message.getObligationsResolved();
72863
+ if (f) {
72864
+ writer.writeBool(
72865
+ 4,
72866
+ f
72867
+ );
72868
+ }
72869
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
72870
+ if (f != null) {
72871
+ writer.writeString(
72872
+ 5,
72873
+ f
72874
+ );
72875
+ }
72876
+ };
72877
+
72878
+
72879
+ /**
72880
+ * optional BonusTerminalDecisionIdentity decision = 1;
72881
+ * @return {?proto.payment.BonusTerminalDecisionIdentity}
72882
+ */
72883
+ proto.payment.BonusTerminalReceipt.prototype.getDecision = function() {
72884
+ return /** @type{?proto.payment.BonusTerminalDecisionIdentity} */ (
72885
+ jspb.Message.getWrapperField(this, proto.payment.BonusTerminalDecisionIdentity, 1));
72886
+ };
72887
+
72888
+
72889
+ /**
72890
+ * @param {?proto.payment.BonusTerminalDecisionIdentity|undefined} value
72891
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72892
+ */
72893
+ proto.payment.BonusTerminalReceipt.prototype.setDecision = function(value) {
72894
+ return jspb.Message.setWrapperField(this, 1, value);
72895
+ };
72896
+
72897
+
72898
+ /**
72899
+ * Clears the message field making it undefined.
72900
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72901
+ */
72902
+ proto.payment.BonusTerminalReceipt.prototype.clearDecision = function() {
72903
+ return this.setDecision(undefined);
72904
+ };
72905
+
72906
+
72907
+ /**
72908
+ * Returns whether this field is set.
72909
+ * @return {boolean}
72910
+ */
72911
+ proto.payment.BonusTerminalReceipt.prototype.hasDecision = function() {
72912
+ return jspb.Message.getField(this, 1) != null;
72913
+ };
72914
+
72915
+
72916
+ /**
72917
+ * optional string deducted_minor = 2;
72918
+ * @return {string}
72919
+ */
72920
+ proto.payment.BonusTerminalReceipt.prototype.getDeductedMinor = function() {
72921
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72922
+ };
72923
+
72924
+
72925
+ /**
72926
+ * @param {string} value
72927
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72928
+ */
72929
+ proto.payment.BonusTerminalReceipt.prototype.setDeductedMinor = function(value) {
72930
+ return jspb.Message.setProto3StringField(this, 2, value);
72931
+ };
72932
+
72933
+
72934
+ /**
72935
+ * optional string unresolved_minor = 3;
72936
+ * @return {string}
72937
+ */
72938
+ proto.payment.BonusTerminalReceipt.prototype.getUnresolvedMinor = function() {
72939
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
72940
+ };
72941
+
72942
+
72943
+ /**
72944
+ * @param {string} value
72945
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72946
+ */
72947
+ proto.payment.BonusTerminalReceipt.prototype.setUnresolvedMinor = function(value) {
72948
+ return jspb.Message.setProto3StringField(this, 3, value);
72949
+ };
72950
+
72951
+
72952
+ /**
72953
+ * optional bool obligations_resolved = 4;
72954
+ * @return {boolean}
72955
+ */
72956
+ proto.payment.BonusTerminalReceipt.prototype.getObligationsResolved = function() {
72957
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
72958
+ };
72959
+
72960
+
72961
+ /**
72962
+ * @param {boolean} value
72963
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72964
+ */
72965
+ proto.payment.BonusTerminalReceipt.prototype.setObligationsResolved = function(value) {
72966
+ return jspb.Message.setProto3BooleanField(this, 4, value);
72967
+ };
72968
+
72969
+
72970
+ /**
72971
+ * optional string payment_operation_id = 5;
72972
+ * @return {string}
72973
+ */
72974
+ proto.payment.BonusTerminalReceipt.prototype.getPaymentOperationId = function() {
72975
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
72976
+ };
72977
+
72978
+
72979
+ /**
72980
+ * @param {string} value
72981
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72982
+ */
72983
+ proto.payment.BonusTerminalReceipt.prototype.setPaymentOperationId = function(value) {
72984
+ return jspb.Message.setField(this, 5, value);
72985
+ };
72986
+
72987
+
72988
+ /**
72989
+ * Clears the field making it undefined.
72990
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72991
+ */
72992
+ proto.payment.BonusTerminalReceipt.prototype.clearPaymentOperationId = function() {
72993
+ return jspb.Message.setField(this, 5, undefined);
72994
+ };
72995
+
72996
+
72997
+ /**
72998
+ * Returns whether this field is set.
72999
+ * @return {boolean}
73000
+ */
73001
+ proto.payment.BonusTerminalReceipt.prototype.hasPaymentOperationId = function() {
73002
+ return jspb.Message.getField(this, 5) != null;
73003
+ };
73004
+
73005
+
73006
+
73007
+ /**
73008
+ * Oneof group definitions for this message. Each group defines the field
73009
+ * numbers belonging to that group. When of these fields' value is set, all
73010
+ * other fields in the group are cleared. During deserialization, if multiple
73011
+ * fields are encountered for a group, only the last value seen will be kept.
73012
+ * @private {!Array<!Array<number>>}
73013
+ * @const
73014
+ */
73015
+ proto.payment.BonusTerminalReceiptResponse.oneofGroups_ = [[1,2]];
73016
+
73017
+ /**
73018
+ * @enum {number}
73019
+ */
73020
+ proto.payment.BonusTerminalReceiptResponse.OutcomeCase = {
73021
+ OUTCOME_NOT_SET: 0,
73022
+ CONFIRMED: 1,
73023
+ PENDING_REASON: 2
73024
+ };
73025
+
73026
+ /**
73027
+ * @return {proto.payment.BonusTerminalReceiptResponse.OutcomeCase}
73028
+ */
73029
+ proto.payment.BonusTerminalReceiptResponse.prototype.getOutcomeCase = function() {
73030
+ return /** @type {proto.payment.BonusTerminalReceiptResponse.OutcomeCase} */(jspb.Message.computeOneofCase(this, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0]));
73031
+ };
73032
+
73033
+
73034
+
73035
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73036
+ /**
73037
+ * Creates an object representation of this proto.
73038
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73039
+ * Optional fields that are not set will be set to undefined.
73040
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73041
+ * For the list of reserved names please see:
73042
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73043
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73044
+ * JSPB instance for transitional soy proto support:
73045
+ * http://goto/soy-param-migration
73046
+ * @return {!Object}
73047
+ */
73048
+ proto.payment.BonusTerminalReceiptResponse.prototype.toObject = function(opt_includeInstance) {
73049
+ return proto.payment.BonusTerminalReceiptResponse.toObject(opt_includeInstance, this);
73050
+ };
73051
+
73052
+
73053
+ /**
73054
+ * Static version of the {@see toObject} method.
73055
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73056
+ * the JSPB instance for transitional soy proto support:
73057
+ * http://goto/soy-param-migration
73058
+ * @param {!proto.payment.BonusTerminalReceiptResponse} msg The msg instance to transform.
73059
+ * @return {!Object}
73060
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73061
+ */
73062
+ proto.payment.BonusTerminalReceiptResponse.toObject = function(includeInstance, msg) {
73063
+ var f, obj = {
73064
+ confirmed: (f = msg.getConfirmed()) && proto.payment.BonusTerminalReceipt.toObject(includeInstance, f),
73065
+ pendingReason: jspb.Message.getFieldWithDefault(msg, 2, "")
73066
+ };
73067
+
73068
+ if (includeInstance) {
73069
+ obj.$jspbMessageInstance = msg;
73070
+ }
73071
+ return obj;
73072
+ };
73073
+ }
73074
+
73075
+
73076
+ /**
73077
+ * Deserializes binary data (in protobuf wire format).
73078
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73079
+ * @return {!proto.payment.BonusTerminalReceiptResponse}
73080
+ */
73081
+ proto.payment.BonusTerminalReceiptResponse.deserializeBinary = function(bytes) {
73082
+ var reader = new jspb.BinaryReader(bytes);
73083
+ var msg = new proto.payment.BonusTerminalReceiptResponse;
73084
+ return proto.payment.BonusTerminalReceiptResponse.deserializeBinaryFromReader(msg, reader);
73085
+ };
73086
+
73087
+
73088
+ /**
73089
+ * Deserializes binary data (in protobuf wire format) from the
73090
+ * given reader into the given message object.
73091
+ * @param {!proto.payment.BonusTerminalReceiptResponse} msg The message object to deserialize into.
73092
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73093
+ * @return {!proto.payment.BonusTerminalReceiptResponse}
73094
+ */
73095
+ proto.payment.BonusTerminalReceiptResponse.deserializeBinaryFromReader = function(msg, reader) {
73096
+ while (reader.nextField()) {
73097
+ if (reader.isEndGroup()) {
73098
+ break;
73099
+ }
73100
+ var field = reader.getFieldNumber();
73101
+ switch (field) {
73102
+ case 1:
73103
+ var value = new proto.payment.BonusTerminalReceipt;
73104
+ reader.readMessage(value,proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader);
73105
+ msg.setConfirmed(value);
73106
+ break;
73107
+ case 2:
73108
+ var value = /** @type {string} */ (reader.readString());
73109
+ msg.setPendingReason(value);
73110
+ break;
73111
+ default:
73112
+ reader.skipField();
73113
+ break;
73114
+ }
73115
+ }
73116
+ return msg;
73117
+ };
73118
+
73119
+
73120
+ /**
73121
+ * Serializes the message to binary data (in protobuf wire format).
73122
+ * @return {!Uint8Array}
73123
+ */
73124
+ proto.payment.BonusTerminalReceiptResponse.prototype.serializeBinary = function() {
73125
+ var writer = new jspb.BinaryWriter();
73126
+ proto.payment.BonusTerminalReceiptResponse.serializeBinaryToWriter(this, writer);
73127
+ return writer.getResultBuffer();
73128
+ };
73129
+
73130
+
73131
+ /**
73132
+ * Serializes the given message to binary data (in protobuf wire
73133
+ * format), writing to the given BinaryWriter.
73134
+ * @param {!proto.payment.BonusTerminalReceiptResponse} message
73135
+ * @param {!jspb.BinaryWriter} writer
73136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73137
+ */
73138
+ proto.payment.BonusTerminalReceiptResponse.serializeBinaryToWriter = function(message, writer) {
73139
+ var f = undefined;
73140
+ f = message.getConfirmed();
73141
+ if (f != null) {
73142
+ writer.writeMessage(
73143
+ 1,
73144
+ f,
73145
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter
73146
+ );
73147
+ }
73148
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
73149
+ if (f != null) {
73150
+ writer.writeString(
73151
+ 2,
73152
+ f
73153
+ );
73154
+ }
73155
+ };
73156
+
73157
+
73158
+ /**
73159
+ * optional BonusTerminalReceipt confirmed = 1;
73160
+ * @return {?proto.payment.BonusTerminalReceipt}
73161
+ */
73162
+ proto.payment.BonusTerminalReceiptResponse.prototype.getConfirmed = function() {
73163
+ return /** @type{?proto.payment.BonusTerminalReceipt} */ (
73164
+ jspb.Message.getWrapperField(this, proto.payment.BonusTerminalReceipt, 1));
73165
+ };
73166
+
73167
+
73168
+ /**
73169
+ * @param {?proto.payment.BonusTerminalReceipt|undefined} value
73170
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
73171
+ */
73172
+ proto.payment.BonusTerminalReceiptResponse.prototype.setConfirmed = function(value) {
73173
+ return jspb.Message.setOneofWrapperField(this, 1, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], value);
73174
+ };
73175
+
73176
+
73177
+ /**
73178
+ * Clears the message field making it undefined.
73179
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
73180
+ */
73181
+ proto.payment.BonusTerminalReceiptResponse.prototype.clearConfirmed = function() {
73182
+ return this.setConfirmed(undefined);
73183
+ };
73184
+
73185
+
73186
+ /**
73187
+ * Returns whether this field is set.
73188
+ * @return {boolean}
73189
+ */
73190
+ proto.payment.BonusTerminalReceiptResponse.prototype.hasConfirmed = function() {
73191
+ return jspb.Message.getField(this, 1) != null;
73192
+ };
73193
+
73194
+
73195
+ /**
73196
+ * optional string pending_reason = 2;
73197
+ * @return {string}
73198
+ */
73199
+ proto.payment.BonusTerminalReceiptResponse.prototype.getPendingReason = function() {
73200
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
73201
+ };
73202
+
73203
+
73204
+ /**
73205
+ * @param {string} value
73206
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
73207
+ */
73208
+ proto.payment.BonusTerminalReceiptResponse.prototype.setPendingReason = function(value) {
73209
+ return jspb.Message.setOneofField(this, 2, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], value);
73210
+ };
73211
+
73212
+
73213
+ /**
73214
+ * Clears the field making it undefined.
73215
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
73216
+ */
73217
+ proto.payment.BonusTerminalReceiptResponse.prototype.clearPendingReason = function() {
73218
+ return jspb.Message.setOneofField(this, 2, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], undefined);
73219
+ };
73220
+
73221
+
73222
+ /**
73223
+ * Returns whether this field is set.
73224
+ * @return {boolean}
73225
+ */
73226
+ proto.payment.BonusTerminalReceiptResponse.prototype.hasPendingReason = function() {
73227
+ return jspb.Message.getField(this, 2) != null;
73228
+ };
73229
+
73230
+
71837
73231
  /**
71838
73232
  * @enum {number}
71839
73233
  */