protobuf-platform 1.2.482 → 1.2.483

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.
@@ -28,6 +28,8 @@ goog.exportSymbol('proto.payment.CashierFieldItemsResponse', null, global);
28
28
  goog.exportSymbol('proto.payment.CashierFieldsRequest', null, global);
29
29
  goog.exportSymbol('proto.payment.CheckFastDepositRequest', null, global);
30
30
  goog.exportSymbol('proto.payment.CheckFastDepositResponse', null, global);
31
+ goog.exportSymbol('proto.payment.CompensationRequest', null, global);
32
+ goog.exportSymbol('proto.payment.ConfiscationRequest', null, global);
31
33
  goog.exportSymbol('proto.payment.CryptoDepositInstructions', null, global);
32
34
  goog.exportSymbol('proto.payment.CurrenciesMetadataResponse', null, global);
33
35
  goog.exportSymbol('proto.payment.CurrencyItem', null, global);
@@ -44,6 +46,7 @@ goog.exportSymbol('proto.payment.DepositStatus', null, global);
44
46
  goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
45
47
  goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
46
48
  goog.exportSymbol('proto.payment.File', null, global);
49
+ goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
47
50
  goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
48
51
  goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
49
52
  goog.exportSymbol('proto.payment.GetCurrencyRequest', null, global);
@@ -63,6 +66,7 @@ goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryResponse', null,
63
66
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
64
67
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
65
68
  goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
69
+ goog.exportSymbol('proto.payment.ManualDepositRequest', null, global);
66
70
  goog.exportSymbol('proto.payment.MethodItem', null, global);
67
71
  goog.exportSymbol('proto.payment.MethodItemRequest', null, global);
68
72
  goog.exportSymbol('proto.payment.MethodItemsResponse', null, global);
@@ -2003,6 +2007,90 @@ if (goog.DEBUG && !COMPILED) {
2003
2007
  */
2004
2008
  proto.payment.CurrencyItemsResponse.displayName = 'proto.payment.CurrencyItemsResponse';
2005
2009
  }
2010
+ /**
2011
+ * Generated by JsPbCodeGenerator.
2012
+ * @param {Array=} opt_data Optional initial data array, typically from a
2013
+ * server response, or constructed directly in Javascript. The array is used
2014
+ * in place and becomes part of the constructed object. It is not cloned.
2015
+ * If no data is provided, the constructed object will be empty, but still
2016
+ * valid.
2017
+ * @extends {jspb.Message}
2018
+ * @constructor
2019
+ */
2020
+ proto.payment.ManualDepositRequest = function(opt_data) {
2021
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2022
+ };
2023
+ goog.inherits(proto.payment.ManualDepositRequest, jspb.Message);
2024
+ if (goog.DEBUG && !COMPILED) {
2025
+ /**
2026
+ * @public
2027
+ * @override
2028
+ */
2029
+ proto.payment.ManualDepositRequest.displayName = 'proto.payment.ManualDepositRequest';
2030
+ }
2031
+ /**
2032
+ * Generated by JsPbCodeGenerator.
2033
+ * @param {Array=} opt_data Optional initial data array, typically from a
2034
+ * server response, or constructed directly in Javascript. The array is used
2035
+ * in place and becomes part of the constructed object. It is not cloned.
2036
+ * If no data is provided, the constructed object will be empty, but still
2037
+ * valid.
2038
+ * @extends {jspb.Message}
2039
+ * @constructor
2040
+ */
2041
+ proto.payment.CompensationRequest = function(opt_data) {
2042
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2043
+ };
2044
+ goog.inherits(proto.payment.CompensationRequest, jspb.Message);
2045
+ if (goog.DEBUG && !COMPILED) {
2046
+ /**
2047
+ * @public
2048
+ * @override
2049
+ */
2050
+ proto.payment.CompensationRequest.displayName = 'proto.payment.CompensationRequest';
2051
+ }
2052
+ /**
2053
+ * Generated by JsPbCodeGenerator.
2054
+ * @param {Array=} opt_data Optional initial data array, typically from a
2055
+ * server response, or constructed directly in Javascript. The array is used
2056
+ * in place and becomes part of the constructed object. It is not cloned.
2057
+ * If no data is provided, the constructed object will be empty, but still
2058
+ * valid.
2059
+ * @extends {jspb.Message}
2060
+ * @constructor
2061
+ */
2062
+ proto.payment.ConfiscationRequest = function(opt_data) {
2063
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2064
+ };
2065
+ goog.inherits(proto.payment.ConfiscationRequest, jspb.Message);
2066
+ if (goog.DEBUG && !COMPILED) {
2067
+ /**
2068
+ * @public
2069
+ * @override
2070
+ */
2071
+ proto.payment.ConfiscationRequest.displayName = 'proto.payment.ConfiscationRequest';
2072
+ }
2073
+ /**
2074
+ * Generated by JsPbCodeGenerator.
2075
+ * @param {Array=} opt_data Optional initial data array, typically from a
2076
+ * server response, or constructed directly in Javascript. The array is used
2077
+ * in place and becomes part of the constructed object. It is not cloned.
2078
+ * If no data is provided, the constructed object will be empty, but still
2079
+ * valid.
2080
+ * @extends {jspb.Message}
2081
+ * @constructor
2082
+ */
2083
+ proto.payment.FinancialOperationResponse = function(opt_data) {
2084
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2085
+ };
2086
+ goog.inherits(proto.payment.FinancialOperationResponse, jspb.Message);
2087
+ if (goog.DEBUG && !COMPILED) {
2088
+ /**
2089
+ * @public
2090
+ * @override
2091
+ */
2092
+ proto.payment.FinancialOperationResponse.displayName = 'proto.payment.FinancialOperationResponse';
2093
+ }
2006
2094
 
2007
2095
 
2008
2096
 
@@ -35887,4 +35975,1562 @@ proto.payment.CurrencyItemsResponse.prototype.hasTotalItems = function() {
35887
35975
  };
35888
35976
 
35889
35977
 
35978
+
35979
+
35980
+
35981
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35982
+ /**
35983
+ * Creates an object representation of this proto.
35984
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35985
+ * Optional fields that are not set will be set to undefined.
35986
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35987
+ * For the list of reserved names please see:
35988
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35989
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35990
+ * JSPB instance for transitional soy proto support:
35991
+ * http://goto/soy-param-migration
35992
+ * @return {!Object}
35993
+ */
35994
+ proto.payment.ManualDepositRequest.prototype.toObject = function(opt_includeInstance) {
35995
+ return proto.payment.ManualDepositRequest.toObject(opt_includeInstance, this);
35996
+ };
35997
+
35998
+
35999
+ /**
36000
+ * Static version of the {@see toObject} method.
36001
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36002
+ * the JSPB instance for transitional soy proto support:
36003
+ * http://goto/soy-param-migration
36004
+ * @param {!proto.payment.ManualDepositRequest} msg The msg instance to transform.
36005
+ * @return {!Object}
36006
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36007
+ */
36008
+ proto.payment.ManualDepositRequest.toObject = function(includeInstance, msg) {
36009
+ var f, obj = {
36010
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
36011
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
36012
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36013
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
36014
+ reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
36015
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, "")
36016
+ };
36017
+
36018
+ if (includeInstance) {
36019
+ obj.$jspbMessageInstance = msg;
36020
+ }
36021
+ return obj;
36022
+ };
36023
+ }
36024
+
36025
+
36026
+ /**
36027
+ * Deserializes binary data (in protobuf wire format).
36028
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36029
+ * @return {!proto.payment.ManualDepositRequest}
36030
+ */
36031
+ proto.payment.ManualDepositRequest.deserializeBinary = function(bytes) {
36032
+ var reader = new jspb.BinaryReader(bytes);
36033
+ var msg = new proto.payment.ManualDepositRequest;
36034
+ return proto.payment.ManualDepositRequest.deserializeBinaryFromReader(msg, reader);
36035
+ };
36036
+
36037
+
36038
+ /**
36039
+ * Deserializes binary data (in protobuf wire format) from the
36040
+ * given reader into the given message object.
36041
+ * @param {!proto.payment.ManualDepositRequest} msg The message object to deserialize into.
36042
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36043
+ * @return {!proto.payment.ManualDepositRequest}
36044
+ */
36045
+ proto.payment.ManualDepositRequest.deserializeBinaryFromReader = function(msg, reader) {
36046
+ while (reader.nextField()) {
36047
+ if (reader.isEndGroup()) {
36048
+ break;
36049
+ }
36050
+ var field = reader.getFieldNumber();
36051
+ switch (field) {
36052
+ case 1:
36053
+ var value = /** @type {number} */ (reader.readInt32());
36054
+ msg.setUserId(value);
36055
+ break;
36056
+ case 2:
36057
+ var value = /** @type {number} */ (reader.readInt64());
36058
+ msg.setAmountMinor(value);
36059
+ break;
36060
+ case 3:
36061
+ var value = /** @type {string} */ (reader.readString());
36062
+ msg.setCurrency(value);
36063
+ break;
36064
+ case 4:
36065
+ var value = /** @type {string} */ (reader.readString());
36066
+ msg.setWagerMultiplier(value);
36067
+ break;
36068
+ case 5:
36069
+ var value = /** @type {string} */ (reader.readString());
36070
+ msg.setReason(value);
36071
+ break;
36072
+ case 6:
36073
+ var value = /** @type {string} */ (reader.readString());
36074
+ msg.setIdempotencyId(value);
36075
+ break;
36076
+ default:
36077
+ reader.skipField();
36078
+ break;
36079
+ }
36080
+ }
36081
+ return msg;
36082
+ };
36083
+
36084
+
36085
+ /**
36086
+ * Serializes the message to binary data (in protobuf wire format).
36087
+ * @return {!Uint8Array}
36088
+ */
36089
+ proto.payment.ManualDepositRequest.prototype.serializeBinary = function() {
36090
+ var writer = new jspb.BinaryWriter();
36091
+ proto.payment.ManualDepositRequest.serializeBinaryToWriter(this, writer);
36092
+ return writer.getResultBuffer();
36093
+ };
36094
+
36095
+
36096
+ /**
36097
+ * Serializes the given message to binary data (in protobuf wire
36098
+ * format), writing to the given BinaryWriter.
36099
+ * @param {!proto.payment.ManualDepositRequest} message
36100
+ * @param {!jspb.BinaryWriter} writer
36101
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36102
+ */
36103
+ proto.payment.ManualDepositRequest.serializeBinaryToWriter = function(message, writer) {
36104
+ var f = undefined;
36105
+ f = message.getUserId();
36106
+ if (f !== 0) {
36107
+ writer.writeInt32(
36108
+ 1,
36109
+ f
36110
+ );
36111
+ }
36112
+ f = message.getAmountMinor();
36113
+ if (f !== 0) {
36114
+ writer.writeInt64(
36115
+ 2,
36116
+ f
36117
+ );
36118
+ }
36119
+ f = message.getCurrency();
36120
+ if (f.length > 0) {
36121
+ writer.writeString(
36122
+ 3,
36123
+ f
36124
+ );
36125
+ }
36126
+ f = message.getWagerMultiplier();
36127
+ if (f.length > 0) {
36128
+ writer.writeString(
36129
+ 4,
36130
+ f
36131
+ );
36132
+ }
36133
+ f = message.getReason();
36134
+ if (f.length > 0) {
36135
+ writer.writeString(
36136
+ 5,
36137
+ f
36138
+ );
36139
+ }
36140
+ f = message.getIdempotencyId();
36141
+ if (f.length > 0) {
36142
+ writer.writeString(
36143
+ 6,
36144
+ f
36145
+ );
36146
+ }
36147
+ };
36148
+
36149
+
36150
+ /**
36151
+ * optional int32 user_id = 1;
36152
+ * @return {number}
36153
+ */
36154
+ proto.payment.ManualDepositRequest.prototype.getUserId = function() {
36155
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36156
+ };
36157
+
36158
+
36159
+ /**
36160
+ * @param {number} value
36161
+ * @return {!proto.payment.ManualDepositRequest} returns this
36162
+ */
36163
+ proto.payment.ManualDepositRequest.prototype.setUserId = function(value) {
36164
+ return jspb.Message.setProto3IntField(this, 1, value);
36165
+ };
36166
+
36167
+
36168
+ /**
36169
+ * optional int64 amount_minor = 2;
36170
+ * @return {number}
36171
+ */
36172
+ proto.payment.ManualDepositRequest.prototype.getAmountMinor = function() {
36173
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
36174
+ };
36175
+
36176
+
36177
+ /**
36178
+ * @param {number} value
36179
+ * @return {!proto.payment.ManualDepositRequest} returns this
36180
+ */
36181
+ proto.payment.ManualDepositRequest.prototype.setAmountMinor = function(value) {
36182
+ return jspb.Message.setProto3IntField(this, 2, value);
36183
+ };
36184
+
36185
+
36186
+ /**
36187
+ * optional string currency = 3;
36188
+ * @return {string}
36189
+ */
36190
+ proto.payment.ManualDepositRequest.prototype.getCurrency = function() {
36191
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
36192
+ };
36193
+
36194
+
36195
+ /**
36196
+ * @param {string} value
36197
+ * @return {!proto.payment.ManualDepositRequest} returns this
36198
+ */
36199
+ proto.payment.ManualDepositRequest.prototype.setCurrency = function(value) {
36200
+ return jspb.Message.setProto3StringField(this, 3, value);
36201
+ };
36202
+
36203
+
36204
+ /**
36205
+ * optional string wager_multiplier = 4;
36206
+ * @return {string}
36207
+ */
36208
+ proto.payment.ManualDepositRequest.prototype.getWagerMultiplier = function() {
36209
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
36210
+ };
36211
+
36212
+
36213
+ /**
36214
+ * @param {string} value
36215
+ * @return {!proto.payment.ManualDepositRequest} returns this
36216
+ */
36217
+ proto.payment.ManualDepositRequest.prototype.setWagerMultiplier = function(value) {
36218
+ return jspb.Message.setProto3StringField(this, 4, value);
36219
+ };
36220
+
36221
+
36222
+ /**
36223
+ * optional string reason = 5;
36224
+ * @return {string}
36225
+ */
36226
+ proto.payment.ManualDepositRequest.prototype.getReason = function() {
36227
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
36228
+ };
36229
+
36230
+
36231
+ /**
36232
+ * @param {string} value
36233
+ * @return {!proto.payment.ManualDepositRequest} returns this
36234
+ */
36235
+ proto.payment.ManualDepositRequest.prototype.setReason = function(value) {
36236
+ return jspb.Message.setProto3StringField(this, 5, value);
36237
+ };
36238
+
36239
+
36240
+ /**
36241
+ * optional string idempotency_id = 6;
36242
+ * @return {string}
36243
+ */
36244
+ proto.payment.ManualDepositRequest.prototype.getIdempotencyId = function() {
36245
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36246
+ };
36247
+
36248
+
36249
+ /**
36250
+ * @param {string} value
36251
+ * @return {!proto.payment.ManualDepositRequest} returns this
36252
+ */
36253
+ proto.payment.ManualDepositRequest.prototype.setIdempotencyId = function(value) {
36254
+ return jspb.Message.setProto3StringField(this, 6, value);
36255
+ };
36256
+
36257
+
36258
+
36259
+
36260
+
36261
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36262
+ /**
36263
+ * Creates an object representation of this proto.
36264
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36265
+ * Optional fields that are not set will be set to undefined.
36266
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36267
+ * For the list of reserved names please see:
36268
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36269
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36270
+ * JSPB instance for transitional soy proto support:
36271
+ * http://goto/soy-param-migration
36272
+ * @return {!Object}
36273
+ */
36274
+ proto.payment.CompensationRequest.prototype.toObject = function(opt_includeInstance) {
36275
+ return proto.payment.CompensationRequest.toObject(opt_includeInstance, this);
36276
+ };
36277
+
36278
+
36279
+ /**
36280
+ * Static version of the {@see toObject} method.
36281
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36282
+ * the JSPB instance for transitional soy proto support:
36283
+ * http://goto/soy-param-migration
36284
+ * @param {!proto.payment.CompensationRequest} msg The msg instance to transform.
36285
+ * @return {!Object}
36286
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36287
+ */
36288
+ proto.payment.CompensationRequest.toObject = function(includeInstance, msg) {
36289
+ var f, obj = {
36290
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
36291
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
36292
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36293
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 4, ""),
36294
+ reason: jspb.Message.getFieldWithDefault(msg, 5, ""),
36295
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 6, "")
36296
+ };
36297
+
36298
+ if (includeInstance) {
36299
+ obj.$jspbMessageInstance = msg;
36300
+ }
36301
+ return obj;
36302
+ };
36303
+ }
36304
+
36305
+
36306
+ /**
36307
+ * Deserializes binary data (in protobuf wire format).
36308
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36309
+ * @return {!proto.payment.CompensationRequest}
36310
+ */
36311
+ proto.payment.CompensationRequest.deserializeBinary = function(bytes) {
36312
+ var reader = new jspb.BinaryReader(bytes);
36313
+ var msg = new proto.payment.CompensationRequest;
36314
+ return proto.payment.CompensationRequest.deserializeBinaryFromReader(msg, reader);
36315
+ };
36316
+
36317
+
36318
+ /**
36319
+ * Deserializes binary data (in protobuf wire format) from the
36320
+ * given reader into the given message object.
36321
+ * @param {!proto.payment.CompensationRequest} msg The message object to deserialize into.
36322
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36323
+ * @return {!proto.payment.CompensationRequest}
36324
+ */
36325
+ proto.payment.CompensationRequest.deserializeBinaryFromReader = function(msg, reader) {
36326
+ while (reader.nextField()) {
36327
+ if (reader.isEndGroup()) {
36328
+ break;
36329
+ }
36330
+ var field = reader.getFieldNumber();
36331
+ switch (field) {
36332
+ case 1:
36333
+ var value = /** @type {number} */ (reader.readInt32());
36334
+ msg.setUserId(value);
36335
+ break;
36336
+ case 2:
36337
+ var value = /** @type {number} */ (reader.readInt64());
36338
+ msg.setAmountMinor(value);
36339
+ break;
36340
+ case 3:
36341
+ var value = /** @type {string} */ (reader.readString());
36342
+ msg.setCurrency(value);
36343
+ break;
36344
+ case 4:
36345
+ var value = /** @type {string} */ (reader.readString());
36346
+ msg.setWagerMultiplier(value);
36347
+ break;
36348
+ case 5:
36349
+ var value = /** @type {string} */ (reader.readString());
36350
+ msg.setReason(value);
36351
+ break;
36352
+ case 6:
36353
+ var value = /** @type {string} */ (reader.readString());
36354
+ msg.setIdempotencyId(value);
36355
+ break;
36356
+ default:
36357
+ reader.skipField();
36358
+ break;
36359
+ }
36360
+ }
36361
+ return msg;
36362
+ };
36363
+
36364
+
36365
+ /**
36366
+ * Serializes the message to binary data (in protobuf wire format).
36367
+ * @return {!Uint8Array}
36368
+ */
36369
+ proto.payment.CompensationRequest.prototype.serializeBinary = function() {
36370
+ var writer = new jspb.BinaryWriter();
36371
+ proto.payment.CompensationRequest.serializeBinaryToWriter(this, writer);
36372
+ return writer.getResultBuffer();
36373
+ };
36374
+
36375
+
36376
+ /**
36377
+ * Serializes the given message to binary data (in protobuf wire
36378
+ * format), writing to the given BinaryWriter.
36379
+ * @param {!proto.payment.CompensationRequest} message
36380
+ * @param {!jspb.BinaryWriter} writer
36381
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36382
+ */
36383
+ proto.payment.CompensationRequest.serializeBinaryToWriter = function(message, writer) {
36384
+ var f = undefined;
36385
+ f = message.getUserId();
36386
+ if (f !== 0) {
36387
+ writer.writeInt32(
36388
+ 1,
36389
+ f
36390
+ );
36391
+ }
36392
+ f = message.getAmountMinor();
36393
+ if (f !== 0) {
36394
+ writer.writeInt64(
36395
+ 2,
36396
+ f
36397
+ );
36398
+ }
36399
+ f = message.getCurrency();
36400
+ if (f.length > 0) {
36401
+ writer.writeString(
36402
+ 3,
36403
+ f
36404
+ );
36405
+ }
36406
+ f = message.getWagerMultiplier();
36407
+ if (f.length > 0) {
36408
+ writer.writeString(
36409
+ 4,
36410
+ f
36411
+ );
36412
+ }
36413
+ f = message.getReason();
36414
+ if (f.length > 0) {
36415
+ writer.writeString(
36416
+ 5,
36417
+ f
36418
+ );
36419
+ }
36420
+ f = message.getIdempotencyId();
36421
+ if (f.length > 0) {
36422
+ writer.writeString(
36423
+ 6,
36424
+ f
36425
+ );
36426
+ }
36427
+ };
36428
+
36429
+
36430
+ /**
36431
+ * optional int32 user_id = 1;
36432
+ * @return {number}
36433
+ */
36434
+ proto.payment.CompensationRequest.prototype.getUserId = function() {
36435
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36436
+ };
36437
+
36438
+
36439
+ /**
36440
+ * @param {number} value
36441
+ * @return {!proto.payment.CompensationRequest} returns this
36442
+ */
36443
+ proto.payment.CompensationRequest.prototype.setUserId = function(value) {
36444
+ return jspb.Message.setProto3IntField(this, 1, value);
36445
+ };
36446
+
36447
+
36448
+ /**
36449
+ * optional int64 amount_minor = 2;
36450
+ * @return {number}
36451
+ */
36452
+ proto.payment.CompensationRequest.prototype.getAmountMinor = function() {
36453
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
36454
+ };
36455
+
36456
+
36457
+ /**
36458
+ * @param {number} value
36459
+ * @return {!proto.payment.CompensationRequest} returns this
36460
+ */
36461
+ proto.payment.CompensationRequest.prototype.setAmountMinor = function(value) {
36462
+ return jspb.Message.setProto3IntField(this, 2, value);
36463
+ };
36464
+
36465
+
36466
+ /**
36467
+ * optional string currency = 3;
36468
+ * @return {string}
36469
+ */
36470
+ proto.payment.CompensationRequest.prototype.getCurrency = function() {
36471
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
36472
+ };
36473
+
36474
+
36475
+ /**
36476
+ * @param {string} value
36477
+ * @return {!proto.payment.CompensationRequest} returns this
36478
+ */
36479
+ proto.payment.CompensationRequest.prototype.setCurrency = function(value) {
36480
+ return jspb.Message.setProto3StringField(this, 3, value);
36481
+ };
36482
+
36483
+
36484
+ /**
36485
+ * optional string wager_multiplier = 4;
36486
+ * @return {string}
36487
+ */
36488
+ proto.payment.CompensationRequest.prototype.getWagerMultiplier = function() {
36489
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
36490
+ };
36491
+
36492
+
36493
+ /**
36494
+ * @param {string} value
36495
+ * @return {!proto.payment.CompensationRequest} returns this
36496
+ */
36497
+ proto.payment.CompensationRequest.prototype.setWagerMultiplier = function(value) {
36498
+ return jspb.Message.setProto3StringField(this, 4, value);
36499
+ };
36500
+
36501
+
36502
+ /**
36503
+ * optional string reason = 5;
36504
+ * @return {string}
36505
+ */
36506
+ proto.payment.CompensationRequest.prototype.getReason = function() {
36507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
36508
+ };
36509
+
36510
+
36511
+ /**
36512
+ * @param {string} value
36513
+ * @return {!proto.payment.CompensationRequest} returns this
36514
+ */
36515
+ proto.payment.CompensationRequest.prototype.setReason = function(value) {
36516
+ return jspb.Message.setProto3StringField(this, 5, value);
36517
+ };
36518
+
36519
+
36520
+ /**
36521
+ * optional string idempotency_id = 6;
36522
+ * @return {string}
36523
+ */
36524
+ proto.payment.CompensationRequest.prototype.getIdempotencyId = function() {
36525
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36526
+ };
36527
+
36528
+
36529
+ /**
36530
+ * @param {string} value
36531
+ * @return {!proto.payment.CompensationRequest} returns this
36532
+ */
36533
+ proto.payment.CompensationRequest.prototype.setIdempotencyId = function(value) {
36534
+ return jspb.Message.setProto3StringField(this, 6, value);
36535
+ };
36536
+
36537
+
36538
+
36539
+
36540
+
36541
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36542
+ /**
36543
+ * Creates an object representation of this proto.
36544
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36545
+ * Optional fields that are not set will be set to undefined.
36546
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36547
+ * For the list of reserved names please see:
36548
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36549
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36550
+ * JSPB instance for transitional soy proto support:
36551
+ * http://goto/soy-param-migration
36552
+ * @return {!Object}
36553
+ */
36554
+ proto.payment.ConfiscationRequest.prototype.toObject = function(opt_includeInstance) {
36555
+ return proto.payment.ConfiscationRequest.toObject(opt_includeInstance, this);
36556
+ };
36557
+
36558
+
36559
+ /**
36560
+ * Static version of the {@see toObject} method.
36561
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36562
+ * the JSPB instance for transitional soy proto support:
36563
+ * http://goto/soy-param-migration
36564
+ * @param {!proto.payment.ConfiscationRequest} msg The msg instance to transform.
36565
+ * @return {!Object}
36566
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36567
+ */
36568
+ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
36569
+ var f, obj = {
36570
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
36571
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 2, 0),
36572
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
36573
+ reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
36574
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, "")
36575
+ };
36576
+
36577
+ if (includeInstance) {
36578
+ obj.$jspbMessageInstance = msg;
36579
+ }
36580
+ return obj;
36581
+ };
36582
+ }
36583
+
36584
+
36585
+ /**
36586
+ * Deserializes binary data (in protobuf wire format).
36587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36588
+ * @return {!proto.payment.ConfiscationRequest}
36589
+ */
36590
+ proto.payment.ConfiscationRequest.deserializeBinary = function(bytes) {
36591
+ var reader = new jspb.BinaryReader(bytes);
36592
+ var msg = new proto.payment.ConfiscationRequest;
36593
+ return proto.payment.ConfiscationRequest.deserializeBinaryFromReader(msg, reader);
36594
+ };
36595
+
36596
+
36597
+ /**
36598
+ * Deserializes binary data (in protobuf wire format) from the
36599
+ * given reader into the given message object.
36600
+ * @param {!proto.payment.ConfiscationRequest} msg The message object to deserialize into.
36601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36602
+ * @return {!proto.payment.ConfiscationRequest}
36603
+ */
36604
+ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, reader) {
36605
+ while (reader.nextField()) {
36606
+ if (reader.isEndGroup()) {
36607
+ break;
36608
+ }
36609
+ var field = reader.getFieldNumber();
36610
+ switch (field) {
36611
+ case 1:
36612
+ var value = /** @type {number} */ (reader.readInt32());
36613
+ msg.setUserId(value);
36614
+ break;
36615
+ case 2:
36616
+ var value = /** @type {number} */ (reader.readInt64());
36617
+ msg.setAmountMinor(value);
36618
+ break;
36619
+ case 3:
36620
+ var value = /** @type {string} */ (reader.readString());
36621
+ msg.setCurrency(value);
36622
+ break;
36623
+ case 4:
36624
+ var value = /** @type {string} */ (reader.readString());
36625
+ msg.setReason(value);
36626
+ break;
36627
+ case 5:
36628
+ var value = /** @type {string} */ (reader.readString());
36629
+ msg.setIdempotencyId(value);
36630
+ break;
36631
+ default:
36632
+ reader.skipField();
36633
+ break;
36634
+ }
36635
+ }
36636
+ return msg;
36637
+ };
36638
+
36639
+
36640
+ /**
36641
+ * Serializes the message to binary data (in protobuf wire format).
36642
+ * @return {!Uint8Array}
36643
+ */
36644
+ proto.payment.ConfiscationRequest.prototype.serializeBinary = function() {
36645
+ var writer = new jspb.BinaryWriter();
36646
+ proto.payment.ConfiscationRequest.serializeBinaryToWriter(this, writer);
36647
+ return writer.getResultBuffer();
36648
+ };
36649
+
36650
+
36651
+ /**
36652
+ * Serializes the given message to binary data (in protobuf wire
36653
+ * format), writing to the given BinaryWriter.
36654
+ * @param {!proto.payment.ConfiscationRequest} message
36655
+ * @param {!jspb.BinaryWriter} writer
36656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36657
+ */
36658
+ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, writer) {
36659
+ var f = undefined;
36660
+ f = message.getUserId();
36661
+ if (f !== 0) {
36662
+ writer.writeInt32(
36663
+ 1,
36664
+ f
36665
+ );
36666
+ }
36667
+ f = message.getAmountMinor();
36668
+ if (f !== 0) {
36669
+ writer.writeInt64(
36670
+ 2,
36671
+ f
36672
+ );
36673
+ }
36674
+ f = message.getCurrency();
36675
+ if (f.length > 0) {
36676
+ writer.writeString(
36677
+ 3,
36678
+ f
36679
+ );
36680
+ }
36681
+ f = message.getReason();
36682
+ if (f.length > 0) {
36683
+ writer.writeString(
36684
+ 4,
36685
+ f
36686
+ );
36687
+ }
36688
+ f = message.getIdempotencyId();
36689
+ if (f.length > 0) {
36690
+ writer.writeString(
36691
+ 5,
36692
+ f
36693
+ );
36694
+ }
36695
+ };
36696
+
36697
+
36698
+ /**
36699
+ * optional int32 user_id = 1;
36700
+ * @return {number}
36701
+ */
36702
+ proto.payment.ConfiscationRequest.prototype.getUserId = function() {
36703
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36704
+ };
36705
+
36706
+
36707
+ /**
36708
+ * @param {number} value
36709
+ * @return {!proto.payment.ConfiscationRequest} returns this
36710
+ */
36711
+ proto.payment.ConfiscationRequest.prototype.setUserId = function(value) {
36712
+ return jspb.Message.setProto3IntField(this, 1, value);
36713
+ };
36714
+
36715
+
36716
+ /**
36717
+ * optional int64 amount_minor = 2;
36718
+ * @return {number}
36719
+ */
36720
+ proto.payment.ConfiscationRequest.prototype.getAmountMinor = function() {
36721
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
36722
+ };
36723
+
36724
+
36725
+ /**
36726
+ * @param {number} value
36727
+ * @return {!proto.payment.ConfiscationRequest} returns this
36728
+ */
36729
+ proto.payment.ConfiscationRequest.prototype.setAmountMinor = function(value) {
36730
+ return jspb.Message.setProto3IntField(this, 2, value);
36731
+ };
36732
+
36733
+
36734
+ /**
36735
+ * optional string currency = 3;
36736
+ * @return {string}
36737
+ */
36738
+ proto.payment.ConfiscationRequest.prototype.getCurrency = function() {
36739
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
36740
+ };
36741
+
36742
+
36743
+ /**
36744
+ * @param {string} value
36745
+ * @return {!proto.payment.ConfiscationRequest} returns this
36746
+ */
36747
+ proto.payment.ConfiscationRequest.prototype.setCurrency = function(value) {
36748
+ return jspb.Message.setProto3StringField(this, 3, value);
36749
+ };
36750
+
36751
+
36752
+ /**
36753
+ * optional string reason = 4;
36754
+ * @return {string}
36755
+ */
36756
+ proto.payment.ConfiscationRequest.prototype.getReason = function() {
36757
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
36758
+ };
36759
+
36760
+
36761
+ /**
36762
+ * @param {string} value
36763
+ * @return {!proto.payment.ConfiscationRequest} returns this
36764
+ */
36765
+ proto.payment.ConfiscationRequest.prototype.setReason = function(value) {
36766
+ return jspb.Message.setProto3StringField(this, 4, value);
36767
+ };
36768
+
36769
+
36770
+ /**
36771
+ * optional string idempotency_id = 5;
36772
+ * @return {string}
36773
+ */
36774
+ proto.payment.ConfiscationRequest.prototype.getIdempotencyId = function() {
36775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
36776
+ };
36777
+
36778
+
36779
+ /**
36780
+ * @param {string} value
36781
+ * @return {!proto.payment.ConfiscationRequest} returns this
36782
+ */
36783
+ proto.payment.ConfiscationRequest.prototype.setIdempotencyId = function(value) {
36784
+ return jspb.Message.setProto3StringField(this, 5, value);
36785
+ };
36786
+
36787
+
36788
+
36789
+
36790
+
36791
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36792
+ /**
36793
+ * Creates an object representation of this proto.
36794
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36795
+ * Optional fields that are not set will be set to undefined.
36796
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36797
+ * For the list of reserved names please see:
36798
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36799
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36800
+ * JSPB instance for transitional soy proto support:
36801
+ * http://goto/soy-param-migration
36802
+ * @return {!Object}
36803
+ */
36804
+ proto.payment.FinancialOperationResponse.prototype.toObject = function(opt_includeInstance) {
36805
+ return proto.payment.FinancialOperationResponse.toObject(opt_includeInstance, this);
36806
+ };
36807
+
36808
+
36809
+ /**
36810
+ * Static version of the {@see toObject} method.
36811
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36812
+ * the JSPB instance for transitional soy proto support:
36813
+ * http://goto/soy-param-migration
36814
+ * @param {!proto.payment.FinancialOperationResponse} msg The msg instance to transform.
36815
+ * @return {!Object}
36816
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36817
+ */
36818
+ proto.payment.FinancialOperationResponse.toObject = function(includeInstance, msg) {
36819
+ var f, obj = {
36820
+ operationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
36821
+ operationPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
36822
+ operationType: jspb.Message.getFieldWithDefault(msg, 3, ""),
36823
+ statusCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
36824
+ userId: jspb.Message.getFieldWithDefault(msg, 5, 0),
36825
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
36826
+ currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
36827
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
36828
+ balanceBeforeMinor: jspb.Message.getFieldWithDefault(msg, 9, 0),
36829
+ balanceAfterMinor: jspb.Message.getFieldWithDefault(msg, 10, 0),
36830
+ reason: jspb.Message.getFieldWithDefault(msg, 11, ""),
36831
+ idempotencyId: jspb.Message.getFieldWithDefault(msg, 12, ""),
36832
+ depositId: jspb.Message.getFieldWithDefault(msg, 13, 0),
36833
+ wagerBucketId: jspb.Message.getFieldWithDefault(msg, 14, ""),
36834
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 15, ""),
36835
+ requiredWagerMinor: jspb.Message.getFieldWithDefault(msg, 16, 0),
36836
+ createdAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
36837
+ completedAt: jspb.Message.getFieldWithDefault(msg, 18, "")
36838
+ };
36839
+
36840
+ if (includeInstance) {
36841
+ obj.$jspbMessageInstance = msg;
36842
+ }
36843
+ return obj;
36844
+ };
36845
+ }
36846
+
36847
+
36848
+ /**
36849
+ * Deserializes binary data (in protobuf wire format).
36850
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36851
+ * @return {!proto.payment.FinancialOperationResponse}
36852
+ */
36853
+ proto.payment.FinancialOperationResponse.deserializeBinary = function(bytes) {
36854
+ var reader = new jspb.BinaryReader(bytes);
36855
+ var msg = new proto.payment.FinancialOperationResponse;
36856
+ return proto.payment.FinancialOperationResponse.deserializeBinaryFromReader(msg, reader);
36857
+ };
36858
+
36859
+
36860
+ /**
36861
+ * Deserializes binary data (in protobuf wire format) from the
36862
+ * given reader into the given message object.
36863
+ * @param {!proto.payment.FinancialOperationResponse} msg The message object to deserialize into.
36864
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36865
+ * @return {!proto.payment.FinancialOperationResponse}
36866
+ */
36867
+ proto.payment.FinancialOperationResponse.deserializeBinaryFromReader = function(msg, reader) {
36868
+ while (reader.nextField()) {
36869
+ if (reader.isEndGroup()) {
36870
+ break;
36871
+ }
36872
+ var field = reader.getFieldNumber();
36873
+ switch (field) {
36874
+ case 1:
36875
+ var value = /** @type {number} */ (reader.readInt32());
36876
+ msg.setOperationId(value);
36877
+ break;
36878
+ case 2:
36879
+ var value = /** @type {string} */ (reader.readString());
36880
+ msg.setOperationPublicId(value);
36881
+ break;
36882
+ case 3:
36883
+ var value = /** @type {string} */ (reader.readString());
36884
+ msg.setOperationType(value);
36885
+ break;
36886
+ case 4:
36887
+ var value = /** @type {string} */ (reader.readString());
36888
+ msg.setStatusCode(value);
36889
+ break;
36890
+ case 5:
36891
+ var value = /** @type {number} */ (reader.readInt32());
36892
+ msg.setUserId(value);
36893
+ break;
36894
+ case 6:
36895
+ var value = /** @type {number} */ (reader.readInt64());
36896
+ msg.setAmountMinor(value);
36897
+ break;
36898
+ case 7:
36899
+ var value = /** @type {string} */ (reader.readString());
36900
+ msg.setCurrency(value);
36901
+ break;
36902
+ case 8:
36903
+ var value = /** @type {number} */ (reader.readInt32());
36904
+ msg.setCurrencyScale(value);
36905
+ break;
36906
+ case 9:
36907
+ var value = /** @type {number} */ (reader.readInt64());
36908
+ msg.setBalanceBeforeMinor(value);
36909
+ break;
36910
+ case 10:
36911
+ var value = /** @type {number} */ (reader.readInt64());
36912
+ msg.setBalanceAfterMinor(value);
36913
+ break;
36914
+ case 11:
36915
+ var value = /** @type {string} */ (reader.readString());
36916
+ msg.setReason(value);
36917
+ break;
36918
+ case 12:
36919
+ var value = /** @type {string} */ (reader.readString());
36920
+ msg.setIdempotencyId(value);
36921
+ break;
36922
+ case 13:
36923
+ var value = /** @type {number} */ (reader.readInt32());
36924
+ msg.setDepositId(value);
36925
+ break;
36926
+ case 14:
36927
+ var value = /** @type {string} */ (reader.readString());
36928
+ msg.setWagerBucketId(value);
36929
+ break;
36930
+ case 15:
36931
+ var value = /** @type {string} */ (reader.readString());
36932
+ msg.setWagerMultiplier(value);
36933
+ break;
36934
+ case 16:
36935
+ var value = /** @type {number} */ (reader.readInt64());
36936
+ msg.setRequiredWagerMinor(value);
36937
+ break;
36938
+ case 17:
36939
+ var value = /** @type {string} */ (reader.readString());
36940
+ msg.setCreatedAt(value);
36941
+ break;
36942
+ case 18:
36943
+ var value = /** @type {string} */ (reader.readString());
36944
+ msg.setCompletedAt(value);
36945
+ break;
36946
+ default:
36947
+ reader.skipField();
36948
+ break;
36949
+ }
36950
+ }
36951
+ return msg;
36952
+ };
36953
+
36954
+
36955
+ /**
36956
+ * Serializes the message to binary data (in protobuf wire format).
36957
+ * @return {!Uint8Array}
36958
+ */
36959
+ proto.payment.FinancialOperationResponse.prototype.serializeBinary = function() {
36960
+ var writer = new jspb.BinaryWriter();
36961
+ proto.payment.FinancialOperationResponse.serializeBinaryToWriter(this, writer);
36962
+ return writer.getResultBuffer();
36963
+ };
36964
+
36965
+
36966
+ /**
36967
+ * Serializes the given message to binary data (in protobuf wire
36968
+ * format), writing to the given BinaryWriter.
36969
+ * @param {!proto.payment.FinancialOperationResponse} message
36970
+ * @param {!jspb.BinaryWriter} writer
36971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36972
+ */
36973
+ proto.payment.FinancialOperationResponse.serializeBinaryToWriter = function(message, writer) {
36974
+ var f = undefined;
36975
+ f = message.getOperationId();
36976
+ if (f !== 0) {
36977
+ writer.writeInt32(
36978
+ 1,
36979
+ f
36980
+ );
36981
+ }
36982
+ f = message.getOperationPublicId();
36983
+ if (f.length > 0) {
36984
+ writer.writeString(
36985
+ 2,
36986
+ f
36987
+ );
36988
+ }
36989
+ f = message.getOperationType();
36990
+ if (f.length > 0) {
36991
+ writer.writeString(
36992
+ 3,
36993
+ f
36994
+ );
36995
+ }
36996
+ f = message.getStatusCode();
36997
+ if (f.length > 0) {
36998
+ writer.writeString(
36999
+ 4,
37000
+ f
37001
+ );
37002
+ }
37003
+ f = message.getUserId();
37004
+ if (f !== 0) {
37005
+ writer.writeInt32(
37006
+ 5,
37007
+ f
37008
+ );
37009
+ }
37010
+ f = message.getAmountMinor();
37011
+ if (f !== 0) {
37012
+ writer.writeInt64(
37013
+ 6,
37014
+ f
37015
+ );
37016
+ }
37017
+ f = message.getCurrency();
37018
+ if (f.length > 0) {
37019
+ writer.writeString(
37020
+ 7,
37021
+ f
37022
+ );
37023
+ }
37024
+ f = message.getCurrencyScale();
37025
+ if (f !== 0) {
37026
+ writer.writeInt32(
37027
+ 8,
37028
+ f
37029
+ );
37030
+ }
37031
+ f = message.getBalanceBeforeMinor();
37032
+ if (f !== 0) {
37033
+ writer.writeInt64(
37034
+ 9,
37035
+ f
37036
+ );
37037
+ }
37038
+ f = message.getBalanceAfterMinor();
37039
+ if (f !== 0) {
37040
+ writer.writeInt64(
37041
+ 10,
37042
+ f
37043
+ );
37044
+ }
37045
+ f = message.getReason();
37046
+ if (f.length > 0) {
37047
+ writer.writeString(
37048
+ 11,
37049
+ f
37050
+ );
37051
+ }
37052
+ f = message.getIdempotencyId();
37053
+ if (f.length > 0) {
37054
+ writer.writeString(
37055
+ 12,
37056
+ f
37057
+ );
37058
+ }
37059
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
37060
+ if (f != null) {
37061
+ writer.writeInt32(
37062
+ 13,
37063
+ f
37064
+ );
37065
+ }
37066
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
37067
+ if (f != null) {
37068
+ writer.writeString(
37069
+ 14,
37070
+ f
37071
+ );
37072
+ }
37073
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
37074
+ if (f != null) {
37075
+ writer.writeString(
37076
+ 15,
37077
+ f
37078
+ );
37079
+ }
37080
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
37081
+ if (f != null) {
37082
+ writer.writeInt64(
37083
+ 16,
37084
+ f
37085
+ );
37086
+ }
37087
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
37088
+ if (f != null) {
37089
+ writer.writeString(
37090
+ 17,
37091
+ f
37092
+ );
37093
+ }
37094
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
37095
+ if (f != null) {
37096
+ writer.writeString(
37097
+ 18,
37098
+ f
37099
+ );
37100
+ }
37101
+ };
37102
+
37103
+
37104
+ /**
37105
+ * optional int32 operation_id = 1;
37106
+ * @return {number}
37107
+ */
37108
+ proto.payment.FinancialOperationResponse.prototype.getOperationId = function() {
37109
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
37110
+ };
37111
+
37112
+
37113
+ /**
37114
+ * @param {number} value
37115
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37116
+ */
37117
+ proto.payment.FinancialOperationResponse.prototype.setOperationId = function(value) {
37118
+ return jspb.Message.setProto3IntField(this, 1, value);
37119
+ };
37120
+
37121
+
37122
+ /**
37123
+ * optional string operation_public_id = 2;
37124
+ * @return {string}
37125
+ */
37126
+ proto.payment.FinancialOperationResponse.prototype.getOperationPublicId = function() {
37127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
37128
+ };
37129
+
37130
+
37131
+ /**
37132
+ * @param {string} value
37133
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37134
+ */
37135
+ proto.payment.FinancialOperationResponse.prototype.setOperationPublicId = function(value) {
37136
+ return jspb.Message.setProto3StringField(this, 2, value);
37137
+ };
37138
+
37139
+
37140
+ /**
37141
+ * optional string operation_type = 3;
37142
+ * @return {string}
37143
+ */
37144
+ proto.payment.FinancialOperationResponse.prototype.getOperationType = function() {
37145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
37146
+ };
37147
+
37148
+
37149
+ /**
37150
+ * @param {string} value
37151
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37152
+ */
37153
+ proto.payment.FinancialOperationResponse.prototype.setOperationType = function(value) {
37154
+ return jspb.Message.setProto3StringField(this, 3, value);
37155
+ };
37156
+
37157
+
37158
+ /**
37159
+ * optional string status_code = 4;
37160
+ * @return {string}
37161
+ */
37162
+ proto.payment.FinancialOperationResponse.prototype.getStatusCode = function() {
37163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
37164
+ };
37165
+
37166
+
37167
+ /**
37168
+ * @param {string} value
37169
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37170
+ */
37171
+ proto.payment.FinancialOperationResponse.prototype.setStatusCode = function(value) {
37172
+ return jspb.Message.setProto3StringField(this, 4, value);
37173
+ };
37174
+
37175
+
37176
+ /**
37177
+ * optional int32 user_id = 5;
37178
+ * @return {number}
37179
+ */
37180
+ proto.payment.FinancialOperationResponse.prototype.getUserId = function() {
37181
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
37182
+ };
37183
+
37184
+
37185
+ /**
37186
+ * @param {number} value
37187
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37188
+ */
37189
+ proto.payment.FinancialOperationResponse.prototype.setUserId = function(value) {
37190
+ return jspb.Message.setProto3IntField(this, 5, value);
37191
+ };
37192
+
37193
+
37194
+ /**
37195
+ * optional int64 amount_minor = 6;
37196
+ * @return {number}
37197
+ */
37198
+ proto.payment.FinancialOperationResponse.prototype.getAmountMinor = function() {
37199
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
37200
+ };
37201
+
37202
+
37203
+ /**
37204
+ * @param {number} value
37205
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37206
+ */
37207
+ proto.payment.FinancialOperationResponse.prototype.setAmountMinor = function(value) {
37208
+ return jspb.Message.setProto3IntField(this, 6, value);
37209
+ };
37210
+
37211
+
37212
+ /**
37213
+ * optional string currency = 7;
37214
+ * @return {string}
37215
+ */
37216
+ proto.payment.FinancialOperationResponse.prototype.getCurrency = function() {
37217
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
37218
+ };
37219
+
37220
+
37221
+ /**
37222
+ * @param {string} value
37223
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37224
+ */
37225
+ proto.payment.FinancialOperationResponse.prototype.setCurrency = function(value) {
37226
+ return jspb.Message.setProto3StringField(this, 7, value);
37227
+ };
37228
+
37229
+
37230
+ /**
37231
+ * optional int32 currency_scale = 8;
37232
+ * @return {number}
37233
+ */
37234
+ proto.payment.FinancialOperationResponse.prototype.getCurrencyScale = function() {
37235
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
37236
+ };
37237
+
37238
+
37239
+ /**
37240
+ * @param {number} value
37241
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37242
+ */
37243
+ proto.payment.FinancialOperationResponse.prototype.setCurrencyScale = function(value) {
37244
+ return jspb.Message.setProto3IntField(this, 8, value);
37245
+ };
37246
+
37247
+
37248
+ /**
37249
+ * optional int64 balance_before_minor = 9;
37250
+ * @return {number}
37251
+ */
37252
+ proto.payment.FinancialOperationResponse.prototype.getBalanceBeforeMinor = function() {
37253
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
37254
+ };
37255
+
37256
+
37257
+ /**
37258
+ * @param {number} value
37259
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37260
+ */
37261
+ proto.payment.FinancialOperationResponse.prototype.setBalanceBeforeMinor = function(value) {
37262
+ return jspb.Message.setProto3IntField(this, 9, value);
37263
+ };
37264
+
37265
+
37266
+ /**
37267
+ * optional int64 balance_after_minor = 10;
37268
+ * @return {number}
37269
+ */
37270
+ proto.payment.FinancialOperationResponse.prototype.getBalanceAfterMinor = function() {
37271
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
37272
+ };
37273
+
37274
+
37275
+ /**
37276
+ * @param {number} value
37277
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37278
+ */
37279
+ proto.payment.FinancialOperationResponse.prototype.setBalanceAfterMinor = function(value) {
37280
+ return jspb.Message.setProto3IntField(this, 10, value);
37281
+ };
37282
+
37283
+
37284
+ /**
37285
+ * optional string reason = 11;
37286
+ * @return {string}
37287
+ */
37288
+ proto.payment.FinancialOperationResponse.prototype.getReason = function() {
37289
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
37290
+ };
37291
+
37292
+
37293
+ /**
37294
+ * @param {string} value
37295
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37296
+ */
37297
+ proto.payment.FinancialOperationResponse.prototype.setReason = function(value) {
37298
+ return jspb.Message.setProto3StringField(this, 11, value);
37299
+ };
37300
+
37301
+
37302
+ /**
37303
+ * optional string idempotency_id = 12;
37304
+ * @return {string}
37305
+ */
37306
+ proto.payment.FinancialOperationResponse.prototype.getIdempotencyId = function() {
37307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
37308
+ };
37309
+
37310
+
37311
+ /**
37312
+ * @param {string} value
37313
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37314
+ */
37315
+ proto.payment.FinancialOperationResponse.prototype.setIdempotencyId = function(value) {
37316
+ return jspb.Message.setProto3StringField(this, 12, value);
37317
+ };
37318
+
37319
+
37320
+ /**
37321
+ * optional int32 deposit_id = 13;
37322
+ * @return {number}
37323
+ */
37324
+ proto.payment.FinancialOperationResponse.prototype.getDepositId = function() {
37325
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
37326
+ };
37327
+
37328
+
37329
+ /**
37330
+ * @param {number} value
37331
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37332
+ */
37333
+ proto.payment.FinancialOperationResponse.prototype.setDepositId = function(value) {
37334
+ return jspb.Message.setField(this, 13, value);
37335
+ };
37336
+
37337
+
37338
+ /**
37339
+ * Clears the field making it undefined.
37340
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37341
+ */
37342
+ proto.payment.FinancialOperationResponse.prototype.clearDepositId = function() {
37343
+ return jspb.Message.setField(this, 13, undefined);
37344
+ };
37345
+
37346
+
37347
+ /**
37348
+ * Returns whether this field is set.
37349
+ * @return {boolean}
37350
+ */
37351
+ proto.payment.FinancialOperationResponse.prototype.hasDepositId = function() {
37352
+ return jspb.Message.getField(this, 13) != null;
37353
+ };
37354
+
37355
+
37356
+ /**
37357
+ * optional string wager_bucket_id = 14;
37358
+ * @return {string}
37359
+ */
37360
+ proto.payment.FinancialOperationResponse.prototype.getWagerBucketId = function() {
37361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
37362
+ };
37363
+
37364
+
37365
+ /**
37366
+ * @param {string} value
37367
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37368
+ */
37369
+ proto.payment.FinancialOperationResponse.prototype.setWagerBucketId = function(value) {
37370
+ return jspb.Message.setField(this, 14, value);
37371
+ };
37372
+
37373
+
37374
+ /**
37375
+ * Clears the field making it undefined.
37376
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37377
+ */
37378
+ proto.payment.FinancialOperationResponse.prototype.clearWagerBucketId = function() {
37379
+ return jspb.Message.setField(this, 14, undefined);
37380
+ };
37381
+
37382
+
37383
+ /**
37384
+ * Returns whether this field is set.
37385
+ * @return {boolean}
37386
+ */
37387
+ proto.payment.FinancialOperationResponse.prototype.hasWagerBucketId = function() {
37388
+ return jspb.Message.getField(this, 14) != null;
37389
+ };
37390
+
37391
+
37392
+ /**
37393
+ * optional string wager_multiplier = 15;
37394
+ * @return {string}
37395
+ */
37396
+ proto.payment.FinancialOperationResponse.prototype.getWagerMultiplier = function() {
37397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
37398
+ };
37399
+
37400
+
37401
+ /**
37402
+ * @param {string} value
37403
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37404
+ */
37405
+ proto.payment.FinancialOperationResponse.prototype.setWagerMultiplier = function(value) {
37406
+ return jspb.Message.setField(this, 15, value);
37407
+ };
37408
+
37409
+
37410
+ /**
37411
+ * Clears the field making it undefined.
37412
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37413
+ */
37414
+ proto.payment.FinancialOperationResponse.prototype.clearWagerMultiplier = function() {
37415
+ return jspb.Message.setField(this, 15, undefined);
37416
+ };
37417
+
37418
+
37419
+ /**
37420
+ * Returns whether this field is set.
37421
+ * @return {boolean}
37422
+ */
37423
+ proto.payment.FinancialOperationResponse.prototype.hasWagerMultiplier = function() {
37424
+ return jspb.Message.getField(this, 15) != null;
37425
+ };
37426
+
37427
+
37428
+ /**
37429
+ * optional int64 required_wager_minor = 16;
37430
+ * @return {number}
37431
+ */
37432
+ proto.payment.FinancialOperationResponse.prototype.getRequiredWagerMinor = function() {
37433
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
37434
+ };
37435
+
37436
+
37437
+ /**
37438
+ * @param {number} value
37439
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37440
+ */
37441
+ proto.payment.FinancialOperationResponse.prototype.setRequiredWagerMinor = function(value) {
37442
+ return jspb.Message.setField(this, 16, value);
37443
+ };
37444
+
37445
+
37446
+ /**
37447
+ * Clears the field making it undefined.
37448
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37449
+ */
37450
+ proto.payment.FinancialOperationResponse.prototype.clearRequiredWagerMinor = function() {
37451
+ return jspb.Message.setField(this, 16, undefined);
37452
+ };
37453
+
37454
+
37455
+ /**
37456
+ * Returns whether this field is set.
37457
+ * @return {boolean}
37458
+ */
37459
+ proto.payment.FinancialOperationResponse.prototype.hasRequiredWagerMinor = function() {
37460
+ return jspb.Message.getField(this, 16) != null;
37461
+ };
37462
+
37463
+
37464
+ /**
37465
+ * optional string created_at = 17;
37466
+ * @return {string}
37467
+ */
37468
+ proto.payment.FinancialOperationResponse.prototype.getCreatedAt = function() {
37469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
37470
+ };
37471
+
37472
+
37473
+ /**
37474
+ * @param {string} value
37475
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37476
+ */
37477
+ proto.payment.FinancialOperationResponse.prototype.setCreatedAt = function(value) {
37478
+ return jspb.Message.setField(this, 17, value);
37479
+ };
37480
+
37481
+
37482
+ /**
37483
+ * Clears the field making it undefined.
37484
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37485
+ */
37486
+ proto.payment.FinancialOperationResponse.prototype.clearCreatedAt = function() {
37487
+ return jspb.Message.setField(this, 17, undefined);
37488
+ };
37489
+
37490
+
37491
+ /**
37492
+ * Returns whether this field is set.
37493
+ * @return {boolean}
37494
+ */
37495
+ proto.payment.FinancialOperationResponse.prototype.hasCreatedAt = function() {
37496
+ return jspb.Message.getField(this, 17) != null;
37497
+ };
37498
+
37499
+
37500
+ /**
37501
+ * optional string completed_at = 18;
37502
+ * @return {string}
37503
+ */
37504
+ proto.payment.FinancialOperationResponse.prototype.getCompletedAt = function() {
37505
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
37506
+ };
37507
+
37508
+
37509
+ /**
37510
+ * @param {string} value
37511
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37512
+ */
37513
+ proto.payment.FinancialOperationResponse.prototype.setCompletedAt = function(value) {
37514
+ return jspb.Message.setField(this, 18, value);
37515
+ };
37516
+
37517
+
37518
+ /**
37519
+ * Clears the field making it undefined.
37520
+ * @return {!proto.payment.FinancialOperationResponse} returns this
37521
+ */
37522
+ proto.payment.FinancialOperationResponse.prototype.clearCompletedAt = function() {
37523
+ return jspb.Message.setField(this, 18, undefined);
37524
+ };
37525
+
37526
+
37527
+ /**
37528
+ * Returns whether this field is set.
37529
+ * @return {boolean}
37530
+ */
37531
+ proto.payment.FinancialOperationResponse.prototype.hasCompletedAt = function() {
37532
+ return jspb.Message.getField(this, 18) != null;
37533
+ };
37534
+
37535
+
35890
37536
  goog.object.extend(exports, proto.payment);