protobuf-platform 1.2.733 → 1.2.735

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);
@@ -3700,6 +3704,69 @@ if (goog.DEBUG && !COMPILED) {
3700
3704
  */
3701
3705
  proto.payment.ResolveGuardedGameplayScopeResponse.displayName = 'proto.payment.ResolveGuardedGameplayScopeResponse';
3702
3706
  }
3707
+ /**
3708
+ * Generated by JsPbCodeGenerator.
3709
+ * @param {Array=} opt_data Optional initial data array, typically from a
3710
+ * server response, or constructed directly in Javascript. The array is used
3711
+ * in place and becomes part of the constructed object. It is not cloned.
3712
+ * If no data is provided, the constructed object will be empty, but still
3713
+ * valid.
3714
+ * @extends {jspb.Message}
3715
+ * @constructor
3716
+ */
3717
+ proto.payment.BonusTerminalDecisionIdentity = function(opt_data) {
3718
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3719
+ };
3720
+ goog.inherits(proto.payment.BonusTerminalDecisionIdentity, jspb.Message);
3721
+ if (goog.DEBUG && !COMPILED) {
3722
+ /**
3723
+ * @public
3724
+ * @override
3725
+ */
3726
+ proto.payment.BonusTerminalDecisionIdentity.displayName = 'proto.payment.BonusTerminalDecisionIdentity';
3727
+ }
3728
+ /**
3729
+ * Generated by JsPbCodeGenerator.
3730
+ * @param {Array=} opt_data Optional initial data array, typically from a
3731
+ * server response, or constructed directly in Javascript. The array is used
3732
+ * in place and becomes part of the constructed object. It is not cloned.
3733
+ * If no data is provided, the constructed object will be empty, but still
3734
+ * valid.
3735
+ * @extends {jspb.Message}
3736
+ * @constructor
3737
+ */
3738
+ proto.payment.BonusTerminalReceipt = function(opt_data) {
3739
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3740
+ };
3741
+ goog.inherits(proto.payment.BonusTerminalReceipt, jspb.Message);
3742
+ if (goog.DEBUG && !COMPILED) {
3743
+ /**
3744
+ * @public
3745
+ * @override
3746
+ */
3747
+ proto.payment.BonusTerminalReceipt.displayName = 'proto.payment.BonusTerminalReceipt';
3748
+ }
3749
+ /**
3750
+ * Generated by JsPbCodeGenerator.
3751
+ * @param {Array=} opt_data Optional initial data array, typically from a
3752
+ * server response, or constructed directly in Javascript. The array is used
3753
+ * in place and becomes part of the constructed object. It is not cloned.
3754
+ * If no data is provided, the constructed object will be empty, but still
3755
+ * valid.
3756
+ * @extends {jspb.Message}
3757
+ * @constructor
3758
+ */
3759
+ proto.payment.BonusTerminalReceiptResponse = function(opt_data) {
3760
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.payment.BonusTerminalReceiptResponse.oneofGroups_);
3761
+ };
3762
+ goog.inherits(proto.payment.BonusTerminalReceiptResponse, jspb.Message);
3763
+ if (goog.DEBUG && !COMPILED) {
3764
+ /**
3765
+ * @public
3766
+ * @override
3767
+ */
3768
+ proto.payment.BonusTerminalReceiptResponse.displayName = 'proto.payment.BonusTerminalReceiptResponse';
3769
+ }
3703
3770
 
3704
3771
 
3705
3772
 
@@ -43644,7 +43711,8 @@ proto.payment.CheckWithdrawalEligibilityResponse.toObject = function(includeInst
43644
43711
  availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
43645
43712
  currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
43646
43713
  currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
43647
- availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, "")
43714
+ availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, ""),
43715
+ availableRealMinorExact: jspb.Message.getFieldWithDefault(msg, 7, "")
43648
43716
  };
43649
43717
 
43650
43718
  if (includeInstance) {
@@ -43705,6 +43773,10 @@ proto.payment.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = f
43705
43773
  var value = /** @type {string} */ (reader.readString());
43706
43774
  msg.setAvailableRealMajor(value);
43707
43775
  break;
43776
+ case 7:
43777
+ var value = /** @type {string} */ (reader.readString());
43778
+ msg.setAvailableRealMinorExact(value);
43779
+ break;
43708
43780
  default:
43709
43781
  reader.skipField();
43710
43782
  break;
@@ -43776,6 +43848,13 @@ proto.payment.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = funct
43776
43848
  f
43777
43849
  );
43778
43850
  }
43851
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
43852
+ if (f != null) {
43853
+ writer.writeString(
43854
+ 7,
43855
+ f
43856
+ );
43857
+ }
43779
43858
  };
43780
43859
 
43781
43860
 
@@ -43977,6 +44056,42 @@ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor
43977
44056
  };
43978
44057
 
43979
44058
 
44059
+ /**
44060
+ * optional string available_real_minor_exact = 7;
44061
+ * @return {string}
44062
+ */
44063
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMinorExact = function() {
44064
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
44065
+ };
44066
+
44067
+
44068
+ /**
44069
+ * @param {string} value
44070
+ * @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
44071
+ */
44072
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMinorExact = function(value) {
44073
+ return jspb.Message.setField(this, 7, value);
44074
+ };
44075
+
44076
+
44077
+ /**
44078
+ * Clears the field making it undefined.
44079
+ * @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
44080
+ */
44081
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMinorExact = function() {
44082
+ return jspb.Message.setField(this, 7, undefined);
44083
+ };
44084
+
44085
+
44086
+ /**
44087
+ * Returns whether this field is set.
44088
+ * @return {boolean}
44089
+ */
44090
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMinorExact = function() {
44091
+ return jspb.Message.getField(this, 7) != null;
44092
+ };
44093
+
44094
+
43980
44095
 
43981
44096
 
43982
44097
 
@@ -48311,7 +48426,8 @@ proto.payment.ResolveGameWalletContextRequest.toObject = function(includeInstanc
48311
48426
  includeBonusBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
48312
48427
  prepareFinancialAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
48313
48428
  preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
48314
- existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
48429
+ existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
48430
+ includeWithdrawalAvailability: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
48315
48431
  };
48316
48432
 
48317
48433
  if (includeInstance) {
@@ -48372,6 +48488,10 @@ proto.payment.ResolveGameWalletContextRequest.deserializeBinaryFromReader = func
48372
48488
  var value = /** @type {boolean} */ (reader.readBool());
48373
48489
  msg.setExistingWalletOnly(value);
48374
48490
  break;
48491
+ case 7:
48492
+ var value = /** @type {boolean} */ (reader.readBool());
48493
+ msg.setIncludeWithdrawalAvailability(value);
48494
+ break;
48375
48495
  default:
48376
48496
  reader.skipField();
48377
48497
  break;
@@ -48443,6 +48563,13 @@ proto.payment.ResolveGameWalletContextRequest.serializeBinaryToWriter = function
48443
48563
  f
48444
48564
  );
48445
48565
  }
48566
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
48567
+ if (f != null) {
48568
+ writer.writeBool(
48569
+ 7,
48570
+ f
48571
+ );
48572
+ }
48446
48573
  };
48447
48574
 
48448
48575
 
@@ -48644,6 +48771,42 @@ proto.payment.ResolveGameWalletContextRequest.prototype.hasExistingWalletOnly =
48644
48771
  };
48645
48772
 
48646
48773
 
48774
+ /**
48775
+ * optional bool include_withdrawal_availability = 7;
48776
+ * @return {boolean}
48777
+ */
48778
+ proto.payment.ResolveGameWalletContextRequest.prototype.getIncludeWithdrawalAvailability = function() {
48779
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
48780
+ };
48781
+
48782
+
48783
+ /**
48784
+ * @param {boolean} value
48785
+ * @return {!proto.payment.ResolveGameWalletContextRequest} returns this
48786
+ */
48787
+ proto.payment.ResolveGameWalletContextRequest.prototype.setIncludeWithdrawalAvailability = function(value) {
48788
+ return jspb.Message.setField(this, 7, value);
48789
+ };
48790
+
48791
+
48792
+ /**
48793
+ * Clears the field making it undefined.
48794
+ * @return {!proto.payment.ResolveGameWalletContextRequest} returns this
48795
+ */
48796
+ proto.payment.ResolveGameWalletContextRequest.prototype.clearIncludeWithdrawalAvailability = function() {
48797
+ return jspb.Message.setField(this, 7, undefined);
48798
+ };
48799
+
48800
+
48801
+ /**
48802
+ * Returns whether this field is set.
48803
+ * @return {boolean}
48804
+ */
48805
+ proto.payment.ResolveGameWalletContextRequest.prototype.hasIncludeWithdrawalAvailability = function() {
48806
+ return jspb.Message.getField(this, 7) != null;
48807
+ };
48808
+
48809
+
48647
48810
 
48648
48811
  /**
48649
48812
  * List of repeated fields within this message type.
@@ -71738,6 +71901,938 @@ proto.payment.ResolveGuardedGameplayScopeResponse.prototype.setAdmissionId = fun
71738
71901
  };
71739
71902
 
71740
71903
 
71904
+
71905
+
71906
+
71907
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71908
+ /**
71909
+ * Creates an object representation of this proto.
71910
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71911
+ * Optional fields that are not set will be set to undefined.
71912
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71913
+ * For the list of reserved names please see:
71914
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71915
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71916
+ * JSPB instance for transitional soy proto support:
71917
+ * http://goto/soy-param-migration
71918
+ * @return {!Object}
71919
+ */
71920
+ proto.payment.BonusTerminalDecisionIdentity.prototype.toObject = function(opt_includeInstance) {
71921
+ return proto.payment.BonusTerminalDecisionIdentity.toObject(opt_includeInstance, this);
71922
+ };
71923
+
71924
+
71925
+ /**
71926
+ * Static version of the {@see toObject} method.
71927
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71928
+ * the JSPB instance for transitional soy proto support:
71929
+ * http://goto/soy-param-migration
71930
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} msg The msg instance to transform.
71931
+ * @return {!Object}
71932
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71933
+ */
71934
+ proto.payment.BonusTerminalDecisionIdentity.toObject = function(includeInstance, msg) {
71935
+ var f, obj = {
71936
+ customer: jspb.Message.getFieldWithDefault(msg, 1, ""),
71937
+ environment: jspb.Message.getFieldWithDefault(msg, 2, ""),
71938
+ userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
71939
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
71940
+ decisionId: jspb.Message.getFieldWithDefault(msg, 5, ""),
71941
+ terminalStatus: jspb.Message.getFieldWithDefault(msg, 6, ""),
71942
+ reasonCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
71943
+ currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
71944
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 9, 0),
71945
+ requestedWriteoffMinor: jspb.Message.getFieldWithDefault(msg, 10, "")
71946
+ };
71947
+
71948
+ if (includeInstance) {
71949
+ obj.$jspbMessageInstance = msg;
71950
+ }
71951
+ return obj;
71952
+ };
71953
+ }
71954
+
71955
+
71956
+ /**
71957
+ * Deserializes binary data (in protobuf wire format).
71958
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71959
+ * @return {!proto.payment.BonusTerminalDecisionIdentity}
71960
+ */
71961
+ proto.payment.BonusTerminalDecisionIdentity.deserializeBinary = function(bytes) {
71962
+ var reader = new jspb.BinaryReader(bytes);
71963
+ var msg = new proto.payment.BonusTerminalDecisionIdentity;
71964
+ return proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader(msg, reader);
71965
+ };
71966
+
71967
+
71968
+ /**
71969
+ * Deserializes binary data (in protobuf wire format) from the
71970
+ * given reader into the given message object.
71971
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} msg The message object to deserialize into.
71972
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71973
+ * @return {!proto.payment.BonusTerminalDecisionIdentity}
71974
+ */
71975
+ proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader = function(msg, reader) {
71976
+ while (reader.nextField()) {
71977
+ if (reader.isEndGroup()) {
71978
+ break;
71979
+ }
71980
+ var field = reader.getFieldNumber();
71981
+ switch (field) {
71982
+ case 1:
71983
+ var value = /** @type {string} */ (reader.readString());
71984
+ msg.setCustomer(value);
71985
+ break;
71986
+ case 2:
71987
+ var value = /** @type {string} */ (reader.readString());
71988
+ msg.setEnvironment(value);
71989
+ break;
71990
+ case 3:
71991
+ var value = /** @type {number} */ (reader.readInt32());
71992
+ msg.setUserId(value);
71993
+ break;
71994
+ case 4:
71995
+ var value = /** @type {number} */ (reader.readInt32());
71996
+ msg.setUserBonusId(value);
71997
+ break;
71998
+ case 5:
71999
+ var value = /** @type {string} */ (reader.readString());
72000
+ msg.setDecisionId(value);
72001
+ break;
72002
+ case 6:
72003
+ var value = /** @type {string} */ (reader.readString());
72004
+ msg.setTerminalStatus(value);
72005
+ break;
72006
+ case 7:
72007
+ var value = /** @type {string} */ (reader.readString());
72008
+ msg.setReasonCode(value);
72009
+ break;
72010
+ case 8:
72011
+ var value = /** @type {string} */ (reader.readString());
72012
+ msg.setCurrency(value);
72013
+ break;
72014
+ case 9:
72015
+ var value = /** @type {number} */ (reader.readUint32());
72016
+ msg.setCurrencyScale(value);
72017
+ break;
72018
+ case 10:
72019
+ var value = /** @type {string} */ (reader.readString());
72020
+ msg.setRequestedWriteoffMinor(value);
72021
+ break;
72022
+ default:
72023
+ reader.skipField();
72024
+ break;
72025
+ }
72026
+ }
72027
+ return msg;
72028
+ };
72029
+
72030
+
72031
+ /**
72032
+ * Serializes the message to binary data (in protobuf wire format).
72033
+ * @return {!Uint8Array}
72034
+ */
72035
+ proto.payment.BonusTerminalDecisionIdentity.prototype.serializeBinary = function() {
72036
+ var writer = new jspb.BinaryWriter();
72037
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter(this, writer);
72038
+ return writer.getResultBuffer();
72039
+ };
72040
+
72041
+
72042
+ /**
72043
+ * Serializes the given message to binary data (in protobuf wire
72044
+ * format), writing to the given BinaryWriter.
72045
+ * @param {!proto.payment.BonusTerminalDecisionIdentity} message
72046
+ * @param {!jspb.BinaryWriter} writer
72047
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72048
+ */
72049
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter = function(message, writer) {
72050
+ var f = undefined;
72051
+ f = message.getCustomer();
72052
+ if (f.length > 0) {
72053
+ writer.writeString(
72054
+ 1,
72055
+ f
72056
+ );
72057
+ }
72058
+ f = message.getEnvironment();
72059
+ if (f.length > 0) {
72060
+ writer.writeString(
72061
+ 2,
72062
+ f
72063
+ );
72064
+ }
72065
+ f = message.getUserId();
72066
+ if (f !== 0) {
72067
+ writer.writeInt32(
72068
+ 3,
72069
+ f
72070
+ );
72071
+ }
72072
+ f = message.getUserBonusId();
72073
+ if (f !== 0) {
72074
+ writer.writeInt32(
72075
+ 4,
72076
+ f
72077
+ );
72078
+ }
72079
+ f = message.getDecisionId();
72080
+ if (f.length > 0) {
72081
+ writer.writeString(
72082
+ 5,
72083
+ f
72084
+ );
72085
+ }
72086
+ f = message.getTerminalStatus();
72087
+ if (f.length > 0) {
72088
+ writer.writeString(
72089
+ 6,
72090
+ f
72091
+ );
72092
+ }
72093
+ f = message.getReasonCode();
72094
+ if (f.length > 0) {
72095
+ writer.writeString(
72096
+ 7,
72097
+ f
72098
+ );
72099
+ }
72100
+ f = message.getCurrency();
72101
+ if (f.length > 0) {
72102
+ writer.writeString(
72103
+ 8,
72104
+ f
72105
+ );
72106
+ }
72107
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
72108
+ if (f != null) {
72109
+ writer.writeUint32(
72110
+ 9,
72111
+ f
72112
+ );
72113
+ }
72114
+ f = message.getRequestedWriteoffMinor();
72115
+ if (f.length > 0) {
72116
+ writer.writeString(
72117
+ 10,
72118
+ f
72119
+ );
72120
+ }
72121
+ };
72122
+
72123
+
72124
+ /**
72125
+ * optional string customer = 1;
72126
+ * @return {string}
72127
+ */
72128
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCustomer = function() {
72129
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
72130
+ };
72131
+
72132
+
72133
+ /**
72134
+ * @param {string} value
72135
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72136
+ */
72137
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCustomer = function(value) {
72138
+ return jspb.Message.setProto3StringField(this, 1, value);
72139
+ };
72140
+
72141
+
72142
+ /**
72143
+ * optional string environment = 2;
72144
+ * @return {string}
72145
+ */
72146
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getEnvironment = function() {
72147
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72148
+ };
72149
+
72150
+
72151
+ /**
72152
+ * @param {string} value
72153
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72154
+ */
72155
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setEnvironment = function(value) {
72156
+ return jspb.Message.setProto3StringField(this, 2, value);
72157
+ };
72158
+
72159
+
72160
+ /**
72161
+ * optional int32 user_id = 3;
72162
+ * @return {number}
72163
+ */
72164
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getUserId = function() {
72165
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
72166
+ };
72167
+
72168
+
72169
+ /**
72170
+ * @param {number} value
72171
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72172
+ */
72173
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setUserId = function(value) {
72174
+ return jspb.Message.setProto3IntField(this, 3, value);
72175
+ };
72176
+
72177
+
72178
+ /**
72179
+ * optional int32 user_bonus_id = 4;
72180
+ * @return {number}
72181
+ */
72182
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getUserBonusId = function() {
72183
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
72184
+ };
72185
+
72186
+
72187
+ /**
72188
+ * @param {number} value
72189
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72190
+ */
72191
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setUserBonusId = function(value) {
72192
+ return jspb.Message.setProto3IntField(this, 4, value);
72193
+ };
72194
+
72195
+
72196
+ /**
72197
+ * optional string decision_id = 5;
72198
+ * @return {string}
72199
+ */
72200
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getDecisionId = function() {
72201
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
72202
+ };
72203
+
72204
+
72205
+ /**
72206
+ * @param {string} value
72207
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72208
+ */
72209
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setDecisionId = function(value) {
72210
+ return jspb.Message.setProto3StringField(this, 5, value);
72211
+ };
72212
+
72213
+
72214
+ /**
72215
+ * optional string terminal_status = 6;
72216
+ * @return {string}
72217
+ */
72218
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getTerminalStatus = function() {
72219
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
72220
+ };
72221
+
72222
+
72223
+ /**
72224
+ * @param {string} value
72225
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72226
+ */
72227
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setTerminalStatus = function(value) {
72228
+ return jspb.Message.setProto3StringField(this, 6, value);
72229
+ };
72230
+
72231
+
72232
+ /**
72233
+ * optional string reason_code = 7;
72234
+ * @return {string}
72235
+ */
72236
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getReasonCode = function() {
72237
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
72238
+ };
72239
+
72240
+
72241
+ /**
72242
+ * @param {string} value
72243
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72244
+ */
72245
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setReasonCode = function(value) {
72246
+ return jspb.Message.setProto3StringField(this, 7, value);
72247
+ };
72248
+
72249
+
72250
+ /**
72251
+ * optional string currency = 8;
72252
+ * @return {string}
72253
+ */
72254
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCurrency = function() {
72255
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
72256
+ };
72257
+
72258
+
72259
+ /**
72260
+ * @param {string} value
72261
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72262
+ */
72263
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCurrency = function(value) {
72264
+ return jspb.Message.setProto3StringField(this, 8, value);
72265
+ };
72266
+
72267
+
72268
+ /**
72269
+ * optional uint32 currency_scale = 9;
72270
+ * @return {number}
72271
+ */
72272
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getCurrencyScale = function() {
72273
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
72274
+ };
72275
+
72276
+
72277
+ /**
72278
+ * @param {number} value
72279
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72280
+ */
72281
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setCurrencyScale = function(value) {
72282
+ return jspb.Message.setField(this, 9, value);
72283
+ };
72284
+
72285
+
72286
+ /**
72287
+ * Clears the field making it undefined.
72288
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72289
+ */
72290
+ proto.payment.BonusTerminalDecisionIdentity.prototype.clearCurrencyScale = function() {
72291
+ return jspb.Message.setField(this, 9, undefined);
72292
+ };
72293
+
72294
+
72295
+ /**
72296
+ * Returns whether this field is set.
72297
+ * @return {boolean}
72298
+ */
72299
+ proto.payment.BonusTerminalDecisionIdentity.prototype.hasCurrencyScale = function() {
72300
+ return jspb.Message.getField(this, 9) != null;
72301
+ };
72302
+
72303
+
72304
+ /**
72305
+ * optional string requested_writeoff_minor = 10;
72306
+ * @return {string}
72307
+ */
72308
+ proto.payment.BonusTerminalDecisionIdentity.prototype.getRequestedWriteoffMinor = function() {
72309
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
72310
+ };
72311
+
72312
+
72313
+ /**
72314
+ * @param {string} value
72315
+ * @return {!proto.payment.BonusTerminalDecisionIdentity} returns this
72316
+ */
72317
+ proto.payment.BonusTerminalDecisionIdentity.prototype.setRequestedWriteoffMinor = function(value) {
72318
+ return jspb.Message.setProto3StringField(this, 10, value);
72319
+ };
72320
+
72321
+
72322
+
72323
+
72324
+
72325
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72326
+ /**
72327
+ * Creates an object representation of this proto.
72328
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72329
+ * Optional fields that are not set will be set to undefined.
72330
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72331
+ * For the list of reserved names please see:
72332
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72333
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72334
+ * JSPB instance for transitional soy proto support:
72335
+ * http://goto/soy-param-migration
72336
+ * @return {!Object}
72337
+ */
72338
+ proto.payment.BonusTerminalReceipt.prototype.toObject = function(opt_includeInstance) {
72339
+ return proto.payment.BonusTerminalReceipt.toObject(opt_includeInstance, this);
72340
+ };
72341
+
72342
+
72343
+ /**
72344
+ * Static version of the {@see toObject} method.
72345
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72346
+ * the JSPB instance for transitional soy proto support:
72347
+ * http://goto/soy-param-migration
72348
+ * @param {!proto.payment.BonusTerminalReceipt} msg The msg instance to transform.
72349
+ * @return {!Object}
72350
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72351
+ */
72352
+ proto.payment.BonusTerminalReceipt.toObject = function(includeInstance, msg) {
72353
+ var f, obj = {
72354
+ decision: (f = msg.getDecision()) && proto.payment.BonusTerminalDecisionIdentity.toObject(includeInstance, f),
72355
+ deductedMinor: jspb.Message.getFieldWithDefault(msg, 2, ""),
72356
+ unresolvedMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
72357
+ obligationsResolved: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
72358
+ paymentOperationId: jspb.Message.getFieldWithDefault(msg, 5, "")
72359
+ };
72360
+
72361
+ if (includeInstance) {
72362
+ obj.$jspbMessageInstance = msg;
72363
+ }
72364
+ return obj;
72365
+ };
72366
+ }
72367
+
72368
+
72369
+ /**
72370
+ * Deserializes binary data (in protobuf wire format).
72371
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72372
+ * @return {!proto.payment.BonusTerminalReceipt}
72373
+ */
72374
+ proto.payment.BonusTerminalReceipt.deserializeBinary = function(bytes) {
72375
+ var reader = new jspb.BinaryReader(bytes);
72376
+ var msg = new proto.payment.BonusTerminalReceipt;
72377
+ return proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader(msg, reader);
72378
+ };
72379
+
72380
+
72381
+ /**
72382
+ * Deserializes binary data (in protobuf wire format) from the
72383
+ * given reader into the given message object.
72384
+ * @param {!proto.payment.BonusTerminalReceipt} msg The message object to deserialize into.
72385
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72386
+ * @return {!proto.payment.BonusTerminalReceipt}
72387
+ */
72388
+ proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader = function(msg, reader) {
72389
+ while (reader.nextField()) {
72390
+ if (reader.isEndGroup()) {
72391
+ break;
72392
+ }
72393
+ var field = reader.getFieldNumber();
72394
+ switch (field) {
72395
+ case 1:
72396
+ var value = new proto.payment.BonusTerminalDecisionIdentity;
72397
+ reader.readMessage(value,proto.payment.BonusTerminalDecisionIdentity.deserializeBinaryFromReader);
72398
+ msg.setDecision(value);
72399
+ break;
72400
+ case 2:
72401
+ var value = /** @type {string} */ (reader.readString());
72402
+ msg.setDeductedMinor(value);
72403
+ break;
72404
+ case 3:
72405
+ var value = /** @type {string} */ (reader.readString());
72406
+ msg.setUnresolvedMinor(value);
72407
+ break;
72408
+ case 4:
72409
+ var value = /** @type {boolean} */ (reader.readBool());
72410
+ msg.setObligationsResolved(value);
72411
+ break;
72412
+ case 5:
72413
+ var value = /** @type {string} */ (reader.readString());
72414
+ msg.setPaymentOperationId(value);
72415
+ break;
72416
+ default:
72417
+ reader.skipField();
72418
+ break;
72419
+ }
72420
+ }
72421
+ return msg;
72422
+ };
72423
+
72424
+
72425
+ /**
72426
+ * Serializes the message to binary data (in protobuf wire format).
72427
+ * @return {!Uint8Array}
72428
+ */
72429
+ proto.payment.BonusTerminalReceipt.prototype.serializeBinary = function() {
72430
+ var writer = new jspb.BinaryWriter();
72431
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter(this, writer);
72432
+ return writer.getResultBuffer();
72433
+ };
72434
+
72435
+
72436
+ /**
72437
+ * Serializes the given message to binary data (in protobuf wire
72438
+ * format), writing to the given BinaryWriter.
72439
+ * @param {!proto.payment.BonusTerminalReceipt} message
72440
+ * @param {!jspb.BinaryWriter} writer
72441
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72442
+ */
72443
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter = function(message, writer) {
72444
+ var f = undefined;
72445
+ f = message.getDecision();
72446
+ if (f != null) {
72447
+ writer.writeMessage(
72448
+ 1,
72449
+ f,
72450
+ proto.payment.BonusTerminalDecisionIdentity.serializeBinaryToWriter
72451
+ );
72452
+ }
72453
+ f = message.getDeductedMinor();
72454
+ if (f.length > 0) {
72455
+ writer.writeString(
72456
+ 2,
72457
+ f
72458
+ );
72459
+ }
72460
+ f = message.getUnresolvedMinor();
72461
+ if (f.length > 0) {
72462
+ writer.writeString(
72463
+ 3,
72464
+ f
72465
+ );
72466
+ }
72467
+ f = message.getObligationsResolved();
72468
+ if (f) {
72469
+ writer.writeBool(
72470
+ 4,
72471
+ f
72472
+ );
72473
+ }
72474
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
72475
+ if (f != null) {
72476
+ writer.writeString(
72477
+ 5,
72478
+ f
72479
+ );
72480
+ }
72481
+ };
72482
+
72483
+
72484
+ /**
72485
+ * optional BonusTerminalDecisionIdentity decision = 1;
72486
+ * @return {?proto.payment.BonusTerminalDecisionIdentity}
72487
+ */
72488
+ proto.payment.BonusTerminalReceipt.prototype.getDecision = function() {
72489
+ return /** @type{?proto.payment.BonusTerminalDecisionIdentity} */ (
72490
+ jspb.Message.getWrapperField(this, proto.payment.BonusTerminalDecisionIdentity, 1));
72491
+ };
72492
+
72493
+
72494
+ /**
72495
+ * @param {?proto.payment.BonusTerminalDecisionIdentity|undefined} value
72496
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72497
+ */
72498
+ proto.payment.BonusTerminalReceipt.prototype.setDecision = function(value) {
72499
+ return jspb.Message.setWrapperField(this, 1, value);
72500
+ };
72501
+
72502
+
72503
+ /**
72504
+ * Clears the message field making it undefined.
72505
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72506
+ */
72507
+ proto.payment.BonusTerminalReceipt.prototype.clearDecision = function() {
72508
+ return this.setDecision(undefined);
72509
+ };
72510
+
72511
+
72512
+ /**
72513
+ * Returns whether this field is set.
72514
+ * @return {boolean}
72515
+ */
72516
+ proto.payment.BonusTerminalReceipt.prototype.hasDecision = function() {
72517
+ return jspb.Message.getField(this, 1) != null;
72518
+ };
72519
+
72520
+
72521
+ /**
72522
+ * optional string deducted_minor = 2;
72523
+ * @return {string}
72524
+ */
72525
+ proto.payment.BonusTerminalReceipt.prototype.getDeductedMinor = function() {
72526
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72527
+ };
72528
+
72529
+
72530
+ /**
72531
+ * @param {string} value
72532
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72533
+ */
72534
+ proto.payment.BonusTerminalReceipt.prototype.setDeductedMinor = function(value) {
72535
+ return jspb.Message.setProto3StringField(this, 2, value);
72536
+ };
72537
+
72538
+
72539
+ /**
72540
+ * optional string unresolved_minor = 3;
72541
+ * @return {string}
72542
+ */
72543
+ proto.payment.BonusTerminalReceipt.prototype.getUnresolvedMinor = function() {
72544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
72545
+ };
72546
+
72547
+
72548
+ /**
72549
+ * @param {string} value
72550
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72551
+ */
72552
+ proto.payment.BonusTerminalReceipt.prototype.setUnresolvedMinor = function(value) {
72553
+ return jspb.Message.setProto3StringField(this, 3, value);
72554
+ };
72555
+
72556
+
72557
+ /**
72558
+ * optional bool obligations_resolved = 4;
72559
+ * @return {boolean}
72560
+ */
72561
+ proto.payment.BonusTerminalReceipt.prototype.getObligationsResolved = function() {
72562
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
72563
+ };
72564
+
72565
+
72566
+ /**
72567
+ * @param {boolean} value
72568
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72569
+ */
72570
+ proto.payment.BonusTerminalReceipt.prototype.setObligationsResolved = function(value) {
72571
+ return jspb.Message.setProto3BooleanField(this, 4, value);
72572
+ };
72573
+
72574
+
72575
+ /**
72576
+ * optional string payment_operation_id = 5;
72577
+ * @return {string}
72578
+ */
72579
+ proto.payment.BonusTerminalReceipt.prototype.getPaymentOperationId = function() {
72580
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
72581
+ };
72582
+
72583
+
72584
+ /**
72585
+ * @param {string} value
72586
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72587
+ */
72588
+ proto.payment.BonusTerminalReceipt.prototype.setPaymentOperationId = function(value) {
72589
+ return jspb.Message.setField(this, 5, value);
72590
+ };
72591
+
72592
+
72593
+ /**
72594
+ * Clears the field making it undefined.
72595
+ * @return {!proto.payment.BonusTerminalReceipt} returns this
72596
+ */
72597
+ proto.payment.BonusTerminalReceipt.prototype.clearPaymentOperationId = function() {
72598
+ return jspb.Message.setField(this, 5, undefined);
72599
+ };
72600
+
72601
+
72602
+ /**
72603
+ * Returns whether this field is set.
72604
+ * @return {boolean}
72605
+ */
72606
+ proto.payment.BonusTerminalReceipt.prototype.hasPaymentOperationId = function() {
72607
+ return jspb.Message.getField(this, 5) != null;
72608
+ };
72609
+
72610
+
72611
+
72612
+ /**
72613
+ * Oneof group definitions for this message. Each group defines the field
72614
+ * numbers belonging to that group. When of these fields' value is set, all
72615
+ * other fields in the group are cleared. During deserialization, if multiple
72616
+ * fields are encountered for a group, only the last value seen will be kept.
72617
+ * @private {!Array<!Array<number>>}
72618
+ * @const
72619
+ */
72620
+ proto.payment.BonusTerminalReceiptResponse.oneofGroups_ = [[1,2]];
72621
+
72622
+ /**
72623
+ * @enum {number}
72624
+ */
72625
+ proto.payment.BonusTerminalReceiptResponse.OutcomeCase = {
72626
+ OUTCOME_NOT_SET: 0,
72627
+ CONFIRMED: 1,
72628
+ PENDING_REASON: 2
72629
+ };
72630
+
72631
+ /**
72632
+ * @return {proto.payment.BonusTerminalReceiptResponse.OutcomeCase}
72633
+ */
72634
+ proto.payment.BonusTerminalReceiptResponse.prototype.getOutcomeCase = function() {
72635
+ return /** @type {proto.payment.BonusTerminalReceiptResponse.OutcomeCase} */(jspb.Message.computeOneofCase(this, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0]));
72636
+ };
72637
+
72638
+
72639
+
72640
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72641
+ /**
72642
+ * Creates an object representation of this proto.
72643
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72644
+ * Optional fields that are not set will be set to undefined.
72645
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72646
+ * For the list of reserved names please see:
72647
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72648
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72649
+ * JSPB instance for transitional soy proto support:
72650
+ * http://goto/soy-param-migration
72651
+ * @return {!Object}
72652
+ */
72653
+ proto.payment.BonusTerminalReceiptResponse.prototype.toObject = function(opt_includeInstance) {
72654
+ return proto.payment.BonusTerminalReceiptResponse.toObject(opt_includeInstance, this);
72655
+ };
72656
+
72657
+
72658
+ /**
72659
+ * Static version of the {@see toObject} method.
72660
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72661
+ * the JSPB instance for transitional soy proto support:
72662
+ * http://goto/soy-param-migration
72663
+ * @param {!proto.payment.BonusTerminalReceiptResponse} msg The msg instance to transform.
72664
+ * @return {!Object}
72665
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72666
+ */
72667
+ proto.payment.BonusTerminalReceiptResponse.toObject = function(includeInstance, msg) {
72668
+ var f, obj = {
72669
+ confirmed: (f = msg.getConfirmed()) && proto.payment.BonusTerminalReceipt.toObject(includeInstance, f),
72670
+ pendingReason: jspb.Message.getFieldWithDefault(msg, 2, "")
72671
+ };
72672
+
72673
+ if (includeInstance) {
72674
+ obj.$jspbMessageInstance = msg;
72675
+ }
72676
+ return obj;
72677
+ };
72678
+ }
72679
+
72680
+
72681
+ /**
72682
+ * Deserializes binary data (in protobuf wire format).
72683
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72684
+ * @return {!proto.payment.BonusTerminalReceiptResponse}
72685
+ */
72686
+ proto.payment.BonusTerminalReceiptResponse.deserializeBinary = function(bytes) {
72687
+ var reader = new jspb.BinaryReader(bytes);
72688
+ var msg = new proto.payment.BonusTerminalReceiptResponse;
72689
+ return proto.payment.BonusTerminalReceiptResponse.deserializeBinaryFromReader(msg, reader);
72690
+ };
72691
+
72692
+
72693
+ /**
72694
+ * Deserializes binary data (in protobuf wire format) from the
72695
+ * given reader into the given message object.
72696
+ * @param {!proto.payment.BonusTerminalReceiptResponse} msg The message object to deserialize into.
72697
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72698
+ * @return {!proto.payment.BonusTerminalReceiptResponse}
72699
+ */
72700
+ proto.payment.BonusTerminalReceiptResponse.deserializeBinaryFromReader = function(msg, reader) {
72701
+ while (reader.nextField()) {
72702
+ if (reader.isEndGroup()) {
72703
+ break;
72704
+ }
72705
+ var field = reader.getFieldNumber();
72706
+ switch (field) {
72707
+ case 1:
72708
+ var value = new proto.payment.BonusTerminalReceipt;
72709
+ reader.readMessage(value,proto.payment.BonusTerminalReceipt.deserializeBinaryFromReader);
72710
+ msg.setConfirmed(value);
72711
+ break;
72712
+ case 2:
72713
+ var value = /** @type {string} */ (reader.readString());
72714
+ msg.setPendingReason(value);
72715
+ break;
72716
+ default:
72717
+ reader.skipField();
72718
+ break;
72719
+ }
72720
+ }
72721
+ return msg;
72722
+ };
72723
+
72724
+
72725
+ /**
72726
+ * Serializes the message to binary data (in protobuf wire format).
72727
+ * @return {!Uint8Array}
72728
+ */
72729
+ proto.payment.BonusTerminalReceiptResponse.prototype.serializeBinary = function() {
72730
+ var writer = new jspb.BinaryWriter();
72731
+ proto.payment.BonusTerminalReceiptResponse.serializeBinaryToWriter(this, writer);
72732
+ return writer.getResultBuffer();
72733
+ };
72734
+
72735
+
72736
+ /**
72737
+ * Serializes the given message to binary data (in protobuf wire
72738
+ * format), writing to the given BinaryWriter.
72739
+ * @param {!proto.payment.BonusTerminalReceiptResponse} message
72740
+ * @param {!jspb.BinaryWriter} writer
72741
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72742
+ */
72743
+ proto.payment.BonusTerminalReceiptResponse.serializeBinaryToWriter = function(message, writer) {
72744
+ var f = undefined;
72745
+ f = message.getConfirmed();
72746
+ if (f != null) {
72747
+ writer.writeMessage(
72748
+ 1,
72749
+ f,
72750
+ proto.payment.BonusTerminalReceipt.serializeBinaryToWriter
72751
+ );
72752
+ }
72753
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
72754
+ if (f != null) {
72755
+ writer.writeString(
72756
+ 2,
72757
+ f
72758
+ );
72759
+ }
72760
+ };
72761
+
72762
+
72763
+ /**
72764
+ * optional BonusTerminalReceipt confirmed = 1;
72765
+ * @return {?proto.payment.BonusTerminalReceipt}
72766
+ */
72767
+ proto.payment.BonusTerminalReceiptResponse.prototype.getConfirmed = function() {
72768
+ return /** @type{?proto.payment.BonusTerminalReceipt} */ (
72769
+ jspb.Message.getWrapperField(this, proto.payment.BonusTerminalReceipt, 1));
72770
+ };
72771
+
72772
+
72773
+ /**
72774
+ * @param {?proto.payment.BonusTerminalReceipt|undefined} value
72775
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
72776
+ */
72777
+ proto.payment.BonusTerminalReceiptResponse.prototype.setConfirmed = function(value) {
72778
+ return jspb.Message.setOneofWrapperField(this, 1, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], value);
72779
+ };
72780
+
72781
+
72782
+ /**
72783
+ * Clears the message field making it undefined.
72784
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
72785
+ */
72786
+ proto.payment.BonusTerminalReceiptResponse.prototype.clearConfirmed = function() {
72787
+ return this.setConfirmed(undefined);
72788
+ };
72789
+
72790
+
72791
+ /**
72792
+ * Returns whether this field is set.
72793
+ * @return {boolean}
72794
+ */
72795
+ proto.payment.BonusTerminalReceiptResponse.prototype.hasConfirmed = function() {
72796
+ return jspb.Message.getField(this, 1) != null;
72797
+ };
72798
+
72799
+
72800
+ /**
72801
+ * optional string pending_reason = 2;
72802
+ * @return {string}
72803
+ */
72804
+ proto.payment.BonusTerminalReceiptResponse.prototype.getPendingReason = function() {
72805
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72806
+ };
72807
+
72808
+
72809
+ /**
72810
+ * @param {string} value
72811
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
72812
+ */
72813
+ proto.payment.BonusTerminalReceiptResponse.prototype.setPendingReason = function(value) {
72814
+ return jspb.Message.setOneofField(this, 2, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], value);
72815
+ };
72816
+
72817
+
72818
+ /**
72819
+ * Clears the field making it undefined.
72820
+ * @return {!proto.payment.BonusTerminalReceiptResponse} returns this
72821
+ */
72822
+ proto.payment.BonusTerminalReceiptResponse.prototype.clearPendingReason = function() {
72823
+ return jspb.Message.setOneofField(this, 2, proto.payment.BonusTerminalReceiptResponse.oneofGroups_[0], undefined);
72824
+ };
72825
+
72826
+
72827
+ /**
72828
+ * Returns whether this field is set.
72829
+ * @return {boolean}
72830
+ */
72831
+ proto.payment.BonusTerminalReceiptResponse.prototype.hasPendingReason = function() {
72832
+ return jspb.Message.getField(this, 2) != null;
72833
+ };
72834
+
72835
+
71741
72836
  /**
71742
72837
  * @enum {number}
71743
72838
  */