protobuf-platform 1.2.502 → 1.2.505
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 +3 -0
- package/bonus/bonus_pb.js +145 -1
- package/package.json +1 -1
- package/payment/payment.proto +26 -0
- package/payment/payment_grpc_pb.js +34 -0
- package/payment/payment_pb.js +1321 -87
- package/tournament/tournament.proto +25 -0
- package/tournament/tournament_grpc_pb.js +34 -0
- package/tournament/tournament_pb.js +1186 -0
- package/user/user.proto +35 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +1414 -0
package/payment/payment_pb.js
CHANGED
|
@@ -56,6 +56,7 @@ goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
|
|
|
56
56
|
goog.exportSymbol('proto.payment.GetFileRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.payment.GetOperationDetailsRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.payment.GetPaymentMethodSnapshotsByIdsRequest', null, global);
|
|
59
60
|
goog.exportSymbol('proto.payment.GetProviderRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.payment.GetProviderTranslationRequest', null, global);
|
|
61
62
|
goog.exportSymbol('proto.payment.GetUserDepositCountRequest', null, global);
|
|
@@ -83,6 +84,8 @@ goog.exportSymbol('proto.payment.OperationLedgerItem', null, global);
|
|
|
83
84
|
goog.exportSymbol('proto.payment.PaginationRequest', null, global);
|
|
84
85
|
goog.exportSymbol('proto.payment.PaymentMethodConfigRequest', null, global);
|
|
85
86
|
goog.exportSymbol('proto.payment.PaymentMethodConfigResponse', null, global);
|
|
87
|
+
goog.exportSymbol('proto.payment.PaymentMethodSnapshotItem', null, global);
|
|
88
|
+
goog.exportSymbol('proto.payment.PaymentMethodSnapshotItemsResponse', null, global);
|
|
86
89
|
goog.exportSymbol('proto.payment.PaymentSearchRequest', null, global);
|
|
87
90
|
goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
|
|
88
91
|
goog.exportSymbol('proto.payment.PingRequest', null, global);
|
|
@@ -644,6 +647,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
644
647
|
*/
|
|
645
648
|
proto.payment.PoorMethodsRequest.displayName = 'proto.payment.PoorMethodsRequest';
|
|
646
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* Generated by JsPbCodeGenerator.
|
|
652
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
653
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
654
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
655
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
656
|
+
* valid.
|
|
657
|
+
* @extends {jspb.Message}
|
|
658
|
+
* @constructor
|
|
659
|
+
*/
|
|
660
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest = function(opt_data) {
|
|
661
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetPaymentMethodSnapshotsByIdsRequest.repeatedFields_, null);
|
|
662
|
+
};
|
|
663
|
+
goog.inherits(proto.payment.GetPaymentMethodSnapshotsByIdsRequest, jspb.Message);
|
|
664
|
+
if (goog.DEBUG && !COMPILED) {
|
|
665
|
+
/**
|
|
666
|
+
* @public
|
|
667
|
+
* @override
|
|
668
|
+
*/
|
|
669
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.displayName = 'proto.payment.GetPaymentMethodSnapshotsByIdsRequest';
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* Generated by JsPbCodeGenerator.
|
|
673
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
674
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
675
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
676
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
677
|
+
* valid.
|
|
678
|
+
* @extends {jspb.Message}
|
|
679
|
+
* @constructor
|
|
680
|
+
*/
|
|
681
|
+
proto.payment.PaymentMethodSnapshotItem = function(opt_data) {
|
|
682
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
683
|
+
};
|
|
684
|
+
goog.inherits(proto.payment.PaymentMethodSnapshotItem, jspb.Message);
|
|
685
|
+
if (goog.DEBUG && !COMPILED) {
|
|
686
|
+
/**
|
|
687
|
+
* @public
|
|
688
|
+
* @override
|
|
689
|
+
*/
|
|
690
|
+
proto.payment.PaymentMethodSnapshotItem.displayName = 'proto.payment.PaymentMethodSnapshotItem';
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Generated by JsPbCodeGenerator.
|
|
694
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
695
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
696
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
697
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
698
|
+
* valid.
|
|
699
|
+
* @extends {jspb.Message}
|
|
700
|
+
* @constructor
|
|
701
|
+
*/
|
|
702
|
+
proto.payment.PaymentMethodSnapshotItemsResponse = function(opt_data) {
|
|
703
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PaymentMethodSnapshotItemsResponse.repeatedFields_, null);
|
|
704
|
+
};
|
|
705
|
+
goog.inherits(proto.payment.PaymentMethodSnapshotItemsResponse, jspb.Message);
|
|
706
|
+
if (goog.DEBUG && !COMPILED) {
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* @override
|
|
710
|
+
*/
|
|
711
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.displayName = 'proto.payment.PaymentMethodSnapshotItemsResponse';
|
|
712
|
+
}
|
|
647
713
|
/**
|
|
648
714
|
* Generated by JsPbCodeGenerator.
|
|
649
715
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9040,67 +9106,1089 @@ proto.payment.MethodItemsResponse.serializeBinaryToWriter = function(message, wr
|
|
|
9040
9106
|
|
|
9041
9107
|
|
|
9042
9108
|
/**
|
|
9043
|
-
* repeated MethodItem items = 1;
|
|
9044
|
-
* @return {!Array<!proto.payment.MethodItem>}
|
|
9109
|
+
* repeated MethodItem items = 1;
|
|
9110
|
+
* @return {!Array<!proto.payment.MethodItem>}
|
|
9111
|
+
*/
|
|
9112
|
+
proto.payment.MethodItemsResponse.prototype.getItemsList = function() {
|
|
9113
|
+
return /** @type{!Array<!proto.payment.MethodItem>} */ (
|
|
9114
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.MethodItem, 1));
|
|
9115
|
+
};
|
|
9116
|
+
|
|
9117
|
+
|
|
9118
|
+
/**
|
|
9119
|
+
* @param {!Array<!proto.payment.MethodItem>} value
|
|
9120
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9121
|
+
*/
|
|
9122
|
+
proto.payment.MethodItemsResponse.prototype.setItemsList = function(value) {
|
|
9123
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
9124
|
+
};
|
|
9125
|
+
|
|
9126
|
+
|
|
9127
|
+
/**
|
|
9128
|
+
* @param {!proto.payment.MethodItem=} opt_value
|
|
9129
|
+
* @param {number=} opt_index
|
|
9130
|
+
* @return {!proto.payment.MethodItem}
|
|
9131
|
+
*/
|
|
9132
|
+
proto.payment.MethodItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
9133
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.MethodItem, opt_index);
|
|
9134
|
+
};
|
|
9135
|
+
|
|
9136
|
+
|
|
9137
|
+
/**
|
|
9138
|
+
* Clears the list making it empty but non-null.
|
|
9139
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9140
|
+
*/
|
|
9141
|
+
proto.payment.MethodItemsResponse.prototype.clearItemsList = function() {
|
|
9142
|
+
return this.setItemsList([]);
|
|
9143
|
+
};
|
|
9144
|
+
|
|
9145
|
+
|
|
9146
|
+
/**
|
|
9147
|
+
* optional int32 total_pages = 2;
|
|
9148
|
+
* @return {number}
|
|
9149
|
+
*/
|
|
9150
|
+
proto.payment.MethodItemsResponse.prototype.getTotalPages = function() {
|
|
9151
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9152
|
+
};
|
|
9153
|
+
|
|
9154
|
+
|
|
9155
|
+
/**
|
|
9156
|
+
* @param {number} value
|
|
9157
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9158
|
+
*/
|
|
9159
|
+
proto.payment.MethodItemsResponse.prototype.setTotalPages = function(value) {
|
|
9160
|
+
return jspb.Message.setField(this, 2, value);
|
|
9161
|
+
};
|
|
9162
|
+
|
|
9163
|
+
|
|
9164
|
+
/**
|
|
9165
|
+
* Clears the field making it undefined.
|
|
9166
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9167
|
+
*/
|
|
9168
|
+
proto.payment.MethodItemsResponse.prototype.clearTotalPages = function() {
|
|
9169
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
9170
|
+
};
|
|
9171
|
+
|
|
9172
|
+
|
|
9173
|
+
/**
|
|
9174
|
+
* Returns whether this field is set.
|
|
9175
|
+
* @return {boolean}
|
|
9176
|
+
*/
|
|
9177
|
+
proto.payment.MethodItemsResponse.prototype.hasTotalPages = function() {
|
|
9178
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9179
|
+
};
|
|
9180
|
+
|
|
9181
|
+
|
|
9182
|
+
/**
|
|
9183
|
+
* optional int32 total_items = 3;
|
|
9184
|
+
* @return {number}
|
|
9185
|
+
*/
|
|
9186
|
+
proto.payment.MethodItemsResponse.prototype.getTotalItems = function() {
|
|
9187
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
9188
|
+
};
|
|
9189
|
+
|
|
9190
|
+
|
|
9191
|
+
/**
|
|
9192
|
+
* @param {number} value
|
|
9193
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9194
|
+
*/
|
|
9195
|
+
proto.payment.MethodItemsResponse.prototype.setTotalItems = function(value) {
|
|
9196
|
+
return jspb.Message.setField(this, 3, value);
|
|
9197
|
+
};
|
|
9198
|
+
|
|
9199
|
+
|
|
9200
|
+
/**
|
|
9201
|
+
* Clears the field making it undefined.
|
|
9202
|
+
* @return {!proto.payment.MethodItemsResponse} returns this
|
|
9203
|
+
*/
|
|
9204
|
+
proto.payment.MethodItemsResponse.prototype.clearTotalItems = function() {
|
|
9205
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
9206
|
+
};
|
|
9207
|
+
|
|
9208
|
+
|
|
9209
|
+
/**
|
|
9210
|
+
* Returns whether this field is set.
|
|
9211
|
+
* @return {boolean}
|
|
9212
|
+
*/
|
|
9213
|
+
proto.payment.MethodItemsResponse.prototype.hasTotalItems = function() {
|
|
9214
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9215
|
+
};
|
|
9216
|
+
|
|
9217
|
+
|
|
9218
|
+
|
|
9219
|
+
/**
|
|
9220
|
+
* List of repeated fields within this message type.
|
|
9221
|
+
* @private {!Array<number>}
|
|
9222
|
+
* @const
|
|
9223
|
+
*/
|
|
9224
|
+
proto.payment.PoorMethodsRequest.repeatedFields_ = [1];
|
|
9225
|
+
|
|
9226
|
+
|
|
9227
|
+
|
|
9228
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9229
|
+
/**
|
|
9230
|
+
* Creates an object representation of this proto.
|
|
9231
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9232
|
+
* Optional fields that are not set will be set to undefined.
|
|
9233
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9234
|
+
* For the list of reserved names please see:
|
|
9235
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9236
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9237
|
+
* JSPB instance for transitional soy proto support:
|
|
9238
|
+
* http://goto/soy-param-migration
|
|
9239
|
+
* @return {!Object}
|
|
9240
|
+
*/
|
|
9241
|
+
proto.payment.PoorMethodsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9242
|
+
return proto.payment.PoorMethodsRequest.toObject(opt_includeInstance, this);
|
|
9243
|
+
};
|
|
9244
|
+
|
|
9245
|
+
|
|
9246
|
+
/**
|
|
9247
|
+
* Static version of the {@see toObject} method.
|
|
9248
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9249
|
+
* the JSPB instance for transitional soy proto support:
|
|
9250
|
+
* http://goto/soy-param-migration
|
|
9251
|
+
* @param {!proto.payment.PoorMethodsRequest} msg The msg instance to transform.
|
|
9252
|
+
* @return {!Object}
|
|
9253
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9254
|
+
*/
|
|
9255
|
+
proto.payment.PoorMethodsRequest.toObject = function(includeInstance, msg) {
|
|
9256
|
+
var f, obj = {
|
|
9257
|
+
methodIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
9258
|
+
};
|
|
9259
|
+
|
|
9260
|
+
if (includeInstance) {
|
|
9261
|
+
obj.$jspbMessageInstance = msg;
|
|
9262
|
+
}
|
|
9263
|
+
return obj;
|
|
9264
|
+
};
|
|
9265
|
+
}
|
|
9266
|
+
|
|
9267
|
+
|
|
9268
|
+
/**
|
|
9269
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9270
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9271
|
+
* @return {!proto.payment.PoorMethodsRequest}
|
|
9272
|
+
*/
|
|
9273
|
+
proto.payment.PoorMethodsRequest.deserializeBinary = function(bytes) {
|
|
9274
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9275
|
+
var msg = new proto.payment.PoorMethodsRequest;
|
|
9276
|
+
return proto.payment.PoorMethodsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9277
|
+
};
|
|
9278
|
+
|
|
9279
|
+
|
|
9280
|
+
/**
|
|
9281
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9282
|
+
* given reader into the given message object.
|
|
9283
|
+
* @param {!proto.payment.PoorMethodsRequest} msg The message object to deserialize into.
|
|
9284
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9285
|
+
* @return {!proto.payment.PoorMethodsRequest}
|
|
9286
|
+
*/
|
|
9287
|
+
proto.payment.PoorMethodsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9288
|
+
while (reader.nextField()) {
|
|
9289
|
+
if (reader.isEndGroup()) {
|
|
9290
|
+
break;
|
|
9291
|
+
}
|
|
9292
|
+
var field = reader.getFieldNumber();
|
|
9293
|
+
switch (field) {
|
|
9294
|
+
case 1:
|
|
9295
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
9296
|
+
for (var i = 0; i < values.length; i++) {
|
|
9297
|
+
msg.addMethodIds(values[i]);
|
|
9298
|
+
}
|
|
9299
|
+
break;
|
|
9300
|
+
default:
|
|
9301
|
+
reader.skipField();
|
|
9302
|
+
break;
|
|
9303
|
+
}
|
|
9304
|
+
}
|
|
9305
|
+
return msg;
|
|
9306
|
+
};
|
|
9307
|
+
|
|
9308
|
+
|
|
9309
|
+
/**
|
|
9310
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9311
|
+
* @return {!Uint8Array}
|
|
9312
|
+
*/
|
|
9313
|
+
proto.payment.PoorMethodsRequest.prototype.serializeBinary = function() {
|
|
9314
|
+
var writer = new jspb.BinaryWriter();
|
|
9315
|
+
proto.payment.PoorMethodsRequest.serializeBinaryToWriter(this, writer);
|
|
9316
|
+
return writer.getResultBuffer();
|
|
9317
|
+
};
|
|
9318
|
+
|
|
9319
|
+
|
|
9320
|
+
/**
|
|
9321
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9322
|
+
* format), writing to the given BinaryWriter.
|
|
9323
|
+
* @param {!proto.payment.PoorMethodsRequest} message
|
|
9324
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9325
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9326
|
+
*/
|
|
9327
|
+
proto.payment.PoorMethodsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9328
|
+
var f = undefined;
|
|
9329
|
+
f = message.getMethodIdsList();
|
|
9330
|
+
if (f.length > 0) {
|
|
9331
|
+
writer.writePackedInt32(
|
|
9332
|
+
1,
|
|
9333
|
+
f
|
|
9334
|
+
);
|
|
9335
|
+
}
|
|
9336
|
+
};
|
|
9337
|
+
|
|
9338
|
+
|
|
9339
|
+
/**
|
|
9340
|
+
* repeated int32 method_ids = 1;
|
|
9341
|
+
* @return {!Array<number>}
|
|
9342
|
+
*/
|
|
9343
|
+
proto.payment.PoorMethodsRequest.prototype.getMethodIdsList = function() {
|
|
9344
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
9345
|
+
};
|
|
9346
|
+
|
|
9347
|
+
|
|
9348
|
+
/**
|
|
9349
|
+
* @param {!Array<number>} value
|
|
9350
|
+
* @return {!proto.payment.PoorMethodsRequest} returns this
|
|
9351
|
+
*/
|
|
9352
|
+
proto.payment.PoorMethodsRequest.prototype.setMethodIdsList = function(value) {
|
|
9353
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
9354
|
+
};
|
|
9355
|
+
|
|
9356
|
+
|
|
9357
|
+
/**
|
|
9358
|
+
* @param {number} value
|
|
9359
|
+
* @param {number=} opt_index
|
|
9360
|
+
* @return {!proto.payment.PoorMethodsRequest} returns this
|
|
9361
|
+
*/
|
|
9362
|
+
proto.payment.PoorMethodsRequest.prototype.addMethodIds = function(value, opt_index) {
|
|
9363
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
9364
|
+
};
|
|
9365
|
+
|
|
9366
|
+
|
|
9367
|
+
/**
|
|
9368
|
+
* Clears the list making it empty but non-null.
|
|
9369
|
+
* @return {!proto.payment.PoorMethodsRequest} returns this
|
|
9370
|
+
*/
|
|
9371
|
+
proto.payment.PoorMethodsRequest.prototype.clearMethodIdsList = function() {
|
|
9372
|
+
return this.setMethodIdsList([]);
|
|
9373
|
+
};
|
|
9374
|
+
|
|
9375
|
+
|
|
9376
|
+
|
|
9377
|
+
/**
|
|
9378
|
+
* List of repeated fields within this message type.
|
|
9379
|
+
* @private {!Array<number>}
|
|
9380
|
+
* @const
|
|
9381
|
+
*/
|
|
9382
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
9383
|
+
|
|
9384
|
+
|
|
9385
|
+
|
|
9386
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9387
|
+
/**
|
|
9388
|
+
* Creates an object representation of this proto.
|
|
9389
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9390
|
+
* Optional fields that are not set will be set to undefined.
|
|
9391
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9392
|
+
* For the list of reserved names please see:
|
|
9393
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9394
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9395
|
+
* JSPB instance for transitional soy proto support:
|
|
9396
|
+
* http://goto/soy-param-migration
|
|
9397
|
+
* @return {!Object}
|
|
9398
|
+
*/
|
|
9399
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9400
|
+
return proto.payment.GetPaymentMethodSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
9401
|
+
};
|
|
9402
|
+
|
|
9403
|
+
|
|
9404
|
+
/**
|
|
9405
|
+
* Static version of the {@see toObject} method.
|
|
9406
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9407
|
+
* the JSPB instance for transitional soy proto support:
|
|
9408
|
+
* http://goto/soy-param-migration
|
|
9409
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
9410
|
+
* @return {!Object}
|
|
9411
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9412
|
+
*/
|
|
9413
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
9414
|
+
var f, obj = {
|
|
9415
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
9416
|
+
};
|
|
9417
|
+
|
|
9418
|
+
if (includeInstance) {
|
|
9419
|
+
obj.$jspbMessageInstance = msg;
|
|
9420
|
+
}
|
|
9421
|
+
return obj;
|
|
9422
|
+
};
|
|
9423
|
+
}
|
|
9424
|
+
|
|
9425
|
+
|
|
9426
|
+
/**
|
|
9427
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9428
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9429
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest}
|
|
9430
|
+
*/
|
|
9431
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
9432
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9433
|
+
var msg = new proto.payment.GetPaymentMethodSnapshotsByIdsRequest;
|
|
9434
|
+
return proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9435
|
+
};
|
|
9436
|
+
|
|
9437
|
+
|
|
9438
|
+
/**
|
|
9439
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9440
|
+
* given reader into the given message object.
|
|
9441
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
9442
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9443
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest}
|
|
9444
|
+
*/
|
|
9445
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9446
|
+
while (reader.nextField()) {
|
|
9447
|
+
if (reader.isEndGroup()) {
|
|
9448
|
+
break;
|
|
9449
|
+
}
|
|
9450
|
+
var field = reader.getFieldNumber();
|
|
9451
|
+
switch (field) {
|
|
9452
|
+
case 1:
|
|
9453
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
9454
|
+
for (var i = 0; i < values.length; i++) {
|
|
9455
|
+
msg.addIds(values[i]);
|
|
9456
|
+
}
|
|
9457
|
+
break;
|
|
9458
|
+
default:
|
|
9459
|
+
reader.skipField();
|
|
9460
|
+
break;
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9463
|
+
return msg;
|
|
9464
|
+
};
|
|
9465
|
+
|
|
9466
|
+
|
|
9467
|
+
/**
|
|
9468
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9469
|
+
* @return {!Uint8Array}
|
|
9470
|
+
*/
|
|
9471
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
9472
|
+
var writer = new jspb.BinaryWriter();
|
|
9473
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
9474
|
+
return writer.getResultBuffer();
|
|
9475
|
+
};
|
|
9476
|
+
|
|
9477
|
+
|
|
9478
|
+
/**
|
|
9479
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9480
|
+
* format), writing to the given BinaryWriter.
|
|
9481
|
+
* @param {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} message
|
|
9482
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9483
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9484
|
+
*/
|
|
9485
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9486
|
+
var f = undefined;
|
|
9487
|
+
f = message.getIdsList();
|
|
9488
|
+
if (f.length > 0) {
|
|
9489
|
+
writer.writePackedInt32(
|
|
9490
|
+
1,
|
|
9491
|
+
f
|
|
9492
|
+
);
|
|
9493
|
+
}
|
|
9494
|
+
};
|
|
9495
|
+
|
|
9496
|
+
|
|
9497
|
+
/**
|
|
9498
|
+
* repeated int32 ids = 1;
|
|
9499
|
+
* @return {!Array<number>}
|
|
9500
|
+
*/
|
|
9501
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
9502
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
9503
|
+
};
|
|
9504
|
+
|
|
9505
|
+
|
|
9506
|
+
/**
|
|
9507
|
+
* @param {!Array<number>} value
|
|
9508
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9509
|
+
*/
|
|
9510
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
9511
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
9512
|
+
};
|
|
9513
|
+
|
|
9514
|
+
|
|
9515
|
+
/**
|
|
9516
|
+
* @param {number} value
|
|
9517
|
+
* @param {number=} opt_index
|
|
9518
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9519
|
+
*/
|
|
9520
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
9521
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
9522
|
+
};
|
|
9523
|
+
|
|
9524
|
+
|
|
9525
|
+
/**
|
|
9526
|
+
* Clears the list making it empty but non-null.
|
|
9527
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
9528
|
+
*/
|
|
9529
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
9530
|
+
return this.setIdsList([]);
|
|
9531
|
+
};
|
|
9532
|
+
|
|
9533
|
+
|
|
9534
|
+
|
|
9535
|
+
|
|
9536
|
+
|
|
9537
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9538
|
+
/**
|
|
9539
|
+
* Creates an object representation of this proto.
|
|
9540
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9541
|
+
* Optional fields that are not set will be set to undefined.
|
|
9542
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9543
|
+
* For the list of reserved names please see:
|
|
9544
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9545
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9546
|
+
* JSPB instance for transitional soy proto support:
|
|
9547
|
+
* http://goto/soy-param-migration
|
|
9548
|
+
* @return {!Object}
|
|
9549
|
+
*/
|
|
9550
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
9551
|
+
return proto.payment.PaymentMethodSnapshotItem.toObject(opt_includeInstance, this);
|
|
9552
|
+
};
|
|
9553
|
+
|
|
9554
|
+
|
|
9555
|
+
/**
|
|
9556
|
+
* Static version of the {@see toObject} method.
|
|
9557
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9558
|
+
* the JSPB instance for transitional soy proto support:
|
|
9559
|
+
* http://goto/soy-param-migration
|
|
9560
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} msg The msg instance to transform.
|
|
9561
|
+
* @return {!Object}
|
|
9562
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9563
|
+
*/
|
|
9564
|
+
proto.payment.PaymentMethodSnapshotItem.toObject = function(includeInstance, msg) {
|
|
9565
|
+
var f, obj = {
|
|
9566
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9567
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9568
|
+
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9569
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9570
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9571
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9572
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
9573
|
+
transactionType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9574
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
9575
|
+
providerId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
9576
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9577
|
+
providerImage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9578
|
+
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
9579
|
+
};
|
|
9580
|
+
|
|
9581
|
+
if (includeInstance) {
|
|
9582
|
+
obj.$jspbMessageInstance = msg;
|
|
9583
|
+
}
|
|
9584
|
+
return obj;
|
|
9585
|
+
};
|
|
9586
|
+
}
|
|
9587
|
+
|
|
9588
|
+
|
|
9589
|
+
/**
|
|
9590
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9591
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9592
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
9593
|
+
*/
|
|
9594
|
+
proto.payment.PaymentMethodSnapshotItem.deserializeBinary = function(bytes) {
|
|
9595
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9596
|
+
var msg = new proto.payment.PaymentMethodSnapshotItem;
|
|
9597
|
+
return proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
9598
|
+
};
|
|
9599
|
+
|
|
9600
|
+
|
|
9601
|
+
/**
|
|
9602
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9603
|
+
* given reader into the given message object.
|
|
9604
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} msg The message object to deserialize into.
|
|
9605
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9606
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
9607
|
+
*/
|
|
9608
|
+
proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
9609
|
+
while (reader.nextField()) {
|
|
9610
|
+
if (reader.isEndGroup()) {
|
|
9611
|
+
break;
|
|
9612
|
+
}
|
|
9613
|
+
var field = reader.getFieldNumber();
|
|
9614
|
+
switch (field) {
|
|
9615
|
+
case 1:
|
|
9616
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9617
|
+
msg.setId(value);
|
|
9618
|
+
break;
|
|
9619
|
+
case 2:
|
|
9620
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9621
|
+
msg.setTitle(value);
|
|
9622
|
+
break;
|
|
9623
|
+
case 3:
|
|
9624
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9625
|
+
msg.setCode(value);
|
|
9626
|
+
break;
|
|
9627
|
+
case 4:
|
|
9628
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9629
|
+
msg.setDescription(value);
|
|
9630
|
+
break;
|
|
9631
|
+
case 5:
|
|
9632
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9633
|
+
msg.setImage(value);
|
|
9634
|
+
break;
|
|
9635
|
+
case 6:
|
|
9636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9637
|
+
msg.setImageCdn(value);
|
|
9638
|
+
break;
|
|
9639
|
+
case 7:
|
|
9640
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9641
|
+
msg.setIsActive(value);
|
|
9642
|
+
break;
|
|
9643
|
+
case 8:
|
|
9644
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9645
|
+
msg.setTransactionType(value);
|
|
9646
|
+
break;
|
|
9647
|
+
case 9:
|
|
9648
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9649
|
+
msg.setCurrencyType(value);
|
|
9650
|
+
break;
|
|
9651
|
+
case 10:
|
|
9652
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9653
|
+
msg.setProviderId(value);
|
|
9654
|
+
break;
|
|
9655
|
+
case 11:
|
|
9656
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9657
|
+
msg.setProviderTitle(value);
|
|
9658
|
+
break;
|
|
9659
|
+
case 12:
|
|
9660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9661
|
+
msg.setProviderImage(value);
|
|
9662
|
+
break;
|
|
9663
|
+
case 13:
|
|
9664
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9665
|
+
msg.setProviderImageCdn(value);
|
|
9666
|
+
break;
|
|
9667
|
+
default:
|
|
9668
|
+
reader.skipField();
|
|
9669
|
+
break;
|
|
9670
|
+
}
|
|
9671
|
+
}
|
|
9672
|
+
return msg;
|
|
9673
|
+
};
|
|
9674
|
+
|
|
9675
|
+
|
|
9676
|
+
/**
|
|
9677
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9678
|
+
* @return {!Uint8Array}
|
|
9679
|
+
*/
|
|
9680
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.serializeBinary = function() {
|
|
9681
|
+
var writer = new jspb.BinaryWriter();
|
|
9682
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
9683
|
+
return writer.getResultBuffer();
|
|
9684
|
+
};
|
|
9685
|
+
|
|
9686
|
+
|
|
9687
|
+
/**
|
|
9688
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9689
|
+
* format), writing to the given BinaryWriter.
|
|
9690
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem} message
|
|
9691
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9692
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9693
|
+
*/
|
|
9694
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
9695
|
+
var f = undefined;
|
|
9696
|
+
f = message.getId();
|
|
9697
|
+
if (f !== 0) {
|
|
9698
|
+
writer.writeInt32(
|
|
9699
|
+
1,
|
|
9700
|
+
f
|
|
9701
|
+
);
|
|
9702
|
+
}
|
|
9703
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
9704
|
+
if (f != null) {
|
|
9705
|
+
writer.writeString(
|
|
9706
|
+
2,
|
|
9707
|
+
f
|
|
9708
|
+
);
|
|
9709
|
+
}
|
|
9710
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
9711
|
+
if (f != null) {
|
|
9712
|
+
writer.writeString(
|
|
9713
|
+
3,
|
|
9714
|
+
f
|
|
9715
|
+
);
|
|
9716
|
+
}
|
|
9717
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
9718
|
+
if (f != null) {
|
|
9719
|
+
writer.writeString(
|
|
9720
|
+
4,
|
|
9721
|
+
f
|
|
9722
|
+
);
|
|
9723
|
+
}
|
|
9724
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
9725
|
+
if (f != null) {
|
|
9726
|
+
writer.writeString(
|
|
9727
|
+
5,
|
|
9728
|
+
f
|
|
9729
|
+
);
|
|
9730
|
+
}
|
|
9731
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
9732
|
+
if (f != null) {
|
|
9733
|
+
writer.writeString(
|
|
9734
|
+
6,
|
|
9735
|
+
f
|
|
9736
|
+
);
|
|
9737
|
+
}
|
|
9738
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
9739
|
+
if (f != null) {
|
|
9740
|
+
writer.writeBool(
|
|
9741
|
+
7,
|
|
9742
|
+
f
|
|
9743
|
+
);
|
|
9744
|
+
}
|
|
9745
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
9746
|
+
if (f != null) {
|
|
9747
|
+
writer.writeString(
|
|
9748
|
+
8,
|
|
9749
|
+
f
|
|
9750
|
+
);
|
|
9751
|
+
}
|
|
9752
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
9753
|
+
if (f != null) {
|
|
9754
|
+
writer.writeString(
|
|
9755
|
+
9,
|
|
9756
|
+
f
|
|
9757
|
+
);
|
|
9758
|
+
}
|
|
9759
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
9760
|
+
if (f != null) {
|
|
9761
|
+
writer.writeInt32(
|
|
9762
|
+
10,
|
|
9763
|
+
f
|
|
9764
|
+
);
|
|
9765
|
+
}
|
|
9766
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
9767
|
+
if (f != null) {
|
|
9768
|
+
writer.writeString(
|
|
9769
|
+
11,
|
|
9770
|
+
f
|
|
9771
|
+
);
|
|
9772
|
+
}
|
|
9773
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
9774
|
+
if (f != null) {
|
|
9775
|
+
writer.writeString(
|
|
9776
|
+
12,
|
|
9777
|
+
f
|
|
9778
|
+
);
|
|
9779
|
+
}
|
|
9780
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
9781
|
+
if (f != null) {
|
|
9782
|
+
writer.writeString(
|
|
9783
|
+
13,
|
|
9784
|
+
f
|
|
9785
|
+
);
|
|
9786
|
+
}
|
|
9787
|
+
};
|
|
9788
|
+
|
|
9789
|
+
|
|
9790
|
+
/**
|
|
9791
|
+
* optional int32 id = 1;
|
|
9792
|
+
* @return {number}
|
|
9793
|
+
*/
|
|
9794
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getId = function() {
|
|
9795
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9796
|
+
};
|
|
9797
|
+
|
|
9798
|
+
|
|
9799
|
+
/**
|
|
9800
|
+
* @param {number} value
|
|
9801
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9802
|
+
*/
|
|
9803
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setId = function(value) {
|
|
9804
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
9805
|
+
};
|
|
9806
|
+
|
|
9807
|
+
|
|
9808
|
+
/**
|
|
9809
|
+
* optional string title = 2;
|
|
9810
|
+
* @return {string}
|
|
9811
|
+
*/
|
|
9812
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getTitle = function() {
|
|
9813
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9814
|
+
};
|
|
9815
|
+
|
|
9816
|
+
|
|
9817
|
+
/**
|
|
9818
|
+
* @param {string} value
|
|
9819
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9820
|
+
*/
|
|
9821
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setTitle = function(value) {
|
|
9822
|
+
return jspb.Message.setField(this, 2, value);
|
|
9823
|
+
};
|
|
9824
|
+
|
|
9825
|
+
|
|
9826
|
+
/**
|
|
9827
|
+
* Clears the field making it undefined.
|
|
9828
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9829
|
+
*/
|
|
9830
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearTitle = function() {
|
|
9831
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
9832
|
+
};
|
|
9833
|
+
|
|
9834
|
+
|
|
9835
|
+
/**
|
|
9836
|
+
* Returns whether this field is set.
|
|
9837
|
+
* @return {boolean}
|
|
9838
|
+
*/
|
|
9839
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasTitle = function() {
|
|
9840
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9841
|
+
};
|
|
9842
|
+
|
|
9843
|
+
|
|
9844
|
+
/**
|
|
9845
|
+
* optional string code = 3;
|
|
9846
|
+
* @return {string}
|
|
9847
|
+
*/
|
|
9848
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getCode = function() {
|
|
9849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9850
|
+
};
|
|
9851
|
+
|
|
9852
|
+
|
|
9853
|
+
/**
|
|
9854
|
+
* @param {string} value
|
|
9855
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9856
|
+
*/
|
|
9857
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setCode = function(value) {
|
|
9858
|
+
return jspb.Message.setField(this, 3, value);
|
|
9859
|
+
};
|
|
9860
|
+
|
|
9861
|
+
|
|
9862
|
+
/**
|
|
9863
|
+
* Clears the field making it undefined.
|
|
9864
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9865
|
+
*/
|
|
9866
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearCode = function() {
|
|
9867
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
9868
|
+
};
|
|
9869
|
+
|
|
9870
|
+
|
|
9871
|
+
/**
|
|
9872
|
+
* Returns whether this field is set.
|
|
9873
|
+
* @return {boolean}
|
|
9874
|
+
*/
|
|
9875
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasCode = function() {
|
|
9876
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9877
|
+
};
|
|
9878
|
+
|
|
9879
|
+
|
|
9880
|
+
/**
|
|
9881
|
+
* optional string description = 4;
|
|
9882
|
+
* @return {string}
|
|
9883
|
+
*/
|
|
9884
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getDescription = function() {
|
|
9885
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9886
|
+
};
|
|
9887
|
+
|
|
9888
|
+
|
|
9889
|
+
/**
|
|
9890
|
+
* @param {string} value
|
|
9891
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9892
|
+
*/
|
|
9893
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setDescription = function(value) {
|
|
9894
|
+
return jspb.Message.setField(this, 4, value);
|
|
9895
|
+
};
|
|
9896
|
+
|
|
9897
|
+
|
|
9898
|
+
/**
|
|
9899
|
+
* Clears the field making it undefined.
|
|
9900
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9901
|
+
*/
|
|
9902
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearDescription = function() {
|
|
9903
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
9904
|
+
};
|
|
9905
|
+
|
|
9906
|
+
|
|
9907
|
+
/**
|
|
9908
|
+
* Returns whether this field is set.
|
|
9909
|
+
* @return {boolean}
|
|
9910
|
+
*/
|
|
9911
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasDescription = function() {
|
|
9912
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9913
|
+
};
|
|
9914
|
+
|
|
9915
|
+
|
|
9916
|
+
/**
|
|
9917
|
+
* optional string image = 5;
|
|
9918
|
+
* @return {string}
|
|
9919
|
+
*/
|
|
9920
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getImage = function() {
|
|
9921
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9922
|
+
};
|
|
9923
|
+
|
|
9924
|
+
|
|
9925
|
+
/**
|
|
9926
|
+
* @param {string} value
|
|
9927
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9928
|
+
*/
|
|
9929
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setImage = function(value) {
|
|
9930
|
+
return jspb.Message.setField(this, 5, value);
|
|
9931
|
+
};
|
|
9932
|
+
|
|
9933
|
+
|
|
9934
|
+
/**
|
|
9935
|
+
* Clears the field making it undefined.
|
|
9936
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9937
|
+
*/
|
|
9938
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearImage = function() {
|
|
9939
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
9940
|
+
};
|
|
9941
|
+
|
|
9942
|
+
|
|
9943
|
+
/**
|
|
9944
|
+
* Returns whether this field is set.
|
|
9945
|
+
* @return {boolean}
|
|
9946
|
+
*/
|
|
9947
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasImage = function() {
|
|
9948
|
+
return jspb.Message.getField(this, 5) != null;
|
|
9949
|
+
};
|
|
9950
|
+
|
|
9951
|
+
|
|
9952
|
+
/**
|
|
9953
|
+
* optional string image_cdn = 6;
|
|
9954
|
+
* @return {string}
|
|
9955
|
+
*/
|
|
9956
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getImageCdn = function() {
|
|
9957
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9958
|
+
};
|
|
9959
|
+
|
|
9960
|
+
|
|
9961
|
+
/**
|
|
9962
|
+
* @param {string} value
|
|
9963
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9964
|
+
*/
|
|
9965
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setImageCdn = function(value) {
|
|
9966
|
+
return jspb.Message.setField(this, 6, value);
|
|
9967
|
+
};
|
|
9968
|
+
|
|
9969
|
+
|
|
9970
|
+
/**
|
|
9971
|
+
* Clears the field making it undefined.
|
|
9972
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9973
|
+
*/
|
|
9974
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearImageCdn = function() {
|
|
9975
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9976
|
+
};
|
|
9977
|
+
|
|
9978
|
+
|
|
9979
|
+
/**
|
|
9980
|
+
* Returns whether this field is set.
|
|
9981
|
+
* @return {boolean}
|
|
9982
|
+
*/
|
|
9983
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasImageCdn = function() {
|
|
9984
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9985
|
+
};
|
|
9986
|
+
|
|
9987
|
+
|
|
9988
|
+
/**
|
|
9989
|
+
* optional bool is_active = 7;
|
|
9990
|
+
* @return {boolean}
|
|
9991
|
+
*/
|
|
9992
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getIsActive = function() {
|
|
9993
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
9994
|
+
};
|
|
9995
|
+
|
|
9996
|
+
|
|
9997
|
+
/**
|
|
9998
|
+
* @param {boolean} value
|
|
9999
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10000
|
+
*/
|
|
10001
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setIsActive = function(value) {
|
|
10002
|
+
return jspb.Message.setField(this, 7, value);
|
|
10003
|
+
};
|
|
10004
|
+
|
|
10005
|
+
|
|
10006
|
+
/**
|
|
10007
|
+
* Clears the field making it undefined.
|
|
10008
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10009
|
+
*/
|
|
10010
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearIsActive = function() {
|
|
10011
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
10012
|
+
};
|
|
10013
|
+
|
|
10014
|
+
|
|
10015
|
+
/**
|
|
10016
|
+
* Returns whether this field is set.
|
|
10017
|
+
* @return {boolean}
|
|
10018
|
+
*/
|
|
10019
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasIsActive = function() {
|
|
10020
|
+
return jspb.Message.getField(this, 7) != null;
|
|
10021
|
+
};
|
|
10022
|
+
|
|
10023
|
+
|
|
10024
|
+
/**
|
|
10025
|
+
* optional string transaction_type = 8;
|
|
10026
|
+
* @return {string}
|
|
10027
|
+
*/
|
|
10028
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getTransactionType = function() {
|
|
10029
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
10030
|
+
};
|
|
10031
|
+
|
|
10032
|
+
|
|
10033
|
+
/**
|
|
10034
|
+
* @param {string} value
|
|
10035
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10036
|
+
*/
|
|
10037
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setTransactionType = function(value) {
|
|
10038
|
+
return jspb.Message.setField(this, 8, value);
|
|
10039
|
+
};
|
|
10040
|
+
|
|
10041
|
+
|
|
10042
|
+
/**
|
|
10043
|
+
* Clears the field making it undefined.
|
|
10044
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10045
|
+
*/
|
|
10046
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearTransactionType = function() {
|
|
10047
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
10048
|
+
};
|
|
10049
|
+
|
|
10050
|
+
|
|
10051
|
+
/**
|
|
10052
|
+
* Returns whether this field is set.
|
|
10053
|
+
* @return {boolean}
|
|
10054
|
+
*/
|
|
10055
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasTransactionType = function() {
|
|
10056
|
+
return jspb.Message.getField(this, 8) != null;
|
|
10057
|
+
};
|
|
10058
|
+
|
|
10059
|
+
|
|
10060
|
+
/**
|
|
10061
|
+
* optional string currency_type = 9;
|
|
10062
|
+
* @return {string}
|
|
10063
|
+
*/
|
|
10064
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getCurrencyType = function() {
|
|
10065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
10066
|
+
};
|
|
10067
|
+
|
|
10068
|
+
|
|
10069
|
+
/**
|
|
10070
|
+
* @param {string} value
|
|
10071
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10072
|
+
*/
|
|
10073
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setCurrencyType = function(value) {
|
|
10074
|
+
return jspb.Message.setField(this, 9, value);
|
|
10075
|
+
};
|
|
10076
|
+
|
|
10077
|
+
|
|
10078
|
+
/**
|
|
10079
|
+
* Clears the field making it undefined.
|
|
10080
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10081
|
+
*/
|
|
10082
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearCurrencyType = function() {
|
|
10083
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
10084
|
+
};
|
|
10085
|
+
|
|
10086
|
+
|
|
10087
|
+
/**
|
|
10088
|
+
* Returns whether this field is set.
|
|
10089
|
+
* @return {boolean}
|
|
10090
|
+
*/
|
|
10091
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasCurrencyType = function() {
|
|
10092
|
+
return jspb.Message.getField(this, 9) != null;
|
|
10093
|
+
};
|
|
10094
|
+
|
|
10095
|
+
|
|
10096
|
+
/**
|
|
10097
|
+
* optional int32 provider_id = 10;
|
|
10098
|
+
* @return {number}
|
|
10099
|
+
*/
|
|
10100
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderId = function() {
|
|
10101
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
10102
|
+
};
|
|
10103
|
+
|
|
10104
|
+
|
|
10105
|
+
/**
|
|
10106
|
+
* @param {number} value
|
|
10107
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9045
10108
|
*/
|
|
9046
|
-
proto.payment.
|
|
9047
|
-
return
|
|
9048
|
-
jspb.Message.getRepeatedWrapperField(this, proto.payment.MethodItem, 1));
|
|
10109
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderId = function(value) {
|
|
10110
|
+
return jspb.Message.setField(this, 10, value);
|
|
9049
10111
|
};
|
|
9050
10112
|
|
|
9051
10113
|
|
|
9052
10114
|
/**
|
|
9053
|
-
*
|
|
9054
|
-
* @return {!proto.payment.
|
|
9055
|
-
*/
|
|
9056
|
-
proto.payment.
|
|
9057
|
-
return jspb.Message.
|
|
10115
|
+
* Clears the field making it undefined.
|
|
10116
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10117
|
+
*/
|
|
10118
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderId = function() {
|
|
10119
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9058
10120
|
};
|
|
9059
10121
|
|
|
9060
10122
|
|
|
9061
10123
|
/**
|
|
9062
|
-
*
|
|
9063
|
-
* @
|
|
9064
|
-
* @return {!proto.payment.MethodItem}
|
|
10124
|
+
* Returns whether this field is set.
|
|
10125
|
+
* @return {boolean}
|
|
9065
10126
|
*/
|
|
9066
|
-
proto.payment.
|
|
9067
|
-
return jspb.Message.
|
|
10127
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderId = function() {
|
|
10128
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9068
10129
|
};
|
|
9069
10130
|
|
|
9070
10131
|
|
|
9071
10132
|
/**
|
|
9072
|
-
*
|
|
9073
|
-
* @return {
|
|
10133
|
+
* optional string provider_title = 11;
|
|
10134
|
+
* @return {string}
|
|
9074
10135
|
*/
|
|
9075
|
-
proto.payment.
|
|
9076
|
-
return
|
|
10136
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderTitle = function() {
|
|
10137
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
9077
10138
|
};
|
|
9078
10139
|
|
|
9079
10140
|
|
|
9080
10141
|
/**
|
|
9081
|
-
*
|
|
9082
|
-
* @return {
|
|
10142
|
+
* @param {string} value
|
|
10143
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9083
10144
|
*/
|
|
9084
|
-
proto.payment.
|
|
9085
|
-
return
|
|
10145
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderTitle = function(value) {
|
|
10146
|
+
return jspb.Message.setField(this, 11, value);
|
|
9086
10147
|
};
|
|
9087
10148
|
|
|
9088
10149
|
|
|
9089
10150
|
/**
|
|
9090
|
-
*
|
|
9091
|
-
* @return {!proto.payment.
|
|
10151
|
+
* Clears the field making it undefined.
|
|
10152
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9092
10153
|
*/
|
|
9093
|
-
proto.payment.
|
|
9094
|
-
return jspb.Message.setField(this,
|
|
10154
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderTitle = function() {
|
|
10155
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
10156
|
+
};
|
|
10157
|
+
|
|
10158
|
+
|
|
10159
|
+
/**
|
|
10160
|
+
* Returns whether this field is set.
|
|
10161
|
+
* @return {boolean}
|
|
10162
|
+
*/
|
|
10163
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderTitle = function() {
|
|
10164
|
+
return jspb.Message.getField(this, 11) != null;
|
|
10165
|
+
};
|
|
10166
|
+
|
|
10167
|
+
|
|
10168
|
+
/**
|
|
10169
|
+
* optional string provider_image = 12;
|
|
10170
|
+
* @return {string}
|
|
10171
|
+
*/
|
|
10172
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderImage = function() {
|
|
10173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
10174
|
+
};
|
|
10175
|
+
|
|
10176
|
+
|
|
10177
|
+
/**
|
|
10178
|
+
* @param {string} value
|
|
10179
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
10180
|
+
*/
|
|
10181
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderImage = function(value) {
|
|
10182
|
+
return jspb.Message.setField(this, 12, value);
|
|
9095
10183
|
};
|
|
9096
10184
|
|
|
9097
10185
|
|
|
9098
10186
|
/**
|
|
9099
10187
|
* Clears the field making it undefined.
|
|
9100
|
-
* @return {!proto.payment.
|
|
10188
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9101
10189
|
*/
|
|
9102
|
-
proto.payment.
|
|
9103
|
-
return jspb.Message.setField(this,
|
|
10190
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderImage = function() {
|
|
10191
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
9104
10192
|
};
|
|
9105
10193
|
|
|
9106
10194
|
|
|
@@ -9108,35 +10196,35 @@ proto.payment.MethodItemsResponse.prototype.clearTotalPages = function() {
|
|
|
9108
10196
|
* Returns whether this field is set.
|
|
9109
10197
|
* @return {boolean}
|
|
9110
10198
|
*/
|
|
9111
|
-
proto.payment.
|
|
9112
|
-
return jspb.Message.getField(this,
|
|
10199
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderImage = function() {
|
|
10200
|
+
return jspb.Message.getField(this, 12) != null;
|
|
9113
10201
|
};
|
|
9114
10202
|
|
|
9115
10203
|
|
|
9116
10204
|
/**
|
|
9117
|
-
* optional
|
|
9118
|
-
* @return {
|
|
10205
|
+
* optional string provider_image_cdn = 13;
|
|
10206
|
+
* @return {string}
|
|
9119
10207
|
*/
|
|
9120
|
-
proto.payment.
|
|
9121
|
-
return /** @type {
|
|
10208
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getProviderImageCdn = function() {
|
|
10209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
9122
10210
|
};
|
|
9123
10211
|
|
|
9124
10212
|
|
|
9125
10213
|
/**
|
|
9126
|
-
* @param {
|
|
9127
|
-
* @return {!proto.payment.
|
|
10214
|
+
* @param {string} value
|
|
10215
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9128
10216
|
*/
|
|
9129
|
-
proto.payment.
|
|
9130
|
-
return jspb.Message.setField(this,
|
|
10217
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setProviderImageCdn = function(value) {
|
|
10218
|
+
return jspb.Message.setField(this, 13, value);
|
|
9131
10219
|
};
|
|
9132
10220
|
|
|
9133
10221
|
|
|
9134
10222
|
/**
|
|
9135
10223
|
* Clears the field making it undefined.
|
|
9136
|
-
* @return {!proto.payment.
|
|
10224
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
9137
10225
|
*/
|
|
9138
|
-
proto.payment.
|
|
9139
|
-
return jspb.Message.setField(this,
|
|
10226
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearProviderImageCdn = function() {
|
|
10227
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
9140
10228
|
};
|
|
9141
10229
|
|
|
9142
10230
|
|
|
@@ -9144,8 +10232,8 @@ proto.payment.MethodItemsResponse.prototype.clearTotalItems = function() {
|
|
|
9144
10232
|
* Returns whether this field is set.
|
|
9145
10233
|
* @return {boolean}
|
|
9146
10234
|
*/
|
|
9147
|
-
proto.payment.
|
|
9148
|
-
return jspb.Message.getField(this,
|
|
10235
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderImageCdn = function() {
|
|
10236
|
+
return jspb.Message.getField(this, 13) != null;
|
|
9149
10237
|
};
|
|
9150
10238
|
|
|
9151
10239
|
|
|
@@ -9155,7 +10243,7 @@ proto.payment.MethodItemsResponse.prototype.hasTotalItems = function() {
|
|
|
9155
10243
|
* @private {!Array<number>}
|
|
9156
10244
|
* @const
|
|
9157
10245
|
*/
|
|
9158
|
-
proto.payment.
|
|
10246
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.repeatedFields_ = [1];
|
|
9159
10247
|
|
|
9160
10248
|
|
|
9161
10249
|
|
|
@@ -9172,8 +10260,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9172
10260
|
* http://goto/soy-param-migration
|
|
9173
10261
|
* @return {!Object}
|
|
9174
10262
|
*/
|
|
9175
|
-
proto.payment.
|
|
9176
|
-
return proto.payment.
|
|
10263
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10264
|
+
return proto.payment.PaymentMethodSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
9177
10265
|
};
|
|
9178
10266
|
|
|
9179
10267
|
|
|
@@ -9182,13 +10270,14 @@ proto.payment.PoorMethodsRequest.prototype.toObject = function(opt_includeInstan
|
|
|
9182
10270
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9183
10271
|
* the JSPB instance for transitional soy proto support:
|
|
9184
10272
|
* http://goto/soy-param-migration
|
|
9185
|
-
* @param {!proto.payment.
|
|
10273
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} msg The msg instance to transform.
|
|
9186
10274
|
* @return {!Object}
|
|
9187
10275
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9188
10276
|
*/
|
|
9189
|
-
proto.payment.
|
|
10277
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
9190
10278
|
var f, obj = {
|
|
9191
|
-
|
|
10279
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
10280
|
+
proto.payment.PaymentMethodSnapshotItem.toObject, includeInstance)
|
|
9192
10281
|
};
|
|
9193
10282
|
|
|
9194
10283
|
if (includeInstance) {
|
|
@@ -9202,23 +10291,23 @@ proto.payment.PoorMethodsRequest.toObject = function(includeInstance, msg) {
|
|
|
9202
10291
|
/**
|
|
9203
10292
|
* Deserializes binary data (in protobuf wire format).
|
|
9204
10293
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9205
|
-
* @return {!proto.payment.
|
|
10294
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse}
|
|
9206
10295
|
*/
|
|
9207
|
-
proto.payment.
|
|
10296
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
9208
10297
|
var reader = new jspb.BinaryReader(bytes);
|
|
9209
|
-
var msg = new proto.payment.
|
|
9210
|
-
return proto.payment.
|
|
10298
|
+
var msg = new proto.payment.PaymentMethodSnapshotItemsResponse;
|
|
10299
|
+
return proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
9211
10300
|
};
|
|
9212
10301
|
|
|
9213
10302
|
|
|
9214
10303
|
/**
|
|
9215
10304
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9216
10305
|
* given reader into the given message object.
|
|
9217
|
-
* @param {!proto.payment.
|
|
10306
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} msg The message object to deserialize into.
|
|
9218
10307
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9219
|
-
* @return {!proto.payment.
|
|
10308
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse}
|
|
9220
10309
|
*/
|
|
9221
|
-
proto.payment.
|
|
10310
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
9222
10311
|
while (reader.nextField()) {
|
|
9223
10312
|
if (reader.isEndGroup()) {
|
|
9224
10313
|
break;
|
|
@@ -9226,10 +10315,9 @@ proto.payment.PoorMethodsRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
9226
10315
|
var field = reader.getFieldNumber();
|
|
9227
10316
|
switch (field) {
|
|
9228
10317
|
case 1:
|
|
9229
|
-
var
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
}
|
|
10318
|
+
var value = new proto.payment.PaymentMethodSnapshotItem;
|
|
10319
|
+
reader.readMessage(value,proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader);
|
|
10320
|
+
msg.addItems(value);
|
|
9233
10321
|
break;
|
|
9234
10322
|
default:
|
|
9235
10323
|
reader.skipField();
|
|
@@ -9244,9 +10332,9 @@ proto.payment.PoorMethodsRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
9244
10332
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9245
10333
|
* @return {!Uint8Array}
|
|
9246
10334
|
*/
|
|
9247
|
-
proto.payment.
|
|
10335
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
9248
10336
|
var writer = new jspb.BinaryWriter();
|
|
9249
|
-
proto.payment.
|
|
10337
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
9250
10338
|
return writer.getResultBuffer();
|
|
9251
10339
|
};
|
|
9252
10340
|
|
|
@@ -9254,56 +10342,58 @@ proto.payment.PoorMethodsRequest.prototype.serializeBinary = function() {
|
|
|
9254
10342
|
/**
|
|
9255
10343
|
* Serializes the given message to binary data (in protobuf wire
|
|
9256
10344
|
* format), writing to the given BinaryWriter.
|
|
9257
|
-
* @param {!proto.payment.
|
|
10345
|
+
* @param {!proto.payment.PaymentMethodSnapshotItemsResponse} message
|
|
9258
10346
|
* @param {!jspb.BinaryWriter} writer
|
|
9259
10347
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9260
10348
|
*/
|
|
9261
|
-
proto.payment.
|
|
10349
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
9262
10350
|
var f = undefined;
|
|
9263
|
-
f = message.
|
|
10351
|
+
f = message.getItemsList();
|
|
9264
10352
|
if (f.length > 0) {
|
|
9265
|
-
writer.
|
|
10353
|
+
writer.writeRepeatedMessage(
|
|
9266
10354
|
1,
|
|
9267
|
-
f
|
|
10355
|
+
f,
|
|
10356
|
+
proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter
|
|
9268
10357
|
);
|
|
9269
10358
|
}
|
|
9270
10359
|
};
|
|
9271
10360
|
|
|
9272
10361
|
|
|
9273
10362
|
/**
|
|
9274
|
-
* repeated
|
|
9275
|
-
* @return {!Array
|
|
10363
|
+
* repeated PaymentMethodSnapshotItem items = 1;
|
|
10364
|
+
* @return {!Array<!proto.payment.PaymentMethodSnapshotItem>}
|
|
9276
10365
|
*/
|
|
9277
|
-
proto.payment.
|
|
9278
|
-
return /** @type
|
|
10366
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
10367
|
+
return /** @type{!Array<!proto.payment.PaymentMethodSnapshotItem>} */ (
|
|
10368
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.PaymentMethodSnapshotItem, 1));
|
|
9279
10369
|
};
|
|
9280
10370
|
|
|
9281
10371
|
|
|
9282
10372
|
/**
|
|
9283
|
-
* @param {!Array
|
|
9284
|
-
* @return {!proto.payment.
|
|
9285
|
-
|
|
9286
|
-
proto.payment.
|
|
9287
|
-
return jspb.Message.
|
|
10373
|
+
* @param {!Array<!proto.payment.PaymentMethodSnapshotItem>} value
|
|
10374
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse} returns this
|
|
10375
|
+
*/
|
|
10376
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
10377
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
9288
10378
|
};
|
|
9289
10379
|
|
|
9290
10380
|
|
|
9291
10381
|
/**
|
|
9292
|
-
* @param {
|
|
10382
|
+
* @param {!proto.payment.PaymentMethodSnapshotItem=} opt_value
|
|
9293
10383
|
* @param {number=} opt_index
|
|
9294
|
-
* @return {!proto.payment.
|
|
10384
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem}
|
|
9295
10385
|
*/
|
|
9296
|
-
proto.payment.
|
|
9297
|
-
return jspb.Message.
|
|
10386
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
10387
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.PaymentMethodSnapshotItem, opt_index);
|
|
9298
10388
|
};
|
|
9299
10389
|
|
|
9300
10390
|
|
|
9301
10391
|
/**
|
|
9302
10392
|
* Clears the list making it empty but non-null.
|
|
9303
|
-
* @return {!proto.payment.
|
|
10393
|
+
* @return {!proto.payment.PaymentMethodSnapshotItemsResponse} returns this
|
|
9304
10394
|
*/
|
|
9305
|
-
proto.payment.
|
|
9306
|
-
return this.
|
|
10395
|
+
proto.payment.PaymentMethodSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
10396
|
+
return this.setItemsList([]);
|
|
9307
10397
|
};
|
|
9308
10398
|
|
|
9309
10399
|
|
|
@@ -13326,7 +14416,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
|
|
|
13326
14416
|
bankBranch: jspb.Message.getFieldWithDefault(msg, 43, ""),
|
|
13327
14417
|
ifsc: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
13328
14418
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
13329
|
-
requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, "")
|
|
14419
|
+
requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
14420
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, "")
|
|
13330
14421
|
};
|
|
13331
14422
|
|
|
13332
14423
|
if (includeInstance) {
|
|
@@ -13547,6 +14638,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
|
|
|
13547
14638
|
var value = /** @type {string} */ (reader.readString());
|
|
13548
14639
|
msg.setRequestCurrency(value);
|
|
13549
14640
|
break;
|
|
14641
|
+
case 47:
|
|
14642
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14643
|
+
msg.setAntifraudSession(value);
|
|
14644
|
+
break;
|
|
13550
14645
|
default:
|
|
13551
14646
|
reader.skipField();
|
|
13552
14647
|
break;
|
|
@@ -13898,6 +14993,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
|
|
|
13898
14993
|
f
|
|
13899
14994
|
);
|
|
13900
14995
|
}
|
|
14996
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 47));
|
|
14997
|
+
if (f != null) {
|
|
14998
|
+
writer.writeString(
|
|
14999
|
+
47,
|
|
15000
|
+
f
|
|
15001
|
+
);
|
|
15002
|
+
}
|
|
13901
15003
|
};
|
|
13902
15004
|
|
|
13903
15005
|
|
|
@@ -15503,6 +16605,42 @@ proto.payment.AttemptDepositRequest.prototype.hasRequestCurrency = function() {
|
|
|
15503
16605
|
};
|
|
15504
16606
|
|
|
15505
16607
|
|
|
16608
|
+
/**
|
|
16609
|
+
* optional string antifraud_session = 47;
|
|
16610
|
+
* @return {string}
|
|
16611
|
+
*/
|
|
16612
|
+
proto.payment.AttemptDepositRequest.prototype.getAntifraudSession = function() {
|
|
16613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 47, ""));
|
|
16614
|
+
};
|
|
16615
|
+
|
|
16616
|
+
|
|
16617
|
+
/**
|
|
16618
|
+
* @param {string} value
|
|
16619
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16620
|
+
*/
|
|
16621
|
+
proto.payment.AttemptDepositRequest.prototype.setAntifraudSession = function(value) {
|
|
16622
|
+
return jspb.Message.setField(this, 47, value);
|
|
16623
|
+
};
|
|
16624
|
+
|
|
16625
|
+
|
|
16626
|
+
/**
|
|
16627
|
+
* Clears the field making it undefined.
|
|
16628
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16629
|
+
*/
|
|
16630
|
+
proto.payment.AttemptDepositRequest.prototype.clearAntifraudSession = function() {
|
|
16631
|
+
return jspb.Message.setField(this, 47, undefined);
|
|
16632
|
+
};
|
|
16633
|
+
|
|
16634
|
+
|
|
16635
|
+
/**
|
|
16636
|
+
* Returns whether this field is set.
|
|
16637
|
+
* @return {boolean}
|
|
16638
|
+
*/
|
|
16639
|
+
proto.payment.AttemptDepositRequest.prototype.hasAntifraudSession = function() {
|
|
16640
|
+
return jspb.Message.getField(this, 47) != null;
|
|
16641
|
+
};
|
|
16642
|
+
|
|
16643
|
+
|
|
15506
16644
|
|
|
15507
16645
|
|
|
15508
16646
|
|
|
@@ -18540,7 +19678,9 @@ proto.payment.AttemptWithdrawalRequest.toObject = function(includeInstance, msg)
|
|
|
18540
19678
|
bankBranch: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
18541
19679
|
ifsc: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
18542
19680
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
18543
|
-
requestCurrency: jspb.Message.getFieldWithDefault(msg, 39, "")
|
|
19681
|
+
requestCurrency: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
19682
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
19683
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
18544
19684
|
};
|
|
18545
19685
|
|
|
18546
19686
|
if (includeInstance) {
|
|
@@ -18733,6 +19873,14 @@ proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader = function(ms
|
|
|
18733
19873
|
var value = /** @type {string} */ (reader.readString());
|
|
18734
19874
|
msg.setRequestCurrency(value);
|
|
18735
19875
|
break;
|
|
19876
|
+
case 40:
|
|
19877
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19878
|
+
msg.setAntifraudSession(value);
|
|
19879
|
+
break;
|
|
19880
|
+
case 41:
|
|
19881
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19882
|
+
msg.setUserAgent(value);
|
|
19883
|
+
break;
|
|
18736
19884
|
default:
|
|
18737
19885
|
reader.skipField();
|
|
18738
19886
|
break;
|
|
@@ -19035,6 +20183,20 @@ proto.payment.AttemptWithdrawalRequest.serializeBinaryToWriter = function(messag
|
|
|
19035
20183
|
f
|
|
19036
20184
|
);
|
|
19037
20185
|
}
|
|
20186
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 40));
|
|
20187
|
+
if (f != null) {
|
|
20188
|
+
writer.writeString(
|
|
20189
|
+
40,
|
|
20190
|
+
f
|
|
20191
|
+
);
|
|
20192
|
+
}
|
|
20193
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 41));
|
|
20194
|
+
if (f != null) {
|
|
20195
|
+
writer.writeString(
|
|
20196
|
+
41,
|
|
20197
|
+
f
|
|
20198
|
+
);
|
|
20199
|
+
}
|
|
19038
20200
|
};
|
|
19039
20201
|
|
|
19040
20202
|
|
|
@@ -20388,6 +21550,78 @@ proto.payment.AttemptWithdrawalRequest.prototype.hasRequestCurrency = function()
|
|
|
20388
21550
|
};
|
|
20389
21551
|
|
|
20390
21552
|
|
|
21553
|
+
/**
|
|
21554
|
+
* optional string antifraud_session = 40;
|
|
21555
|
+
* @return {string}
|
|
21556
|
+
*/
|
|
21557
|
+
proto.payment.AttemptWithdrawalRequest.prototype.getAntifraudSession = function() {
|
|
21558
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
|
|
21559
|
+
};
|
|
21560
|
+
|
|
21561
|
+
|
|
21562
|
+
/**
|
|
21563
|
+
* @param {string} value
|
|
21564
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
21565
|
+
*/
|
|
21566
|
+
proto.payment.AttemptWithdrawalRequest.prototype.setAntifraudSession = function(value) {
|
|
21567
|
+
return jspb.Message.setField(this, 40, value);
|
|
21568
|
+
};
|
|
21569
|
+
|
|
21570
|
+
|
|
21571
|
+
/**
|
|
21572
|
+
* Clears the field making it undefined.
|
|
21573
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
21574
|
+
*/
|
|
21575
|
+
proto.payment.AttemptWithdrawalRequest.prototype.clearAntifraudSession = function() {
|
|
21576
|
+
return jspb.Message.setField(this, 40, undefined);
|
|
21577
|
+
};
|
|
21578
|
+
|
|
21579
|
+
|
|
21580
|
+
/**
|
|
21581
|
+
* Returns whether this field is set.
|
|
21582
|
+
* @return {boolean}
|
|
21583
|
+
*/
|
|
21584
|
+
proto.payment.AttemptWithdrawalRequest.prototype.hasAntifraudSession = function() {
|
|
21585
|
+
return jspb.Message.getField(this, 40) != null;
|
|
21586
|
+
};
|
|
21587
|
+
|
|
21588
|
+
|
|
21589
|
+
/**
|
|
21590
|
+
* optional string user_agent = 41;
|
|
21591
|
+
* @return {string}
|
|
21592
|
+
*/
|
|
21593
|
+
proto.payment.AttemptWithdrawalRequest.prototype.getUserAgent = function() {
|
|
21594
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 41, ""));
|
|
21595
|
+
};
|
|
21596
|
+
|
|
21597
|
+
|
|
21598
|
+
/**
|
|
21599
|
+
* @param {string} value
|
|
21600
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
21601
|
+
*/
|
|
21602
|
+
proto.payment.AttemptWithdrawalRequest.prototype.setUserAgent = function(value) {
|
|
21603
|
+
return jspb.Message.setField(this, 41, value);
|
|
21604
|
+
};
|
|
21605
|
+
|
|
21606
|
+
|
|
21607
|
+
/**
|
|
21608
|
+
* Clears the field making it undefined.
|
|
21609
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
21610
|
+
*/
|
|
21611
|
+
proto.payment.AttemptWithdrawalRequest.prototype.clearUserAgent = function() {
|
|
21612
|
+
return jspb.Message.setField(this, 41, undefined);
|
|
21613
|
+
};
|
|
21614
|
+
|
|
21615
|
+
|
|
21616
|
+
/**
|
|
21617
|
+
* Returns whether this field is set.
|
|
21618
|
+
* @return {boolean}
|
|
21619
|
+
*/
|
|
21620
|
+
proto.payment.AttemptWithdrawalRequest.prototype.hasUserAgent = function() {
|
|
21621
|
+
return jspb.Message.getField(this, 41) != null;
|
|
21622
|
+
};
|
|
21623
|
+
|
|
21624
|
+
|
|
20391
21625
|
|
|
20392
21626
|
|
|
20393
21627
|
|