protobuf-platform 1.2.716 → 1.2.718
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.
- package/loyalty/loyalty.proto +61 -1
- package/loyalty/loyalty_grpc_pb.js +122 -0
- package/loyalty/loyalty_pb.js +2331 -0
- package/package.json +1 -1
- package/payment/payment.proto +62 -0
- package/payment/payment_grpc_pb.js +123 -0
- package/payment/payment_pb.js +2165 -3
- package/scripts/verify-wallet-selection.js +20 -0
- package/user/user.proto +11 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +499 -3
package/payment/payment_pb.js
CHANGED
|
@@ -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);
|
|
@@ -167,12 +173,139 @@ goog.exportSymbol('proto.payment.UserWalletOperationHistoryItemsResponse', null,
|
|
|
167
173
|
goog.exportSymbol('proto.payment.UserWalletOperationHistoryReward', null, global);
|
|
168
174
|
goog.exportSymbol('proto.payment.UserWithdrawalItem', null, global);
|
|
169
175
|
goog.exportSymbol('proto.payment.UserWithdrawalItemsResponse', null, global);
|
|
176
|
+
goog.exportSymbol('proto.payment.WalletCashBalanceItem', null, global);
|
|
170
177
|
goog.exportSymbol('proto.payment.WithdrawalItem', null, global);
|
|
171
178
|
goog.exportSymbol('proto.payment.WithdrawalItemsResponse', null, global);
|
|
172
179
|
goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
|
|
173
180
|
goog.exportSymbol('proto.payment.WithdrawalWagerBucketHistoryItem', null, global);
|
|
174
181
|
goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
|
|
175
182
|
goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
|
|
183
|
+
/**
|
|
184
|
+
* Generated by JsPbCodeGenerator.
|
|
185
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
186
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
187
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
188
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
189
|
+
* valid.
|
|
190
|
+
* @extends {jspb.Message}
|
|
191
|
+
* @constructor
|
|
192
|
+
*/
|
|
193
|
+
proto.payment.ReserveRealFundsRequest = function(opt_data) {
|
|
194
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
195
|
+
};
|
|
196
|
+
goog.inherits(proto.payment.ReserveRealFundsRequest, jspb.Message);
|
|
197
|
+
if (goog.DEBUG && !COMPILED) {
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @override
|
|
201
|
+
*/
|
|
202
|
+
proto.payment.ReserveRealFundsRequest.displayName = 'proto.payment.ReserveRealFundsRequest';
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Generated by JsPbCodeGenerator.
|
|
206
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
207
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
208
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
209
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
210
|
+
* valid.
|
|
211
|
+
* @extends {jspb.Message}
|
|
212
|
+
* @constructor
|
|
213
|
+
*/
|
|
214
|
+
proto.payment.MonetaryReservationIdentityRequest = function(opt_data) {
|
|
215
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
216
|
+
};
|
|
217
|
+
goog.inherits(proto.payment.MonetaryReservationIdentityRequest, jspb.Message);
|
|
218
|
+
if (goog.DEBUG && !COMPILED) {
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @override
|
|
222
|
+
*/
|
|
223
|
+
proto.payment.MonetaryReservationIdentityRequest.displayName = 'proto.payment.MonetaryReservationIdentityRequest';
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Generated by JsPbCodeGenerator.
|
|
227
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
228
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
229
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
230
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
231
|
+
* valid.
|
|
232
|
+
* @extends {jspb.Message}
|
|
233
|
+
* @constructor
|
|
234
|
+
*/
|
|
235
|
+
proto.payment.CaptureMonetaryReservationRequest = function(opt_data) {
|
|
236
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
237
|
+
};
|
|
238
|
+
goog.inherits(proto.payment.CaptureMonetaryReservationRequest, jspb.Message);
|
|
239
|
+
if (goog.DEBUG && !COMPILED) {
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* @override
|
|
243
|
+
*/
|
|
244
|
+
proto.payment.CaptureMonetaryReservationRequest.displayName = 'proto.payment.CaptureMonetaryReservationRequest';
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Generated by JsPbCodeGenerator.
|
|
248
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
249
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
250
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
251
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
252
|
+
* valid.
|
|
253
|
+
* @extends {jspb.Message}
|
|
254
|
+
* @constructor
|
|
255
|
+
*/
|
|
256
|
+
proto.payment.AvailableRealBalanceRequest = function(opt_data) {
|
|
257
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
258
|
+
};
|
|
259
|
+
goog.inherits(proto.payment.AvailableRealBalanceRequest, jspb.Message);
|
|
260
|
+
if (goog.DEBUG && !COMPILED) {
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* @override
|
|
264
|
+
*/
|
|
265
|
+
proto.payment.AvailableRealBalanceRequest.displayName = 'proto.payment.AvailableRealBalanceRequest';
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Generated by JsPbCodeGenerator.
|
|
269
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
270
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
271
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
272
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
273
|
+
* valid.
|
|
274
|
+
* @extends {jspb.Message}
|
|
275
|
+
* @constructor
|
|
276
|
+
*/
|
|
277
|
+
proto.payment.AvailableRealBalanceResponse = function(opt_data) {
|
|
278
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
279
|
+
};
|
|
280
|
+
goog.inherits(proto.payment.AvailableRealBalanceResponse, jspb.Message);
|
|
281
|
+
if (goog.DEBUG && !COMPILED) {
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
* @override
|
|
285
|
+
*/
|
|
286
|
+
proto.payment.AvailableRealBalanceResponse.displayName = 'proto.payment.AvailableRealBalanceResponse';
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Generated by JsPbCodeGenerator.
|
|
290
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
291
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
292
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
293
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
294
|
+
* valid.
|
|
295
|
+
* @extends {jspb.Message}
|
|
296
|
+
* @constructor
|
|
297
|
+
*/
|
|
298
|
+
proto.payment.MonetaryReservationResponse = function(opt_data) {
|
|
299
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
300
|
+
};
|
|
301
|
+
goog.inherits(proto.payment.MonetaryReservationResponse, jspb.Message);
|
|
302
|
+
if (goog.DEBUG && !COMPILED) {
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
* @override
|
|
306
|
+
*/
|
|
307
|
+
proto.payment.MonetaryReservationResponse.displayName = 'proto.payment.MonetaryReservationResponse';
|
|
308
|
+
}
|
|
176
309
|
/**
|
|
177
310
|
* Generated by JsPbCodeGenerator.
|
|
178
311
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2221,7 +2354,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2221
2354
|
* @constructor
|
|
2222
2355
|
*/
|
|
2223
2356
|
proto.payment.ResolveGameWalletContextResponse = function(opt_data) {
|
|
2224
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
2357
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.ResolveGameWalletContextResponse.repeatedFields_, null);
|
|
2225
2358
|
};
|
|
2226
2359
|
goog.inherits(proto.payment.ResolveGameWalletContextResponse, jspb.Message);
|
|
2227
2360
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2231,6 +2364,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2231
2364
|
*/
|
|
2232
2365
|
proto.payment.ResolveGameWalletContextResponse.displayName = 'proto.payment.ResolveGameWalletContextResponse';
|
|
2233
2366
|
}
|
|
2367
|
+
/**
|
|
2368
|
+
* Generated by JsPbCodeGenerator.
|
|
2369
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2370
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2371
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2372
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2373
|
+
* valid.
|
|
2374
|
+
* @extends {jspb.Message}
|
|
2375
|
+
* @constructor
|
|
2376
|
+
*/
|
|
2377
|
+
proto.payment.WalletCashBalanceItem = function(opt_data) {
|
|
2378
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2379
|
+
};
|
|
2380
|
+
goog.inherits(proto.payment.WalletCashBalanceItem, jspb.Message);
|
|
2381
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2382
|
+
/**
|
|
2383
|
+
* @public
|
|
2384
|
+
* @override
|
|
2385
|
+
*/
|
|
2386
|
+
proto.payment.WalletCashBalanceItem.displayName = 'proto.payment.WalletCashBalanceItem';
|
|
2387
|
+
}
|
|
2234
2388
|
/**
|
|
2235
2389
|
* Generated by JsPbCodeGenerator.
|
|
2236
2390
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3305,6 +3459,1590 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3305
3459
|
|
|
3306
3460
|
|
|
3307
3461
|
|
|
3462
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3463
|
+
/**
|
|
3464
|
+
* Creates an object representation of this proto.
|
|
3465
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3466
|
+
* Optional fields that are not set will be set to undefined.
|
|
3467
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3468
|
+
* For the list of reserved names please see:
|
|
3469
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3470
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3471
|
+
* JSPB instance for transitional soy proto support:
|
|
3472
|
+
* http://goto/soy-param-migration
|
|
3473
|
+
* @return {!Object}
|
|
3474
|
+
*/
|
|
3475
|
+
proto.payment.ReserveRealFundsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3476
|
+
return proto.payment.ReserveRealFundsRequest.toObject(opt_includeInstance, this);
|
|
3477
|
+
};
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* Static version of the {@see toObject} method.
|
|
3482
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3483
|
+
* the JSPB instance for transitional soy proto support:
|
|
3484
|
+
* http://goto/soy-param-migration
|
|
3485
|
+
* @param {!proto.payment.ReserveRealFundsRequest} msg The msg instance to transform.
|
|
3486
|
+
* @return {!Object}
|
|
3487
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3488
|
+
*/
|
|
3489
|
+
proto.payment.ReserveRealFundsRequest.toObject = function(includeInstance, msg) {
|
|
3490
|
+
var f, obj = {
|
|
3491
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3492
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3493
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3494
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3495
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3496
|
+
source: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3497
|
+
};
|
|
3498
|
+
|
|
3499
|
+
if (includeInstance) {
|
|
3500
|
+
obj.$jspbMessageInstance = msg;
|
|
3501
|
+
}
|
|
3502
|
+
return obj;
|
|
3503
|
+
};
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
/**
|
|
3508
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3509
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3510
|
+
* @return {!proto.payment.ReserveRealFundsRequest}
|
|
3511
|
+
*/
|
|
3512
|
+
proto.payment.ReserveRealFundsRequest.deserializeBinary = function(bytes) {
|
|
3513
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3514
|
+
var msg = new proto.payment.ReserveRealFundsRequest;
|
|
3515
|
+
return proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3516
|
+
};
|
|
3517
|
+
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3521
|
+
* given reader into the given message object.
|
|
3522
|
+
* @param {!proto.payment.ReserveRealFundsRequest} msg The message object to deserialize into.
|
|
3523
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3524
|
+
* @return {!proto.payment.ReserveRealFundsRequest}
|
|
3525
|
+
*/
|
|
3526
|
+
proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3527
|
+
while (reader.nextField()) {
|
|
3528
|
+
if (reader.isEndGroup()) {
|
|
3529
|
+
break;
|
|
3530
|
+
}
|
|
3531
|
+
var field = reader.getFieldNumber();
|
|
3532
|
+
switch (field) {
|
|
3533
|
+
case 1:
|
|
3534
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3535
|
+
msg.setIdentity(value);
|
|
3536
|
+
break;
|
|
3537
|
+
case 2:
|
|
3538
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3539
|
+
msg.setUserId(value);
|
|
3540
|
+
break;
|
|
3541
|
+
case 3:
|
|
3542
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3543
|
+
msg.setCurrency(value);
|
|
3544
|
+
break;
|
|
3545
|
+
case 4:
|
|
3546
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3547
|
+
msg.setAmountMinor(value);
|
|
3548
|
+
break;
|
|
3549
|
+
case 5:
|
|
3550
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3551
|
+
msg.setPurpose(value);
|
|
3552
|
+
break;
|
|
3553
|
+
case 6:
|
|
3554
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3555
|
+
msg.setSource(value);
|
|
3556
|
+
break;
|
|
3557
|
+
default:
|
|
3558
|
+
reader.skipField();
|
|
3559
|
+
break;
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
return msg;
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3568
|
+
* @return {!Uint8Array}
|
|
3569
|
+
*/
|
|
3570
|
+
proto.payment.ReserveRealFundsRequest.prototype.serializeBinary = function() {
|
|
3571
|
+
var writer = new jspb.BinaryWriter();
|
|
3572
|
+
proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter(this, writer);
|
|
3573
|
+
return writer.getResultBuffer();
|
|
3574
|
+
};
|
|
3575
|
+
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3579
|
+
* format), writing to the given BinaryWriter.
|
|
3580
|
+
* @param {!proto.payment.ReserveRealFundsRequest} message
|
|
3581
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3582
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3583
|
+
*/
|
|
3584
|
+
proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3585
|
+
var f = undefined;
|
|
3586
|
+
f = message.getIdentity();
|
|
3587
|
+
if (f.length > 0) {
|
|
3588
|
+
writer.writeString(
|
|
3589
|
+
1,
|
|
3590
|
+
f
|
|
3591
|
+
);
|
|
3592
|
+
}
|
|
3593
|
+
f = message.getUserId();
|
|
3594
|
+
if (f.length > 0) {
|
|
3595
|
+
writer.writeString(
|
|
3596
|
+
2,
|
|
3597
|
+
f
|
|
3598
|
+
);
|
|
3599
|
+
}
|
|
3600
|
+
f = message.getCurrency();
|
|
3601
|
+
if (f.length > 0) {
|
|
3602
|
+
writer.writeString(
|
|
3603
|
+
3,
|
|
3604
|
+
f
|
|
3605
|
+
);
|
|
3606
|
+
}
|
|
3607
|
+
f = message.getAmountMinor();
|
|
3608
|
+
if (f.length > 0) {
|
|
3609
|
+
writer.writeString(
|
|
3610
|
+
4,
|
|
3611
|
+
f
|
|
3612
|
+
);
|
|
3613
|
+
}
|
|
3614
|
+
f = message.getPurpose();
|
|
3615
|
+
if (f.length > 0) {
|
|
3616
|
+
writer.writeString(
|
|
3617
|
+
5,
|
|
3618
|
+
f
|
|
3619
|
+
);
|
|
3620
|
+
}
|
|
3621
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
3622
|
+
if (f != null) {
|
|
3623
|
+
writer.writeString(
|
|
3624
|
+
6,
|
|
3625
|
+
f
|
|
3626
|
+
);
|
|
3627
|
+
}
|
|
3628
|
+
};
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
/**
|
|
3632
|
+
* optional string identity = 1;
|
|
3633
|
+
* @return {string}
|
|
3634
|
+
*/
|
|
3635
|
+
proto.payment.ReserveRealFundsRequest.prototype.getIdentity = function() {
|
|
3636
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3637
|
+
};
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
/**
|
|
3641
|
+
* @param {string} value
|
|
3642
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3643
|
+
*/
|
|
3644
|
+
proto.payment.ReserveRealFundsRequest.prototype.setIdentity = function(value) {
|
|
3645
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3646
|
+
};
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
/**
|
|
3650
|
+
* optional string user_id = 2;
|
|
3651
|
+
* @return {string}
|
|
3652
|
+
*/
|
|
3653
|
+
proto.payment.ReserveRealFundsRequest.prototype.getUserId = function() {
|
|
3654
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3655
|
+
};
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
/**
|
|
3659
|
+
* @param {string} value
|
|
3660
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3661
|
+
*/
|
|
3662
|
+
proto.payment.ReserveRealFundsRequest.prototype.setUserId = function(value) {
|
|
3663
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* optional string currency = 3;
|
|
3669
|
+
* @return {string}
|
|
3670
|
+
*/
|
|
3671
|
+
proto.payment.ReserveRealFundsRequest.prototype.getCurrency = function() {
|
|
3672
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* @param {string} value
|
|
3678
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3679
|
+
*/
|
|
3680
|
+
proto.payment.ReserveRealFundsRequest.prototype.setCurrency = function(value) {
|
|
3681
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3682
|
+
};
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* optional string amount_minor = 4;
|
|
3687
|
+
* @return {string}
|
|
3688
|
+
*/
|
|
3689
|
+
proto.payment.ReserveRealFundsRequest.prototype.getAmountMinor = function() {
|
|
3690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3691
|
+
};
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* @param {string} value
|
|
3696
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3697
|
+
*/
|
|
3698
|
+
proto.payment.ReserveRealFundsRequest.prototype.setAmountMinor = function(value) {
|
|
3699
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3700
|
+
};
|
|
3701
|
+
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* optional string purpose = 5;
|
|
3705
|
+
* @return {string}
|
|
3706
|
+
*/
|
|
3707
|
+
proto.payment.ReserveRealFundsRequest.prototype.getPurpose = function() {
|
|
3708
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3709
|
+
};
|
|
3710
|
+
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* @param {string} value
|
|
3714
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3715
|
+
*/
|
|
3716
|
+
proto.payment.ReserveRealFundsRequest.prototype.setPurpose = function(value) {
|
|
3717
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3718
|
+
};
|
|
3719
|
+
|
|
3720
|
+
|
|
3721
|
+
/**
|
|
3722
|
+
* optional string source = 6;
|
|
3723
|
+
* @return {string}
|
|
3724
|
+
*/
|
|
3725
|
+
proto.payment.ReserveRealFundsRequest.prototype.getSource = function() {
|
|
3726
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* @param {string} value
|
|
3732
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3733
|
+
*/
|
|
3734
|
+
proto.payment.ReserveRealFundsRequest.prototype.setSource = function(value) {
|
|
3735
|
+
return jspb.Message.setField(this, 6, value);
|
|
3736
|
+
};
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
/**
|
|
3740
|
+
* Clears the field making it undefined.
|
|
3741
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3742
|
+
*/
|
|
3743
|
+
proto.payment.ReserveRealFundsRequest.prototype.clearSource = function() {
|
|
3744
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
3745
|
+
};
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* Returns whether this field is set.
|
|
3750
|
+
* @return {boolean}
|
|
3751
|
+
*/
|
|
3752
|
+
proto.payment.ReserveRealFundsRequest.prototype.hasSource = function() {
|
|
3753
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3761
|
+
/**
|
|
3762
|
+
* Creates an object representation of this proto.
|
|
3763
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3764
|
+
* Optional fields that are not set will be set to undefined.
|
|
3765
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3766
|
+
* For the list of reserved names please see:
|
|
3767
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3768
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3769
|
+
* JSPB instance for transitional soy proto support:
|
|
3770
|
+
* http://goto/soy-param-migration
|
|
3771
|
+
* @return {!Object}
|
|
3772
|
+
*/
|
|
3773
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3774
|
+
return proto.payment.MonetaryReservationIdentityRequest.toObject(opt_includeInstance, this);
|
|
3775
|
+
};
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
/**
|
|
3779
|
+
* Static version of the {@see toObject} method.
|
|
3780
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3781
|
+
* the JSPB instance for transitional soy proto support:
|
|
3782
|
+
* http://goto/soy-param-migration
|
|
3783
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} msg The msg instance to transform.
|
|
3784
|
+
* @return {!Object}
|
|
3785
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3786
|
+
*/
|
|
3787
|
+
proto.payment.MonetaryReservationIdentityRequest.toObject = function(includeInstance, msg) {
|
|
3788
|
+
var f, obj = {
|
|
3789
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
if (includeInstance) {
|
|
3793
|
+
obj.$jspbMessageInstance = msg;
|
|
3794
|
+
}
|
|
3795
|
+
return obj;
|
|
3796
|
+
};
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3802
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3803
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest}
|
|
3804
|
+
*/
|
|
3805
|
+
proto.payment.MonetaryReservationIdentityRequest.deserializeBinary = function(bytes) {
|
|
3806
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3807
|
+
var msg = new proto.payment.MonetaryReservationIdentityRequest;
|
|
3808
|
+
return proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader(msg, reader);
|
|
3809
|
+
};
|
|
3810
|
+
|
|
3811
|
+
|
|
3812
|
+
/**
|
|
3813
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3814
|
+
* given reader into the given message object.
|
|
3815
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} msg The message object to deserialize into.
|
|
3816
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3817
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest}
|
|
3818
|
+
*/
|
|
3819
|
+
proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3820
|
+
while (reader.nextField()) {
|
|
3821
|
+
if (reader.isEndGroup()) {
|
|
3822
|
+
break;
|
|
3823
|
+
}
|
|
3824
|
+
var field = reader.getFieldNumber();
|
|
3825
|
+
switch (field) {
|
|
3826
|
+
case 1:
|
|
3827
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3828
|
+
msg.setIdentity(value);
|
|
3829
|
+
break;
|
|
3830
|
+
default:
|
|
3831
|
+
reader.skipField();
|
|
3832
|
+
break;
|
|
3833
|
+
}
|
|
3834
|
+
}
|
|
3835
|
+
return msg;
|
|
3836
|
+
};
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3841
|
+
* @return {!Uint8Array}
|
|
3842
|
+
*/
|
|
3843
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.serializeBinary = function() {
|
|
3844
|
+
var writer = new jspb.BinaryWriter();
|
|
3845
|
+
proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter(this, writer);
|
|
3846
|
+
return writer.getResultBuffer();
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3852
|
+
* format), writing to the given BinaryWriter.
|
|
3853
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} message
|
|
3854
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3855
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3856
|
+
*/
|
|
3857
|
+
proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3858
|
+
var f = undefined;
|
|
3859
|
+
f = message.getIdentity();
|
|
3860
|
+
if (f.length > 0) {
|
|
3861
|
+
writer.writeString(
|
|
3862
|
+
1,
|
|
3863
|
+
f
|
|
3864
|
+
);
|
|
3865
|
+
}
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* optional string identity = 1;
|
|
3871
|
+
* @return {string}
|
|
3872
|
+
*/
|
|
3873
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.getIdentity = function() {
|
|
3874
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* @param {string} value
|
|
3880
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest} returns this
|
|
3881
|
+
*/
|
|
3882
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.setIdentity = function(value) {
|
|
3883
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3891
|
+
/**
|
|
3892
|
+
* Creates an object representation of this proto.
|
|
3893
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3894
|
+
* Optional fields that are not set will be set to undefined.
|
|
3895
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3896
|
+
* For the list of reserved names please see:
|
|
3897
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3898
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3899
|
+
* JSPB instance for transitional soy proto support:
|
|
3900
|
+
* http://goto/soy-param-migration
|
|
3901
|
+
* @return {!Object}
|
|
3902
|
+
*/
|
|
3903
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3904
|
+
return proto.payment.CaptureMonetaryReservationRequest.toObject(opt_includeInstance, this);
|
|
3905
|
+
};
|
|
3906
|
+
|
|
3907
|
+
|
|
3908
|
+
/**
|
|
3909
|
+
* Static version of the {@see toObject} method.
|
|
3910
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3911
|
+
* the JSPB instance for transitional soy proto support:
|
|
3912
|
+
* http://goto/soy-param-migration
|
|
3913
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} msg The msg instance to transform.
|
|
3914
|
+
* @return {!Object}
|
|
3915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3916
|
+
*/
|
|
3917
|
+
proto.payment.CaptureMonetaryReservationRequest.toObject = function(includeInstance, msg) {
|
|
3918
|
+
var f, obj = {
|
|
3919
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3920
|
+
accountType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3921
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3922
|
+
reason: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3923
|
+
};
|
|
3924
|
+
|
|
3925
|
+
if (includeInstance) {
|
|
3926
|
+
obj.$jspbMessageInstance = msg;
|
|
3927
|
+
}
|
|
3928
|
+
return obj;
|
|
3929
|
+
};
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3935
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3936
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest}
|
|
3937
|
+
*/
|
|
3938
|
+
proto.payment.CaptureMonetaryReservationRequest.deserializeBinary = function(bytes) {
|
|
3939
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3940
|
+
var msg = new proto.payment.CaptureMonetaryReservationRequest;
|
|
3941
|
+
return proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3942
|
+
};
|
|
3943
|
+
|
|
3944
|
+
|
|
3945
|
+
/**
|
|
3946
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3947
|
+
* given reader into the given message object.
|
|
3948
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} msg The message object to deserialize into.
|
|
3949
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3950
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest}
|
|
3951
|
+
*/
|
|
3952
|
+
proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3953
|
+
while (reader.nextField()) {
|
|
3954
|
+
if (reader.isEndGroup()) {
|
|
3955
|
+
break;
|
|
3956
|
+
}
|
|
3957
|
+
var field = reader.getFieldNumber();
|
|
3958
|
+
switch (field) {
|
|
3959
|
+
case 1:
|
|
3960
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3961
|
+
msg.setIdentity(value);
|
|
3962
|
+
break;
|
|
3963
|
+
case 2:
|
|
3964
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3965
|
+
msg.setAccountType(value);
|
|
3966
|
+
break;
|
|
3967
|
+
case 3:
|
|
3968
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3969
|
+
msg.setOperationType(value);
|
|
3970
|
+
break;
|
|
3971
|
+
case 4:
|
|
3972
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3973
|
+
msg.setReason(value);
|
|
3974
|
+
break;
|
|
3975
|
+
default:
|
|
3976
|
+
reader.skipField();
|
|
3977
|
+
break;
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3980
|
+
return msg;
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3986
|
+
* @return {!Uint8Array}
|
|
3987
|
+
*/
|
|
3988
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.serializeBinary = function() {
|
|
3989
|
+
var writer = new jspb.BinaryWriter();
|
|
3990
|
+
proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter(this, writer);
|
|
3991
|
+
return writer.getResultBuffer();
|
|
3992
|
+
};
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
/**
|
|
3996
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3997
|
+
* format), writing to the given BinaryWriter.
|
|
3998
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} message
|
|
3999
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4000
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4001
|
+
*/
|
|
4002
|
+
proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4003
|
+
var f = undefined;
|
|
4004
|
+
f = message.getIdentity();
|
|
4005
|
+
if (f.length > 0) {
|
|
4006
|
+
writer.writeString(
|
|
4007
|
+
1,
|
|
4008
|
+
f
|
|
4009
|
+
);
|
|
4010
|
+
}
|
|
4011
|
+
f = message.getAccountType();
|
|
4012
|
+
if (f.length > 0) {
|
|
4013
|
+
writer.writeString(
|
|
4014
|
+
2,
|
|
4015
|
+
f
|
|
4016
|
+
);
|
|
4017
|
+
}
|
|
4018
|
+
f = message.getOperationType();
|
|
4019
|
+
if (f.length > 0) {
|
|
4020
|
+
writer.writeString(
|
|
4021
|
+
3,
|
|
4022
|
+
f
|
|
4023
|
+
);
|
|
4024
|
+
}
|
|
4025
|
+
f = message.getReason();
|
|
4026
|
+
if (f.length > 0) {
|
|
4027
|
+
writer.writeString(
|
|
4028
|
+
4,
|
|
4029
|
+
f
|
|
4030
|
+
);
|
|
4031
|
+
}
|
|
4032
|
+
};
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
/**
|
|
4036
|
+
* optional string identity = 1;
|
|
4037
|
+
* @return {string}
|
|
4038
|
+
*/
|
|
4039
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getIdentity = function() {
|
|
4040
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4041
|
+
};
|
|
4042
|
+
|
|
4043
|
+
|
|
4044
|
+
/**
|
|
4045
|
+
* @param {string} value
|
|
4046
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4047
|
+
*/
|
|
4048
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setIdentity = function(value) {
|
|
4049
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4050
|
+
};
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* optional string account_type = 2;
|
|
4055
|
+
* @return {string}
|
|
4056
|
+
*/
|
|
4057
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getAccountType = function() {
|
|
4058
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4059
|
+
};
|
|
4060
|
+
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* @param {string} value
|
|
4064
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4065
|
+
*/
|
|
4066
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setAccountType = function(value) {
|
|
4067
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4068
|
+
};
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
/**
|
|
4072
|
+
* optional string operation_type = 3;
|
|
4073
|
+
* @return {string}
|
|
4074
|
+
*/
|
|
4075
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getOperationType = function() {
|
|
4076
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4077
|
+
};
|
|
4078
|
+
|
|
4079
|
+
|
|
4080
|
+
/**
|
|
4081
|
+
* @param {string} value
|
|
4082
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4083
|
+
*/
|
|
4084
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setOperationType = function(value) {
|
|
4085
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4086
|
+
};
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* optional string reason = 4;
|
|
4091
|
+
* @return {string}
|
|
4092
|
+
*/
|
|
4093
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getReason = function() {
|
|
4094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
|
|
4098
|
+
/**
|
|
4099
|
+
* @param {string} value
|
|
4100
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4101
|
+
*/
|
|
4102
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setReason = function(value) {
|
|
4103
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4104
|
+
};
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4111
|
+
/**
|
|
4112
|
+
* Creates an object representation of this proto.
|
|
4113
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4114
|
+
* Optional fields that are not set will be set to undefined.
|
|
4115
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4116
|
+
* For the list of reserved names please see:
|
|
4117
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4118
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4119
|
+
* JSPB instance for transitional soy proto support:
|
|
4120
|
+
* http://goto/soy-param-migration
|
|
4121
|
+
* @return {!Object}
|
|
4122
|
+
*/
|
|
4123
|
+
proto.payment.AvailableRealBalanceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4124
|
+
return proto.payment.AvailableRealBalanceRequest.toObject(opt_includeInstance, this);
|
|
4125
|
+
};
|
|
4126
|
+
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* Static version of the {@see toObject} method.
|
|
4130
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4131
|
+
* the JSPB instance for transitional soy proto support:
|
|
4132
|
+
* http://goto/soy-param-migration
|
|
4133
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} msg The msg instance to transform.
|
|
4134
|
+
* @return {!Object}
|
|
4135
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4136
|
+
*/
|
|
4137
|
+
proto.payment.AvailableRealBalanceRequest.toObject = function(includeInstance, msg) {
|
|
4138
|
+
var f, obj = {
|
|
4139
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4140
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4141
|
+
};
|
|
4142
|
+
|
|
4143
|
+
if (includeInstance) {
|
|
4144
|
+
obj.$jspbMessageInstance = msg;
|
|
4145
|
+
}
|
|
4146
|
+
return obj;
|
|
4147
|
+
};
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4153
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4154
|
+
* @return {!proto.payment.AvailableRealBalanceRequest}
|
|
4155
|
+
*/
|
|
4156
|
+
proto.payment.AvailableRealBalanceRequest.deserializeBinary = function(bytes) {
|
|
4157
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4158
|
+
var msg = new proto.payment.AvailableRealBalanceRequest;
|
|
4159
|
+
return proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader(msg, reader);
|
|
4160
|
+
};
|
|
4161
|
+
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4165
|
+
* given reader into the given message object.
|
|
4166
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} msg The message object to deserialize into.
|
|
4167
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4168
|
+
* @return {!proto.payment.AvailableRealBalanceRequest}
|
|
4169
|
+
*/
|
|
4170
|
+
proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4171
|
+
while (reader.nextField()) {
|
|
4172
|
+
if (reader.isEndGroup()) {
|
|
4173
|
+
break;
|
|
4174
|
+
}
|
|
4175
|
+
var field = reader.getFieldNumber();
|
|
4176
|
+
switch (field) {
|
|
4177
|
+
case 1:
|
|
4178
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4179
|
+
msg.setUserId(value);
|
|
4180
|
+
break;
|
|
4181
|
+
case 2:
|
|
4182
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4183
|
+
msg.setCurrency(value);
|
|
4184
|
+
break;
|
|
4185
|
+
default:
|
|
4186
|
+
reader.skipField();
|
|
4187
|
+
break;
|
|
4188
|
+
}
|
|
4189
|
+
}
|
|
4190
|
+
return msg;
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4196
|
+
* @return {!Uint8Array}
|
|
4197
|
+
*/
|
|
4198
|
+
proto.payment.AvailableRealBalanceRequest.prototype.serializeBinary = function() {
|
|
4199
|
+
var writer = new jspb.BinaryWriter();
|
|
4200
|
+
proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter(this, writer);
|
|
4201
|
+
return writer.getResultBuffer();
|
|
4202
|
+
};
|
|
4203
|
+
|
|
4204
|
+
|
|
4205
|
+
/**
|
|
4206
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4207
|
+
* format), writing to the given BinaryWriter.
|
|
4208
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} message
|
|
4209
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4210
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4211
|
+
*/
|
|
4212
|
+
proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4213
|
+
var f = undefined;
|
|
4214
|
+
f = message.getUserId();
|
|
4215
|
+
if (f.length > 0) {
|
|
4216
|
+
writer.writeString(
|
|
4217
|
+
1,
|
|
4218
|
+
f
|
|
4219
|
+
);
|
|
4220
|
+
}
|
|
4221
|
+
f = message.getCurrency();
|
|
4222
|
+
if (f.length > 0) {
|
|
4223
|
+
writer.writeString(
|
|
4224
|
+
2,
|
|
4225
|
+
f
|
|
4226
|
+
);
|
|
4227
|
+
}
|
|
4228
|
+
};
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* optional string user_id = 1;
|
|
4233
|
+
* @return {string}
|
|
4234
|
+
*/
|
|
4235
|
+
proto.payment.AvailableRealBalanceRequest.prototype.getUserId = function() {
|
|
4236
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4237
|
+
};
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* @param {string} value
|
|
4242
|
+
* @return {!proto.payment.AvailableRealBalanceRequest} returns this
|
|
4243
|
+
*/
|
|
4244
|
+
proto.payment.AvailableRealBalanceRequest.prototype.setUserId = function(value) {
|
|
4245
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4246
|
+
};
|
|
4247
|
+
|
|
4248
|
+
|
|
4249
|
+
/**
|
|
4250
|
+
* optional string currency = 2;
|
|
4251
|
+
* @return {string}
|
|
4252
|
+
*/
|
|
4253
|
+
proto.payment.AvailableRealBalanceRequest.prototype.getCurrency = function() {
|
|
4254
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4255
|
+
};
|
|
4256
|
+
|
|
4257
|
+
|
|
4258
|
+
/**
|
|
4259
|
+
* @param {string} value
|
|
4260
|
+
* @return {!proto.payment.AvailableRealBalanceRequest} returns this
|
|
4261
|
+
*/
|
|
4262
|
+
proto.payment.AvailableRealBalanceRequest.prototype.setCurrency = function(value) {
|
|
4263
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4264
|
+
};
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
|
+
|
|
4268
|
+
|
|
4269
|
+
|
|
4270
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4271
|
+
/**
|
|
4272
|
+
* Creates an object representation of this proto.
|
|
4273
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4274
|
+
* Optional fields that are not set will be set to undefined.
|
|
4275
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4276
|
+
* For the list of reserved names please see:
|
|
4277
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4278
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4279
|
+
* JSPB instance for transitional soy proto support:
|
|
4280
|
+
* http://goto/soy-param-migration
|
|
4281
|
+
* @return {!Object}
|
|
4282
|
+
*/
|
|
4283
|
+
proto.payment.AvailableRealBalanceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4284
|
+
return proto.payment.AvailableRealBalanceResponse.toObject(opt_includeInstance, this);
|
|
4285
|
+
};
|
|
4286
|
+
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* Static version of the {@see toObject} method.
|
|
4290
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4291
|
+
* the JSPB instance for transitional soy proto support:
|
|
4292
|
+
* http://goto/soy-param-migration
|
|
4293
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} msg The msg instance to transform.
|
|
4294
|
+
* @return {!Object}
|
|
4295
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4296
|
+
*/
|
|
4297
|
+
proto.payment.AvailableRealBalanceResponse.toObject = function(includeInstance, msg) {
|
|
4298
|
+
var f, obj = {
|
|
4299
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4300
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4301
|
+
bookedMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4302
|
+
reservedMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4303
|
+
availableMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4304
|
+
remainderNumerator: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4305
|
+
remainderDenominator: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
4306
|
+
};
|
|
4307
|
+
|
|
4308
|
+
if (includeInstance) {
|
|
4309
|
+
obj.$jspbMessageInstance = msg;
|
|
4310
|
+
}
|
|
4311
|
+
return obj;
|
|
4312
|
+
};
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
/**
|
|
4317
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4318
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4319
|
+
* @return {!proto.payment.AvailableRealBalanceResponse}
|
|
4320
|
+
*/
|
|
4321
|
+
proto.payment.AvailableRealBalanceResponse.deserializeBinary = function(bytes) {
|
|
4322
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4323
|
+
var msg = new proto.payment.AvailableRealBalanceResponse;
|
|
4324
|
+
return proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader(msg, reader);
|
|
4325
|
+
};
|
|
4326
|
+
|
|
4327
|
+
|
|
4328
|
+
/**
|
|
4329
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4330
|
+
* given reader into the given message object.
|
|
4331
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} msg The message object to deserialize into.
|
|
4332
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4333
|
+
* @return {!proto.payment.AvailableRealBalanceResponse}
|
|
4334
|
+
*/
|
|
4335
|
+
proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4336
|
+
while (reader.nextField()) {
|
|
4337
|
+
if (reader.isEndGroup()) {
|
|
4338
|
+
break;
|
|
4339
|
+
}
|
|
4340
|
+
var field = reader.getFieldNumber();
|
|
4341
|
+
switch (field) {
|
|
4342
|
+
case 1:
|
|
4343
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4344
|
+
msg.setCurrency(value);
|
|
4345
|
+
break;
|
|
4346
|
+
case 2:
|
|
4347
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4348
|
+
msg.setCurrencyScale(value);
|
|
4349
|
+
break;
|
|
4350
|
+
case 3:
|
|
4351
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4352
|
+
msg.setBookedMinor(value);
|
|
4353
|
+
break;
|
|
4354
|
+
case 4:
|
|
4355
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4356
|
+
msg.setReservedMinor(value);
|
|
4357
|
+
break;
|
|
4358
|
+
case 5:
|
|
4359
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4360
|
+
msg.setAvailableMinor(value);
|
|
4361
|
+
break;
|
|
4362
|
+
case 6:
|
|
4363
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4364
|
+
msg.setRemainderNumerator(value);
|
|
4365
|
+
break;
|
|
4366
|
+
case 7:
|
|
4367
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4368
|
+
msg.setRemainderDenominator(value);
|
|
4369
|
+
break;
|
|
4370
|
+
default:
|
|
4371
|
+
reader.skipField();
|
|
4372
|
+
break;
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
return msg;
|
|
4376
|
+
};
|
|
4377
|
+
|
|
4378
|
+
|
|
4379
|
+
/**
|
|
4380
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4381
|
+
* @return {!Uint8Array}
|
|
4382
|
+
*/
|
|
4383
|
+
proto.payment.AvailableRealBalanceResponse.prototype.serializeBinary = function() {
|
|
4384
|
+
var writer = new jspb.BinaryWriter();
|
|
4385
|
+
proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter(this, writer);
|
|
4386
|
+
return writer.getResultBuffer();
|
|
4387
|
+
};
|
|
4388
|
+
|
|
4389
|
+
|
|
4390
|
+
/**
|
|
4391
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4392
|
+
* format), writing to the given BinaryWriter.
|
|
4393
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} message
|
|
4394
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4395
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4396
|
+
*/
|
|
4397
|
+
proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4398
|
+
var f = undefined;
|
|
4399
|
+
f = message.getCurrency();
|
|
4400
|
+
if (f.length > 0) {
|
|
4401
|
+
writer.writeString(
|
|
4402
|
+
1,
|
|
4403
|
+
f
|
|
4404
|
+
);
|
|
4405
|
+
}
|
|
4406
|
+
f = message.getCurrencyScale();
|
|
4407
|
+
if (f !== 0) {
|
|
4408
|
+
writer.writeInt32(
|
|
4409
|
+
2,
|
|
4410
|
+
f
|
|
4411
|
+
);
|
|
4412
|
+
}
|
|
4413
|
+
f = message.getBookedMinor();
|
|
4414
|
+
if (f.length > 0) {
|
|
4415
|
+
writer.writeString(
|
|
4416
|
+
3,
|
|
4417
|
+
f
|
|
4418
|
+
);
|
|
4419
|
+
}
|
|
4420
|
+
f = message.getReservedMinor();
|
|
4421
|
+
if (f.length > 0) {
|
|
4422
|
+
writer.writeString(
|
|
4423
|
+
4,
|
|
4424
|
+
f
|
|
4425
|
+
);
|
|
4426
|
+
}
|
|
4427
|
+
f = message.getAvailableMinor();
|
|
4428
|
+
if (f.length > 0) {
|
|
4429
|
+
writer.writeString(
|
|
4430
|
+
5,
|
|
4431
|
+
f
|
|
4432
|
+
);
|
|
4433
|
+
}
|
|
4434
|
+
f = message.getRemainderNumerator();
|
|
4435
|
+
if (f.length > 0) {
|
|
4436
|
+
writer.writeString(
|
|
4437
|
+
6,
|
|
4438
|
+
f
|
|
4439
|
+
);
|
|
4440
|
+
}
|
|
4441
|
+
f = message.getRemainderDenominator();
|
|
4442
|
+
if (f.length > 0) {
|
|
4443
|
+
writer.writeString(
|
|
4444
|
+
7,
|
|
4445
|
+
f
|
|
4446
|
+
);
|
|
4447
|
+
}
|
|
4448
|
+
};
|
|
4449
|
+
|
|
4450
|
+
|
|
4451
|
+
/**
|
|
4452
|
+
* optional string currency = 1;
|
|
4453
|
+
* @return {string}
|
|
4454
|
+
*/
|
|
4455
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getCurrency = function() {
|
|
4456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4457
|
+
};
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
/**
|
|
4461
|
+
* @param {string} value
|
|
4462
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4463
|
+
*/
|
|
4464
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setCurrency = function(value) {
|
|
4465
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4466
|
+
};
|
|
4467
|
+
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* optional int32 currency_scale = 2;
|
|
4471
|
+
* @return {number}
|
|
4472
|
+
*/
|
|
4473
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getCurrencyScale = function() {
|
|
4474
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* @param {number} value
|
|
4480
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4481
|
+
*/
|
|
4482
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setCurrencyScale = function(value) {
|
|
4483
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4484
|
+
};
|
|
4485
|
+
|
|
4486
|
+
|
|
4487
|
+
/**
|
|
4488
|
+
* optional string booked_minor = 3;
|
|
4489
|
+
* @return {string}
|
|
4490
|
+
*/
|
|
4491
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getBookedMinor = function() {
|
|
4492
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4493
|
+
};
|
|
4494
|
+
|
|
4495
|
+
|
|
4496
|
+
/**
|
|
4497
|
+
* @param {string} value
|
|
4498
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4499
|
+
*/
|
|
4500
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setBookedMinor = function(value) {
|
|
4501
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4502
|
+
};
|
|
4503
|
+
|
|
4504
|
+
|
|
4505
|
+
/**
|
|
4506
|
+
* optional string reserved_minor = 4;
|
|
4507
|
+
* @return {string}
|
|
4508
|
+
*/
|
|
4509
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getReservedMinor = function() {
|
|
4510
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4511
|
+
};
|
|
4512
|
+
|
|
4513
|
+
|
|
4514
|
+
/**
|
|
4515
|
+
* @param {string} value
|
|
4516
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4517
|
+
*/
|
|
4518
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setReservedMinor = function(value) {
|
|
4519
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4520
|
+
};
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
/**
|
|
4524
|
+
* optional string available_minor = 5;
|
|
4525
|
+
* @return {string}
|
|
4526
|
+
*/
|
|
4527
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getAvailableMinor = function() {
|
|
4528
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4529
|
+
};
|
|
4530
|
+
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
* @param {string} value
|
|
4534
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4535
|
+
*/
|
|
4536
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setAvailableMinor = function(value) {
|
|
4537
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4538
|
+
};
|
|
4539
|
+
|
|
4540
|
+
|
|
4541
|
+
/**
|
|
4542
|
+
* optional string remainder_numerator = 6;
|
|
4543
|
+
* @return {string}
|
|
4544
|
+
*/
|
|
4545
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getRemainderNumerator = function() {
|
|
4546
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4547
|
+
};
|
|
4548
|
+
|
|
4549
|
+
|
|
4550
|
+
/**
|
|
4551
|
+
* @param {string} value
|
|
4552
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4553
|
+
*/
|
|
4554
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setRemainderNumerator = function(value) {
|
|
4555
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4556
|
+
};
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* optional string remainder_denominator = 7;
|
|
4561
|
+
* @return {string}
|
|
4562
|
+
*/
|
|
4563
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getRemainderDenominator = function() {
|
|
4564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
/**
|
|
4569
|
+
* @param {string} value
|
|
4570
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4571
|
+
*/
|
|
4572
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setRemainderDenominator = function(value) {
|
|
4573
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4574
|
+
};
|
|
4575
|
+
|
|
4576
|
+
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
|
|
4580
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4581
|
+
/**
|
|
4582
|
+
* Creates an object representation of this proto.
|
|
4583
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4584
|
+
* Optional fields that are not set will be set to undefined.
|
|
4585
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4586
|
+
* For the list of reserved names please see:
|
|
4587
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4588
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4589
|
+
* JSPB instance for transitional soy proto support:
|
|
4590
|
+
* http://goto/soy-param-migration
|
|
4591
|
+
* @return {!Object}
|
|
4592
|
+
*/
|
|
4593
|
+
proto.payment.MonetaryReservationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4594
|
+
return proto.payment.MonetaryReservationResponse.toObject(opt_includeInstance, this);
|
|
4595
|
+
};
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* Static version of the {@see toObject} method.
|
|
4600
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4601
|
+
* the JSPB instance for transitional soy proto support:
|
|
4602
|
+
* http://goto/soy-param-migration
|
|
4603
|
+
* @param {!proto.payment.MonetaryReservationResponse} msg The msg instance to transform.
|
|
4604
|
+
* @return {!Object}
|
|
4605
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4606
|
+
*/
|
|
4607
|
+
proto.payment.MonetaryReservationResponse.toObject = function(includeInstance, msg) {
|
|
4608
|
+
var f, obj = {
|
|
4609
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4610
|
+
outcome: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4611
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4612
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4613
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4614
|
+
availableMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4615
|
+
remainderNumerator: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4616
|
+
remainderDenominator: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4617
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4618
|
+
snapshotEventId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4619
|
+
replay: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
4620
|
+
};
|
|
4621
|
+
|
|
4622
|
+
if (includeInstance) {
|
|
4623
|
+
obj.$jspbMessageInstance = msg;
|
|
4624
|
+
}
|
|
4625
|
+
return obj;
|
|
4626
|
+
};
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
|
|
4630
|
+
/**
|
|
4631
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4632
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4633
|
+
* @return {!proto.payment.MonetaryReservationResponse}
|
|
4634
|
+
*/
|
|
4635
|
+
proto.payment.MonetaryReservationResponse.deserializeBinary = function(bytes) {
|
|
4636
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4637
|
+
var msg = new proto.payment.MonetaryReservationResponse;
|
|
4638
|
+
return proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader(msg, reader);
|
|
4639
|
+
};
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
/**
|
|
4643
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4644
|
+
* given reader into the given message object.
|
|
4645
|
+
* @param {!proto.payment.MonetaryReservationResponse} msg The message object to deserialize into.
|
|
4646
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4647
|
+
* @return {!proto.payment.MonetaryReservationResponse}
|
|
4648
|
+
*/
|
|
4649
|
+
proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4650
|
+
while (reader.nextField()) {
|
|
4651
|
+
if (reader.isEndGroup()) {
|
|
4652
|
+
break;
|
|
4653
|
+
}
|
|
4654
|
+
var field = reader.getFieldNumber();
|
|
4655
|
+
switch (field) {
|
|
4656
|
+
case 1:
|
|
4657
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4658
|
+
msg.setIdentity(value);
|
|
4659
|
+
break;
|
|
4660
|
+
case 2:
|
|
4661
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4662
|
+
msg.setOutcome(value);
|
|
4663
|
+
break;
|
|
4664
|
+
case 3:
|
|
4665
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4666
|
+
msg.setCurrency(value);
|
|
4667
|
+
break;
|
|
4668
|
+
case 4:
|
|
4669
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4670
|
+
msg.setCurrencyScale(value);
|
|
4671
|
+
break;
|
|
4672
|
+
case 5:
|
|
4673
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4674
|
+
msg.setAmountMinor(value);
|
|
4675
|
+
break;
|
|
4676
|
+
case 6:
|
|
4677
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4678
|
+
msg.setAvailableMinor(value);
|
|
4679
|
+
break;
|
|
4680
|
+
case 7:
|
|
4681
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4682
|
+
msg.setRemainderNumerator(value);
|
|
4683
|
+
break;
|
|
4684
|
+
case 8:
|
|
4685
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4686
|
+
msg.setRemainderDenominator(value);
|
|
4687
|
+
break;
|
|
4688
|
+
case 9:
|
|
4689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4690
|
+
msg.setOperationId(value);
|
|
4691
|
+
break;
|
|
4692
|
+
case 10:
|
|
4693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4694
|
+
msg.setSnapshotEventId(value);
|
|
4695
|
+
break;
|
|
4696
|
+
case 11:
|
|
4697
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4698
|
+
msg.setReplay(value);
|
|
4699
|
+
break;
|
|
4700
|
+
default:
|
|
4701
|
+
reader.skipField();
|
|
4702
|
+
break;
|
|
4703
|
+
}
|
|
4704
|
+
}
|
|
4705
|
+
return msg;
|
|
4706
|
+
};
|
|
4707
|
+
|
|
4708
|
+
|
|
4709
|
+
/**
|
|
4710
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4711
|
+
* @return {!Uint8Array}
|
|
4712
|
+
*/
|
|
4713
|
+
proto.payment.MonetaryReservationResponse.prototype.serializeBinary = function() {
|
|
4714
|
+
var writer = new jspb.BinaryWriter();
|
|
4715
|
+
proto.payment.MonetaryReservationResponse.serializeBinaryToWriter(this, writer);
|
|
4716
|
+
return writer.getResultBuffer();
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4719
|
+
|
|
4720
|
+
/**
|
|
4721
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4722
|
+
* format), writing to the given BinaryWriter.
|
|
4723
|
+
* @param {!proto.payment.MonetaryReservationResponse} message
|
|
4724
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4726
|
+
*/
|
|
4727
|
+
proto.payment.MonetaryReservationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4728
|
+
var f = undefined;
|
|
4729
|
+
f = message.getIdentity();
|
|
4730
|
+
if (f.length > 0) {
|
|
4731
|
+
writer.writeString(
|
|
4732
|
+
1,
|
|
4733
|
+
f
|
|
4734
|
+
);
|
|
4735
|
+
}
|
|
4736
|
+
f = message.getOutcome();
|
|
4737
|
+
if (f.length > 0) {
|
|
4738
|
+
writer.writeString(
|
|
4739
|
+
2,
|
|
4740
|
+
f
|
|
4741
|
+
);
|
|
4742
|
+
}
|
|
4743
|
+
f = message.getCurrency();
|
|
4744
|
+
if (f.length > 0) {
|
|
4745
|
+
writer.writeString(
|
|
4746
|
+
3,
|
|
4747
|
+
f
|
|
4748
|
+
);
|
|
4749
|
+
}
|
|
4750
|
+
f = message.getCurrencyScale();
|
|
4751
|
+
if (f !== 0) {
|
|
4752
|
+
writer.writeInt32(
|
|
4753
|
+
4,
|
|
4754
|
+
f
|
|
4755
|
+
);
|
|
4756
|
+
}
|
|
4757
|
+
f = message.getAmountMinor();
|
|
4758
|
+
if (f.length > 0) {
|
|
4759
|
+
writer.writeString(
|
|
4760
|
+
5,
|
|
4761
|
+
f
|
|
4762
|
+
);
|
|
4763
|
+
}
|
|
4764
|
+
f = message.getAvailableMinor();
|
|
4765
|
+
if (f.length > 0) {
|
|
4766
|
+
writer.writeString(
|
|
4767
|
+
6,
|
|
4768
|
+
f
|
|
4769
|
+
);
|
|
4770
|
+
}
|
|
4771
|
+
f = message.getRemainderNumerator();
|
|
4772
|
+
if (f.length > 0) {
|
|
4773
|
+
writer.writeString(
|
|
4774
|
+
7,
|
|
4775
|
+
f
|
|
4776
|
+
);
|
|
4777
|
+
}
|
|
4778
|
+
f = message.getRemainderDenominator();
|
|
4779
|
+
if (f.length > 0) {
|
|
4780
|
+
writer.writeString(
|
|
4781
|
+
8,
|
|
4782
|
+
f
|
|
4783
|
+
);
|
|
4784
|
+
}
|
|
4785
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4786
|
+
if (f != null) {
|
|
4787
|
+
writer.writeString(
|
|
4788
|
+
9,
|
|
4789
|
+
f
|
|
4790
|
+
);
|
|
4791
|
+
}
|
|
4792
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4793
|
+
if (f != null) {
|
|
4794
|
+
writer.writeString(
|
|
4795
|
+
10,
|
|
4796
|
+
f
|
|
4797
|
+
);
|
|
4798
|
+
}
|
|
4799
|
+
f = message.getReplay();
|
|
4800
|
+
if (f) {
|
|
4801
|
+
writer.writeBool(
|
|
4802
|
+
11,
|
|
4803
|
+
f
|
|
4804
|
+
);
|
|
4805
|
+
}
|
|
4806
|
+
};
|
|
4807
|
+
|
|
4808
|
+
|
|
4809
|
+
/**
|
|
4810
|
+
* optional string identity = 1;
|
|
4811
|
+
* @return {string}
|
|
4812
|
+
*/
|
|
4813
|
+
proto.payment.MonetaryReservationResponse.prototype.getIdentity = function() {
|
|
4814
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
|
|
4818
|
+
/**
|
|
4819
|
+
* @param {string} value
|
|
4820
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4821
|
+
*/
|
|
4822
|
+
proto.payment.MonetaryReservationResponse.prototype.setIdentity = function(value) {
|
|
4823
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
|
|
4827
|
+
/**
|
|
4828
|
+
* optional string outcome = 2;
|
|
4829
|
+
* @return {string}
|
|
4830
|
+
*/
|
|
4831
|
+
proto.payment.MonetaryReservationResponse.prototype.getOutcome = function() {
|
|
4832
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4833
|
+
};
|
|
4834
|
+
|
|
4835
|
+
|
|
4836
|
+
/**
|
|
4837
|
+
* @param {string} value
|
|
4838
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4839
|
+
*/
|
|
4840
|
+
proto.payment.MonetaryReservationResponse.prototype.setOutcome = function(value) {
|
|
4841
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4842
|
+
};
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
/**
|
|
4846
|
+
* optional string currency = 3;
|
|
4847
|
+
* @return {string}
|
|
4848
|
+
*/
|
|
4849
|
+
proto.payment.MonetaryReservationResponse.prototype.getCurrency = function() {
|
|
4850
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4851
|
+
};
|
|
4852
|
+
|
|
4853
|
+
|
|
4854
|
+
/**
|
|
4855
|
+
* @param {string} value
|
|
4856
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4857
|
+
*/
|
|
4858
|
+
proto.payment.MonetaryReservationResponse.prototype.setCurrency = function(value) {
|
|
4859
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4860
|
+
};
|
|
4861
|
+
|
|
4862
|
+
|
|
4863
|
+
/**
|
|
4864
|
+
* optional int32 currency_scale = 4;
|
|
4865
|
+
* @return {number}
|
|
4866
|
+
*/
|
|
4867
|
+
proto.payment.MonetaryReservationResponse.prototype.getCurrencyScale = function() {
|
|
4868
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* @param {number} value
|
|
4874
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4875
|
+
*/
|
|
4876
|
+
proto.payment.MonetaryReservationResponse.prototype.setCurrencyScale = function(value) {
|
|
4877
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4878
|
+
};
|
|
4879
|
+
|
|
4880
|
+
|
|
4881
|
+
/**
|
|
4882
|
+
* optional string amount_minor = 5;
|
|
4883
|
+
* @return {string}
|
|
4884
|
+
*/
|
|
4885
|
+
proto.payment.MonetaryReservationResponse.prototype.getAmountMinor = function() {
|
|
4886
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* @param {string} value
|
|
4892
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4893
|
+
*/
|
|
4894
|
+
proto.payment.MonetaryReservationResponse.prototype.setAmountMinor = function(value) {
|
|
4895
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4896
|
+
};
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* optional string available_minor = 6;
|
|
4901
|
+
* @return {string}
|
|
4902
|
+
*/
|
|
4903
|
+
proto.payment.MonetaryReservationResponse.prototype.getAvailableMinor = function() {
|
|
4904
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
/**
|
|
4909
|
+
* @param {string} value
|
|
4910
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4911
|
+
*/
|
|
4912
|
+
proto.payment.MonetaryReservationResponse.prototype.setAvailableMinor = function(value) {
|
|
4913
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* optional string remainder_numerator = 7;
|
|
4919
|
+
* @return {string}
|
|
4920
|
+
*/
|
|
4921
|
+
proto.payment.MonetaryReservationResponse.prototype.getRemainderNumerator = function() {
|
|
4922
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* @param {string} value
|
|
4928
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4929
|
+
*/
|
|
4930
|
+
proto.payment.MonetaryReservationResponse.prototype.setRemainderNumerator = function(value) {
|
|
4931
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4932
|
+
};
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
/**
|
|
4936
|
+
* optional string remainder_denominator = 8;
|
|
4937
|
+
* @return {string}
|
|
4938
|
+
*/
|
|
4939
|
+
proto.payment.MonetaryReservationResponse.prototype.getRemainderDenominator = function() {
|
|
4940
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
|
|
4944
|
+
/**
|
|
4945
|
+
* @param {string} value
|
|
4946
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4947
|
+
*/
|
|
4948
|
+
proto.payment.MonetaryReservationResponse.prototype.setRemainderDenominator = function(value) {
|
|
4949
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4950
|
+
};
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
/**
|
|
4954
|
+
* optional string operation_id = 9;
|
|
4955
|
+
* @return {string}
|
|
4956
|
+
*/
|
|
4957
|
+
proto.payment.MonetaryReservationResponse.prototype.getOperationId = function() {
|
|
4958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4959
|
+
};
|
|
4960
|
+
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* @param {string} value
|
|
4964
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4965
|
+
*/
|
|
4966
|
+
proto.payment.MonetaryReservationResponse.prototype.setOperationId = function(value) {
|
|
4967
|
+
return jspb.Message.setField(this, 9, value);
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
/**
|
|
4972
|
+
* Clears the field making it undefined.
|
|
4973
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4974
|
+
*/
|
|
4975
|
+
proto.payment.MonetaryReservationResponse.prototype.clearOperationId = function() {
|
|
4976
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
4977
|
+
};
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
/**
|
|
4981
|
+
* Returns whether this field is set.
|
|
4982
|
+
* @return {boolean}
|
|
4983
|
+
*/
|
|
4984
|
+
proto.payment.MonetaryReservationResponse.prototype.hasOperationId = function() {
|
|
4985
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4986
|
+
};
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* optional string snapshot_event_id = 10;
|
|
4991
|
+
* @return {string}
|
|
4992
|
+
*/
|
|
4993
|
+
proto.payment.MonetaryReservationResponse.prototype.getSnapshotEventId = function() {
|
|
4994
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
|
|
4998
|
+
/**
|
|
4999
|
+
* @param {string} value
|
|
5000
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
5001
|
+
*/
|
|
5002
|
+
proto.payment.MonetaryReservationResponse.prototype.setSnapshotEventId = function(value) {
|
|
5003
|
+
return jspb.Message.setField(this, 10, value);
|
|
5004
|
+
};
|
|
5005
|
+
|
|
5006
|
+
|
|
5007
|
+
/**
|
|
5008
|
+
* Clears the field making it undefined.
|
|
5009
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
5010
|
+
*/
|
|
5011
|
+
proto.payment.MonetaryReservationResponse.prototype.clearSnapshotEventId = function() {
|
|
5012
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
|
|
5016
|
+
/**
|
|
5017
|
+
* Returns whether this field is set.
|
|
5018
|
+
* @return {boolean}
|
|
5019
|
+
*/
|
|
5020
|
+
proto.payment.MonetaryReservationResponse.prototype.hasSnapshotEventId = function() {
|
|
5021
|
+
return jspb.Message.getField(this, 10) != null;
|
|
5022
|
+
};
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
/**
|
|
5026
|
+
* optional bool replay = 11;
|
|
5027
|
+
* @return {boolean}
|
|
5028
|
+
*/
|
|
5029
|
+
proto.payment.MonetaryReservationResponse.prototype.getReplay = function() {
|
|
5030
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* @param {boolean} value
|
|
5036
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
5037
|
+
*/
|
|
5038
|
+
proto.payment.MonetaryReservationResponse.prototype.setReplay = function(value) {
|
|
5039
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
5040
|
+
};
|
|
5041
|
+
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
|
|
5045
|
+
|
|
3308
5046
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3309
5047
|
/**
|
|
3310
5048
|
* Creates an object representation of this proto.
|
|
@@ -45540,7 +47278,9 @@ proto.payment.ResolveGameWalletContextRequest.toObject = function(includeInstanc
|
|
|
45540
47278
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
45541
47279
|
walletCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45542
47280
|
includeBonusBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
45543
|
-
prepareFinancialAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
47281
|
+
prepareFinancialAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
47282
|
+
preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
47283
|
+
existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
45544
47284
|
};
|
|
45545
47285
|
|
|
45546
47286
|
if (includeInstance) {
|
|
@@ -45593,6 +47333,14 @@ proto.payment.ResolveGameWalletContextRequest.deserializeBinaryFromReader = func
|
|
|
45593
47333
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
45594
47334
|
msg.setPrepareFinancialAdmission(value);
|
|
45595
47335
|
break;
|
|
47336
|
+
case 5:
|
|
47337
|
+
var value = /** @type {string} */ (reader.readString());
|
|
47338
|
+
msg.setPreferredWalletCurrency(value);
|
|
47339
|
+
break;
|
|
47340
|
+
case 6:
|
|
47341
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
47342
|
+
msg.setExistingWalletOnly(value);
|
|
47343
|
+
break;
|
|
45596
47344
|
default:
|
|
45597
47345
|
reader.skipField();
|
|
45598
47346
|
break;
|
|
@@ -45650,6 +47398,20 @@ proto.payment.ResolveGameWalletContextRequest.serializeBinaryToWriter = function
|
|
|
45650
47398
|
f
|
|
45651
47399
|
);
|
|
45652
47400
|
}
|
|
47401
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
47402
|
+
if (f != null) {
|
|
47403
|
+
writer.writeString(
|
|
47404
|
+
5,
|
|
47405
|
+
f
|
|
47406
|
+
);
|
|
47407
|
+
}
|
|
47408
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
47409
|
+
if (f != null) {
|
|
47410
|
+
writer.writeBool(
|
|
47411
|
+
6,
|
|
47412
|
+
f
|
|
47413
|
+
);
|
|
47414
|
+
}
|
|
45653
47415
|
};
|
|
45654
47416
|
|
|
45655
47417
|
|
|
@@ -45779,6 +47541,85 @@ proto.payment.ResolveGameWalletContextRequest.prototype.hasPrepareFinancialAdmis
|
|
|
45779
47541
|
};
|
|
45780
47542
|
|
|
45781
47543
|
|
|
47544
|
+
/**
|
|
47545
|
+
* optional string preferred_wallet_currency = 5;
|
|
47546
|
+
* @return {string}
|
|
47547
|
+
*/
|
|
47548
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.getPreferredWalletCurrency = function() {
|
|
47549
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
47550
|
+
};
|
|
47551
|
+
|
|
47552
|
+
|
|
47553
|
+
/**
|
|
47554
|
+
* @param {string} value
|
|
47555
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
47556
|
+
*/
|
|
47557
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.setPreferredWalletCurrency = function(value) {
|
|
47558
|
+
return jspb.Message.setField(this, 5, value);
|
|
47559
|
+
};
|
|
47560
|
+
|
|
47561
|
+
|
|
47562
|
+
/**
|
|
47563
|
+
* Clears the field making it undefined.
|
|
47564
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
47565
|
+
*/
|
|
47566
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.clearPreferredWalletCurrency = function() {
|
|
47567
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
47568
|
+
};
|
|
47569
|
+
|
|
47570
|
+
|
|
47571
|
+
/**
|
|
47572
|
+
* Returns whether this field is set.
|
|
47573
|
+
* @return {boolean}
|
|
47574
|
+
*/
|
|
47575
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.hasPreferredWalletCurrency = function() {
|
|
47576
|
+
return jspb.Message.getField(this, 5) != null;
|
|
47577
|
+
};
|
|
47578
|
+
|
|
47579
|
+
|
|
47580
|
+
/**
|
|
47581
|
+
* optional bool existing_wallet_only = 6;
|
|
47582
|
+
* @return {boolean}
|
|
47583
|
+
*/
|
|
47584
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.getExistingWalletOnly = function() {
|
|
47585
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
47586
|
+
};
|
|
47587
|
+
|
|
47588
|
+
|
|
47589
|
+
/**
|
|
47590
|
+
* @param {boolean} value
|
|
47591
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
47592
|
+
*/
|
|
47593
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.setExistingWalletOnly = function(value) {
|
|
47594
|
+
return jspb.Message.setField(this, 6, value);
|
|
47595
|
+
};
|
|
47596
|
+
|
|
47597
|
+
|
|
47598
|
+
/**
|
|
47599
|
+
* Clears the field making it undefined.
|
|
47600
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
47601
|
+
*/
|
|
47602
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.clearExistingWalletOnly = function() {
|
|
47603
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
47604
|
+
};
|
|
47605
|
+
|
|
47606
|
+
|
|
47607
|
+
/**
|
|
47608
|
+
* Returns whether this field is set.
|
|
47609
|
+
* @return {boolean}
|
|
47610
|
+
*/
|
|
47611
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.hasExistingWalletOnly = function() {
|
|
47612
|
+
return jspb.Message.getField(this, 6) != null;
|
|
47613
|
+
};
|
|
47614
|
+
|
|
47615
|
+
|
|
47616
|
+
|
|
47617
|
+
/**
|
|
47618
|
+
* List of repeated fields within this message type.
|
|
47619
|
+
* @private {!Array<number>}
|
|
47620
|
+
* @const
|
|
47621
|
+
*/
|
|
47622
|
+
proto.payment.ResolveGameWalletContextResponse.repeatedFields_ = [9];
|
|
45782
47623
|
|
|
45783
47624
|
|
|
45784
47625
|
|
|
@@ -45817,7 +47658,10 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
45817
47658
|
balanceMinor: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
45818
47659
|
balanceMajor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
45819
47660
|
bonusBalanceMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
45820
|
-
financialAdmission: (f = msg.getFinancialAdmission()) && proto.payment.FinancialAdmissionWalletContext.toObject(includeInstance, f)
|
|
47661
|
+
financialAdmission: (f = msg.getFinancialAdmission()) && proto.payment.FinancialAdmissionWalletContext.toObject(includeInstance, f),
|
|
47662
|
+
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
47663
|
+
walletsList: jspb.Message.toObjectList(msg.getWalletsList(),
|
|
47664
|
+
proto.payment.WalletCashBalanceItem.toObject, includeInstance)
|
|
45821
47665
|
};
|
|
45822
47666
|
|
|
45823
47667
|
if (includeInstance) {
|
|
@@ -45883,6 +47727,15 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
45883
47727
|
reader.readMessage(value,proto.payment.FinancialAdmissionWalletContext.deserializeBinaryFromReader);
|
|
45884
47728
|
msg.setFinancialAdmission(value);
|
|
45885
47729
|
break;
|
|
47730
|
+
case 8:
|
|
47731
|
+
var value = /** @type {string} */ (reader.readString());
|
|
47732
|
+
msg.setAvailableRealMinor(value);
|
|
47733
|
+
break;
|
|
47734
|
+
case 9:
|
|
47735
|
+
var value = new proto.payment.WalletCashBalanceItem;
|
|
47736
|
+
reader.readMessage(value,proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader);
|
|
47737
|
+
msg.addWallets(value);
|
|
47738
|
+
break;
|
|
45886
47739
|
default:
|
|
45887
47740
|
reader.skipField();
|
|
45888
47741
|
break;
|
|
@@ -45962,6 +47815,21 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
45962
47815
|
proto.payment.FinancialAdmissionWalletContext.serializeBinaryToWriter
|
|
45963
47816
|
);
|
|
45964
47817
|
}
|
|
47818
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
47819
|
+
if (f != null) {
|
|
47820
|
+
writer.writeString(
|
|
47821
|
+
8,
|
|
47822
|
+
f
|
|
47823
|
+
);
|
|
47824
|
+
}
|
|
47825
|
+
f = message.getWalletsList();
|
|
47826
|
+
if (f.length > 0) {
|
|
47827
|
+
writer.writeRepeatedMessage(
|
|
47828
|
+
9,
|
|
47829
|
+
f,
|
|
47830
|
+
proto.payment.WalletCashBalanceItem.serializeBinaryToWriter
|
|
47831
|
+
);
|
|
47832
|
+
}
|
|
45965
47833
|
};
|
|
45966
47834
|
|
|
45967
47835
|
|
|
@@ -46128,6 +47996,300 @@ proto.payment.ResolveGameWalletContextResponse.prototype.hasFinancialAdmission =
|
|
|
46128
47996
|
};
|
|
46129
47997
|
|
|
46130
47998
|
|
|
47999
|
+
/**
|
|
48000
|
+
* optional string available_real_minor = 8;
|
|
48001
|
+
* @return {string}
|
|
48002
|
+
*/
|
|
48003
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getAvailableRealMinor = function() {
|
|
48004
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
48005
|
+
};
|
|
48006
|
+
|
|
48007
|
+
|
|
48008
|
+
/**
|
|
48009
|
+
* @param {string} value
|
|
48010
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
48011
|
+
*/
|
|
48012
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setAvailableRealMinor = function(value) {
|
|
48013
|
+
return jspb.Message.setField(this, 8, value);
|
|
48014
|
+
};
|
|
48015
|
+
|
|
48016
|
+
|
|
48017
|
+
/**
|
|
48018
|
+
* Clears the field making it undefined.
|
|
48019
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
48020
|
+
*/
|
|
48021
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearAvailableRealMinor = function() {
|
|
48022
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
48023
|
+
};
|
|
48024
|
+
|
|
48025
|
+
|
|
48026
|
+
/**
|
|
48027
|
+
* Returns whether this field is set.
|
|
48028
|
+
* @return {boolean}
|
|
48029
|
+
*/
|
|
48030
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasAvailableRealMinor = function() {
|
|
48031
|
+
return jspb.Message.getField(this, 8) != null;
|
|
48032
|
+
};
|
|
48033
|
+
|
|
48034
|
+
|
|
48035
|
+
/**
|
|
48036
|
+
* repeated WalletCashBalanceItem wallets = 9;
|
|
48037
|
+
* @return {!Array<!proto.payment.WalletCashBalanceItem>}
|
|
48038
|
+
*/
|
|
48039
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getWalletsList = function() {
|
|
48040
|
+
return /** @type{!Array<!proto.payment.WalletCashBalanceItem>} */ (
|
|
48041
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.WalletCashBalanceItem, 9));
|
|
48042
|
+
};
|
|
48043
|
+
|
|
48044
|
+
|
|
48045
|
+
/**
|
|
48046
|
+
* @param {!Array<!proto.payment.WalletCashBalanceItem>} value
|
|
48047
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
48048
|
+
*/
|
|
48049
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setWalletsList = function(value) {
|
|
48050
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
48051
|
+
};
|
|
48052
|
+
|
|
48053
|
+
|
|
48054
|
+
/**
|
|
48055
|
+
* @param {!proto.payment.WalletCashBalanceItem=} opt_value
|
|
48056
|
+
* @param {number=} opt_index
|
|
48057
|
+
* @return {!proto.payment.WalletCashBalanceItem}
|
|
48058
|
+
*/
|
|
48059
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.addWallets = function(opt_value, opt_index) {
|
|
48060
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.payment.WalletCashBalanceItem, opt_index);
|
|
48061
|
+
};
|
|
48062
|
+
|
|
48063
|
+
|
|
48064
|
+
/**
|
|
48065
|
+
* Clears the list making it empty but non-null.
|
|
48066
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
48067
|
+
*/
|
|
48068
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearWalletsList = function() {
|
|
48069
|
+
return this.setWalletsList([]);
|
|
48070
|
+
};
|
|
48071
|
+
|
|
48072
|
+
|
|
48073
|
+
|
|
48074
|
+
|
|
48075
|
+
|
|
48076
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48077
|
+
/**
|
|
48078
|
+
* Creates an object representation of this proto.
|
|
48079
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48080
|
+
* Optional fields that are not set will be set to undefined.
|
|
48081
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48082
|
+
* For the list of reserved names please see:
|
|
48083
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48084
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48085
|
+
* JSPB instance for transitional soy proto support:
|
|
48086
|
+
* http://goto/soy-param-migration
|
|
48087
|
+
* @return {!Object}
|
|
48088
|
+
*/
|
|
48089
|
+
proto.payment.WalletCashBalanceItem.prototype.toObject = function(opt_includeInstance) {
|
|
48090
|
+
return proto.payment.WalletCashBalanceItem.toObject(opt_includeInstance, this);
|
|
48091
|
+
};
|
|
48092
|
+
|
|
48093
|
+
|
|
48094
|
+
/**
|
|
48095
|
+
* Static version of the {@see toObject} method.
|
|
48096
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48097
|
+
* the JSPB instance for transitional soy proto support:
|
|
48098
|
+
* http://goto/soy-param-migration
|
|
48099
|
+
* @param {!proto.payment.WalletCashBalanceItem} msg The msg instance to transform.
|
|
48100
|
+
* @return {!Object}
|
|
48101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48102
|
+
*/
|
|
48103
|
+
proto.payment.WalletCashBalanceItem.toObject = function(includeInstance, msg) {
|
|
48104
|
+
var f, obj = {
|
|
48105
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
48106
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
48107
|
+
balanceMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
48108
|
+
availableRealMinor: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
48109
|
+
};
|
|
48110
|
+
|
|
48111
|
+
if (includeInstance) {
|
|
48112
|
+
obj.$jspbMessageInstance = msg;
|
|
48113
|
+
}
|
|
48114
|
+
return obj;
|
|
48115
|
+
};
|
|
48116
|
+
}
|
|
48117
|
+
|
|
48118
|
+
|
|
48119
|
+
/**
|
|
48120
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48121
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48122
|
+
* @return {!proto.payment.WalletCashBalanceItem}
|
|
48123
|
+
*/
|
|
48124
|
+
proto.payment.WalletCashBalanceItem.deserializeBinary = function(bytes) {
|
|
48125
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48126
|
+
var msg = new proto.payment.WalletCashBalanceItem;
|
|
48127
|
+
return proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader(msg, reader);
|
|
48128
|
+
};
|
|
48129
|
+
|
|
48130
|
+
|
|
48131
|
+
/**
|
|
48132
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48133
|
+
* given reader into the given message object.
|
|
48134
|
+
* @param {!proto.payment.WalletCashBalanceItem} msg The message object to deserialize into.
|
|
48135
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48136
|
+
* @return {!proto.payment.WalletCashBalanceItem}
|
|
48137
|
+
*/
|
|
48138
|
+
proto.payment.WalletCashBalanceItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
48139
|
+
while (reader.nextField()) {
|
|
48140
|
+
if (reader.isEndGroup()) {
|
|
48141
|
+
break;
|
|
48142
|
+
}
|
|
48143
|
+
var field = reader.getFieldNumber();
|
|
48144
|
+
switch (field) {
|
|
48145
|
+
case 1:
|
|
48146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48147
|
+
msg.setCurrency(value);
|
|
48148
|
+
break;
|
|
48149
|
+
case 2:
|
|
48150
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
48151
|
+
msg.setCurrencyScale(value);
|
|
48152
|
+
break;
|
|
48153
|
+
case 3:
|
|
48154
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48155
|
+
msg.setBalanceMinor(value);
|
|
48156
|
+
break;
|
|
48157
|
+
case 4:
|
|
48158
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48159
|
+
msg.setAvailableRealMinor(value);
|
|
48160
|
+
break;
|
|
48161
|
+
default:
|
|
48162
|
+
reader.skipField();
|
|
48163
|
+
break;
|
|
48164
|
+
}
|
|
48165
|
+
}
|
|
48166
|
+
return msg;
|
|
48167
|
+
};
|
|
48168
|
+
|
|
48169
|
+
|
|
48170
|
+
/**
|
|
48171
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48172
|
+
* @return {!Uint8Array}
|
|
48173
|
+
*/
|
|
48174
|
+
proto.payment.WalletCashBalanceItem.prototype.serializeBinary = function() {
|
|
48175
|
+
var writer = new jspb.BinaryWriter();
|
|
48176
|
+
proto.payment.WalletCashBalanceItem.serializeBinaryToWriter(this, writer);
|
|
48177
|
+
return writer.getResultBuffer();
|
|
48178
|
+
};
|
|
48179
|
+
|
|
48180
|
+
|
|
48181
|
+
/**
|
|
48182
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48183
|
+
* format), writing to the given BinaryWriter.
|
|
48184
|
+
* @param {!proto.payment.WalletCashBalanceItem} message
|
|
48185
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48187
|
+
*/
|
|
48188
|
+
proto.payment.WalletCashBalanceItem.serializeBinaryToWriter = function(message, writer) {
|
|
48189
|
+
var f = undefined;
|
|
48190
|
+
f = message.getCurrency();
|
|
48191
|
+
if (f.length > 0) {
|
|
48192
|
+
writer.writeString(
|
|
48193
|
+
1,
|
|
48194
|
+
f
|
|
48195
|
+
);
|
|
48196
|
+
}
|
|
48197
|
+
f = message.getCurrencyScale();
|
|
48198
|
+
if (f !== 0) {
|
|
48199
|
+
writer.writeInt32(
|
|
48200
|
+
2,
|
|
48201
|
+
f
|
|
48202
|
+
);
|
|
48203
|
+
}
|
|
48204
|
+
f = message.getBalanceMinor();
|
|
48205
|
+
if (f.length > 0) {
|
|
48206
|
+
writer.writeString(
|
|
48207
|
+
3,
|
|
48208
|
+
f
|
|
48209
|
+
);
|
|
48210
|
+
}
|
|
48211
|
+
f = message.getAvailableRealMinor();
|
|
48212
|
+
if (f.length > 0) {
|
|
48213
|
+
writer.writeString(
|
|
48214
|
+
4,
|
|
48215
|
+
f
|
|
48216
|
+
);
|
|
48217
|
+
}
|
|
48218
|
+
};
|
|
48219
|
+
|
|
48220
|
+
|
|
48221
|
+
/**
|
|
48222
|
+
* optional string currency = 1;
|
|
48223
|
+
* @return {string}
|
|
48224
|
+
*/
|
|
48225
|
+
proto.payment.WalletCashBalanceItem.prototype.getCurrency = function() {
|
|
48226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
48227
|
+
};
|
|
48228
|
+
|
|
48229
|
+
|
|
48230
|
+
/**
|
|
48231
|
+
* @param {string} value
|
|
48232
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
48233
|
+
*/
|
|
48234
|
+
proto.payment.WalletCashBalanceItem.prototype.setCurrency = function(value) {
|
|
48235
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
48236
|
+
};
|
|
48237
|
+
|
|
48238
|
+
|
|
48239
|
+
/**
|
|
48240
|
+
* optional int32 currency_scale = 2;
|
|
48241
|
+
* @return {number}
|
|
48242
|
+
*/
|
|
48243
|
+
proto.payment.WalletCashBalanceItem.prototype.getCurrencyScale = function() {
|
|
48244
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
48245
|
+
};
|
|
48246
|
+
|
|
48247
|
+
|
|
48248
|
+
/**
|
|
48249
|
+
* @param {number} value
|
|
48250
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
48251
|
+
*/
|
|
48252
|
+
proto.payment.WalletCashBalanceItem.prototype.setCurrencyScale = function(value) {
|
|
48253
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
48254
|
+
};
|
|
48255
|
+
|
|
48256
|
+
|
|
48257
|
+
/**
|
|
48258
|
+
* optional string balance_minor = 3;
|
|
48259
|
+
* @return {string}
|
|
48260
|
+
*/
|
|
48261
|
+
proto.payment.WalletCashBalanceItem.prototype.getBalanceMinor = function() {
|
|
48262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
48263
|
+
};
|
|
48264
|
+
|
|
48265
|
+
|
|
48266
|
+
/**
|
|
48267
|
+
* @param {string} value
|
|
48268
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
48269
|
+
*/
|
|
48270
|
+
proto.payment.WalletCashBalanceItem.prototype.setBalanceMinor = function(value) {
|
|
48271
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
48272
|
+
};
|
|
48273
|
+
|
|
48274
|
+
|
|
48275
|
+
/**
|
|
48276
|
+
* optional string available_real_minor = 4;
|
|
48277
|
+
* @return {string}
|
|
48278
|
+
*/
|
|
48279
|
+
proto.payment.WalletCashBalanceItem.prototype.getAvailableRealMinor = function() {
|
|
48280
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
48281
|
+
};
|
|
48282
|
+
|
|
48283
|
+
|
|
48284
|
+
/**
|
|
48285
|
+
* @param {string} value
|
|
48286
|
+
* @return {!proto.payment.WalletCashBalanceItem} returns this
|
|
48287
|
+
*/
|
|
48288
|
+
proto.payment.WalletCashBalanceItem.prototype.setAvailableRealMinor = function(value) {
|
|
48289
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
48290
|
+
};
|
|
48291
|
+
|
|
48292
|
+
|
|
46131
48293
|
|
|
46132
48294
|
|
|
46133
48295
|
|