protobuf-platform 1.2.521 → 1.2.524
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/bonus/bonus.proto +4 -0
- package/bonus/bonus_pb.js +204 -2
- package/package.json +1 -1
- package/payment/payment.proto +34 -0
- package/payment/payment_grpc_pb.js +22 -0
- package/payment/payment_pb.js +1410 -2
package/payment/payment_pb.js
CHANGED
|
@@ -34,7 +34,10 @@ goog.exportSymbol('proto.payment.CompensationItem', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.payment.CompensationItemsResponse', null, global);
|
|
35
35
|
goog.exportSymbol('proto.payment.CompensationRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.payment.CompensationSearchRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.payment.ConfiscationItem', null, global);
|
|
38
|
+
goog.exportSymbol('proto.payment.ConfiscationItemsResponse', null, global);
|
|
37
39
|
goog.exportSymbol('proto.payment.ConfiscationRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.payment.ConfiscationSearchRequest', null, global);
|
|
38
41
|
goog.exportSymbol('proto.payment.CryptoDepositInstructions', null, global);
|
|
39
42
|
goog.exportSymbol('proto.payment.CurrenciesMetadataResponse', null, global);
|
|
40
43
|
goog.exportSymbol('proto.payment.CurrencyItem', null, global);
|
|
@@ -2290,6 +2293,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2290
2293
|
*/
|
|
2291
2294
|
proto.payment.ConfiscationRequest.displayName = 'proto.payment.ConfiscationRequest';
|
|
2292
2295
|
}
|
|
2296
|
+
/**
|
|
2297
|
+
* Generated by JsPbCodeGenerator.
|
|
2298
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2299
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2300
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2301
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2302
|
+
* valid.
|
|
2303
|
+
* @extends {jspb.Message}
|
|
2304
|
+
* @constructor
|
|
2305
|
+
*/
|
|
2306
|
+
proto.payment.ConfiscationSearchRequest = function(opt_data) {
|
|
2307
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.ConfiscationSearchRequest.repeatedFields_, null);
|
|
2308
|
+
};
|
|
2309
|
+
goog.inherits(proto.payment.ConfiscationSearchRequest, jspb.Message);
|
|
2310
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2311
|
+
/**
|
|
2312
|
+
* @public
|
|
2313
|
+
* @override
|
|
2314
|
+
*/
|
|
2315
|
+
proto.payment.ConfiscationSearchRequest.displayName = 'proto.payment.ConfiscationSearchRequest';
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Generated by JsPbCodeGenerator.
|
|
2319
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2320
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2321
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2322
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2323
|
+
* valid.
|
|
2324
|
+
* @extends {jspb.Message}
|
|
2325
|
+
* @constructor
|
|
2326
|
+
*/
|
|
2327
|
+
proto.payment.ConfiscationItem = function(opt_data) {
|
|
2328
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2329
|
+
};
|
|
2330
|
+
goog.inherits(proto.payment.ConfiscationItem, jspb.Message);
|
|
2331
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2332
|
+
/**
|
|
2333
|
+
* @public
|
|
2334
|
+
* @override
|
|
2335
|
+
*/
|
|
2336
|
+
proto.payment.ConfiscationItem.displayName = 'proto.payment.ConfiscationItem';
|
|
2337
|
+
}
|
|
2338
|
+
/**
|
|
2339
|
+
* Generated by JsPbCodeGenerator.
|
|
2340
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2341
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2342
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2343
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2344
|
+
* valid.
|
|
2345
|
+
* @extends {jspb.Message}
|
|
2346
|
+
* @constructor
|
|
2347
|
+
*/
|
|
2348
|
+
proto.payment.ConfiscationItemsResponse = function(opt_data) {
|
|
2349
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.ConfiscationItemsResponse.repeatedFields_, null);
|
|
2350
|
+
};
|
|
2351
|
+
goog.inherits(proto.payment.ConfiscationItemsResponse, jspb.Message);
|
|
2352
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2353
|
+
/**
|
|
2354
|
+
* @public
|
|
2355
|
+
* @override
|
|
2356
|
+
*/
|
|
2357
|
+
proto.payment.ConfiscationItemsResponse.displayName = 'proto.payment.ConfiscationItemsResponse';
|
|
2358
|
+
}
|
|
2293
2359
|
/**
|
|
2294
2360
|
* Generated by JsPbCodeGenerator.
|
|
2295
2361
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3017,7 +3083,8 @@ proto.payment.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
3017
3083
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3018
3084
|
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3019
3085
|
paymentSearchParams: (f = msg.getPaymentSearchParams()) && proto.payment.PaymentSearchRequest.toObject(includeInstance, f),
|
|
3020
|
-
compensationSearchParams: (f = msg.getCompensationSearchParams()) && proto.payment.CompensationSearchRequest.toObject(includeInstance, f)
|
|
3086
|
+
compensationSearchParams: (f = msg.getCompensationSearchParams()) && proto.payment.CompensationSearchRequest.toObject(includeInstance, f),
|
|
3087
|
+
confiscationSearchParams: (f = msg.getConfiscationSearchParams()) && proto.payment.ConfiscationSearchRequest.toObject(includeInstance, f)
|
|
3021
3088
|
};
|
|
3022
3089
|
|
|
3023
3090
|
if (includeInstance) {
|
|
@@ -3076,6 +3143,11 @@ proto.payment.PaginationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
3076
3143
|
reader.readMessage(value,proto.payment.CompensationSearchRequest.deserializeBinaryFromReader);
|
|
3077
3144
|
msg.setCompensationSearchParams(value);
|
|
3078
3145
|
break;
|
|
3146
|
+
case 6:
|
|
3147
|
+
var value = new proto.payment.ConfiscationSearchRequest;
|
|
3148
|
+
reader.readMessage(value,proto.payment.ConfiscationSearchRequest.deserializeBinaryFromReader);
|
|
3149
|
+
msg.setConfiscationSearchParams(value);
|
|
3150
|
+
break;
|
|
3079
3151
|
default:
|
|
3080
3152
|
reader.skipField();
|
|
3081
3153
|
break;
|
|
@@ -3142,6 +3214,14 @@ proto.payment.PaginationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
3142
3214
|
proto.payment.CompensationSearchRequest.serializeBinaryToWriter
|
|
3143
3215
|
);
|
|
3144
3216
|
}
|
|
3217
|
+
f = message.getConfiscationSearchParams();
|
|
3218
|
+
if (f != null) {
|
|
3219
|
+
writer.writeMessage(
|
|
3220
|
+
6,
|
|
3221
|
+
f,
|
|
3222
|
+
proto.payment.ConfiscationSearchRequest.serializeBinaryToWriter
|
|
3223
|
+
);
|
|
3224
|
+
}
|
|
3145
3225
|
};
|
|
3146
3226
|
|
|
3147
3227
|
|
|
@@ -3291,6 +3371,43 @@ proto.payment.PaginationRequest.prototype.hasCompensationSearchParams = function
|
|
|
3291
3371
|
};
|
|
3292
3372
|
|
|
3293
3373
|
|
|
3374
|
+
/**
|
|
3375
|
+
* optional ConfiscationSearchRequest confiscation_search_params = 6;
|
|
3376
|
+
* @return {?proto.payment.ConfiscationSearchRequest}
|
|
3377
|
+
*/
|
|
3378
|
+
proto.payment.PaginationRequest.prototype.getConfiscationSearchParams = function() {
|
|
3379
|
+
return /** @type{?proto.payment.ConfiscationSearchRequest} */ (
|
|
3380
|
+
jspb.Message.getWrapperField(this, proto.payment.ConfiscationSearchRequest, 6));
|
|
3381
|
+
};
|
|
3382
|
+
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
* @param {?proto.payment.ConfiscationSearchRequest|undefined} value
|
|
3386
|
+
* @return {!proto.payment.PaginationRequest} returns this
|
|
3387
|
+
*/
|
|
3388
|
+
proto.payment.PaginationRequest.prototype.setConfiscationSearchParams = function(value) {
|
|
3389
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3390
|
+
};
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* Clears the message field making it undefined.
|
|
3395
|
+
* @return {!proto.payment.PaginationRequest} returns this
|
|
3396
|
+
*/
|
|
3397
|
+
proto.payment.PaginationRequest.prototype.clearConfiscationSearchParams = function() {
|
|
3398
|
+
return this.setConfiscationSearchParams(undefined);
|
|
3399
|
+
};
|
|
3400
|
+
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* Returns whether this field is set.
|
|
3404
|
+
* @return {boolean}
|
|
3405
|
+
*/
|
|
3406
|
+
proto.payment.PaginationRequest.prototype.hasConfiscationSearchParams = function() {
|
|
3407
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3408
|
+
};
|
|
3409
|
+
|
|
3410
|
+
|
|
3294
3411
|
|
|
3295
3412
|
/**
|
|
3296
3413
|
* List of repeated fields within this message type.
|
|
@@ -41192,7 +41309,8 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
|
|
|
41192
41309
|
idempotencyId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
41193
41310
|
transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41194
41311
|
internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41195
|
-
amount: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
41312
|
+
amount: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
41313
|
+
confiscationType: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
41196
41314
|
};
|
|
41197
41315
|
|
|
41198
41316
|
if (includeInstance) {
|
|
@@ -41261,6 +41379,10 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
41261
41379
|
var value = /** @type {string} */ (reader.readString());
|
|
41262
41380
|
msg.setAmount(value);
|
|
41263
41381
|
break;
|
|
41382
|
+
case 9:
|
|
41383
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41384
|
+
msg.setConfiscationType(value);
|
|
41385
|
+
break;
|
|
41264
41386
|
default:
|
|
41265
41387
|
reader.skipField();
|
|
41266
41388
|
break;
|
|
@@ -41346,6 +41468,13 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
|
|
|
41346
41468
|
f
|
|
41347
41469
|
);
|
|
41348
41470
|
}
|
|
41471
|
+
f = message.getConfiscationType();
|
|
41472
|
+
if (f.length > 0) {
|
|
41473
|
+
writer.writeString(
|
|
41474
|
+
9,
|
|
41475
|
+
f
|
|
41476
|
+
);
|
|
41477
|
+
}
|
|
41349
41478
|
};
|
|
41350
41479
|
|
|
41351
41480
|
|
|
@@ -41493,6 +41622,1285 @@ proto.payment.ConfiscationRequest.prototype.setAmount = function(value) {
|
|
|
41493
41622
|
};
|
|
41494
41623
|
|
|
41495
41624
|
|
|
41625
|
+
/**
|
|
41626
|
+
* optional string confiscation_type = 9;
|
|
41627
|
+
* @return {string}
|
|
41628
|
+
*/
|
|
41629
|
+
proto.payment.ConfiscationRequest.prototype.getConfiscationType = function() {
|
|
41630
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
41631
|
+
};
|
|
41632
|
+
|
|
41633
|
+
|
|
41634
|
+
/**
|
|
41635
|
+
* @param {string} value
|
|
41636
|
+
* @return {!proto.payment.ConfiscationRequest} returns this
|
|
41637
|
+
*/
|
|
41638
|
+
proto.payment.ConfiscationRequest.prototype.setConfiscationType = function(value) {
|
|
41639
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
41640
|
+
};
|
|
41641
|
+
|
|
41642
|
+
|
|
41643
|
+
|
|
41644
|
+
/**
|
|
41645
|
+
* List of repeated fields within this message type.
|
|
41646
|
+
* @private {!Array<number>}
|
|
41647
|
+
* @const
|
|
41648
|
+
*/
|
|
41649
|
+
proto.payment.ConfiscationSearchRequest.repeatedFields_ = [2,3,5,8];
|
|
41650
|
+
|
|
41651
|
+
|
|
41652
|
+
|
|
41653
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41654
|
+
/**
|
|
41655
|
+
* Creates an object representation of this proto.
|
|
41656
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41657
|
+
* Optional fields that are not set will be set to undefined.
|
|
41658
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41659
|
+
* For the list of reserved names please see:
|
|
41660
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41661
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41662
|
+
* JSPB instance for transitional soy proto support:
|
|
41663
|
+
* http://goto/soy-param-migration
|
|
41664
|
+
* @return {!Object}
|
|
41665
|
+
*/
|
|
41666
|
+
proto.payment.ConfiscationSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
41667
|
+
return proto.payment.ConfiscationSearchRequest.toObject(opt_includeInstance, this);
|
|
41668
|
+
};
|
|
41669
|
+
|
|
41670
|
+
|
|
41671
|
+
/**
|
|
41672
|
+
* Static version of the {@see toObject} method.
|
|
41673
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41674
|
+
* the JSPB instance for transitional soy proto support:
|
|
41675
|
+
* http://goto/soy-param-migration
|
|
41676
|
+
* @param {!proto.payment.ConfiscationSearchRequest} msg The msg instance to transform.
|
|
41677
|
+
* @return {!Object}
|
|
41678
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41679
|
+
*/
|
|
41680
|
+
proto.payment.ConfiscationSearchRequest.toObject = function(includeInstance, msg) {
|
|
41681
|
+
var f, obj = {
|
|
41682
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
41683
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
41684
|
+
confiscationTypesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
41685
|
+
transactionCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
41686
|
+
operationStatusCodesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
41687
|
+
createdFrom: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41688
|
+
createdTo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41689
|
+
currencyList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
41690
|
+
};
|
|
41691
|
+
|
|
41692
|
+
if (includeInstance) {
|
|
41693
|
+
obj.$jspbMessageInstance = msg;
|
|
41694
|
+
}
|
|
41695
|
+
return obj;
|
|
41696
|
+
};
|
|
41697
|
+
}
|
|
41698
|
+
|
|
41699
|
+
|
|
41700
|
+
/**
|
|
41701
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41702
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41703
|
+
* @return {!proto.payment.ConfiscationSearchRequest}
|
|
41704
|
+
*/
|
|
41705
|
+
proto.payment.ConfiscationSearchRequest.deserializeBinary = function(bytes) {
|
|
41706
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41707
|
+
var msg = new proto.payment.ConfiscationSearchRequest;
|
|
41708
|
+
return proto.payment.ConfiscationSearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
41709
|
+
};
|
|
41710
|
+
|
|
41711
|
+
|
|
41712
|
+
/**
|
|
41713
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41714
|
+
* given reader into the given message object.
|
|
41715
|
+
* @param {!proto.payment.ConfiscationSearchRequest} msg The message object to deserialize into.
|
|
41716
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41717
|
+
* @return {!proto.payment.ConfiscationSearchRequest}
|
|
41718
|
+
*/
|
|
41719
|
+
proto.payment.ConfiscationSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
41720
|
+
while (reader.nextField()) {
|
|
41721
|
+
if (reader.isEndGroup()) {
|
|
41722
|
+
break;
|
|
41723
|
+
}
|
|
41724
|
+
var field = reader.getFieldNumber();
|
|
41725
|
+
switch (field) {
|
|
41726
|
+
case 1:
|
|
41727
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41728
|
+
msg.setOperationId(value);
|
|
41729
|
+
break;
|
|
41730
|
+
case 2:
|
|
41731
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
41732
|
+
for (var i = 0; i < values.length; i++) {
|
|
41733
|
+
msg.addUserIds(values[i]);
|
|
41734
|
+
}
|
|
41735
|
+
break;
|
|
41736
|
+
case 3:
|
|
41737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41738
|
+
msg.addConfiscationTypes(value);
|
|
41739
|
+
break;
|
|
41740
|
+
case 4:
|
|
41741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41742
|
+
msg.setTransactionCode(value);
|
|
41743
|
+
break;
|
|
41744
|
+
case 5:
|
|
41745
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41746
|
+
msg.addOperationStatusCodes(value);
|
|
41747
|
+
break;
|
|
41748
|
+
case 6:
|
|
41749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41750
|
+
msg.setCreatedFrom(value);
|
|
41751
|
+
break;
|
|
41752
|
+
case 7:
|
|
41753
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41754
|
+
msg.setCreatedTo(value);
|
|
41755
|
+
break;
|
|
41756
|
+
case 8:
|
|
41757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41758
|
+
msg.addCurrency(value);
|
|
41759
|
+
break;
|
|
41760
|
+
default:
|
|
41761
|
+
reader.skipField();
|
|
41762
|
+
break;
|
|
41763
|
+
}
|
|
41764
|
+
}
|
|
41765
|
+
return msg;
|
|
41766
|
+
};
|
|
41767
|
+
|
|
41768
|
+
|
|
41769
|
+
/**
|
|
41770
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41771
|
+
* @return {!Uint8Array}
|
|
41772
|
+
*/
|
|
41773
|
+
proto.payment.ConfiscationSearchRequest.prototype.serializeBinary = function() {
|
|
41774
|
+
var writer = new jspb.BinaryWriter();
|
|
41775
|
+
proto.payment.ConfiscationSearchRequest.serializeBinaryToWriter(this, writer);
|
|
41776
|
+
return writer.getResultBuffer();
|
|
41777
|
+
};
|
|
41778
|
+
|
|
41779
|
+
|
|
41780
|
+
/**
|
|
41781
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41782
|
+
* format), writing to the given BinaryWriter.
|
|
41783
|
+
* @param {!proto.payment.ConfiscationSearchRequest} message
|
|
41784
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41785
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41786
|
+
*/
|
|
41787
|
+
proto.payment.ConfiscationSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
41788
|
+
var f = undefined;
|
|
41789
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
41790
|
+
if (f != null) {
|
|
41791
|
+
writer.writeInt32(
|
|
41792
|
+
1,
|
|
41793
|
+
f
|
|
41794
|
+
);
|
|
41795
|
+
}
|
|
41796
|
+
f = message.getUserIdsList();
|
|
41797
|
+
if (f.length > 0) {
|
|
41798
|
+
writer.writePackedInt32(
|
|
41799
|
+
2,
|
|
41800
|
+
f
|
|
41801
|
+
);
|
|
41802
|
+
}
|
|
41803
|
+
f = message.getConfiscationTypesList();
|
|
41804
|
+
if (f.length > 0) {
|
|
41805
|
+
writer.writeRepeatedString(
|
|
41806
|
+
3,
|
|
41807
|
+
f
|
|
41808
|
+
);
|
|
41809
|
+
}
|
|
41810
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
41811
|
+
if (f != null) {
|
|
41812
|
+
writer.writeString(
|
|
41813
|
+
4,
|
|
41814
|
+
f
|
|
41815
|
+
);
|
|
41816
|
+
}
|
|
41817
|
+
f = message.getOperationStatusCodesList();
|
|
41818
|
+
if (f.length > 0) {
|
|
41819
|
+
writer.writeRepeatedString(
|
|
41820
|
+
5,
|
|
41821
|
+
f
|
|
41822
|
+
);
|
|
41823
|
+
}
|
|
41824
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
41825
|
+
if (f != null) {
|
|
41826
|
+
writer.writeString(
|
|
41827
|
+
6,
|
|
41828
|
+
f
|
|
41829
|
+
);
|
|
41830
|
+
}
|
|
41831
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
41832
|
+
if (f != null) {
|
|
41833
|
+
writer.writeString(
|
|
41834
|
+
7,
|
|
41835
|
+
f
|
|
41836
|
+
);
|
|
41837
|
+
}
|
|
41838
|
+
f = message.getCurrencyList();
|
|
41839
|
+
if (f.length > 0) {
|
|
41840
|
+
writer.writeRepeatedString(
|
|
41841
|
+
8,
|
|
41842
|
+
f
|
|
41843
|
+
);
|
|
41844
|
+
}
|
|
41845
|
+
};
|
|
41846
|
+
|
|
41847
|
+
|
|
41848
|
+
/**
|
|
41849
|
+
* optional int32 operation_id = 1;
|
|
41850
|
+
* @return {number}
|
|
41851
|
+
*/
|
|
41852
|
+
proto.payment.ConfiscationSearchRequest.prototype.getOperationId = function() {
|
|
41853
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41854
|
+
};
|
|
41855
|
+
|
|
41856
|
+
|
|
41857
|
+
/**
|
|
41858
|
+
* @param {number} value
|
|
41859
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41860
|
+
*/
|
|
41861
|
+
proto.payment.ConfiscationSearchRequest.prototype.setOperationId = function(value) {
|
|
41862
|
+
return jspb.Message.setField(this, 1, value);
|
|
41863
|
+
};
|
|
41864
|
+
|
|
41865
|
+
|
|
41866
|
+
/**
|
|
41867
|
+
* Clears the field making it undefined.
|
|
41868
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41869
|
+
*/
|
|
41870
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearOperationId = function() {
|
|
41871
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
41872
|
+
};
|
|
41873
|
+
|
|
41874
|
+
|
|
41875
|
+
/**
|
|
41876
|
+
* Returns whether this field is set.
|
|
41877
|
+
* @return {boolean}
|
|
41878
|
+
*/
|
|
41879
|
+
proto.payment.ConfiscationSearchRequest.prototype.hasOperationId = function() {
|
|
41880
|
+
return jspb.Message.getField(this, 1) != null;
|
|
41881
|
+
};
|
|
41882
|
+
|
|
41883
|
+
|
|
41884
|
+
/**
|
|
41885
|
+
* repeated int32 user_ids = 2;
|
|
41886
|
+
* @return {!Array<number>}
|
|
41887
|
+
*/
|
|
41888
|
+
proto.payment.ConfiscationSearchRequest.prototype.getUserIdsList = function() {
|
|
41889
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
41890
|
+
};
|
|
41891
|
+
|
|
41892
|
+
|
|
41893
|
+
/**
|
|
41894
|
+
* @param {!Array<number>} value
|
|
41895
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41896
|
+
*/
|
|
41897
|
+
proto.payment.ConfiscationSearchRequest.prototype.setUserIdsList = function(value) {
|
|
41898
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
41899
|
+
};
|
|
41900
|
+
|
|
41901
|
+
|
|
41902
|
+
/**
|
|
41903
|
+
* @param {number} value
|
|
41904
|
+
* @param {number=} opt_index
|
|
41905
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41906
|
+
*/
|
|
41907
|
+
proto.payment.ConfiscationSearchRequest.prototype.addUserIds = function(value, opt_index) {
|
|
41908
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
41909
|
+
};
|
|
41910
|
+
|
|
41911
|
+
|
|
41912
|
+
/**
|
|
41913
|
+
* Clears the list making it empty but non-null.
|
|
41914
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41915
|
+
*/
|
|
41916
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearUserIdsList = function() {
|
|
41917
|
+
return this.setUserIdsList([]);
|
|
41918
|
+
};
|
|
41919
|
+
|
|
41920
|
+
|
|
41921
|
+
/**
|
|
41922
|
+
* repeated string confiscation_types = 3;
|
|
41923
|
+
* @return {!Array<string>}
|
|
41924
|
+
*/
|
|
41925
|
+
proto.payment.ConfiscationSearchRequest.prototype.getConfiscationTypesList = function() {
|
|
41926
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
41927
|
+
};
|
|
41928
|
+
|
|
41929
|
+
|
|
41930
|
+
/**
|
|
41931
|
+
* @param {!Array<string>} value
|
|
41932
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41933
|
+
*/
|
|
41934
|
+
proto.payment.ConfiscationSearchRequest.prototype.setConfiscationTypesList = function(value) {
|
|
41935
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
41936
|
+
};
|
|
41937
|
+
|
|
41938
|
+
|
|
41939
|
+
/**
|
|
41940
|
+
* @param {string} value
|
|
41941
|
+
* @param {number=} opt_index
|
|
41942
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41943
|
+
*/
|
|
41944
|
+
proto.payment.ConfiscationSearchRequest.prototype.addConfiscationTypes = function(value, opt_index) {
|
|
41945
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
41946
|
+
};
|
|
41947
|
+
|
|
41948
|
+
|
|
41949
|
+
/**
|
|
41950
|
+
* Clears the list making it empty but non-null.
|
|
41951
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41952
|
+
*/
|
|
41953
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearConfiscationTypesList = function() {
|
|
41954
|
+
return this.setConfiscationTypesList([]);
|
|
41955
|
+
};
|
|
41956
|
+
|
|
41957
|
+
|
|
41958
|
+
/**
|
|
41959
|
+
* optional string transaction_code = 4;
|
|
41960
|
+
* @return {string}
|
|
41961
|
+
*/
|
|
41962
|
+
proto.payment.ConfiscationSearchRequest.prototype.getTransactionCode = function() {
|
|
41963
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
41964
|
+
};
|
|
41965
|
+
|
|
41966
|
+
|
|
41967
|
+
/**
|
|
41968
|
+
* @param {string} value
|
|
41969
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41970
|
+
*/
|
|
41971
|
+
proto.payment.ConfiscationSearchRequest.prototype.setTransactionCode = function(value) {
|
|
41972
|
+
return jspb.Message.setField(this, 4, value);
|
|
41973
|
+
};
|
|
41974
|
+
|
|
41975
|
+
|
|
41976
|
+
/**
|
|
41977
|
+
* Clears the field making it undefined.
|
|
41978
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
41979
|
+
*/
|
|
41980
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearTransactionCode = function() {
|
|
41981
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
41982
|
+
};
|
|
41983
|
+
|
|
41984
|
+
|
|
41985
|
+
/**
|
|
41986
|
+
* Returns whether this field is set.
|
|
41987
|
+
* @return {boolean}
|
|
41988
|
+
*/
|
|
41989
|
+
proto.payment.ConfiscationSearchRequest.prototype.hasTransactionCode = function() {
|
|
41990
|
+
return jspb.Message.getField(this, 4) != null;
|
|
41991
|
+
};
|
|
41992
|
+
|
|
41993
|
+
|
|
41994
|
+
/**
|
|
41995
|
+
* repeated string operation_status_codes = 5;
|
|
41996
|
+
* @return {!Array<string>}
|
|
41997
|
+
*/
|
|
41998
|
+
proto.payment.ConfiscationSearchRequest.prototype.getOperationStatusCodesList = function() {
|
|
41999
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
42000
|
+
};
|
|
42001
|
+
|
|
42002
|
+
|
|
42003
|
+
/**
|
|
42004
|
+
* @param {!Array<string>} value
|
|
42005
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42006
|
+
*/
|
|
42007
|
+
proto.payment.ConfiscationSearchRequest.prototype.setOperationStatusCodesList = function(value) {
|
|
42008
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
42009
|
+
};
|
|
42010
|
+
|
|
42011
|
+
|
|
42012
|
+
/**
|
|
42013
|
+
* @param {string} value
|
|
42014
|
+
* @param {number=} opt_index
|
|
42015
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42016
|
+
*/
|
|
42017
|
+
proto.payment.ConfiscationSearchRequest.prototype.addOperationStatusCodes = function(value, opt_index) {
|
|
42018
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
42019
|
+
};
|
|
42020
|
+
|
|
42021
|
+
|
|
42022
|
+
/**
|
|
42023
|
+
* Clears the list making it empty but non-null.
|
|
42024
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42025
|
+
*/
|
|
42026
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearOperationStatusCodesList = function() {
|
|
42027
|
+
return this.setOperationStatusCodesList([]);
|
|
42028
|
+
};
|
|
42029
|
+
|
|
42030
|
+
|
|
42031
|
+
/**
|
|
42032
|
+
* optional string created_from = 6;
|
|
42033
|
+
* @return {string}
|
|
42034
|
+
*/
|
|
42035
|
+
proto.payment.ConfiscationSearchRequest.prototype.getCreatedFrom = function() {
|
|
42036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
42037
|
+
};
|
|
42038
|
+
|
|
42039
|
+
|
|
42040
|
+
/**
|
|
42041
|
+
* @param {string} value
|
|
42042
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42043
|
+
*/
|
|
42044
|
+
proto.payment.ConfiscationSearchRequest.prototype.setCreatedFrom = function(value) {
|
|
42045
|
+
return jspb.Message.setField(this, 6, value);
|
|
42046
|
+
};
|
|
42047
|
+
|
|
42048
|
+
|
|
42049
|
+
/**
|
|
42050
|
+
* Clears the field making it undefined.
|
|
42051
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42052
|
+
*/
|
|
42053
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearCreatedFrom = function() {
|
|
42054
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
42055
|
+
};
|
|
42056
|
+
|
|
42057
|
+
|
|
42058
|
+
/**
|
|
42059
|
+
* Returns whether this field is set.
|
|
42060
|
+
* @return {boolean}
|
|
42061
|
+
*/
|
|
42062
|
+
proto.payment.ConfiscationSearchRequest.prototype.hasCreatedFrom = function() {
|
|
42063
|
+
return jspb.Message.getField(this, 6) != null;
|
|
42064
|
+
};
|
|
42065
|
+
|
|
42066
|
+
|
|
42067
|
+
/**
|
|
42068
|
+
* optional string created_to = 7;
|
|
42069
|
+
* @return {string}
|
|
42070
|
+
*/
|
|
42071
|
+
proto.payment.ConfiscationSearchRequest.prototype.getCreatedTo = function() {
|
|
42072
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
42073
|
+
};
|
|
42074
|
+
|
|
42075
|
+
|
|
42076
|
+
/**
|
|
42077
|
+
* @param {string} value
|
|
42078
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42079
|
+
*/
|
|
42080
|
+
proto.payment.ConfiscationSearchRequest.prototype.setCreatedTo = function(value) {
|
|
42081
|
+
return jspb.Message.setField(this, 7, value);
|
|
42082
|
+
};
|
|
42083
|
+
|
|
42084
|
+
|
|
42085
|
+
/**
|
|
42086
|
+
* Clears the field making it undefined.
|
|
42087
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42088
|
+
*/
|
|
42089
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearCreatedTo = function() {
|
|
42090
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
42091
|
+
};
|
|
42092
|
+
|
|
42093
|
+
|
|
42094
|
+
/**
|
|
42095
|
+
* Returns whether this field is set.
|
|
42096
|
+
* @return {boolean}
|
|
42097
|
+
*/
|
|
42098
|
+
proto.payment.ConfiscationSearchRequest.prototype.hasCreatedTo = function() {
|
|
42099
|
+
return jspb.Message.getField(this, 7) != null;
|
|
42100
|
+
};
|
|
42101
|
+
|
|
42102
|
+
|
|
42103
|
+
/**
|
|
42104
|
+
* repeated string currency = 8;
|
|
42105
|
+
* @return {!Array<string>}
|
|
42106
|
+
*/
|
|
42107
|
+
proto.payment.ConfiscationSearchRequest.prototype.getCurrencyList = function() {
|
|
42108
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
42109
|
+
};
|
|
42110
|
+
|
|
42111
|
+
|
|
42112
|
+
/**
|
|
42113
|
+
* @param {!Array<string>} value
|
|
42114
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42115
|
+
*/
|
|
42116
|
+
proto.payment.ConfiscationSearchRequest.prototype.setCurrencyList = function(value) {
|
|
42117
|
+
return jspb.Message.setField(this, 8, value || []);
|
|
42118
|
+
};
|
|
42119
|
+
|
|
42120
|
+
|
|
42121
|
+
/**
|
|
42122
|
+
* @param {string} value
|
|
42123
|
+
* @param {number=} opt_index
|
|
42124
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42125
|
+
*/
|
|
42126
|
+
proto.payment.ConfiscationSearchRequest.prototype.addCurrency = function(value, opt_index) {
|
|
42127
|
+
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
42128
|
+
};
|
|
42129
|
+
|
|
42130
|
+
|
|
42131
|
+
/**
|
|
42132
|
+
* Clears the list making it empty but non-null.
|
|
42133
|
+
* @return {!proto.payment.ConfiscationSearchRequest} returns this
|
|
42134
|
+
*/
|
|
42135
|
+
proto.payment.ConfiscationSearchRequest.prototype.clearCurrencyList = function() {
|
|
42136
|
+
return this.setCurrencyList([]);
|
|
42137
|
+
};
|
|
42138
|
+
|
|
42139
|
+
|
|
42140
|
+
|
|
42141
|
+
|
|
42142
|
+
|
|
42143
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42144
|
+
/**
|
|
42145
|
+
* Creates an object representation of this proto.
|
|
42146
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42147
|
+
* Optional fields that are not set will be set to undefined.
|
|
42148
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42149
|
+
* For the list of reserved names please see:
|
|
42150
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42151
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42152
|
+
* JSPB instance for transitional soy proto support:
|
|
42153
|
+
* http://goto/soy-param-migration
|
|
42154
|
+
* @return {!Object}
|
|
42155
|
+
*/
|
|
42156
|
+
proto.payment.ConfiscationItem.prototype.toObject = function(opt_includeInstance) {
|
|
42157
|
+
return proto.payment.ConfiscationItem.toObject(opt_includeInstance, this);
|
|
42158
|
+
};
|
|
42159
|
+
|
|
42160
|
+
|
|
42161
|
+
/**
|
|
42162
|
+
* Static version of the {@see toObject} method.
|
|
42163
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42164
|
+
* the JSPB instance for transitional soy proto support:
|
|
42165
|
+
* http://goto/soy-param-migration
|
|
42166
|
+
* @param {!proto.payment.ConfiscationItem} msg The msg instance to transform.
|
|
42167
|
+
* @return {!Object}
|
|
42168
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42169
|
+
*/
|
|
42170
|
+
proto.payment.ConfiscationItem.toObject = function(includeInstance, msg) {
|
|
42171
|
+
var f, obj = {
|
|
42172
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
42173
|
+
operationPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42174
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
42175
|
+
confiscationType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
42176
|
+
transactionCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
42177
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
42178
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
42179
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
42180
|
+
internalComment: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
42181
|
+
operatorId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
42182
|
+
statusCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
42183
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
42184
|
+
completedAt: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
42185
|
+
};
|
|
42186
|
+
|
|
42187
|
+
if (includeInstance) {
|
|
42188
|
+
obj.$jspbMessageInstance = msg;
|
|
42189
|
+
}
|
|
42190
|
+
return obj;
|
|
42191
|
+
};
|
|
42192
|
+
}
|
|
42193
|
+
|
|
42194
|
+
|
|
42195
|
+
/**
|
|
42196
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42197
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42198
|
+
* @return {!proto.payment.ConfiscationItem}
|
|
42199
|
+
*/
|
|
42200
|
+
proto.payment.ConfiscationItem.deserializeBinary = function(bytes) {
|
|
42201
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42202
|
+
var msg = new proto.payment.ConfiscationItem;
|
|
42203
|
+
return proto.payment.ConfiscationItem.deserializeBinaryFromReader(msg, reader);
|
|
42204
|
+
};
|
|
42205
|
+
|
|
42206
|
+
|
|
42207
|
+
/**
|
|
42208
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42209
|
+
* given reader into the given message object.
|
|
42210
|
+
* @param {!proto.payment.ConfiscationItem} msg The message object to deserialize into.
|
|
42211
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42212
|
+
* @return {!proto.payment.ConfiscationItem}
|
|
42213
|
+
*/
|
|
42214
|
+
proto.payment.ConfiscationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
42215
|
+
while (reader.nextField()) {
|
|
42216
|
+
if (reader.isEndGroup()) {
|
|
42217
|
+
break;
|
|
42218
|
+
}
|
|
42219
|
+
var field = reader.getFieldNumber();
|
|
42220
|
+
switch (field) {
|
|
42221
|
+
case 1:
|
|
42222
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42223
|
+
msg.setOperationId(value);
|
|
42224
|
+
break;
|
|
42225
|
+
case 2:
|
|
42226
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42227
|
+
msg.setOperationPublicId(value);
|
|
42228
|
+
break;
|
|
42229
|
+
case 3:
|
|
42230
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42231
|
+
msg.setUserId(value);
|
|
42232
|
+
break;
|
|
42233
|
+
case 4:
|
|
42234
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42235
|
+
msg.setConfiscationType(value);
|
|
42236
|
+
break;
|
|
42237
|
+
case 5:
|
|
42238
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42239
|
+
msg.setTransactionCode(value);
|
|
42240
|
+
break;
|
|
42241
|
+
case 6:
|
|
42242
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
42243
|
+
msg.setAmountMinor(value);
|
|
42244
|
+
break;
|
|
42245
|
+
case 7:
|
|
42246
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42247
|
+
msg.setCurrency(value);
|
|
42248
|
+
break;
|
|
42249
|
+
case 8:
|
|
42250
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42251
|
+
msg.setCurrencyScale(value);
|
|
42252
|
+
break;
|
|
42253
|
+
case 9:
|
|
42254
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42255
|
+
msg.setInternalComment(value);
|
|
42256
|
+
break;
|
|
42257
|
+
case 10:
|
|
42258
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42259
|
+
msg.setOperatorId(value);
|
|
42260
|
+
break;
|
|
42261
|
+
case 11:
|
|
42262
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42263
|
+
msg.setStatusCode(value);
|
|
42264
|
+
break;
|
|
42265
|
+
case 12:
|
|
42266
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42267
|
+
msg.setCreatedAt(value);
|
|
42268
|
+
break;
|
|
42269
|
+
case 13:
|
|
42270
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42271
|
+
msg.setCompletedAt(value);
|
|
42272
|
+
break;
|
|
42273
|
+
default:
|
|
42274
|
+
reader.skipField();
|
|
42275
|
+
break;
|
|
42276
|
+
}
|
|
42277
|
+
}
|
|
42278
|
+
return msg;
|
|
42279
|
+
};
|
|
42280
|
+
|
|
42281
|
+
|
|
42282
|
+
/**
|
|
42283
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42284
|
+
* @return {!Uint8Array}
|
|
42285
|
+
*/
|
|
42286
|
+
proto.payment.ConfiscationItem.prototype.serializeBinary = function() {
|
|
42287
|
+
var writer = new jspb.BinaryWriter();
|
|
42288
|
+
proto.payment.ConfiscationItem.serializeBinaryToWriter(this, writer);
|
|
42289
|
+
return writer.getResultBuffer();
|
|
42290
|
+
};
|
|
42291
|
+
|
|
42292
|
+
|
|
42293
|
+
/**
|
|
42294
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42295
|
+
* format), writing to the given BinaryWriter.
|
|
42296
|
+
* @param {!proto.payment.ConfiscationItem} message
|
|
42297
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42298
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42299
|
+
*/
|
|
42300
|
+
proto.payment.ConfiscationItem.serializeBinaryToWriter = function(message, writer) {
|
|
42301
|
+
var f = undefined;
|
|
42302
|
+
f = message.getOperationId();
|
|
42303
|
+
if (f !== 0) {
|
|
42304
|
+
writer.writeInt32(
|
|
42305
|
+
1,
|
|
42306
|
+
f
|
|
42307
|
+
);
|
|
42308
|
+
}
|
|
42309
|
+
f = message.getOperationPublicId();
|
|
42310
|
+
if (f.length > 0) {
|
|
42311
|
+
writer.writeString(
|
|
42312
|
+
2,
|
|
42313
|
+
f
|
|
42314
|
+
);
|
|
42315
|
+
}
|
|
42316
|
+
f = message.getUserId();
|
|
42317
|
+
if (f !== 0) {
|
|
42318
|
+
writer.writeInt32(
|
|
42319
|
+
3,
|
|
42320
|
+
f
|
|
42321
|
+
);
|
|
42322
|
+
}
|
|
42323
|
+
f = message.getConfiscationType();
|
|
42324
|
+
if (f.length > 0) {
|
|
42325
|
+
writer.writeString(
|
|
42326
|
+
4,
|
|
42327
|
+
f
|
|
42328
|
+
);
|
|
42329
|
+
}
|
|
42330
|
+
f = message.getTransactionCode();
|
|
42331
|
+
if (f.length > 0) {
|
|
42332
|
+
writer.writeString(
|
|
42333
|
+
5,
|
|
42334
|
+
f
|
|
42335
|
+
);
|
|
42336
|
+
}
|
|
42337
|
+
f = message.getAmountMinor();
|
|
42338
|
+
if (f !== 0) {
|
|
42339
|
+
writer.writeInt64(
|
|
42340
|
+
6,
|
|
42341
|
+
f
|
|
42342
|
+
);
|
|
42343
|
+
}
|
|
42344
|
+
f = message.getCurrency();
|
|
42345
|
+
if (f.length > 0) {
|
|
42346
|
+
writer.writeString(
|
|
42347
|
+
7,
|
|
42348
|
+
f
|
|
42349
|
+
);
|
|
42350
|
+
}
|
|
42351
|
+
f = message.getCurrencyScale();
|
|
42352
|
+
if (f !== 0) {
|
|
42353
|
+
writer.writeInt32(
|
|
42354
|
+
8,
|
|
42355
|
+
f
|
|
42356
|
+
);
|
|
42357
|
+
}
|
|
42358
|
+
f = message.getInternalComment();
|
|
42359
|
+
if (f.length > 0) {
|
|
42360
|
+
writer.writeString(
|
|
42361
|
+
9,
|
|
42362
|
+
f
|
|
42363
|
+
);
|
|
42364
|
+
}
|
|
42365
|
+
f = message.getOperatorId();
|
|
42366
|
+
if (f !== 0) {
|
|
42367
|
+
writer.writeInt32(
|
|
42368
|
+
10,
|
|
42369
|
+
f
|
|
42370
|
+
);
|
|
42371
|
+
}
|
|
42372
|
+
f = message.getStatusCode();
|
|
42373
|
+
if (f.length > 0) {
|
|
42374
|
+
writer.writeString(
|
|
42375
|
+
11,
|
|
42376
|
+
f
|
|
42377
|
+
);
|
|
42378
|
+
}
|
|
42379
|
+
f = message.getCreatedAt();
|
|
42380
|
+
if (f.length > 0) {
|
|
42381
|
+
writer.writeString(
|
|
42382
|
+
12,
|
|
42383
|
+
f
|
|
42384
|
+
);
|
|
42385
|
+
}
|
|
42386
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
42387
|
+
if (f != null) {
|
|
42388
|
+
writer.writeString(
|
|
42389
|
+
13,
|
|
42390
|
+
f
|
|
42391
|
+
);
|
|
42392
|
+
}
|
|
42393
|
+
};
|
|
42394
|
+
|
|
42395
|
+
|
|
42396
|
+
/**
|
|
42397
|
+
* optional int32 operation_id = 1;
|
|
42398
|
+
* @return {number}
|
|
42399
|
+
*/
|
|
42400
|
+
proto.payment.ConfiscationItem.prototype.getOperationId = function() {
|
|
42401
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
42402
|
+
};
|
|
42403
|
+
|
|
42404
|
+
|
|
42405
|
+
/**
|
|
42406
|
+
* @param {number} value
|
|
42407
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42408
|
+
*/
|
|
42409
|
+
proto.payment.ConfiscationItem.prototype.setOperationId = function(value) {
|
|
42410
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
42411
|
+
};
|
|
42412
|
+
|
|
42413
|
+
|
|
42414
|
+
/**
|
|
42415
|
+
* optional string operation_public_id = 2;
|
|
42416
|
+
* @return {string}
|
|
42417
|
+
*/
|
|
42418
|
+
proto.payment.ConfiscationItem.prototype.getOperationPublicId = function() {
|
|
42419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
42420
|
+
};
|
|
42421
|
+
|
|
42422
|
+
|
|
42423
|
+
/**
|
|
42424
|
+
* @param {string} value
|
|
42425
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42426
|
+
*/
|
|
42427
|
+
proto.payment.ConfiscationItem.prototype.setOperationPublicId = function(value) {
|
|
42428
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
42429
|
+
};
|
|
42430
|
+
|
|
42431
|
+
|
|
42432
|
+
/**
|
|
42433
|
+
* optional int32 user_id = 3;
|
|
42434
|
+
* @return {number}
|
|
42435
|
+
*/
|
|
42436
|
+
proto.payment.ConfiscationItem.prototype.getUserId = function() {
|
|
42437
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
42438
|
+
};
|
|
42439
|
+
|
|
42440
|
+
|
|
42441
|
+
/**
|
|
42442
|
+
* @param {number} value
|
|
42443
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42444
|
+
*/
|
|
42445
|
+
proto.payment.ConfiscationItem.prototype.setUserId = function(value) {
|
|
42446
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
42447
|
+
};
|
|
42448
|
+
|
|
42449
|
+
|
|
42450
|
+
/**
|
|
42451
|
+
* optional string confiscation_type = 4;
|
|
42452
|
+
* @return {string}
|
|
42453
|
+
*/
|
|
42454
|
+
proto.payment.ConfiscationItem.prototype.getConfiscationType = function() {
|
|
42455
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
42456
|
+
};
|
|
42457
|
+
|
|
42458
|
+
|
|
42459
|
+
/**
|
|
42460
|
+
* @param {string} value
|
|
42461
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42462
|
+
*/
|
|
42463
|
+
proto.payment.ConfiscationItem.prototype.setConfiscationType = function(value) {
|
|
42464
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
42465
|
+
};
|
|
42466
|
+
|
|
42467
|
+
|
|
42468
|
+
/**
|
|
42469
|
+
* optional string transaction_code = 5;
|
|
42470
|
+
* @return {string}
|
|
42471
|
+
*/
|
|
42472
|
+
proto.payment.ConfiscationItem.prototype.getTransactionCode = function() {
|
|
42473
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
42474
|
+
};
|
|
42475
|
+
|
|
42476
|
+
|
|
42477
|
+
/**
|
|
42478
|
+
* @param {string} value
|
|
42479
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42480
|
+
*/
|
|
42481
|
+
proto.payment.ConfiscationItem.prototype.setTransactionCode = function(value) {
|
|
42482
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
42483
|
+
};
|
|
42484
|
+
|
|
42485
|
+
|
|
42486
|
+
/**
|
|
42487
|
+
* optional int64 amount_minor = 6;
|
|
42488
|
+
* @return {number}
|
|
42489
|
+
*/
|
|
42490
|
+
proto.payment.ConfiscationItem.prototype.getAmountMinor = function() {
|
|
42491
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
42492
|
+
};
|
|
42493
|
+
|
|
42494
|
+
|
|
42495
|
+
/**
|
|
42496
|
+
* @param {number} value
|
|
42497
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42498
|
+
*/
|
|
42499
|
+
proto.payment.ConfiscationItem.prototype.setAmountMinor = function(value) {
|
|
42500
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
42501
|
+
};
|
|
42502
|
+
|
|
42503
|
+
|
|
42504
|
+
/**
|
|
42505
|
+
* optional string currency = 7;
|
|
42506
|
+
* @return {string}
|
|
42507
|
+
*/
|
|
42508
|
+
proto.payment.ConfiscationItem.prototype.getCurrency = function() {
|
|
42509
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
42510
|
+
};
|
|
42511
|
+
|
|
42512
|
+
|
|
42513
|
+
/**
|
|
42514
|
+
* @param {string} value
|
|
42515
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42516
|
+
*/
|
|
42517
|
+
proto.payment.ConfiscationItem.prototype.setCurrency = function(value) {
|
|
42518
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
42519
|
+
};
|
|
42520
|
+
|
|
42521
|
+
|
|
42522
|
+
/**
|
|
42523
|
+
* optional int32 currency_scale = 8;
|
|
42524
|
+
* @return {number}
|
|
42525
|
+
*/
|
|
42526
|
+
proto.payment.ConfiscationItem.prototype.getCurrencyScale = function() {
|
|
42527
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
42528
|
+
};
|
|
42529
|
+
|
|
42530
|
+
|
|
42531
|
+
/**
|
|
42532
|
+
* @param {number} value
|
|
42533
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42534
|
+
*/
|
|
42535
|
+
proto.payment.ConfiscationItem.prototype.setCurrencyScale = function(value) {
|
|
42536
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
42537
|
+
};
|
|
42538
|
+
|
|
42539
|
+
|
|
42540
|
+
/**
|
|
42541
|
+
* optional string internal_comment = 9;
|
|
42542
|
+
* @return {string}
|
|
42543
|
+
*/
|
|
42544
|
+
proto.payment.ConfiscationItem.prototype.getInternalComment = function() {
|
|
42545
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
42546
|
+
};
|
|
42547
|
+
|
|
42548
|
+
|
|
42549
|
+
/**
|
|
42550
|
+
* @param {string} value
|
|
42551
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42552
|
+
*/
|
|
42553
|
+
proto.payment.ConfiscationItem.prototype.setInternalComment = function(value) {
|
|
42554
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
42555
|
+
};
|
|
42556
|
+
|
|
42557
|
+
|
|
42558
|
+
/**
|
|
42559
|
+
* optional int32 operator_id = 10;
|
|
42560
|
+
* @return {number}
|
|
42561
|
+
*/
|
|
42562
|
+
proto.payment.ConfiscationItem.prototype.getOperatorId = function() {
|
|
42563
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
42564
|
+
};
|
|
42565
|
+
|
|
42566
|
+
|
|
42567
|
+
/**
|
|
42568
|
+
* @param {number} value
|
|
42569
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42570
|
+
*/
|
|
42571
|
+
proto.payment.ConfiscationItem.prototype.setOperatorId = function(value) {
|
|
42572
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
42573
|
+
};
|
|
42574
|
+
|
|
42575
|
+
|
|
42576
|
+
/**
|
|
42577
|
+
* optional string status_code = 11;
|
|
42578
|
+
* @return {string}
|
|
42579
|
+
*/
|
|
42580
|
+
proto.payment.ConfiscationItem.prototype.getStatusCode = function() {
|
|
42581
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
42582
|
+
};
|
|
42583
|
+
|
|
42584
|
+
|
|
42585
|
+
/**
|
|
42586
|
+
* @param {string} value
|
|
42587
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42588
|
+
*/
|
|
42589
|
+
proto.payment.ConfiscationItem.prototype.setStatusCode = function(value) {
|
|
42590
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
42591
|
+
};
|
|
42592
|
+
|
|
42593
|
+
|
|
42594
|
+
/**
|
|
42595
|
+
* optional string created_at = 12;
|
|
42596
|
+
* @return {string}
|
|
42597
|
+
*/
|
|
42598
|
+
proto.payment.ConfiscationItem.prototype.getCreatedAt = function() {
|
|
42599
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
42600
|
+
};
|
|
42601
|
+
|
|
42602
|
+
|
|
42603
|
+
/**
|
|
42604
|
+
* @param {string} value
|
|
42605
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42606
|
+
*/
|
|
42607
|
+
proto.payment.ConfiscationItem.prototype.setCreatedAt = function(value) {
|
|
42608
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
42609
|
+
};
|
|
42610
|
+
|
|
42611
|
+
|
|
42612
|
+
/**
|
|
42613
|
+
* optional string completed_at = 13;
|
|
42614
|
+
* @return {string}
|
|
42615
|
+
*/
|
|
42616
|
+
proto.payment.ConfiscationItem.prototype.getCompletedAt = function() {
|
|
42617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
42618
|
+
};
|
|
42619
|
+
|
|
42620
|
+
|
|
42621
|
+
/**
|
|
42622
|
+
* @param {string} value
|
|
42623
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42624
|
+
*/
|
|
42625
|
+
proto.payment.ConfiscationItem.prototype.setCompletedAt = function(value) {
|
|
42626
|
+
return jspb.Message.setField(this, 13, value);
|
|
42627
|
+
};
|
|
42628
|
+
|
|
42629
|
+
|
|
42630
|
+
/**
|
|
42631
|
+
* Clears the field making it undefined.
|
|
42632
|
+
* @return {!proto.payment.ConfiscationItem} returns this
|
|
42633
|
+
*/
|
|
42634
|
+
proto.payment.ConfiscationItem.prototype.clearCompletedAt = function() {
|
|
42635
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
42636
|
+
};
|
|
42637
|
+
|
|
42638
|
+
|
|
42639
|
+
/**
|
|
42640
|
+
* Returns whether this field is set.
|
|
42641
|
+
* @return {boolean}
|
|
42642
|
+
*/
|
|
42643
|
+
proto.payment.ConfiscationItem.prototype.hasCompletedAt = function() {
|
|
42644
|
+
return jspb.Message.getField(this, 13) != null;
|
|
42645
|
+
};
|
|
42646
|
+
|
|
42647
|
+
|
|
42648
|
+
|
|
42649
|
+
/**
|
|
42650
|
+
* List of repeated fields within this message type.
|
|
42651
|
+
* @private {!Array<number>}
|
|
42652
|
+
* @const
|
|
42653
|
+
*/
|
|
42654
|
+
proto.payment.ConfiscationItemsResponse.repeatedFields_ = [1];
|
|
42655
|
+
|
|
42656
|
+
|
|
42657
|
+
|
|
42658
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42659
|
+
/**
|
|
42660
|
+
* Creates an object representation of this proto.
|
|
42661
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42662
|
+
* Optional fields that are not set will be set to undefined.
|
|
42663
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42664
|
+
* For the list of reserved names please see:
|
|
42665
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42666
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42667
|
+
* JSPB instance for transitional soy proto support:
|
|
42668
|
+
* http://goto/soy-param-migration
|
|
42669
|
+
* @return {!Object}
|
|
42670
|
+
*/
|
|
42671
|
+
proto.payment.ConfiscationItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
42672
|
+
return proto.payment.ConfiscationItemsResponse.toObject(opt_includeInstance, this);
|
|
42673
|
+
};
|
|
42674
|
+
|
|
42675
|
+
|
|
42676
|
+
/**
|
|
42677
|
+
* Static version of the {@see toObject} method.
|
|
42678
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42679
|
+
* the JSPB instance for transitional soy proto support:
|
|
42680
|
+
* http://goto/soy-param-migration
|
|
42681
|
+
* @param {!proto.payment.ConfiscationItemsResponse} msg The msg instance to transform.
|
|
42682
|
+
* @return {!Object}
|
|
42683
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42684
|
+
*/
|
|
42685
|
+
proto.payment.ConfiscationItemsResponse.toObject = function(includeInstance, msg) {
|
|
42686
|
+
var f, obj = {
|
|
42687
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
42688
|
+
proto.payment.ConfiscationItem.toObject, includeInstance),
|
|
42689
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
42690
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
42691
|
+
};
|
|
42692
|
+
|
|
42693
|
+
if (includeInstance) {
|
|
42694
|
+
obj.$jspbMessageInstance = msg;
|
|
42695
|
+
}
|
|
42696
|
+
return obj;
|
|
42697
|
+
};
|
|
42698
|
+
}
|
|
42699
|
+
|
|
42700
|
+
|
|
42701
|
+
/**
|
|
42702
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42703
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42704
|
+
* @return {!proto.payment.ConfiscationItemsResponse}
|
|
42705
|
+
*/
|
|
42706
|
+
proto.payment.ConfiscationItemsResponse.deserializeBinary = function(bytes) {
|
|
42707
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42708
|
+
var msg = new proto.payment.ConfiscationItemsResponse;
|
|
42709
|
+
return proto.payment.ConfiscationItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
42710
|
+
};
|
|
42711
|
+
|
|
42712
|
+
|
|
42713
|
+
/**
|
|
42714
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42715
|
+
* given reader into the given message object.
|
|
42716
|
+
* @param {!proto.payment.ConfiscationItemsResponse} msg The message object to deserialize into.
|
|
42717
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42718
|
+
* @return {!proto.payment.ConfiscationItemsResponse}
|
|
42719
|
+
*/
|
|
42720
|
+
proto.payment.ConfiscationItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
42721
|
+
while (reader.nextField()) {
|
|
42722
|
+
if (reader.isEndGroup()) {
|
|
42723
|
+
break;
|
|
42724
|
+
}
|
|
42725
|
+
var field = reader.getFieldNumber();
|
|
42726
|
+
switch (field) {
|
|
42727
|
+
case 1:
|
|
42728
|
+
var value = new proto.payment.ConfiscationItem;
|
|
42729
|
+
reader.readMessage(value,proto.payment.ConfiscationItem.deserializeBinaryFromReader);
|
|
42730
|
+
msg.addItems(value);
|
|
42731
|
+
break;
|
|
42732
|
+
case 2:
|
|
42733
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42734
|
+
msg.setTotalPages(value);
|
|
42735
|
+
break;
|
|
42736
|
+
case 3:
|
|
42737
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
42738
|
+
msg.setTotalItems(value);
|
|
42739
|
+
break;
|
|
42740
|
+
default:
|
|
42741
|
+
reader.skipField();
|
|
42742
|
+
break;
|
|
42743
|
+
}
|
|
42744
|
+
}
|
|
42745
|
+
return msg;
|
|
42746
|
+
};
|
|
42747
|
+
|
|
42748
|
+
|
|
42749
|
+
/**
|
|
42750
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42751
|
+
* @return {!Uint8Array}
|
|
42752
|
+
*/
|
|
42753
|
+
proto.payment.ConfiscationItemsResponse.prototype.serializeBinary = function() {
|
|
42754
|
+
var writer = new jspb.BinaryWriter();
|
|
42755
|
+
proto.payment.ConfiscationItemsResponse.serializeBinaryToWriter(this, writer);
|
|
42756
|
+
return writer.getResultBuffer();
|
|
42757
|
+
};
|
|
42758
|
+
|
|
42759
|
+
|
|
42760
|
+
/**
|
|
42761
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42762
|
+
* format), writing to the given BinaryWriter.
|
|
42763
|
+
* @param {!proto.payment.ConfiscationItemsResponse} message
|
|
42764
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42765
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42766
|
+
*/
|
|
42767
|
+
proto.payment.ConfiscationItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
42768
|
+
var f = undefined;
|
|
42769
|
+
f = message.getItemsList();
|
|
42770
|
+
if (f.length > 0) {
|
|
42771
|
+
writer.writeRepeatedMessage(
|
|
42772
|
+
1,
|
|
42773
|
+
f,
|
|
42774
|
+
proto.payment.ConfiscationItem.serializeBinaryToWriter
|
|
42775
|
+
);
|
|
42776
|
+
}
|
|
42777
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
42778
|
+
if (f != null) {
|
|
42779
|
+
writer.writeInt32(
|
|
42780
|
+
2,
|
|
42781
|
+
f
|
|
42782
|
+
);
|
|
42783
|
+
}
|
|
42784
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
42785
|
+
if (f != null) {
|
|
42786
|
+
writer.writeInt32(
|
|
42787
|
+
3,
|
|
42788
|
+
f
|
|
42789
|
+
);
|
|
42790
|
+
}
|
|
42791
|
+
};
|
|
42792
|
+
|
|
42793
|
+
|
|
42794
|
+
/**
|
|
42795
|
+
* repeated ConfiscationItem items = 1;
|
|
42796
|
+
* @return {!Array<!proto.payment.ConfiscationItem>}
|
|
42797
|
+
*/
|
|
42798
|
+
proto.payment.ConfiscationItemsResponse.prototype.getItemsList = function() {
|
|
42799
|
+
return /** @type{!Array<!proto.payment.ConfiscationItem>} */ (
|
|
42800
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.ConfiscationItem, 1));
|
|
42801
|
+
};
|
|
42802
|
+
|
|
42803
|
+
|
|
42804
|
+
/**
|
|
42805
|
+
* @param {!Array<!proto.payment.ConfiscationItem>} value
|
|
42806
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42807
|
+
*/
|
|
42808
|
+
proto.payment.ConfiscationItemsResponse.prototype.setItemsList = function(value) {
|
|
42809
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
42810
|
+
};
|
|
42811
|
+
|
|
42812
|
+
|
|
42813
|
+
/**
|
|
42814
|
+
* @param {!proto.payment.ConfiscationItem=} opt_value
|
|
42815
|
+
* @param {number=} opt_index
|
|
42816
|
+
* @return {!proto.payment.ConfiscationItem}
|
|
42817
|
+
*/
|
|
42818
|
+
proto.payment.ConfiscationItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
42819
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.ConfiscationItem, opt_index);
|
|
42820
|
+
};
|
|
42821
|
+
|
|
42822
|
+
|
|
42823
|
+
/**
|
|
42824
|
+
* Clears the list making it empty but non-null.
|
|
42825
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42826
|
+
*/
|
|
42827
|
+
proto.payment.ConfiscationItemsResponse.prototype.clearItemsList = function() {
|
|
42828
|
+
return this.setItemsList([]);
|
|
42829
|
+
};
|
|
42830
|
+
|
|
42831
|
+
|
|
42832
|
+
/**
|
|
42833
|
+
* optional int32 total_pages = 2;
|
|
42834
|
+
* @return {number}
|
|
42835
|
+
*/
|
|
42836
|
+
proto.payment.ConfiscationItemsResponse.prototype.getTotalPages = function() {
|
|
42837
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
42838
|
+
};
|
|
42839
|
+
|
|
42840
|
+
|
|
42841
|
+
/**
|
|
42842
|
+
* @param {number} value
|
|
42843
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42844
|
+
*/
|
|
42845
|
+
proto.payment.ConfiscationItemsResponse.prototype.setTotalPages = function(value) {
|
|
42846
|
+
return jspb.Message.setField(this, 2, value);
|
|
42847
|
+
};
|
|
42848
|
+
|
|
42849
|
+
|
|
42850
|
+
/**
|
|
42851
|
+
* Clears the field making it undefined.
|
|
42852
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42853
|
+
*/
|
|
42854
|
+
proto.payment.ConfiscationItemsResponse.prototype.clearTotalPages = function() {
|
|
42855
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
42856
|
+
};
|
|
42857
|
+
|
|
42858
|
+
|
|
42859
|
+
/**
|
|
42860
|
+
* Returns whether this field is set.
|
|
42861
|
+
* @return {boolean}
|
|
42862
|
+
*/
|
|
42863
|
+
proto.payment.ConfiscationItemsResponse.prototype.hasTotalPages = function() {
|
|
42864
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42865
|
+
};
|
|
42866
|
+
|
|
42867
|
+
|
|
42868
|
+
/**
|
|
42869
|
+
* optional int32 total_items = 3;
|
|
42870
|
+
* @return {number}
|
|
42871
|
+
*/
|
|
42872
|
+
proto.payment.ConfiscationItemsResponse.prototype.getTotalItems = function() {
|
|
42873
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
42874
|
+
};
|
|
42875
|
+
|
|
42876
|
+
|
|
42877
|
+
/**
|
|
42878
|
+
* @param {number} value
|
|
42879
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42880
|
+
*/
|
|
42881
|
+
proto.payment.ConfiscationItemsResponse.prototype.setTotalItems = function(value) {
|
|
42882
|
+
return jspb.Message.setField(this, 3, value);
|
|
42883
|
+
};
|
|
42884
|
+
|
|
42885
|
+
|
|
42886
|
+
/**
|
|
42887
|
+
* Clears the field making it undefined.
|
|
42888
|
+
* @return {!proto.payment.ConfiscationItemsResponse} returns this
|
|
42889
|
+
*/
|
|
42890
|
+
proto.payment.ConfiscationItemsResponse.prototype.clearTotalItems = function() {
|
|
42891
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
42892
|
+
};
|
|
42893
|
+
|
|
42894
|
+
|
|
42895
|
+
/**
|
|
42896
|
+
* Returns whether this field is set.
|
|
42897
|
+
* @return {boolean}
|
|
42898
|
+
*/
|
|
42899
|
+
proto.payment.ConfiscationItemsResponse.prototype.hasTotalItems = function() {
|
|
42900
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42901
|
+
};
|
|
42902
|
+
|
|
42903
|
+
|
|
41496
42904
|
|
|
41497
42905
|
|
|
41498
42906
|
|