protobuf-platform 1.2.715 → 1.2.717

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.
@@ -27,9 +27,12 @@ goog.exportSymbol('proto.payment.AdjustmentRequest', null, global);
27
27
  goog.exportSymbol('proto.payment.AdjustmentSearchRequest', null, global);
28
28
  goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
29
29
  goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
30
+ goog.exportSymbol('proto.payment.AvailableRealBalanceRequest', null, global);
31
+ goog.exportSymbol('proto.payment.AvailableRealBalanceResponse', null, global);
30
32
  goog.exportSymbol('proto.payment.BonusBalanceRewardIssueRequest', null, global);
31
33
  goog.exportSymbol('proto.payment.BonusBalanceRewardOperationResponse', null, global);
32
34
  goog.exportSymbol('proto.payment.BonusBalanceRewardReversalRequest', null, global);
35
+ goog.exportSymbol('proto.payment.CaptureMonetaryReservationRequest', null, global);
33
36
  goog.exportSymbol('proto.payment.CashbackClaimCreditRequest', null, global);
34
37
  goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
35
38
  goog.exportSymbol('proto.payment.CashierFieldItemsResponse', null, global);
@@ -108,6 +111,8 @@ goog.exportSymbol('proto.payment.MethodItemsResponse', null, global);
108
111
  goog.exportSymbol('proto.payment.MethodRequest', null, global);
109
112
  goog.exportSymbol('proto.payment.MethodRequest.RequestCase', null, global);
110
113
  goog.exportSymbol('proto.payment.MethodResponse', null, global);
114
+ goog.exportSymbol('proto.payment.MonetaryReservationIdentityRequest', null, global);
115
+ goog.exportSymbol('proto.payment.MonetaryReservationResponse', null, global);
111
116
  goog.exportSymbol('proto.payment.OperationDetailsItem', null, global);
112
117
  goog.exportSymbol('proto.payment.OperationDetailsResponse', null, global);
113
118
  goog.exportSymbol('proto.payment.OperationItem', null, global);
@@ -144,6 +149,7 @@ goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
144
149
  goog.exportSymbol('proto.payment.ReadGameplaySettlementFactRequest', null, global);
145
150
  goog.exportSymbol('proto.payment.ReadGameplaySettlementFactResponse', null, global);
146
151
  goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
152
+ goog.exportSymbol('proto.payment.ReserveRealFundsRequest', null, global);
147
153
  goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
148
154
  goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
149
155
  goog.exportSymbol('proto.payment.SavedDepositCard', null, global);
@@ -173,6 +179,132 @@ goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
173
179
  goog.exportSymbol('proto.payment.WithdrawalWagerBucketHistoryItem', null, global);
174
180
  goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
175
181
  goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
182
+ /**
183
+ * Generated by JsPbCodeGenerator.
184
+ * @param {Array=} opt_data Optional initial data array, typically from a
185
+ * server response, or constructed directly in Javascript. The array is used
186
+ * in place and becomes part of the constructed object. It is not cloned.
187
+ * If no data is provided, the constructed object will be empty, but still
188
+ * valid.
189
+ * @extends {jspb.Message}
190
+ * @constructor
191
+ */
192
+ proto.payment.ReserveRealFundsRequest = function(opt_data) {
193
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
194
+ };
195
+ goog.inherits(proto.payment.ReserveRealFundsRequest, jspb.Message);
196
+ if (goog.DEBUG && !COMPILED) {
197
+ /**
198
+ * @public
199
+ * @override
200
+ */
201
+ proto.payment.ReserveRealFundsRequest.displayName = 'proto.payment.ReserveRealFundsRequest';
202
+ }
203
+ /**
204
+ * Generated by JsPbCodeGenerator.
205
+ * @param {Array=} opt_data Optional initial data array, typically from a
206
+ * server response, or constructed directly in Javascript. The array is used
207
+ * in place and becomes part of the constructed object. It is not cloned.
208
+ * If no data is provided, the constructed object will be empty, but still
209
+ * valid.
210
+ * @extends {jspb.Message}
211
+ * @constructor
212
+ */
213
+ proto.payment.MonetaryReservationIdentityRequest = function(opt_data) {
214
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
215
+ };
216
+ goog.inherits(proto.payment.MonetaryReservationIdentityRequest, jspb.Message);
217
+ if (goog.DEBUG && !COMPILED) {
218
+ /**
219
+ * @public
220
+ * @override
221
+ */
222
+ proto.payment.MonetaryReservationIdentityRequest.displayName = 'proto.payment.MonetaryReservationIdentityRequest';
223
+ }
224
+ /**
225
+ * Generated by JsPbCodeGenerator.
226
+ * @param {Array=} opt_data Optional initial data array, typically from a
227
+ * server response, or constructed directly in Javascript. The array is used
228
+ * in place and becomes part of the constructed object. It is not cloned.
229
+ * If no data is provided, the constructed object will be empty, but still
230
+ * valid.
231
+ * @extends {jspb.Message}
232
+ * @constructor
233
+ */
234
+ proto.payment.CaptureMonetaryReservationRequest = function(opt_data) {
235
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
236
+ };
237
+ goog.inherits(proto.payment.CaptureMonetaryReservationRequest, jspb.Message);
238
+ if (goog.DEBUG && !COMPILED) {
239
+ /**
240
+ * @public
241
+ * @override
242
+ */
243
+ proto.payment.CaptureMonetaryReservationRequest.displayName = 'proto.payment.CaptureMonetaryReservationRequest';
244
+ }
245
+ /**
246
+ * Generated by JsPbCodeGenerator.
247
+ * @param {Array=} opt_data Optional initial data array, typically from a
248
+ * server response, or constructed directly in Javascript. The array is used
249
+ * in place and becomes part of the constructed object. It is not cloned.
250
+ * If no data is provided, the constructed object will be empty, but still
251
+ * valid.
252
+ * @extends {jspb.Message}
253
+ * @constructor
254
+ */
255
+ proto.payment.AvailableRealBalanceRequest = function(opt_data) {
256
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
257
+ };
258
+ goog.inherits(proto.payment.AvailableRealBalanceRequest, jspb.Message);
259
+ if (goog.DEBUG && !COMPILED) {
260
+ /**
261
+ * @public
262
+ * @override
263
+ */
264
+ proto.payment.AvailableRealBalanceRequest.displayName = 'proto.payment.AvailableRealBalanceRequest';
265
+ }
266
+ /**
267
+ * Generated by JsPbCodeGenerator.
268
+ * @param {Array=} opt_data Optional initial data array, typically from a
269
+ * server response, or constructed directly in Javascript. The array is used
270
+ * in place and becomes part of the constructed object. It is not cloned.
271
+ * If no data is provided, the constructed object will be empty, but still
272
+ * valid.
273
+ * @extends {jspb.Message}
274
+ * @constructor
275
+ */
276
+ proto.payment.AvailableRealBalanceResponse = function(opt_data) {
277
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
278
+ };
279
+ goog.inherits(proto.payment.AvailableRealBalanceResponse, jspb.Message);
280
+ if (goog.DEBUG && !COMPILED) {
281
+ /**
282
+ * @public
283
+ * @override
284
+ */
285
+ proto.payment.AvailableRealBalanceResponse.displayName = 'proto.payment.AvailableRealBalanceResponse';
286
+ }
287
+ /**
288
+ * Generated by JsPbCodeGenerator.
289
+ * @param {Array=} opt_data Optional initial data array, typically from a
290
+ * server response, or constructed directly in Javascript. The array is used
291
+ * in place and becomes part of the constructed object. It is not cloned.
292
+ * If no data is provided, the constructed object will be empty, but still
293
+ * valid.
294
+ * @extends {jspb.Message}
295
+ * @constructor
296
+ */
297
+ proto.payment.MonetaryReservationResponse = function(opt_data) {
298
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
299
+ };
300
+ goog.inherits(proto.payment.MonetaryReservationResponse, jspb.Message);
301
+ if (goog.DEBUG && !COMPILED) {
302
+ /**
303
+ * @public
304
+ * @override
305
+ */
306
+ proto.payment.MonetaryReservationResponse.displayName = 'proto.payment.MonetaryReservationResponse';
307
+ }
176
308
  /**
177
309
  * Generated by JsPbCodeGenerator.
178
310
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3144,164 +3276,1748 @@ if (goog.DEBUG && !COMPILED) {
3144
3276
  * @extends {jspb.Message}
3145
3277
  * @constructor
3146
3278
  */
3147
- proto.payment.PaymentLifecycleStatusItemsResponse = function(opt_data) {
3148
- jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_, null);
3279
+ proto.payment.PaymentLifecycleStatusItemsResponse = function(opt_data) {
3280
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentLifecycleStatusItemsResponse.repeatedFields_, null);
3281
+ };
3282
+ goog.inherits(proto.payment.PaymentLifecycleStatusItemsResponse, jspb.Message);
3283
+ if (goog.DEBUG && !COMPILED) {
3284
+ /**
3285
+ * @public
3286
+ * @override
3287
+ */
3288
+ proto.payment.PaymentLifecycleStatusItemsResponse.displayName = 'proto.payment.PaymentLifecycleStatusItemsResponse';
3289
+ }
3290
+ /**
3291
+ * Generated by JsPbCodeGenerator.
3292
+ * @param {Array=} opt_data Optional initial data array, typically from a
3293
+ * server response, or constructed directly in Javascript. The array is used
3294
+ * in place and becomes part of the constructed object. It is not cloned.
3295
+ * If no data is provided, the constructed object will be empty, but still
3296
+ * valid.
3297
+ * @extends {jspb.Message}
3298
+ * @constructor
3299
+ */
3300
+ proto.payment.LoyaltyLevelUpRewardRequest = function(opt_data) {
3301
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3302
+ };
3303
+ goog.inherits(proto.payment.LoyaltyLevelUpRewardRequest, jspb.Message);
3304
+ if (goog.DEBUG && !COMPILED) {
3305
+ /**
3306
+ * @public
3307
+ * @override
3308
+ */
3309
+ proto.payment.LoyaltyLevelUpRewardRequest.displayName = 'proto.payment.LoyaltyLevelUpRewardRequest';
3310
+ }
3311
+ /**
3312
+ * Generated by JsPbCodeGenerator.
3313
+ * @param {Array=} opt_data Optional initial data array, typically from a
3314
+ * server response, or constructed directly in Javascript. The array is used
3315
+ * in place and becomes part of the constructed object. It is not cloned.
3316
+ * If no data is provided, the constructed object will be empty, but still
3317
+ * valid.
3318
+ * @extends {jspb.Message}
3319
+ * @constructor
3320
+ */
3321
+ proto.payment.CashbackClaimCreditRequest = function(opt_data) {
3322
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3323
+ };
3324
+ goog.inherits(proto.payment.CashbackClaimCreditRequest, jspb.Message);
3325
+ if (goog.DEBUG && !COMPILED) {
3326
+ /**
3327
+ * @public
3328
+ * @override
3329
+ */
3330
+ proto.payment.CashbackClaimCreditRequest.displayName = 'proto.payment.CashbackClaimCreditRequest';
3331
+ }
3332
+ /**
3333
+ * Generated by JsPbCodeGenerator.
3334
+ * @param {Array=} opt_data Optional initial data array, typically from a
3335
+ * server response, or constructed directly in Javascript. The array is used
3336
+ * in place and becomes part of the constructed object. It is not cloned.
3337
+ * If no data is provided, the constructed object will be empty, but still
3338
+ * valid.
3339
+ * @extends {jspb.Message}
3340
+ * @constructor
3341
+ */
3342
+ proto.payment.SettleGameplayRequest = function(opt_data) {
3343
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3344
+ };
3345
+ goog.inherits(proto.payment.SettleGameplayRequest, jspb.Message);
3346
+ if (goog.DEBUG && !COMPILED) {
3347
+ /**
3348
+ * @public
3349
+ * @override
3350
+ */
3351
+ proto.payment.SettleGameplayRequest.displayName = 'proto.payment.SettleGameplayRequest';
3352
+ }
3353
+ /**
3354
+ * Generated by JsPbCodeGenerator.
3355
+ * @param {Array=} opt_data Optional initial data array, typically from a
3356
+ * server response, or constructed directly in Javascript. The array is used
3357
+ * in place and becomes part of the constructed object. It is not cloned.
3358
+ * If no data is provided, the constructed object will be empty, but still
3359
+ * valid.
3360
+ * @extends {jspb.Message}
3361
+ * @constructor
3362
+ */
3363
+ proto.payment.SettleGameplayResponse = function(opt_data) {
3364
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3365
+ };
3366
+ goog.inherits(proto.payment.SettleGameplayResponse, jspb.Message);
3367
+ if (goog.DEBUG && !COMPILED) {
3368
+ /**
3369
+ * @public
3370
+ * @override
3371
+ */
3372
+ proto.payment.SettleGameplayResponse.displayName = 'proto.payment.SettleGameplayResponse';
3373
+ }
3374
+ /**
3375
+ * Generated by JsPbCodeGenerator.
3376
+ * @param {Array=} opt_data Optional initial data array, typically from a
3377
+ * server response, or constructed directly in Javascript. The array is used
3378
+ * in place and becomes part of the constructed object. It is not cloned.
3379
+ * If no data is provided, the constructed object will be empty, but still
3380
+ * valid.
3381
+ * @extends {jspb.Message}
3382
+ * @constructor
3383
+ */
3384
+ proto.payment.ReadGameplaySettlementFactRequest = function(opt_data) {
3385
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3386
+ };
3387
+ goog.inherits(proto.payment.ReadGameplaySettlementFactRequest, jspb.Message);
3388
+ if (goog.DEBUG && !COMPILED) {
3389
+ /**
3390
+ * @public
3391
+ * @override
3392
+ */
3393
+ proto.payment.ReadGameplaySettlementFactRequest.displayName = 'proto.payment.ReadGameplaySettlementFactRequest';
3394
+ }
3395
+ /**
3396
+ * Generated by JsPbCodeGenerator.
3397
+ * @param {Array=} opt_data Optional initial data array, typically from a
3398
+ * server response, or constructed directly in Javascript. The array is used
3399
+ * in place and becomes part of the constructed object. It is not cloned.
3400
+ * If no data is provided, the constructed object will be empty, but still
3401
+ * valid.
3402
+ * @extends {jspb.Message}
3403
+ * @constructor
3404
+ */
3405
+ proto.payment.ReadGameplaySettlementFactResponse = function(opt_data) {
3406
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3407
+ };
3408
+ goog.inherits(proto.payment.ReadGameplaySettlementFactResponse, jspb.Message);
3409
+ if (goog.DEBUG && !COMPILED) {
3410
+ /**
3411
+ * @public
3412
+ * @override
3413
+ */
3414
+ proto.payment.ReadGameplaySettlementFactResponse.displayName = 'proto.payment.ReadGameplaySettlementFactResponse';
3415
+ }
3416
+ /**
3417
+ * Generated by JsPbCodeGenerator.
3418
+ * @param {Array=} opt_data Optional initial data array, typically from a
3419
+ * server response, or constructed directly in Javascript. The array is used
3420
+ * in place and becomes part of the constructed object. It is not cloned.
3421
+ * If no data is provided, the constructed object will be empty, but still
3422
+ * valid.
3423
+ * @extends {jspb.Message}
3424
+ * @constructor
3425
+ */
3426
+ proto.payment.LoyaltyLevelUpRewardResponse = function(opt_data) {
3427
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.LoyaltyLevelUpRewardResponse.repeatedFields_, null);
3428
+ };
3429
+ goog.inherits(proto.payment.LoyaltyLevelUpRewardResponse, jspb.Message);
3430
+ if (goog.DEBUG && !COMPILED) {
3431
+ /**
3432
+ * @public
3433
+ * @override
3434
+ */
3435
+ proto.payment.LoyaltyLevelUpRewardResponse.displayName = 'proto.payment.LoyaltyLevelUpRewardResponse';
3436
+ }
3437
+
3438
+
3439
+
3440
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3441
+ /**
3442
+ * Creates an object representation of this proto.
3443
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3444
+ * Optional fields that are not set will be set to undefined.
3445
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3446
+ * For the list of reserved names please see:
3447
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3448
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3449
+ * JSPB instance for transitional soy proto support:
3450
+ * http://goto/soy-param-migration
3451
+ * @return {!Object}
3452
+ */
3453
+ proto.payment.ReserveRealFundsRequest.prototype.toObject = function(opt_includeInstance) {
3454
+ return proto.payment.ReserveRealFundsRequest.toObject(opt_includeInstance, this);
3455
+ };
3456
+
3457
+
3458
+ /**
3459
+ * Static version of the {@see toObject} method.
3460
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3461
+ * the JSPB instance for transitional soy proto support:
3462
+ * http://goto/soy-param-migration
3463
+ * @param {!proto.payment.ReserveRealFundsRequest} msg The msg instance to transform.
3464
+ * @return {!Object}
3465
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3466
+ */
3467
+ proto.payment.ReserveRealFundsRequest.toObject = function(includeInstance, msg) {
3468
+ var f, obj = {
3469
+ identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
3470
+ userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3471
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
3472
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
3473
+ purpose: jspb.Message.getFieldWithDefault(msg, 5, ""),
3474
+ source: jspb.Message.getFieldWithDefault(msg, 6, "")
3475
+ };
3476
+
3477
+ if (includeInstance) {
3478
+ obj.$jspbMessageInstance = msg;
3479
+ }
3480
+ return obj;
3481
+ };
3482
+ }
3483
+
3484
+
3485
+ /**
3486
+ * Deserializes binary data (in protobuf wire format).
3487
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3488
+ * @return {!proto.payment.ReserveRealFundsRequest}
3489
+ */
3490
+ proto.payment.ReserveRealFundsRequest.deserializeBinary = function(bytes) {
3491
+ var reader = new jspb.BinaryReader(bytes);
3492
+ var msg = new proto.payment.ReserveRealFundsRequest;
3493
+ return proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader(msg, reader);
3494
+ };
3495
+
3496
+
3497
+ /**
3498
+ * Deserializes binary data (in protobuf wire format) from the
3499
+ * given reader into the given message object.
3500
+ * @param {!proto.payment.ReserveRealFundsRequest} msg The message object to deserialize into.
3501
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3502
+ * @return {!proto.payment.ReserveRealFundsRequest}
3503
+ */
3504
+ proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader = function(msg, reader) {
3505
+ while (reader.nextField()) {
3506
+ if (reader.isEndGroup()) {
3507
+ break;
3508
+ }
3509
+ var field = reader.getFieldNumber();
3510
+ switch (field) {
3511
+ case 1:
3512
+ var value = /** @type {string} */ (reader.readString());
3513
+ msg.setIdentity(value);
3514
+ break;
3515
+ case 2:
3516
+ var value = /** @type {string} */ (reader.readString());
3517
+ msg.setUserId(value);
3518
+ break;
3519
+ case 3:
3520
+ var value = /** @type {string} */ (reader.readString());
3521
+ msg.setCurrency(value);
3522
+ break;
3523
+ case 4:
3524
+ var value = /** @type {string} */ (reader.readString());
3525
+ msg.setAmountMinor(value);
3526
+ break;
3527
+ case 5:
3528
+ var value = /** @type {string} */ (reader.readString());
3529
+ msg.setPurpose(value);
3530
+ break;
3531
+ case 6:
3532
+ var value = /** @type {string} */ (reader.readString());
3533
+ msg.setSource(value);
3534
+ break;
3535
+ default:
3536
+ reader.skipField();
3537
+ break;
3538
+ }
3539
+ }
3540
+ return msg;
3541
+ };
3542
+
3543
+
3544
+ /**
3545
+ * Serializes the message to binary data (in protobuf wire format).
3546
+ * @return {!Uint8Array}
3547
+ */
3548
+ proto.payment.ReserveRealFundsRequest.prototype.serializeBinary = function() {
3549
+ var writer = new jspb.BinaryWriter();
3550
+ proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter(this, writer);
3551
+ return writer.getResultBuffer();
3552
+ };
3553
+
3554
+
3555
+ /**
3556
+ * Serializes the given message to binary data (in protobuf wire
3557
+ * format), writing to the given BinaryWriter.
3558
+ * @param {!proto.payment.ReserveRealFundsRequest} message
3559
+ * @param {!jspb.BinaryWriter} writer
3560
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3561
+ */
3562
+ proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter = function(message, writer) {
3563
+ var f = undefined;
3564
+ f = message.getIdentity();
3565
+ if (f.length > 0) {
3566
+ writer.writeString(
3567
+ 1,
3568
+ f
3569
+ );
3570
+ }
3571
+ f = message.getUserId();
3572
+ if (f.length > 0) {
3573
+ writer.writeString(
3574
+ 2,
3575
+ f
3576
+ );
3577
+ }
3578
+ f = message.getCurrency();
3579
+ if (f.length > 0) {
3580
+ writer.writeString(
3581
+ 3,
3582
+ f
3583
+ );
3584
+ }
3585
+ f = message.getAmountMinor();
3586
+ if (f.length > 0) {
3587
+ writer.writeString(
3588
+ 4,
3589
+ f
3590
+ );
3591
+ }
3592
+ f = message.getPurpose();
3593
+ if (f.length > 0) {
3594
+ writer.writeString(
3595
+ 5,
3596
+ f
3597
+ );
3598
+ }
3599
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
3600
+ if (f != null) {
3601
+ writer.writeString(
3602
+ 6,
3603
+ f
3604
+ );
3605
+ }
3606
+ };
3607
+
3608
+
3609
+ /**
3610
+ * optional string identity = 1;
3611
+ * @return {string}
3612
+ */
3613
+ proto.payment.ReserveRealFundsRequest.prototype.getIdentity = function() {
3614
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3615
+ };
3616
+
3617
+
3618
+ /**
3619
+ * @param {string} value
3620
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3621
+ */
3622
+ proto.payment.ReserveRealFundsRequest.prototype.setIdentity = function(value) {
3623
+ return jspb.Message.setProto3StringField(this, 1, value);
3624
+ };
3625
+
3626
+
3627
+ /**
3628
+ * optional string user_id = 2;
3629
+ * @return {string}
3630
+ */
3631
+ proto.payment.ReserveRealFundsRequest.prototype.getUserId = function() {
3632
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3633
+ };
3634
+
3635
+
3636
+ /**
3637
+ * @param {string} value
3638
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3639
+ */
3640
+ proto.payment.ReserveRealFundsRequest.prototype.setUserId = function(value) {
3641
+ return jspb.Message.setProto3StringField(this, 2, value);
3642
+ };
3643
+
3644
+
3645
+ /**
3646
+ * optional string currency = 3;
3647
+ * @return {string}
3648
+ */
3649
+ proto.payment.ReserveRealFundsRequest.prototype.getCurrency = function() {
3650
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3651
+ };
3652
+
3653
+
3654
+ /**
3655
+ * @param {string} value
3656
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3657
+ */
3658
+ proto.payment.ReserveRealFundsRequest.prototype.setCurrency = function(value) {
3659
+ return jspb.Message.setProto3StringField(this, 3, value);
3660
+ };
3661
+
3662
+
3663
+ /**
3664
+ * optional string amount_minor = 4;
3665
+ * @return {string}
3666
+ */
3667
+ proto.payment.ReserveRealFundsRequest.prototype.getAmountMinor = function() {
3668
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3669
+ };
3670
+
3671
+
3672
+ /**
3673
+ * @param {string} value
3674
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3675
+ */
3676
+ proto.payment.ReserveRealFundsRequest.prototype.setAmountMinor = function(value) {
3677
+ return jspb.Message.setProto3StringField(this, 4, value);
3678
+ };
3679
+
3680
+
3681
+ /**
3682
+ * optional string purpose = 5;
3683
+ * @return {string}
3684
+ */
3685
+ proto.payment.ReserveRealFundsRequest.prototype.getPurpose = function() {
3686
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3687
+ };
3688
+
3689
+
3690
+ /**
3691
+ * @param {string} value
3692
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3693
+ */
3694
+ proto.payment.ReserveRealFundsRequest.prototype.setPurpose = function(value) {
3695
+ return jspb.Message.setProto3StringField(this, 5, value);
3696
+ };
3697
+
3698
+
3699
+ /**
3700
+ * optional string source = 6;
3701
+ * @return {string}
3702
+ */
3703
+ proto.payment.ReserveRealFundsRequest.prototype.getSource = function() {
3704
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3705
+ };
3706
+
3707
+
3708
+ /**
3709
+ * @param {string} value
3710
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3711
+ */
3712
+ proto.payment.ReserveRealFundsRequest.prototype.setSource = function(value) {
3713
+ return jspb.Message.setField(this, 6, value);
3714
+ };
3715
+
3716
+
3717
+ /**
3718
+ * Clears the field making it undefined.
3719
+ * @return {!proto.payment.ReserveRealFundsRequest} returns this
3720
+ */
3721
+ proto.payment.ReserveRealFundsRequest.prototype.clearSource = function() {
3722
+ return jspb.Message.setField(this, 6, undefined);
3723
+ };
3724
+
3725
+
3726
+ /**
3727
+ * Returns whether this field is set.
3728
+ * @return {boolean}
3729
+ */
3730
+ proto.payment.ReserveRealFundsRequest.prototype.hasSource = function() {
3731
+ return jspb.Message.getField(this, 6) != null;
3732
+ };
3733
+
3734
+
3735
+
3736
+
3737
+
3738
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3739
+ /**
3740
+ * Creates an object representation of this proto.
3741
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3742
+ * Optional fields that are not set will be set to undefined.
3743
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3744
+ * For the list of reserved names please see:
3745
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3746
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3747
+ * JSPB instance for transitional soy proto support:
3748
+ * http://goto/soy-param-migration
3749
+ * @return {!Object}
3750
+ */
3751
+ proto.payment.MonetaryReservationIdentityRequest.prototype.toObject = function(opt_includeInstance) {
3752
+ return proto.payment.MonetaryReservationIdentityRequest.toObject(opt_includeInstance, this);
3753
+ };
3754
+
3755
+
3756
+ /**
3757
+ * Static version of the {@see toObject} method.
3758
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3759
+ * the JSPB instance for transitional soy proto support:
3760
+ * http://goto/soy-param-migration
3761
+ * @param {!proto.payment.MonetaryReservationIdentityRequest} msg The msg instance to transform.
3762
+ * @return {!Object}
3763
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3764
+ */
3765
+ proto.payment.MonetaryReservationIdentityRequest.toObject = function(includeInstance, msg) {
3766
+ var f, obj = {
3767
+ identity: jspb.Message.getFieldWithDefault(msg, 1, "")
3768
+ };
3769
+
3770
+ if (includeInstance) {
3771
+ obj.$jspbMessageInstance = msg;
3772
+ }
3773
+ return obj;
3774
+ };
3775
+ }
3776
+
3777
+
3778
+ /**
3779
+ * Deserializes binary data (in protobuf wire format).
3780
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3781
+ * @return {!proto.payment.MonetaryReservationIdentityRequest}
3782
+ */
3783
+ proto.payment.MonetaryReservationIdentityRequest.deserializeBinary = function(bytes) {
3784
+ var reader = new jspb.BinaryReader(bytes);
3785
+ var msg = new proto.payment.MonetaryReservationIdentityRequest;
3786
+ return proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader(msg, reader);
3787
+ };
3788
+
3789
+
3790
+ /**
3791
+ * Deserializes binary data (in protobuf wire format) from the
3792
+ * given reader into the given message object.
3793
+ * @param {!proto.payment.MonetaryReservationIdentityRequest} msg The message object to deserialize into.
3794
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3795
+ * @return {!proto.payment.MonetaryReservationIdentityRequest}
3796
+ */
3797
+ proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader = function(msg, reader) {
3798
+ while (reader.nextField()) {
3799
+ if (reader.isEndGroup()) {
3800
+ break;
3801
+ }
3802
+ var field = reader.getFieldNumber();
3803
+ switch (field) {
3804
+ case 1:
3805
+ var value = /** @type {string} */ (reader.readString());
3806
+ msg.setIdentity(value);
3807
+ break;
3808
+ default:
3809
+ reader.skipField();
3810
+ break;
3811
+ }
3812
+ }
3813
+ return msg;
3814
+ };
3815
+
3816
+
3817
+ /**
3818
+ * Serializes the message to binary data (in protobuf wire format).
3819
+ * @return {!Uint8Array}
3820
+ */
3821
+ proto.payment.MonetaryReservationIdentityRequest.prototype.serializeBinary = function() {
3822
+ var writer = new jspb.BinaryWriter();
3823
+ proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter(this, writer);
3824
+ return writer.getResultBuffer();
3825
+ };
3826
+
3827
+
3828
+ /**
3829
+ * Serializes the given message to binary data (in protobuf wire
3830
+ * format), writing to the given BinaryWriter.
3831
+ * @param {!proto.payment.MonetaryReservationIdentityRequest} message
3832
+ * @param {!jspb.BinaryWriter} writer
3833
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3834
+ */
3835
+ proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter = function(message, writer) {
3836
+ var f = undefined;
3837
+ f = message.getIdentity();
3838
+ if (f.length > 0) {
3839
+ writer.writeString(
3840
+ 1,
3841
+ f
3842
+ );
3843
+ }
3844
+ };
3845
+
3846
+
3847
+ /**
3848
+ * optional string identity = 1;
3849
+ * @return {string}
3850
+ */
3851
+ proto.payment.MonetaryReservationIdentityRequest.prototype.getIdentity = function() {
3852
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3853
+ };
3854
+
3855
+
3856
+ /**
3857
+ * @param {string} value
3858
+ * @return {!proto.payment.MonetaryReservationIdentityRequest} returns this
3859
+ */
3860
+ proto.payment.MonetaryReservationIdentityRequest.prototype.setIdentity = function(value) {
3861
+ return jspb.Message.setProto3StringField(this, 1, value);
3862
+ };
3863
+
3864
+
3865
+
3866
+
3867
+
3868
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3869
+ /**
3870
+ * Creates an object representation of this proto.
3871
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3872
+ * Optional fields that are not set will be set to undefined.
3873
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3874
+ * For the list of reserved names please see:
3875
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3876
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3877
+ * JSPB instance for transitional soy proto support:
3878
+ * http://goto/soy-param-migration
3879
+ * @return {!Object}
3880
+ */
3881
+ proto.payment.CaptureMonetaryReservationRequest.prototype.toObject = function(opt_includeInstance) {
3882
+ return proto.payment.CaptureMonetaryReservationRequest.toObject(opt_includeInstance, this);
3883
+ };
3884
+
3885
+
3886
+ /**
3887
+ * Static version of the {@see toObject} method.
3888
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3889
+ * the JSPB instance for transitional soy proto support:
3890
+ * http://goto/soy-param-migration
3891
+ * @param {!proto.payment.CaptureMonetaryReservationRequest} msg The msg instance to transform.
3892
+ * @return {!Object}
3893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3894
+ */
3895
+ proto.payment.CaptureMonetaryReservationRequest.toObject = function(includeInstance, msg) {
3896
+ var f, obj = {
3897
+ identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
3898
+ accountType: jspb.Message.getFieldWithDefault(msg, 2, ""),
3899
+ operationType: jspb.Message.getFieldWithDefault(msg, 3, ""),
3900
+ reason: jspb.Message.getFieldWithDefault(msg, 4, "")
3901
+ };
3902
+
3903
+ if (includeInstance) {
3904
+ obj.$jspbMessageInstance = msg;
3905
+ }
3906
+ return obj;
3907
+ };
3908
+ }
3909
+
3910
+
3911
+ /**
3912
+ * Deserializes binary data (in protobuf wire format).
3913
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3914
+ * @return {!proto.payment.CaptureMonetaryReservationRequest}
3915
+ */
3916
+ proto.payment.CaptureMonetaryReservationRequest.deserializeBinary = function(bytes) {
3917
+ var reader = new jspb.BinaryReader(bytes);
3918
+ var msg = new proto.payment.CaptureMonetaryReservationRequest;
3919
+ return proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader(msg, reader);
3920
+ };
3921
+
3922
+
3923
+ /**
3924
+ * Deserializes binary data (in protobuf wire format) from the
3925
+ * given reader into the given message object.
3926
+ * @param {!proto.payment.CaptureMonetaryReservationRequest} msg The message object to deserialize into.
3927
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3928
+ * @return {!proto.payment.CaptureMonetaryReservationRequest}
3929
+ */
3930
+ proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader = function(msg, reader) {
3931
+ while (reader.nextField()) {
3932
+ if (reader.isEndGroup()) {
3933
+ break;
3934
+ }
3935
+ var field = reader.getFieldNumber();
3936
+ switch (field) {
3937
+ case 1:
3938
+ var value = /** @type {string} */ (reader.readString());
3939
+ msg.setIdentity(value);
3940
+ break;
3941
+ case 2:
3942
+ var value = /** @type {string} */ (reader.readString());
3943
+ msg.setAccountType(value);
3944
+ break;
3945
+ case 3:
3946
+ var value = /** @type {string} */ (reader.readString());
3947
+ msg.setOperationType(value);
3948
+ break;
3949
+ case 4:
3950
+ var value = /** @type {string} */ (reader.readString());
3951
+ msg.setReason(value);
3952
+ break;
3953
+ default:
3954
+ reader.skipField();
3955
+ break;
3956
+ }
3957
+ }
3958
+ return msg;
3959
+ };
3960
+
3961
+
3962
+ /**
3963
+ * Serializes the message to binary data (in protobuf wire format).
3964
+ * @return {!Uint8Array}
3965
+ */
3966
+ proto.payment.CaptureMonetaryReservationRequest.prototype.serializeBinary = function() {
3967
+ var writer = new jspb.BinaryWriter();
3968
+ proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter(this, writer);
3969
+ return writer.getResultBuffer();
3970
+ };
3971
+
3972
+
3973
+ /**
3974
+ * Serializes the given message to binary data (in protobuf wire
3975
+ * format), writing to the given BinaryWriter.
3976
+ * @param {!proto.payment.CaptureMonetaryReservationRequest} message
3977
+ * @param {!jspb.BinaryWriter} writer
3978
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3979
+ */
3980
+ proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter = function(message, writer) {
3981
+ var f = undefined;
3982
+ f = message.getIdentity();
3983
+ if (f.length > 0) {
3984
+ writer.writeString(
3985
+ 1,
3986
+ f
3987
+ );
3988
+ }
3989
+ f = message.getAccountType();
3990
+ if (f.length > 0) {
3991
+ writer.writeString(
3992
+ 2,
3993
+ f
3994
+ );
3995
+ }
3996
+ f = message.getOperationType();
3997
+ if (f.length > 0) {
3998
+ writer.writeString(
3999
+ 3,
4000
+ f
4001
+ );
4002
+ }
4003
+ f = message.getReason();
4004
+ if (f.length > 0) {
4005
+ writer.writeString(
4006
+ 4,
4007
+ f
4008
+ );
4009
+ }
4010
+ };
4011
+
4012
+
4013
+ /**
4014
+ * optional string identity = 1;
4015
+ * @return {string}
4016
+ */
4017
+ proto.payment.CaptureMonetaryReservationRequest.prototype.getIdentity = function() {
4018
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4019
+ };
4020
+
4021
+
4022
+ /**
4023
+ * @param {string} value
4024
+ * @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
4025
+ */
4026
+ proto.payment.CaptureMonetaryReservationRequest.prototype.setIdentity = function(value) {
4027
+ return jspb.Message.setProto3StringField(this, 1, value);
4028
+ };
4029
+
4030
+
4031
+ /**
4032
+ * optional string account_type = 2;
4033
+ * @return {string}
4034
+ */
4035
+ proto.payment.CaptureMonetaryReservationRequest.prototype.getAccountType = function() {
4036
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4037
+ };
4038
+
4039
+
4040
+ /**
4041
+ * @param {string} value
4042
+ * @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
4043
+ */
4044
+ proto.payment.CaptureMonetaryReservationRequest.prototype.setAccountType = function(value) {
4045
+ return jspb.Message.setProto3StringField(this, 2, value);
4046
+ };
4047
+
4048
+
4049
+ /**
4050
+ * optional string operation_type = 3;
4051
+ * @return {string}
4052
+ */
4053
+ proto.payment.CaptureMonetaryReservationRequest.prototype.getOperationType = function() {
4054
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4055
+ };
4056
+
4057
+
4058
+ /**
4059
+ * @param {string} value
4060
+ * @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
4061
+ */
4062
+ proto.payment.CaptureMonetaryReservationRequest.prototype.setOperationType = function(value) {
4063
+ return jspb.Message.setProto3StringField(this, 3, value);
4064
+ };
4065
+
4066
+
4067
+ /**
4068
+ * optional string reason = 4;
4069
+ * @return {string}
4070
+ */
4071
+ proto.payment.CaptureMonetaryReservationRequest.prototype.getReason = function() {
4072
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4073
+ };
4074
+
4075
+
4076
+ /**
4077
+ * @param {string} value
4078
+ * @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
4079
+ */
4080
+ proto.payment.CaptureMonetaryReservationRequest.prototype.setReason = function(value) {
4081
+ return jspb.Message.setProto3StringField(this, 4, value);
4082
+ };
4083
+
4084
+
4085
+
4086
+
4087
+
4088
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4089
+ /**
4090
+ * Creates an object representation of this proto.
4091
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4092
+ * Optional fields that are not set will be set to undefined.
4093
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4094
+ * For the list of reserved names please see:
4095
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4096
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4097
+ * JSPB instance for transitional soy proto support:
4098
+ * http://goto/soy-param-migration
4099
+ * @return {!Object}
4100
+ */
4101
+ proto.payment.AvailableRealBalanceRequest.prototype.toObject = function(opt_includeInstance) {
4102
+ return proto.payment.AvailableRealBalanceRequest.toObject(opt_includeInstance, this);
4103
+ };
4104
+
4105
+
4106
+ /**
4107
+ * Static version of the {@see toObject} method.
4108
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4109
+ * the JSPB instance for transitional soy proto support:
4110
+ * http://goto/soy-param-migration
4111
+ * @param {!proto.payment.AvailableRealBalanceRequest} msg The msg instance to transform.
4112
+ * @return {!Object}
4113
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4114
+ */
4115
+ proto.payment.AvailableRealBalanceRequest.toObject = function(includeInstance, msg) {
4116
+ var f, obj = {
4117
+ userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4118
+ currency: jspb.Message.getFieldWithDefault(msg, 2, "")
4119
+ };
4120
+
4121
+ if (includeInstance) {
4122
+ obj.$jspbMessageInstance = msg;
4123
+ }
4124
+ return obj;
4125
+ };
4126
+ }
4127
+
4128
+
4129
+ /**
4130
+ * Deserializes binary data (in protobuf wire format).
4131
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4132
+ * @return {!proto.payment.AvailableRealBalanceRequest}
4133
+ */
4134
+ proto.payment.AvailableRealBalanceRequest.deserializeBinary = function(bytes) {
4135
+ var reader = new jspb.BinaryReader(bytes);
4136
+ var msg = new proto.payment.AvailableRealBalanceRequest;
4137
+ return proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader(msg, reader);
4138
+ };
4139
+
4140
+
4141
+ /**
4142
+ * Deserializes binary data (in protobuf wire format) from the
4143
+ * given reader into the given message object.
4144
+ * @param {!proto.payment.AvailableRealBalanceRequest} msg The message object to deserialize into.
4145
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4146
+ * @return {!proto.payment.AvailableRealBalanceRequest}
4147
+ */
4148
+ proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
4149
+ while (reader.nextField()) {
4150
+ if (reader.isEndGroup()) {
4151
+ break;
4152
+ }
4153
+ var field = reader.getFieldNumber();
4154
+ switch (field) {
4155
+ case 1:
4156
+ var value = /** @type {string} */ (reader.readString());
4157
+ msg.setUserId(value);
4158
+ break;
4159
+ case 2:
4160
+ var value = /** @type {string} */ (reader.readString());
4161
+ msg.setCurrency(value);
4162
+ break;
4163
+ default:
4164
+ reader.skipField();
4165
+ break;
4166
+ }
4167
+ }
4168
+ return msg;
4169
+ };
4170
+
4171
+
4172
+ /**
4173
+ * Serializes the message to binary data (in protobuf wire format).
4174
+ * @return {!Uint8Array}
4175
+ */
4176
+ proto.payment.AvailableRealBalanceRequest.prototype.serializeBinary = function() {
4177
+ var writer = new jspb.BinaryWriter();
4178
+ proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter(this, writer);
4179
+ return writer.getResultBuffer();
4180
+ };
4181
+
4182
+
4183
+ /**
4184
+ * Serializes the given message to binary data (in protobuf wire
4185
+ * format), writing to the given BinaryWriter.
4186
+ * @param {!proto.payment.AvailableRealBalanceRequest} message
4187
+ * @param {!jspb.BinaryWriter} writer
4188
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4189
+ */
4190
+ proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter = function(message, writer) {
4191
+ var f = undefined;
4192
+ f = message.getUserId();
4193
+ if (f.length > 0) {
4194
+ writer.writeString(
4195
+ 1,
4196
+ f
4197
+ );
4198
+ }
4199
+ f = message.getCurrency();
4200
+ if (f.length > 0) {
4201
+ writer.writeString(
4202
+ 2,
4203
+ f
4204
+ );
4205
+ }
4206
+ };
4207
+
4208
+
4209
+ /**
4210
+ * optional string user_id = 1;
4211
+ * @return {string}
4212
+ */
4213
+ proto.payment.AvailableRealBalanceRequest.prototype.getUserId = function() {
4214
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4215
+ };
4216
+
4217
+
4218
+ /**
4219
+ * @param {string} value
4220
+ * @return {!proto.payment.AvailableRealBalanceRequest} returns this
4221
+ */
4222
+ proto.payment.AvailableRealBalanceRequest.prototype.setUserId = function(value) {
4223
+ return jspb.Message.setProto3StringField(this, 1, value);
4224
+ };
4225
+
4226
+
4227
+ /**
4228
+ * optional string currency = 2;
4229
+ * @return {string}
4230
+ */
4231
+ proto.payment.AvailableRealBalanceRequest.prototype.getCurrency = function() {
4232
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4233
+ };
4234
+
4235
+
4236
+ /**
4237
+ * @param {string} value
4238
+ * @return {!proto.payment.AvailableRealBalanceRequest} returns this
4239
+ */
4240
+ proto.payment.AvailableRealBalanceRequest.prototype.setCurrency = function(value) {
4241
+ return jspb.Message.setProto3StringField(this, 2, value);
4242
+ };
4243
+
4244
+
4245
+
4246
+
4247
+
4248
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4249
+ /**
4250
+ * Creates an object representation of this proto.
4251
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4252
+ * Optional fields that are not set will be set to undefined.
4253
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4254
+ * For the list of reserved names please see:
4255
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4256
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4257
+ * JSPB instance for transitional soy proto support:
4258
+ * http://goto/soy-param-migration
4259
+ * @return {!Object}
4260
+ */
4261
+ proto.payment.AvailableRealBalanceResponse.prototype.toObject = function(opt_includeInstance) {
4262
+ return proto.payment.AvailableRealBalanceResponse.toObject(opt_includeInstance, this);
4263
+ };
4264
+
4265
+
4266
+ /**
4267
+ * Static version of the {@see toObject} method.
4268
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4269
+ * the JSPB instance for transitional soy proto support:
4270
+ * http://goto/soy-param-migration
4271
+ * @param {!proto.payment.AvailableRealBalanceResponse} msg The msg instance to transform.
4272
+ * @return {!Object}
4273
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4274
+ */
4275
+ proto.payment.AvailableRealBalanceResponse.toObject = function(includeInstance, msg) {
4276
+ var f, obj = {
4277
+ currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
4278
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
4279
+ bookedMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
4280
+ reservedMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
4281
+ availableMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
4282
+ remainderNumerator: jspb.Message.getFieldWithDefault(msg, 6, ""),
4283
+ remainderDenominator: jspb.Message.getFieldWithDefault(msg, 7, "")
4284
+ };
4285
+
4286
+ if (includeInstance) {
4287
+ obj.$jspbMessageInstance = msg;
4288
+ }
4289
+ return obj;
4290
+ };
4291
+ }
4292
+
4293
+
4294
+ /**
4295
+ * Deserializes binary data (in protobuf wire format).
4296
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4297
+ * @return {!proto.payment.AvailableRealBalanceResponse}
4298
+ */
4299
+ proto.payment.AvailableRealBalanceResponse.deserializeBinary = function(bytes) {
4300
+ var reader = new jspb.BinaryReader(bytes);
4301
+ var msg = new proto.payment.AvailableRealBalanceResponse;
4302
+ return proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader(msg, reader);
4303
+ };
4304
+
4305
+
4306
+ /**
4307
+ * Deserializes binary data (in protobuf wire format) from the
4308
+ * given reader into the given message object.
4309
+ * @param {!proto.payment.AvailableRealBalanceResponse} msg The message object to deserialize into.
4310
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4311
+ * @return {!proto.payment.AvailableRealBalanceResponse}
4312
+ */
4313
+ proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader = function(msg, reader) {
4314
+ while (reader.nextField()) {
4315
+ if (reader.isEndGroup()) {
4316
+ break;
4317
+ }
4318
+ var field = reader.getFieldNumber();
4319
+ switch (field) {
4320
+ case 1:
4321
+ var value = /** @type {string} */ (reader.readString());
4322
+ msg.setCurrency(value);
4323
+ break;
4324
+ case 2:
4325
+ var value = /** @type {number} */ (reader.readInt32());
4326
+ msg.setCurrencyScale(value);
4327
+ break;
4328
+ case 3:
4329
+ var value = /** @type {string} */ (reader.readString());
4330
+ msg.setBookedMinor(value);
4331
+ break;
4332
+ case 4:
4333
+ var value = /** @type {string} */ (reader.readString());
4334
+ msg.setReservedMinor(value);
4335
+ break;
4336
+ case 5:
4337
+ var value = /** @type {string} */ (reader.readString());
4338
+ msg.setAvailableMinor(value);
4339
+ break;
4340
+ case 6:
4341
+ var value = /** @type {string} */ (reader.readString());
4342
+ msg.setRemainderNumerator(value);
4343
+ break;
4344
+ case 7:
4345
+ var value = /** @type {string} */ (reader.readString());
4346
+ msg.setRemainderDenominator(value);
4347
+ break;
4348
+ default:
4349
+ reader.skipField();
4350
+ break;
4351
+ }
4352
+ }
4353
+ return msg;
4354
+ };
4355
+
4356
+
4357
+ /**
4358
+ * Serializes the message to binary data (in protobuf wire format).
4359
+ * @return {!Uint8Array}
4360
+ */
4361
+ proto.payment.AvailableRealBalanceResponse.prototype.serializeBinary = function() {
4362
+ var writer = new jspb.BinaryWriter();
4363
+ proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter(this, writer);
4364
+ return writer.getResultBuffer();
4365
+ };
4366
+
4367
+
4368
+ /**
4369
+ * Serializes the given message to binary data (in protobuf wire
4370
+ * format), writing to the given BinaryWriter.
4371
+ * @param {!proto.payment.AvailableRealBalanceResponse} message
4372
+ * @param {!jspb.BinaryWriter} writer
4373
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4374
+ */
4375
+ proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter = function(message, writer) {
4376
+ var f = undefined;
4377
+ f = message.getCurrency();
4378
+ if (f.length > 0) {
4379
+ writer.writeString(
4380
+ 1,
4381
+ f
4382
+ );
4383
+ }
4384
+ f = message.getCurrencyScale();
4385
+ if (f !== 0) {
4386
+ writer.writeInt32(
4387
+ 2,
4388
+ f
4389
+ );
4390
+ }
4391
+ f = message.getBookedMinor();
4392
+ if (f.length > 0) {
4393
+ writer.writeString(
4394
+ 3,
4395
+ f
4396
+ );
4397
+ }
4398
+ f = message.getReservedMinor();
4399
+ if (f.length > 0) {
4400
+ writer.writeString(
4401
+ 4,
4402
+ f
4403
+ );
4404
+ }
4405
+ f = message.getAvailableMinor();
4406
+ if (f.length > 0) {
4407
+ writer.writeString(
4408
+ 5,
4409
+ f
4410
+ );
4411
+ }
4412
+ f = message.getRemainderNumerator();
4413
+ if (f.length > 0) {
4414
+ writer.writeString(
4415
+ 6,
4416
+ f
4417
+ );
4418
+ }
4419
+ f = message.getRemainderDenominator();
4420
+ if (f.length > 0) {
4421
+ writer.writeString(
4422
+ 7,
4423
+ f
4424
+ );
4425
+ }
4426
+ };
4427
+
4428
+
4429
+ /**
4430
+ * optional string currency = 1;
4431
+ * @return {string}
4432
+ */
4433
+ proto.payment.AvailableRealBalanceResponse.prototype.getCurrency = function() {
4434
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4435
+ };
4436
+
4437
+
4438
+ /**
4439
+ * @param {string} value
4440
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4441
+ */
4442
+ proto.payment.AvailableRealBalanceResponse.prototype.setCurrency = function(value) {
4443
+ return jspb.Message.setProto3StringField(this, 1, value);
4444
+ };
4445
+
4446
+
4447
+ /**
4448
+ * optional int32 currency_scale = 2;
4449
+ * @return {number}
4450
+ */
4451
+ proto.payment.AvailableRealBalanceResponse.prototype.getCurrencyScale = function() {
4452
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4453
+ };
4454
+
4455
+
4456
+ /**
4457
+ * @param {number} value
4458
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4459
+ */
4460
+ proto.payment.AvailableRealBalanceResponse.prototype.setCurrencyScale = function(value) {
4461
+ return jspb.Message.setProto3IntField(this, 2, value);
4462
+ };
4463
+
4464
+
4465
+ /**
4466
+ * optional string booked_minor = 3;
4467
+ * @return {string}
4468
+ */
4469
+ proto.payment.AvailableRealBalanceResponse.prototype.getBookedMinor = function() {
4470
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4471
+ };
4472
+
4473
+
4474
+ /**
4475
+ * @param {string} value
4476
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4477
+ */
4478
+ proto.payment.AvailableRealBalanceResponse.prototype.setBookedMinor = function(value) {
4479
+ return jspb.Message.setProto3StringField(this, 3, value);
4480
+ };
4481
+
4482
+
4483
+ /**
4484
+ * optional string reserved_minor = 4;
4485
+ * @return {string}
4486
+ */
4487
+ proto.payment.AvailableRealBalanceResponse.prototype.getReservedMinor = function() {
4488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4489
+ };
4490
+
4491
+
4492
+ /**
4493
+ * @param {string} value
4494
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4495
+ */
4496
+ proto.payment.AvailableRealBalanceResponse.prototype.setReservedMinor = function(value) {
4497
+ return jspb.Message.setProto3StringField(this, 4, value);
4498
+ };
4499
+
4500
+
4501
+ /**
4502
+ * optional string available_minor = 5;
4503
+ * @return {string}
4504
+ */
4505
+ proto.payment.AvailableRealBalanceResponse.prototype.getAvailableMinor = function() {
4506
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4507
+ };
4508
+
4509
+
4510
+ /**
4511
+ * @param {string} value
4512
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4513
+ */
4514
+ proto.payment.AvailableRealBalanceResponse.prototype.setAvailableMinor = function(value) {
4515
+ return jspb.Message.setProto3StringField(this, 5, value);
4516
+ };
4517
+
4518
+
4519
+ /**
4520
+ * optional string remainder_numerator = 6;
4521
+ * @return {string}
4522
+ */
4523
+ proto.payment.AvailableRealBalanceResponse.prototype.getRemainderNumerator = function() {
4524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4525
+ };
4526
+
4527
+
4528
+ /**
4529
+ * @param {string} value
4530
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4531
+ */
4532
+ proto.payment.AvailableRealBalanceResponse.prototype.setRemainderNumerator = function(value) {
4533
+ return jspb.Message.setProto3StringField(this, 6, value);
4534
+ };
4535
+
4536
+
4537
+ /**
4538
+ * optional string remainder_denominator = 7;
4539
+ * @return {string}
4540
+ */
4541
+ proto.payment.AvailableRealBalanceResponse.prototype.getRemainderDenominator = function() {
4542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4543
+ };
4544
+
4545
+
4546
+ /**
4547
+ * @param {string} value
4548
+ * @return {!proto.payment.AvailableRealBalanceResponse} returns this
4549
+ */
4550
+ proto.payment.AvailableRealBalanceResponse.prototype.setRemainderDenominator = function(value) {
4551
+ return jspb.Message.setProto3StringField(this, 7, value);
4552
+ };
4553
+
4554
+
4555
+
4556
+
4557
+
4558
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4559
+ /**
4560
+ * Creates an object representation of this proto.
4561
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4562
+ * Optional fields that are not set will be set to undefined.
4563
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4564
+ * For the list of reserved names please see:
4565
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4566
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4567
+ * JSPB instance for transitional soy proto support:
4568
+ * http://goto/soy-param-migration
4569
+ * @return {!Object}
4570
+ */
4571
+ proto.payment.MonetaryReservationResponse.prototype.toObject = function(opt_includeInstance) {
4572
+ return proto.payment.MonetaryReservationResponse.toObject(opt_includeInstance, this);
4573
+ };
4574
+
4575
+
4576
+ /**
4577
+ * Static version of the {@see toObject} method.
4578
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4579
+ * the JSPB instance for transitional soy proto support:
4580
+ * http://goto/soy-param-migration
4581
+ * @param {!proto.payment.MonetaryReservationResponse} msg The msg instance to transform.
4582
+ * @return {!Object}
4583
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4584
+ */
4585
+ proto.payment.MonetaryReservationResponse.toObject = function(includeInstance, msg) {
4586
+ var f, obj = {
4587
+ identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
4588
+ outcome: jspb.Message.getFieldWithDefault(msg, 2, ""),
4589
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
4590
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 4, 0),
4591
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
4592
+ availableMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
4593
+ remainderNumerator: jspb.Message.getFieldWithDefault(msg, 7, ""),
4594
+ remainderDenominator: jspb.Message.getFieldWithDefault(msg, 8, ""),
4595
+ operationId: jspb.Message.getFieldWithDefault(msg, 9, ""),
4596
+ snapshotEventId: jspb.Message.getFieldWithDefault(msg, 10, ""),
4597
+ replay: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
4598
+ };
4599
+
4600
+ if (includeInstance) {
4601
+ obj.$jspbMessageInstance = msg;
4602
+ }
4603
+ return obj;
4604
+ };
4605
+ }
4606
+
4607
+
4608
+ /**
4609
+ * Deserializes binary data (in protobuf wire format).
4610
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4611
+ * @return {!proto.payment.MonetaryReservationResponse}
4612
+ */
4613
+ proto.payment.MonetaryReservationResponse.deserializeBinary = function(bytes) {
4614
+ var reader = new jspb.BinaryReader(bytes);
4615
+ var msg = new proto.payment.MonetaryReservationResponse;
4616
+ return proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader(msg, reader);
4617
+ };
4618
+
4619
+
4620
+ /**
4621
+ * Deserializes binary data (in protobuf wire format) from the
4622
+ * given reader into the given message object.
4623
+ * @param {!proto.payment.MonetaryReservationResponse} msg The message object to deserialize into.
4624
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4625
+ * @return {!proto.payment.MonetaryReservationResponse}
4626
+ */
4627
+ proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader = function(msg, reader) {
4628
+ while (reader.nextField()) {
4629
+ if (reader.isEndGroup()) {
4630
+ break;
4631
+ }
4632
+ var field = reader.getFieldNumber();
4633
+ switch (field) {
4634
+ case 1:
4635
+ var value = /** @type {string} */ (reader.readString());
4636
+ msg.setIdentity(value);
4637
+ break;
4638
+ case 2:
4639
+ var value = /** @type {string} */ (reader.readString());
4640
+ msg.setOutcome(value);
4641
+ break;
4642
+ case 3:
4643
+ var value = /** @type {string} */ (reader.readString());
4644
+ msg.setCurrency(value);
4645
+ break;
4646
+ case 4:
4647
+ var value = /** @type {number} */ (reader.readInt32());
4648
+ msg.setCurrencyScale(value);
4649
+ break;
4650
+ case 5:
4651
+ var value = /** @type {string} */ (reader.readString());
4652
+ msg.setAmountMinor(value);
4653
+ break;
4654
+ case 6:
4655
+ var value = /** @type {string} */ (reader.readString());
4656
+ msg.setAvailableMinor(value);
4657
+ break;
4658
+ case 7:
4659
+ var value = /** @type {string} */ (reader.readString());
4660
+ msg.setRemainderNumerator(value);
4661
+ break;
4662
+ case 8:
4663
+ var value = /** @type {string} */ (reader.readString());
4664
+ msg.setRemainderDenominator(value);
4665
+ break;
4666
+ case 9:
4667
+ var value = /** @type {string} */ (reader.readString());
4668
+ msg.setOperationId(value);
4669
+ break;
4670
+ case 10:
4671
+ var value = /** @type {string} */ (reader.readString());
4672
+ msg.setSnapshotEventId(value);
4673
+ break;
4674
+ case 11:
4675
+ var value = /** @type {boolean} */ (reader.readBool());
4676
+ msg.setReplay(value);
4677
+ break;
4678
+ default:
4679
+ reader.skipField();
4680
+ break;
4681
+ }
4682
+ }
4683
+ return msg;
4684
+ };
4685
+
4686
+
4687
+ /**
4688
+ * Serializes the message to binary data (in protobuf wire format).
4689
+ * @return {!Uint8Array}
4690
+ */
4691
+ proto.payment.MonetaryReservationResponse.prototype.serializeBinary = function() {
4692
+ var writer = new jspb.BinaryWriter();
4693
+ proto.payment.MonetaryReservationResponse.serializeBinaryToWriter(this, writer);
4694
+ return writer.getResultBuffer();
4695
+ };
4696
+
4697
+
4698
+ /**
4699
+ * Serializes the given message to binary data (in protobuf wire
4700
+ * format), writing to the given BinaryWriter.
4701
+ * @param {!proto.payment.MonetaryReservationResponse} message
4702
+ * @param {!jspb.BinaryWriter} writer
4703
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4704
+ */
4705
+ proto.payment.MonetaryReservationResponse.serializeBinaryToWriter = function(message, writer) {
4706
+ var f = undefined;
4707
+ f = message.getIdentity();
4708
+ if (f.length > 0) {
4709
+ writer.writeString(
4710
+ 1,
4711
+ f
4712
+ );
4713
+ }
4714
+ f = message.getOutcome();
4715
+ if (f.length > 0) {
4716
+ writer.writeString(
4717
+ 2,
4718
+ f
4719
+ );
4720
+ }
4721
+ f = message.getCurrency();
4722
+ if (f.length > 0) {
4723
+ writer.writeString(
4724
+ 3,
4725
+ f
4726
+ );
4727
+ }
4728
+ f = message.getCurrencyScale();
4729
+ if (f !== 0) {
4730
+ writer.writeInt32(
4731
+ 4,
4732
+ f
4733
+ );
4734
+ }
4735
+ f = message.getAmountMinor();
4736
+ if (f.length > 0) {
4737
+ writer.writeString(
4738
+ 5,
4739
+ f
4740
+ );
4741
+ }
4742
+ f = message.getAvailableMinor();
4743
+ if (f.length > 0) {
4744
+ writer.writeString(
4745
+ 6,
4746
+ f
4747
+ );
4748
+ }
4749
+ f = message.getRemainderNumerator();
4750
+ if (f.length > 0) {
4751
+ writer.writeString(
4752
+ 7,
4753
+ f
4754
+ );
4755
+ }
4756
+ f = message.getRemainderDenominator();
4757
+ if (f.length > 0) {
4758
+ writer.writeString(
4759
+ 8,
4760
+ f
4761
+ );
4762
+ }
4763
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
4764
+ if (f != null) {
4765
+ writer.writeString(
4766
+ 9,
4767
+ f
4768
+ );
4769
+ }
4770
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
4771
+ if (f != null) {
4772
+ writer.writeString(
4773
+ 10,
4774
+ f
4775
+ );
4776
+ }
4777
+ f = message.getReplay();
4778
+ if (f) {
4779
+ writer.writeBool(
4780
+ 11,
4781
+ f
4782
+ );
4783
+ }
4784
+ };
4785
+
4786
+
4787
+ /**
4788
+ * optional string identity = 1;
4789
+ * @return {string}
4790
+ */
4791
+ proto.payment.MonetaryReservationResponse.prototype.getIdentity = function() {
4792
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4793
+ };
4794
+
4795
+
4796
+ /**
4797
+ * @param {string} value
4798
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4799
+ */
4800
+ proto.payment.MonetaryReservationResponse.prototype.setIdentity = function(value) {
4801
+ return jspb.Message.setProto3StringField(this, 1, value);
4802
+ };
4803
+
4804
+
4805
+ /**
4806
+ * optional string outcome = 2;
4807
+ * @return {string}
4808
+ */
4809
+ proto.payment.MonetaryReservationResponse.prototype.getOutcome = function() {
4810
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4811
+ };
4812
+
4813
+
4814
+ /**
4815
+ * @param {string} value
4816
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4817
+ */
4818
+ proto.payment.MonetaryReservationResponse.prototype.setOutcome = function(value) {
4819
+ return jspb.Message.setProto3StringField(this, 2, value);
4820
+ };
4821
+
4822
+
4823
+ /**
4824
+ * optional string currency = 3;
4825
+ * @return {string}
4826
+ */
4827
+ proto.payment.MonetaryReservationResponse.prototype.getCurrency = function() {
4828
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4829
+ };
4830
+
4831
+
4832
+ /**
4833
+ * @param {string} value
4834
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4835
+ */
4836
+ proto.payment.MonetaryReservationResponse.prototype.setCurrency = function(value) {
4837
+ return jspb.Message.setProto3StringField(this, 3, value);
4838
+ };
4839
+
4840
+
4841
+ /**
4842
+ * optional int32 currency_scale = 4;
4843
+ * @return {number}
4844
+ */
4845
+ proto.payment.MonetaryReservationResponse.prototype.getCurrencyScale = function() {
4846
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4847
+ };
4848
+
4849
+
4850
+ /**
4851
+ * @param {number} value
4852
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4853
+ */
4854
+ proto.payment.MonetaryReservationResponse.prototype.setCurrencyScale = function(value) {
4855
+ return jspb.Message.setProto3IntField(this, 4, value);
4856
+ };
4857
+
4858
+
4859
+ /**
4860
+ * optional string amount_minor = 5;
4861
+ * @return {string}
4862
+ */
4863
+ proto.payment.MonetaryReservationResponse.prototype.getAmountMinor = function() {
4864
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4865
+ };
4866
+
4867
+
4868
+ /**
4869
+ * @param {string} value
4870
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4871
+ */
4872
+ proto.payment.MonetaryReservationResponse.prototype.setAmountMinor = function(value) {
4873
+ return jspb.Message.setProto3StringField(this, 5, value);
4874
+ };
4875
+
4876
+
4877
+ /**
4878
+ * optional string available_minor = 6;
4879
+ * @return {string}
4880
+ */
4881
+ proto.payment.MonetaryReservationResponse.prototype.getAvailableMinor = function() {
4882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4883
+ };
4884
+
4885
+
4886
+ /**
4887
+ * @param {string} value
4888
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4889
+ */
4890
+ proto.payment.MonetaryReservationResponse.prototype.setAvailableMinor = function(value) {
4891
+ return jspb.Message.setProto3StringField(this, 6, value);
4892
+ };
4893
+
4894
+
4895
+ /**
4896
+ * optional string remainder_numerator = 7;
4897
+ * @return {string}
4898
+ */
4899
+ proto.payment.MonetaryReservationResponse.prototype.getRemainderNumerator = function() {
4900
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4901
+ };
4902
+
4903
+
4904
+ /**
4905
+ * @param {string} value
4906
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4907
+ */
4908
+ proto.payment.MonetaryReservationResponse.prototype.setRemainderNumerator = function(value) {
4909
+ return jspb.Message.setProto3StringField(this, 7, value);
4910
+ };
4911
+
4912
+
4913
+ /**
4914
+ * optional string remainder_denominator = 8;
4915
+ * @return {string}
4916
+ */
4917
+ proto.payment.MonetaryReservationResponse.prototype.getRemainderDenominator = function() {
4918
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4919
+ };
4920
+
4921
+
4922
+ /**
4923
+ * @param {string} value
4924
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4925
+ */
4926
+ proto.payment.MonetaryReservationResponse.prototype.setRemainderDenominator = function(value) {
4927
+ return jspb.Message.setProto3StringField(this, 8, value);
4928
+ };
4929
+
4930
+
4931
+ /**
4932
+ * optional string operation_id = 9;
4933
+ * @return {string}
4934
+ */
4935
+ proto.payment.MonetaryReservationResponse.prototype.getOperationId = function() {
4936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4937
+ };
4938
+
4939
+
4940
+ /**
4941
+ * @param {string} value
4942
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4943
+ */
4944
+ proto.payment.MonetaryReservationResponse.prototype.setOperationId = function(value) {
4945
+ return jspb.Message.setField(this, 9, value);
4946
+ };
4947
+
4948
+
4949
+ /**
4950
+ * Clears the field making it undefined.
4951
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
4952
+ */
4953
+ proto.payment.MonetaryReservationResponse.prototype.clearOperationId = function() {
4954
+ return jspb.Message.setField(this, 9, undefined);
3149
4955
  };
3150
- goog.inherits(proto.payment.PaymentLifecycleStatusItemsResponse, jspb.Message);
3151
- if (goog.DEBUG && !COMPILED) {
3152
- /**
3153
- * @public
3154
- * @override
3155
- */
3156
- proto.payment.PaymentLifecycleStatusItemsResponse.displayName = 'proto.payment.PaymentLifecycleStatusItemsResponse';
3157
- }
4956
+
4957
+
3158
4958
  /**
3159
- * Generated by JsPbCodeGenerator.
3160
- * @param {Array=} opt_data Optional initial data array, typically from a
3161
- * server response, or constructed directly in Javascript. The array is used
3162
- * in place and becomes part of the constructed object. It is not cloned.
3163
- * If no data is provided, the constructed object will be empty, but still
3164
- * valid.
3165
- * @extends {jspb.Message}
3166
- * @constructor
4959
+ * Returns whether this field is set.
4960
+ * @return {boolean}
3167
4961
  */
3168
- proto.payment.LoyaltyLevelUpRewardRequest = function(opt_data) {
3169
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4962
+ proto.payment.MonetaryReservationResponse.prototype.hasOperationId = function() {
4963
+ return jspb.Message.getField(this, 9) != null;
3170
4964
  };
3171
- goog.inherits(proto.payment.LoyaltyLevelUpRewardRequest, jspb.Message);
3172
- if (goog.DEBUG && !COMPILED) {
3173
- /**
3174
- * @public
3175
- * @override
3176
- */
3177
- proto.payment.LoyaltyLevelUpRewardRequest.displayName = 'proto.payment.LoyaltyLevelUpRewardRequest';
3178
- }
4965
+
4966
+
3179
4967
  /**
3180
- * Generated by JsPbCodeGenerator.
3181
- * @param {Array=} opt_data Optional initial data array, typically from a
3182
- * server response, or constructed directly in Javascript. The array is used
3183
- * in place and becomes part of the constructed object. It is not cloned.
3184
- * If no data is provided, the constructed object will be empty, but still
3185
- * valid.
3186
- * @extends {jspb.Message}
3187
- * @constructor
4968
+ * optional string snapshot_event_id = 10;
4969
+ * @return {string}
3188
4970
  */
3189
- proto.payment.CashbackClaimCreditRequest = function(opt_data) {
3190
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4971
+ proto.payment.MonetaryReservationResponse.prototype.getSnapshotEventId = function() {
4972
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3191
4973
  };
3192
- goog.inherits(proto.payment.CashbackClaimCreditRequest, jspb.Message);
3193
- if (goog.DEBUG && !COMPILED) {
3194
- /**
3195
- * @public
3196
- * @override
3197
- */
3198
- proto.payment.CashbackClaimCreditRequest.displayName = 'proto.payment.CashbackClaimCreditRequest';
3199
- }
4974
+
4975
+
3200
4976
  /**
3201
- * Generated by JsPbCodeGenerator.
3202
- * @param {Array=} opt_data Optional initial data array, typically from a
3203
- * server response, or constructed directly in Javascript. The array is used
3204
- * in place and becomes part of the constructed object. It is not cloned.
3205
- * If no data is provided, the constructed object will be empty, but still
3206
- * valid.
3207
- * @extends {jspb.Message}
3208
- * @constructor
4977
+ * @param {string} value
4978
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
3209
4979
  */
3210
- proto.payment.SettleGameplayRequest = function(opt_data) {
3211
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4980
+ proto.payment.MonetaryReservationResponse.prototype.setSnapshotEventId = function(value) {
4981
+ return jspb.Message.setField(this, 10, value);
3212
4982
  };
3213
- goog.inherits(proto.payment.SettleGameplayRequest, jspb.Message);
3214
- if (goog.DEBUG && !COMPILED) {
3215
- /**
3216
- * @public
3217
- * @override
3218
- */
3219
- proto.payment.SettleGameplayRequest.displayName = 'proto.payment.SettleGameplayRequest';
3220
- }
4983
+
4984
+
3221
4985
  /**
3222
- * Generated by JsPbCodeGenerator.
3223
- * @param {Array=} opt_data Optional initial data array, typically from a
3224
- * server response, or constructed directly in Javascript. The array is used
3225
- * in place and becomes part of the constructed object. It is not cloned.
3226
- * If no data is provided, the constructed object will be empty, but still
3227
- * valid.
3228
- * @extends {jspb.Message}
3229
- * @constructor
4986
+ * Clears the field making it undefined.
4987
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
3230
4988
  */
3231
- proto.payment.SettleGameplayResponse = function(opt_data) {
3232
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4989
+ proto.payment.MonetaryReservationResponse.prototype.clearSnapshotEventId = function() {
4990
+ return jspb.Message.setField(this, 10, undefined);
3233
4991
  };
3234
- goog.inherits(proto.payment.SettleGameplayResponse, jspb.Message);
3235
- if (goog.DEBUG && !COMPILED) {
3236
- /**
3237
- * @public
3238
- * @override
3239
- */
3240
- proto.payment.SettleGameplayResponse.displayName = 'proto.payment.SettleGameplayResponse';
3241
- }
4992
+
4993
+
3242
4994
  /**
3243
- * Generated by JsPbCodeGenerator.
3244
- * @param {Array=} opt_data Optional initial data array, typically from a
3245
- * server response, or constructed directly in Javascript. The array is used
3246
- * in place and becomes part of the constructed object. It is not cloned.
3247
- * If no data is provided, the constructed object will be empty, but still
3248
- * valid.
3249
- * @extends {jspb.Message}
3250
- * @constructor
4995
+ * Returns whether this field is set.
4996
+ * @return {boolean}
3251
4997
  */
3252
- proto.payment.ReadGameplaySettlementFactRequest = function(opt_data) {
3253
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4998
+ proto.payment.MonetaryReservationResponse.prototype.hasSnapshotEventId = function() {
4999
+ return jspb.Message.getField(this, 10) != null;
3254
5000
  };
3255
- goog.inherits(proto.payment.ReadGameplaySettlementFactRequest, jspb.Message);
3256
- if (goog.DEBUG && !COMPILED) {
3257
- /**
3258
- * @public
3259
- * @override
3260
- */
3261
- proto.payment.ReadGameplaySettlementFactRequest.displayName = 'proto.payment.ReadGameplaySettlementFactRequest';
3262
- }
5001
+
5002
+
3263
5003
  /**
3264
- * Generated by JsPbCodeGenerator.
3265
- * @param {Array=} opt_data Optional initial data array, typically from a
3266
- * server response, or constructed directly in Javascript. The array is used
3267
- * in place and becomes part of the constructed object. It is not cloned.
3268
- * If no data is provided, the constructed object will be empty, but still
3269
- * valid.
3270
- * @extends {jspb.Message}
3271
- * @constructor
5004
+ * optional bool replay = 11;
5005
+ * @return {boolean}
3272
5006
  */
3273
- proto.payment.ReadGameplaySettlementFactResponse = function(opt_data) {
3274
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5007
+ proto.payment.MonetaryReservationResponse.prototype.getReplay = function() {
5008
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
3275
5009
  };
3276
- goog.inherits(proto.payment.ReadGameplaySettlementFactResponse, jspb.Message);
3277
- if (goog.DEBUG && !COMPILED) {
3278
- /**
3279
- * @public
3280
- * @override
3281
- */
3282
- proto.payment.ReadGameplaySettlementFactResponse.displayName = 'proto.payment.ReadGameplaySettlementFactResponse';
3283
- }
5010
+
5011
+
3284
5012
  /**
3285
- * Generated by JsPbCodeGenerator.
3286
- * @param {Array=} opt_data Optional initial data array, typically from a
3287
- * server response, or constructed directly in Javascript. The array is used
3288
- * in place and becomes part of the constructed object. It is not cloned.
3289
- * If no data is provided, the constructed object will be empty, but still
3290
- * valid.
3291
- * @extends {jspb.Message}
3292
- * @constructor
5013
+ * @param {boolean} value
5014
+ * @return {!proto.payment.MonetaryReservationResponse} returns this
3293
5015
  */
3294
- proto.payment.LoyaltyLevelUpRewardResponse = function(opt_data) {
3295
- jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.LoyaltyLevelUpRewardResponse.repeatedFields_, null);
5016
+ proto.payment.MonetaryReservationResponse.prototype.setReplay = function(value) {
5017
+ return jspb.Message.setProto3BooleanField(this, 11, value);
3296
5018
  };
3297
- goog.inherits(proto.payment.LoyaltyLevelUpRewardResponse, jspb.Message);
3298
- if (goog.DEBUG && !COMPILED) {
3299
- /**
3300
- * @public
3301
- * @override
3302
- */
3303
- proto.payment.LoyaltyLevelUpRewardResponse.displayName = 'proto.payment.LoyaltyLevelUpRewardResponse';
3304
- }
5019
+
5020
+
3305
5021
 
3306
5022
 
3307
5023
 
@@ -27786,7 +29502,8 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
27786
29502
  paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
27787
29503
  origin: jspb.Message.getFieldWithDefault(msg, 21, ""),
27788
29504
  canonicalStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
27789
- allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f
29505
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
29506
+ operatorDeclineReason: jspb.Message.getFieldWithDefault(msg, 24, "")
27790
29507
  };
27791
29508
 
27792
29509
  if (includeInstance) {
@@ -27915,6 +29632,10 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
27915
29632
  var value = /** @type {string} */ (reader.readString());
27916
29633
  msg.addAllowedStatusActions(value);
27917
29634
  break;
29635
+ case 24:
29636
+ var value = /** @type {string} */ (reader.readString());
29637
+ msg.setOperatorDeclineReason(value);
29638
+ break;
27918
29639
  default:
27919
29640
  reader.skipField();
27920
29641
  break;
@@ -28105,6 +29826,13 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
28105
29826
  f
28106
29827
  );
28107
29828
  }
29829
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
29830
+ if (f != null) {
29831
+ writer.writeString(
29832
+ 24,
29833
+ f
29834
+ );
29835
+ }
28108
29836
  };
28109
29837
 
28110
29838
 
@@ -28919,6 +30647,42 @@ proto.payment.WithdrawalResponse.prototype.clearAllowedStatusActionsList = funct
28919
30647
  };
28920
30648
 
28921
30649
 
30650
+ /**
30651
+ * optional string operator_decline_reason = 24;
30652
+ * @return {string}
30653
+ */
30654
+ proto.payment.WithdrawalResponse.prototype.getOperatorDeclineReason = function() {
30655
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
30656
+ };
30657
+
30658
+
30659
+ /**
30660
+ * @param {string} value
30661
+ * @return {!proto.payment.WithdrawalResponse} returns this
30662
+ */
30663
+ proto.payment.WithdrawalResponse.prototype.setOperatorDeclineReason = function(value) {
30664
+ return jspb.Message.setField(this, 24, value);
30665
+ };
30666
+
30667
+
30668
+ /**
30669
+ * Clears the field making it undefined.
30670
+ * @return {!proto.payment.WithdrawalResponse} returns this
30671
+ */
30672
+ proto.payment.WithdrawalResponse.prototype.clearOperatorDeclineReason = function() {
30673
+ return jspb.Message.setField(this, 24, undefined);
30674
+ };
30675
+
30676
+
30677
+ /**
30678
+ * Returns whether this field is set.
30679
+ * @return {boolean}
30680
+ */
30681
+ proto.payment.WithdrawalResponse.prototype.hasOperatorDeclineReason = function() {
30682
+ return jspb.Message.getField(this, 24) != null;
30683
+ };
30684
+
30685
+
28922
30686
 
28923
30687
  /**
28924
30688
  * List of repeated fields within this message type.
@@ -28981,7 +30745,8 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
28981
30745
  completedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
28982
30746
  origin: jspb.Message.getFieldWithDefault(msg, 22, ""),
28983
30747
  canonicalStatus: jspb.Message.getFieldWithDefault(msg, 23, ""),
28984
- allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f
30748
+ allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f,
30749
+ operatorDeclineReason: jspb.Message.getFieldWithDefault(msg, 25, "")
28985
30750
  };
28986
30751
 
28987
30752
  if (includeInstance) {
@@ -29114,6 +30879,10 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
29114
30879
  var value = /** @type {string} */ (reader.readString());
29115
30880
  msg.addAllowedStatusActions(value);
29116
30881
  break;
30882
+ case 25:
30883
+ var value = /** @type {string} */ (reader.readString());
30884
+ msg.setOperatorDeclineReason(value);
30885
+ break;
29117
30886
  default:
29118
30887
  reader.skipField();
29119
30888
  break;
@@ -29311,6 +31080,13 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
29311
31080
  f
29312
31081
  );
29313
31082
  }
31083
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
31084
+ if (f != null) {
31085
+ writer.writeString(
31086
+ 25,
31087
+ f
31088
+ );
31089
+ }
29314
31090
  };
29315
31091
 
29316
31092
 
@@ -30071,6 +31847,42 @@ proto.payment.WithdrawalItem.prototype.clearAllowedStatusActionsList = function(
30071
31847
  };
30072
31848
 
30073
31849
 
31850
+ /**
31851
+ * optional string operator_decline_reason = 25;
31852
+ * @return {string}
31853
+ */
31854
+ proto.payment.WithdrawalItem.prototype.getOperatorDeclineReason = function() {
31855
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
31856
+ };
31857
+
31858
+
31859
+ /**
31860
+ * @param {string} value
31861
+ * @return {!proto.payment.WithdrawalItem} returns this
31862
+ */
31863
+ proto.payment.WithdrawalItem.prototype.setOperatorDeclineReason = function(value) {
31864
+ return jspb.Message.setField(this, 25, value);
31865
+ };
31866
+
31867
+
31868
+ /**
31869
+ * Clears the field making it undefined.
31870
+ * @return {!proto.payment.WithdrawalItem} returns this
31871
+ */
31872
+ proto.payment.WithdrawalItem.prototype.clearOperatorDeclineReason = function() {
31873
+ return jspb.Message.setField(this, 25, undefined);
31874
+ };
31875
+
31876
+
31877
+ /**
31878
+ * Returns whether this field is set.
31879
+ * @return {boolean}
31880
+ */
31881
+ proto.payment.WithdrawalItem.prototype.hasOperatorDeclineReason = function() {
31882
+ return jspb.Message.getField(this, 25) != null;
31883
+ };
31884
+
31885
+
30074
31886
 
30075
31887
  /**
30076
31888
  * List of repeated fields within this message type.