protobuf-platform 1.0.269 → 1.0.271
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/game/game.proto +2 -1
- package/game/game_pb.js +70 -4
- package/package.json +1 -1
- package/payment/payment.proto +18 -0
- package/payment/payment_grpc_pb.js +22 -0
- package/payment/payment_pb.js +725 -1
package/game/game.proto
CHANGED
@@ -558,12 +558,13 @@ message SEOAttribute {
|
|
558
558
|
string value = 2;
|
559
559
|
}
|
560
560
|
message SEOInstanceRequest {
|
561
|
-
int32 instance_id = 1;
|
561
|
+
optional int32 instance_id = 1;
|
562
562
|
string instance_type = 2;
|
563
563
|
string locale = 3;
|
564
564
|
optional string provider = 4;
|
565
565
|
repeated SEOAttribute attributes = 5;
|
566
566
|
optional bool with_main_info = 6;
|
567
|
+
optional string instance_slug = 7;
|
567
568
|
}
|
568
569
|
message SEOInstanceResponse {
|
569
570
|
repeated SEOAttribute attributes = 1;
|
package/game/game_pb.js
CHANGED
@@ -23114,7 +23114,8 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
|
|
23114
23114
|
provider: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
23115
23115
|
attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
|
23116
23116
|
proto.game.SEOAttribute.toObject, includeInstance),
|
23117
|
-
withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
23117
|
+
withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
23118
|
+
instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, "")
|
23118
23119
|
};
|
23119
23120
|
|
23120
23121
|
if (includeInstance) {
|
@@ -23176,6 +23177,10 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
|
|
23176
23177
|
var value = /** @type {boolean} */ (reader.readBool());
|
23177
23178
|
msg.setWithMainInfo(value);
|
23178
23179
|
break;
|
23180
|
+
case 7:
|
23181
|
+
var value = /** @type {string} */ (reader.readString());
|
23182
|
+
msg.setInstanceSlug(value);
|
23183
|
+
break;
|
23179
23184
|
default:
|
23180
23185
|
reader.skipField();
|
23181
23186
|
break;
|
@@ -23205,8 +23210,8 @@ proto.game.SEOInstanceRequest.prototype.serializeBinary = function() {
|
|
23205
23210
|
*/
|
23206
23211
|
proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer) {
|
23207
23212
|
var f = undefined;
|
23208
|
-
f =
|
23209
|
-
if (f
|
23213
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
23214
|
+
if (f != null) {
|
23210
23215
|
writer.writeInt32(
|
23211
23216
|
1,
|
23212
23217
|
f
|
@@ -23248,6 +23253,13 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
|
|
23248
23253
|
f
|
23249
23254
|
);
|
23250
23255
|
}
|
23256
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
23257
|
+
if (f != null) {
|
23258
|
+
writer.writeString(
|
23259
|
+
7,
|
23260
|
+
f
|
23261
|
+
);
|
23262
|
+
}
|
23251
23263
|
};
|
23252
23264
|
|
23253
23265
|
|
@@ -23265,7 +23277,25 @@ proto.game.SEOInstanceRequest.prototype.getInstanceId = function() {
|
|
23265
23277
|
* @return {!proto.game.SEOInstanceRequest} returns this
|
23266
23278
|
*/
|
23267
23279
|
proto.game.SEOInstanceRequest.prototype.setInstanceId = function(value) {
|
23268
|
-
return jspb.Message.
|
23280
|
+
return jspb.Message.setField(this, 1, value);
|
23281
|
+
};
|
23282
|
+
|
23283
|
+
|
23284
|
+
/**
|
23285
|
+
* Clears the field making it undefined.
|
23286
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
23287
|
+
*/
|
23288
|
+
proto.game.SEOInstanceRequest.prototype.clearInstanceId = function() {
|
23289
|
+
return jspb.Message.setField(this, 1, undefined);
|
23290
|
+
};
|
23291
|
+
|
23292
|
+
|
23293
|
+
/**
|
23294
|
+
* Returns whether this field is set.
|
23295
|
+
* @return {boolean}
|
23296
|
+
*/
|
23297
|
+
proto.game.SEOInstanceRequest.prototype.hasInstanceId = function() {
|
23298
|
+
return jspb.Message.getField(this, 1) != null;
|
23269
23299
|
};
|
23270
23300
|
|
23271
23301
|
|
@@ -23415,6 +23445,42 @@ proto.game.SEOInstanceRequest.prototype.hasWithMainInfo = function() {
|
|
23415
23445
|
};
|
23416
23446
|
|
23417
23447
|
|
23448
|
+
/**
|
23449
|
+
* optional string instance_slug = 7;
|
23450
|
+
* @return {string}
|
23451
|
+
*/
|
23452
|
+
proto.game.SEOInstanceRequest.prototype.getInstanceSlug = function() {
|
23453
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
23454
|
+
};
|
23455
|
+
|
23456
|
+
|
23457
|
+
/**
|
23458
|
+
* @param {string} value
|
23459
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
23460
|
+
*/
|
23461
|
+
proto.game.SEOInstanceRequest.prototype.setInstanceSlug = function(value) {
|
23462
|
+
return jspb.Message.setField(this, 7, value);
|
23463
|
+
};
|
23464
|
+
|
23465
|
+
|
23466
|
+
/**
|
23467
|
+
* Clears the field making it undefined.
|
23468
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
23469
|
+
*/
|
23470
|
+
proto.game.SEOInstanceRequest.prototype.clearInstanceSlug = function() {
|
23471
|
+
return jspb.Message.setField(this, 7, undefined);
|
23472
|
+
};
|
23473
|
+
|
23474
|
+
|
23475
|
+
/**
|
23476
|
+
* Returns whether this field is set.
|
23477
|
+
* @return {boolean}
|
23478
|
+
*/
|
23479
|
+
proto.game.SEOInstanceRequest.prototype.hasInstanceSlug = function() {
|
23480
|
+
return jspb.Message.getField(this, 7) != null;
|
23481
|
+
};
|
23482
|
+
|
23483
|
+
|
23418
23484
|
|
23419
23485
|
/**
|
23420
23486
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
@@ -29,6 +29,7 @@ service Payment {
|
|
29
29
|
//User
|
30
30
|
rpc userPaymentsInfo(GetUserPaymentsInfoRequest) returns (UserPaymentsInfoResponse);
|
31
31
|
rpc userDepositHistory(GetUserPaymentsInfoRequest) returns (UserDepositItemsResponse);
|
32
|
+
rpc getPaymentMethodsForUser(GetUserPaymentsInfoRequest) returns (UserPaymentMethodsResponse);
|
32
33
|
}
|
33
34
|
//Technical
|
34
35
|
message PingRequest { string ping = 1; }
|
@@ -211,6 +212,8 @@ message GetUserPaymentsInfoRequest {
|
|
211
212
|
optional string start_date = 4;
|
212
213
|
optional string end_date = 5;
|
213
214
|
optional string transaction_type = 6;
|
215
|
+
optional string currency = 7;
|
216
|
+
optional string country = 8;
|
214
217
|
}
|
215
218
|
message UserPaymentsInfoResponse {
|
216
219
|
float deposit_sum = 1;
|
@@ -243,4 +246,19 @@ message UserDepositItemsResponse {
|
|
243
246
|
repeated UserDepositItem items = 1;
|
244
247
|
optional int32 total_pages = 2;
|
245
248
|
optional int32 total_items = 3;
|
249
|
+
}
|
250
|
+
//Users
|
251
|
+
message UserPaymentMethodItem {
|
252
|
+
int32 method_id = 1;
|
253
|
+
int32 provider_id = 2;
|
254
|
+
string method_title = 3;
|
255
|
+
string provider_title = 4;
|
256
|
+
string image = 5;
|
257
|
+
string currency = 6;
|
258
|
+
optional string payment_type = 7;
|
259
|
+
optional int32 min_amount = 8;
|
260
|
+
optional int32 max_amount = 9;
|
261
|
+
}
|
262
|
+
message UserPaymentMethodsResponse {
|
263
|
+
repeated UserPaymentMethodItem items = 1;
|
246
264
|
}
|
@@ -268,6 +268,17 @@ function deserialize_payment_UserDepositItemsResponse(buffer_arg) {
|
|
268
268
|
return payment_pb.UserDepositItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
269
269
|
}
|
270
270
|
|
271
|
+
function serialize_payment_UserPaymentMethodsResponse(arg) {
|
272
|
+
if (!(arg instanceof payment_pb.UserPaymentMethodsResponse)) {
|
273
|
+
throw new Error('Expected argument of type payment.UserPaymentMethodsResponse');
|
274
|
+
}
|
275
|
+
return Buffer.from(arg.serializeBinary());
|
276
|
+
}
|
277
|
+
|
278
|
+
function deserialize_payment_UserPaymentMethodsResponse(buffer_arg) {
|
279
|
+
return payment_pb.UserPaymentMethodsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
280
|
+
}
|
281
|
+
|
271
282
|
function serialize_payment_UserPaymentsInfoResponse(arg) {
|
272
283
|
if (!(arg instanceof payment_pb.UserPaymentsInfoResponse)) {
|
273
284
|
throw new Error('Expected argument of type payment.UserPaymentsInfoResponse');
|
@@ -517,6 +528,17 @@ userPaymentsInfo: {
|
|
517
528
|
responseSerialize: serialize_payment_UserDepositItemsResponse,
|
518
529
|
responseDeserialize: deserialize_payment_UserDepositItemsResponse,
|
519
530
|
},
|
531
|
+
getPaymentMethodsForUser: {
|
532
|
+
path: '/payment.Payment/getPaymentMethodsForUser',
|
533
|
+
requestStream: false,
|
534
|
+
responseStream: false,
|
535
|
+
requestType: payment_pb.GetUserPaymentsInfoRequest,
|
536
|
+
responseType: payment_pb.UserPaymentMethodsResponse,
|
537
|
+
requestSerialize: serialize_payment_GetUserPaymentsInfoRequest,
|
538
|
+
requestDeserialize: deserialize_payment_GetUserPaymentsInfoRequest,
|
539
|
+
responseSerialize: serialize_payment_UserPaymentMethodsResponse,
|
540
|
+
responseDeserialize: deserialize_payment_UserPaymentMethodsResponse,
|
541
|
+
},
|
520
542
|
};
|
521
543
|
|
522
544
|
exports.PaymentClient = grpc.makeGenericClientConstructor(PaymentService);
|
package/payment/payment_pb.js
CHANGED
@@ -55,6 +55,8 @@ goog.exportSymbol('proto.payment.ProviderRequest.RequestCase', null, global);
|
|
55
55
|
goog.exportSymbol('proto.payment.ProviderResponse', null, global);
|
56
56
|
goog.exportSymbol('proto.payment.UserDepositItem', null, global);
|
57
57
|
goog.exportSymbol('proto.payment.UserDepositItemsResponse', null, global);
|
58
|
+
goog.exportSymbol('proto.payment.UserPaymentMethodItem', null, global);
|
59
|
+
goog.exportSymbol('proto.payment.UserPaymentMethodsResponse', null, global);
|
58
60
|
goog.exportSymbol('proto.payment.UserPaymentsInfoResponse', null, global);
|
59
61
|
/**
|
60
62
|
* Generated by JsPbCodeGenerator.
|
@@ -749,6 +751,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
749
751
|
*/
|
750
752
|
proto.payment.UserDepositItemsResponse.displayName = 'proto.payment.UserDepositItemsResponse';
|
751
753
|
}
|
754
|
+
/**
|
755
|
+
* Generated by JsPbCodeGenerator.
|
756
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
757
|
+
* server response, or constructed directly in Javascript. The array is used
|
758
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
759
|
+
* If no data is provided, the constructed object will be empty, but still
|
760
|
+
* valid.
|
761
|
+
* @extends {jspb.Message}
|
762
|
+
* @constructor
|
763
|
+
*/
|
764
|
+
proto.payment.UserPaymentMethodItem = function(opt_data) {
|
765
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
766
|
+
};
|
767
|
+
goog.inherits(proto.payment.UserPaymentMethodItem, jspb.Message);
|
768
|
+
if (goog.DEBUG && !COMPILED) {
|
769
|
+
/**
|
770
|
+
* @public
|
771
|
+
* @override
|
772
|
+
*/
|
773
|
+
proto.payment.UserPaymentMethodItem.displayName = 'proto.payment.UserPaymentMethodItem';
|
774
|
+
}
|
775
|
+
/**
|
776
|
+
* Generated by JsPbCodeGenerator.
|
777
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
778
|
+
* server response, or constructed directly in Javascript. The array is used
|
779
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
780
|
+
* If no data is provided, the constructed object will be empty, but still
|
781
|
+
* valid.
|
782
|
+
* @extends {jspb.Message}
|
783
|
+
* @constructor
|
784
|
+
*/
|
785
|
+
proto.payment.UserPaymentMethodsResponse = function(opt_data) {
|
786
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.UserPaymentMethodsResponse.repeatedFields_, null);
|
787
|
+
};
|
788
|
+
goog.inherits(proto.payment.UserPaymentMethodsResponse, jspb.Message);
|
789
|
+
if (goog.DEBUG && !COMPILED) {
|
790
|
+
/**
|
791
|
+
* @public
|
792
|
+
* @override
|
793
|
+
*/
|
794
|
+
proto.payment.UserPaymentMethodsResponse.displayName = 'proto.payment.UserPaymentMethodsResponse';
|
795
|
+
}
|
752
796
|
|
753
797
|
|
754
798
|
|
@@ -8986,7 +9030,9 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
|
|
8986
9030
|
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
8987
9031
|
startDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
8988
9032
|
endDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
8989
|
-
transactionType: jspb.Message.getFieldWithDefault(msg, 6, "")
|
9033
|
+
transactionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
9034
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
9035
|
+
country: jspb.Message.getFieldWithDefault(msg, 8, "")
|
8990
9036
|
};
|
8991
9037
|
|
8992
9038
|
if (includeInstance) {
|
@@ -9047,6 +9093,14 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
|
|
9047
9093
|
var value = /** @type {string} */ (reader.readString());
|
9048
9094
|
msg.setTransactionType(value);
|
9049
9095
|
break;
|
9096
|
+
case 7:
|
9097
|
+
var value = /** @type {string} */ (reader.readString());
|
9098
|
+
msg.setCurrency(value);
|
9099
|
+
break;
|
9100
|
+
case 8:
|
9101
|
+
var value = /** @type {string} */ (reader.readString());
|
9102
|
+
msg.setCountry(value);
|
9103
|
+
break;
|
9050
9104
|
default:
|
9051
9105
|
reader.skipField();
|
9052
9106
|
break;
|
@@ -9118,6 +9172,20 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
|
|
9118
9172
|
f
|
9119
9173
|
);
|
9120
9174
|
}
|
9175
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
9176
|
+
if (f != null) {
|
9177
|
+
writer.writeString(
|
9178
|
+
7,
|
9179
|
+
f
|
9180
|
+
);
|
9181
|
+
}
|
9182
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
9183
|
+
if (f != null) {
|
9184
|
+
writer.writeString(
|
9185
|
+
8,
|
9186
|
+
f
|
9187
|
+
);
|
9188
|
+
}
|
9121
9189
|
};
|
9122
9190
|
|
9123
9191
|
|
@@ -9319,6 +9387,78 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasTransactionType = function
|
|
9319
9387
|
};
|
9320
9388
|
|
9321
9389
|
|
9390
|
+
/**
|
9391
|
+
* optional string currency = 7;
|
9392
|
+
* @return {string}
|
9393
|
+
*/
|
9394
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getCurrency = function() {
|
9395
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
9396
|
+
};
|
9397
|
+
|
9398
|
+
|
9399
|
+
/**
|
9400
|
+
* @param {string} value
|
9401
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
9402
|
+
*/
|
9403
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setCurrency = function(value) {
|
9404
|
+
return jspb.Message.setField(this, 7, value);
|
9405
|
+
};
|
9406
|
+
|
9407
|
+
|
9408
|
+
/**
|
9409
|
+
* Clears the field making it undefined.
|
9410
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
9411
|
+
*/
|
9412
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearCurrency = function() {
|
9413
|
+
return jspb.Message.setField(this, 7, undefined);
|
9414
|
+
};
|
9415
|
+
|
9416
|
+
|
9417
|
+
/**
|
9418
|
+
* Returns whether this field is set.
|
9419
|
+
* @return {boolean}
|
9420
|
+
*/
|
9421
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasCurrency = function() {
|
9422
|
+
return jspb.Message.getField(this, 7) != null;
|
9423
|
+
};
|
9424
|
+
|
9425
|
+
|
9426
|
+
/**
|
9427
|
+
* optional string country = 8;
|
9428
|
+
* @return {string}
|
9429
|
+
*/
|
9430
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.getCountry = function() {
|
9431
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
9432
|
+
};
|
9433
|
+
|
9434
|
+
|
9435
|
+
/**
|
9436
|
+
* @param {string} value
|
9437
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
9438
|
+
*/
|
9439
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.setCountry = function(value) {
|
9440
|
+
return jspb.Message.setField(this, 8, value);
|
9441
|
+
};
|
9442
|
+
|
9443
|
+
|
9444
|
+
/**
|
9445
|
+
* Clears the field making it undefined.
|
9446
|
+
* @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
|
9447
|
+
*/
|
9448
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.clearCountry = function() {
|
9449
|
+
return jspb.Message.setField(this, 8, undefined);
|
9450
|
+
};
|
9451
|
+
|
9452
|
+
|
9453
|
+
/**
|
9454
|
+
* Returns whether this field is set.
|
9455
|
+
* @return {boolean}
|
9456
|
+
*/
|
9457
|
+
proto.payment.GetUserPaymentsInfoRequest.prototype.hasCountry = function() {
|
9458
|
+
return jspb.Message.getField(this, 8) != null;
|
9459
|
+
};
|
9460
|
+
|
9461
|
+
|
9322
9462
|
|
9323
9463
|
|
9324
9464
|
|
@@ -10573,4 +10713,588 @@ proto.payment.UserDepositItemsResponse.prototype.hasTotalItems = function() {
|
|
10573
10713
|
};
|
10574
10714
|
|
10575
10715
|
|
10716
|
+
|
10717
|
+
|
10718
|
+
|
10719
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
10720
|
+
/**
|
10721
|
+
* Creates an object representation of this proto.
|
10722
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
10723
|
+
* Optional fields that are not set will be set to undefined.
|
10724
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
10725
|
+
* For the list of reserved names please see:
|
10726
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
10727
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
10728
|
+
* JSPB instance for transitional soy proto support:
|
10729
|
+
* http://goto/soy-param-migration
|
10730
|
+
* @return {!Object}
|
10731
|
+
*/
|
10732
|
+
proto.payment.UserPaymentMethodItem.prototype.toObject = function(opt_includeInstance) {
|
10733
|
+
return proto.payment.UserPaymentMethodItem.toObject(opt_includeInstance, this);
|
10734
|
+
};
|
10735
|
+
|
10736
|
+
|
10737
|
+
/**
|
10738
|
+
* Static version of the {@see toObject} method.
|
10739
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
10740
|
+
* the JSPB instance for transitional soy proto support:
|
10741
|
+
* http://goto/soy-param-migration
|
10742
|
+
* @param {!proto.payment.UserPaymentMethodItem} msg The msg instance to transform.
|
10743
|
+
* @return {!Object}
|
10744
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
10745
|
+
*/
|
10746
|
+
proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
10747
|
+
var f, obj = {
|
10748
|
+
methodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
10749
|
+
providerId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
10750
|
+
methodTitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
10751
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
10752
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
10753
|
+
currency: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
10754
|
+
paymentType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
10755
|
+
minAmount: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
10756
|
+
maxAmount: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
10757
|
+
};
|
10758
|
+
|
10759
|
+
if (includeInstance) {
|
10760
|
+
obj.$jspbMessageInstance = msg;
|
10761
|
+
}
|
10762
|
+
return obj;
|
10763
|
+
};
|
10764
|
+
}
|
10765
|
+
|
10766
|
+
|
10767
|
+
/**
|
10768
|
+
* Deserializes binary data (in protobuf wire format).
|
10769
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
10770
|
+
* @return {!proto.payment.UserPaymentMethodItem}
|
10771
|
+
*/
|
10772
|
+
proto.payment.UserPaymentMethodItem.deserializeBinary = function(bytes) {
|
10773
|
+
var reader = new jspb.BinaryReader(bytes);
|
10774
|
+
var msg = new proto.payment.UserPaymentMethodItem;
|
10775
|
+
return proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader(msg, reader);
|
10776
|
+
};
|
10777
|
+
|
10778
|
+
|
10779
|
+
/**
|
10780
|
+
* Deserializes binary data (in protobuf wire format) from the
|
10781
|
+
* given reader into the given message object.
|
10782
|
+
* @param {!proto.payment.UserPaymentMethodItem} msg The message object to deserialize into.
|
10783
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
10784
|
+
* @return {!proto.payment.UserPaymentMethodItem}
|
10785
|
+
*/
|
10786
|
+
proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg, reader) {
|
10787
|
+
while (reader.nextField()) {
|
10788
|
+
if (reader.isEndGroup()) {
|
10789
|
+
break;
|
10790
|
+
}
|
10791
|
+
var field = reader.getFieldNumber();
|
10792
|
+
switch (field) {
|
10793
|
+
case 1:
|
10794
|
+
var value = /** @type {number} */ (reader.readInt32());
|
10795
|
+
msg.setMethodId(value);
|
10796
|
+
break;
|
10797
|
+
case 2:
|
10798
|
+
var value = /** @type {number} */ (reader.readInt32());
|
10799
|
+
msg.setProviderId(value);
|
10800
|
+
break;
|
10801
|
+
case 3:
|
10802
|
+
var value = /** @type {string} */ (reader.readString());
|
10803
|
+
msg.setMethodTitle(value);
|
10804
|
+
break;
|
10805
|
+
case 4:
|
10806
|
+
var value = /** @type {string} */ (reader.readString());
|
10807
|
+
msg.setProviderTitle(value);
|
10808
|
+
break;
|
10809
|
+
case 5:
|
10810
|
+
var value = /** @type {string} */ (reader.readString());
|
10811
|
+
msg.setImage(value);
|
10812
|
+
break;
|
10813
|
+
case 6:
|
10814
|
+
var value = /** @type {string} */ (reader.readString());
|
10815
|
+
msg.setCurrency(value);
|
10816
|
+
break;
|
10817
|
+
case 7:
|
10818
|
+
var value = /** @type {string} */ (reader.readString());
|
10819
|
+
msg.setPaymentType(value);
|
10820
|
+
break;
|
10821
|
+
case 8:
|
10822
|
+
var value = /** @type {number} */ (reader.readInt32());
|
10823
|
+
msg.setMinAmount(value);
|
10824
|
+
break;
|
10825
|
+
case 9:
|
10826
|
+
var value = /** @type {number} */ (reader.readInt32());
|
10827
|
+
msg.setMaxAmount(value);
|
10828
|
+
break;
|
10829
|
+
default:
|
10830
|
+
reader.skipField();
|
10831
|
+
break;
|
10832
|
+
}
|
10833
|
+
}
|
10834
|
+
return msg;
|
10835
|
+
};
|
10836
|
+
|
10837
|
+
|
10838
|
+
/**
|
10839
|
+
* Serializes the message to binary data (in protobuf wire format).
|
10840
|
+
* @return {!Uint8Array}
|
10841
|
+
*/
|
10842
|
+
proto.payment.UserPaymentMethodItem.prototype.serializeBinary = function() {
|
10843
|
+
var writer = new jspb.BinaryWriter();
|
10844
|
+
proto.payment.UserPaymentMethodItem.serializeBinaryToWriter(this, writer);
|
10845
|
+
return writer.getResultBuffer();
|
10846
|
+
};
|
10847
|
+
|
10848
|
+
|
10849
|
+
/**
|
10850
|
+
* Serializes the given message to binary data (in protobuf wire
|
10851
|
+
* format), writing to the given BinaryWriter.
|
10852
|
+
* @param {!proto.payment.UserPaymentMethodItem} message
|
10853
|
+
* @param {!jspb.BinaryWriter} writer
|
10854
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
10855
|
+
*/
|
10856
|
+
proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message, writer) {
|
10857
|
+
var f = undefined;
|
10858
|
+
f = message.getMethodId();
|
10859
|
+
if (f !== 0) {
|
10860
|
+
writer.writeInt32(
|
10861
|
+
1,
|
10862
|
+
f
|
10863
|
+
);
|
10864
|
+
}
|
10865
|
+
f = message.getProviderId();
|
10866
|
+
if (f !== 0) {
|
10867
|
+
writer.writeInt32(
|
10868
|
+
2,
|
10869
|
+
f
|
10870
|
+
);
|
10871
|
+
}
|
10872
|
+
f = message.getMethodTitle();
|
10873
|
+
if (f.length > 0) {
|
10874
|
+
writer.writeString(
|
10875
|
+
3,
|
10876
|
+
f
|
10877
|
+
);
|
10878
|
+
}
|
10879
|
+
f = message.getProviderTitle();
|
10880
|
+
if (f.length > 0) {
|
10881
|
+
writer.writeString(
|
10882
|
+
4,
|
10883
|
+
f
|
10884
|
+
);
|
10885
|
+
}
|
10886
|
+
f = message.getImage();
|
10887
|
+
if (f.length > 0) {
|
10888
|
+
writer.writeString(
|
10889
|
+
5,
|
10890
|
+
f
|
10891
|
+
);
|
10892
|
+
}
|
10893
|
+
f = message.getCurrency();
|
10894
|
+
if (f.length > 0) {
|
10895
|
+
writer.writeString(
|
10896
|
+
6,
|
10897
|
+
f
|
10898
|
+
);
|
10899
|
+
}
|
10900
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
10901
|
+
if (f != null) {
|
10902
|
+
writer.writeString(
|
10903
|
+
7,
|
10904
|
+
f
|
10905
|
+
);
|
10906
|
+
}
|
10907
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
10908
|
+
if (f != null) {
|
10909
|
+
writer.writeInt32(
|
10910
|
+
8,
|
10911
|
+
f
|
10912
|
+
);
|
10913
|
+
}
|
10914
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
10915
|
+
if (f != null) {
|
10916
|
+
writer.writeInt32(
|
10917
|
+
9,
|
10918
|
+
f
|
10919
|
+
);
|
10920
|
+
}
|
10921
|
+
};
|
10922
|
+
|
10923
|
+
|
10924
|
+
/**
|
10925
|
+
* optional int32 method_id = 1;
|
10926
|
+
* @return {number}
|
10927
|
+
*/
|
10928
|
+
proto.payment.UserPaymentMethodItem.prototype.getMethodId = function() {
|
10929
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
10930
|
+
};
|
10931
|
+
|
10932
|
+
|
10933
|
+
/**
|
10934
|
+
* @param {number} value
|
10935
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
10936
|
+
*/
|
10937
|
+
proto.payment.UserPaymentMethodItem.prototype.setMethodId = function(value) {
|
10938
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
10939
|
+
};
|
10940
|
+
|
10941
|
+
|
10942
|
+
/**
|
10943
|
+
* optional int32 provider_id = 2;
|
10944
|
+
* @return {number}
|
10945
|
+
*/
|
10946
|
+
proto.payment.UserPaymentMethodItem.prototype.getProviderId = function() {
|
10947
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
10948
|
+
};
|
10949
|
+
|
10950
|
+
|
10951
|
+
/**
|
10952
|
+
* @param {number} value
|
10953
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
10954
|
+
*/
|
10955
|
+
proto.payment.UserPaymentMethodItem.prototype.setProviderId = function(value) {
|
10956
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
10957
|
+
};
|
10958
|
+
|
10959
|
+
|
10960
|
+
/**
|
10961
|
+
* optional string method_title = 3;
|
10962
|
+
* @return {string}
|
10963
|
+
*/
|
10964
|
+
proto.payment.UserPaymentMethodItem.prototype.getMethodTitle = function() {
|
10965
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
10966
|
+
};
|
10967
|
+
|
10968
|
+
|
10969
|
+
/**
|
10970
|
+
* @param {string} value
|
10971
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
10972
|
+
*/
|
10973
|
+
proto.payment.UserPaymentMethodItem.prototype.setMethodTitle = function(value) {
|
10974
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
10975
|
+
};
|
10976
|
+
|
10977
|
+
|
10978
|
+
/**
|
10979
|
+
* optional string provider_title = 4;
|
10980
|
+
* @return {string}
|
10981
|
+
*/
|
10982
|
+
proto.payment.UserPaymentMethodItem.prototype.getProviderTitle = function() {
|
10983
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
10984
|
+
};
|
10985
|
+
|
10986
|
+
|
10987
|
+
/**
|
10988
|
+
* @param {string} value
|
10989
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
10990
|
+
*/
|
10991
|
+
proto.payment.UserPaymentMethodItem.prototype.setProviderTitle = function(value) {
|
10992
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
10993
|
+
};
|
10994
|
+
|
10995
|
+
|
10996
|
+
/**
|
10997
|
+
* optional string image = 5;
|
10998
|
+
* @return {string}
|
10999
|
+
*/
|
11000
|
+
proto.payment.UserPaymentMethodItem.prototype.getImage = function() {
|
11001
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
11002
|
+
};
|
11003
|
+
|
11004
|
+
|
11005
|
+
/**
|
11006
|
+
* @param {string} value
|
11007
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11008
|
+
*/
|
11009
|
+
proto.payment.UserPaymentMethodItem.prototype.setImage = function(value) {
|
11010
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
11011
|
+
};
|
11012
|
+
|
11013
|
+
|
11014
|
+
/**
|
11015
|
+
* optional string currency = 6;
|
11016
|
+
* @return {string}
|
11017
|
+
*/
|
11018
|
+
proto.payment.UserPaymentMethodItem.prototype.getCurrency = function() {
|
11019
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
11020
|
+
};
|
11021
|
+
|
11022
|
+
|
11023
|
+
/**
|
11024
|
+
* @param {string} value
|
11025
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11026
|
+
*/
|
11027
|
+
proto.payment.UserPaymentMethodItem.prototype.setCurrency = function(value) {
|
11028
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
11029
|
+
};
|
11030
|
+
|
11031
|
+
|
11032
|
+
/**
|
11033
|
+
* optional string payment_type = 7;
|
11034
|
+
* @return {string}
|
11035
|
+
*/
|
11036
|
+
proto.payment.UserPaymentMethodItem.prototype.getPaymentType = function() {
|
11037
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
11038
|
+
};
|
11039
|
+
|
11040
|
+
|
11041
|
+
/**
|
11042
|
+
* @param {string} value
|
11043
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11044
|
+
*/
|
11045
|
+
proto.payment.UserPaymentMethodItem.prototype.setPaymentType = function(value) {
|
11046
|
+
return jspb.Message.setField(this, 7, value);
|
11047
|
+
};
|
11048
|
+
|
11049
|
+
|
11050
|
+
/**
|
11051
|
+
* Clears the field making it undefined.
|
11052
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11053
|
+
*/
|
11054
|
+
proto.payment.UserPaymentMethodItem.prototype.clearPaymentType = function() {
|
11055
|
+
return jspb.Message.setField(this, 7, undefined);
|
11056
|
+
};
|
11057
|
+
|
11058
|
+
|
11059
|
+
/**
|
11060
|
+
* Returns whether this field is set.
|
11061
|
+
* @return {boolean}
|
11062
|
+
*/
|
11063
|
+
proto.payment.UserPaymentMethodItem.prototype.hasPaymentType = function() {
|
11064
|
+
return jspb.Message.getField(this, 7) != null;
|
11065
|
+
};
|
11066
|
+
|
11067
|
+
|
11068
|
+
/**
|
11069
|
+
* optional int32 min_amount = 8;
|
11070
|
+
* @return {number}
|
11071
|
+
*/
|
11072
|
+
proto.payment.UserPaymentMethodItem.prototype.getMinAmount = function() {
|
11073
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
11074
|
+
};
|
11075
|
+
|
11076
|
+
|
11077
|
+
/**
|
11078
|
+
* @param {number} value
|
11079
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11080
|
+
*/
|
11081
|
+
proto.payment.UserPaymentMethodItem.prototype.setMinAmount = function(value) {
|
11082
|
+
return jspb.Message.setField(this, 8, value);
|
11083
|
+
};
|
11084
|
+
|
11085
|
+
|
11086
|
+
/**
|
11087
|
+
* Clears the field making it undefined.
|
11088
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11089
|
+
*/
|
11090
|
+
proto.payment.UserPaymentMethodItem.prototype.clearMinAmount = function() {
|
11091
|
+
return jspb.Message.setField(this, 8, undefined);
|
11092
|
+
};
|
11093
|
+
|
11094
|
+
|
11095
|
+
/**
|
11096
|
+
* Returns whether this field is set.
|
11097
|
+
* @return {boolean}
|
11098
|
+
*/
|
11099
|
+
proto.payment.UserPaymentMethodItem.prototype.hasMinAmount = function() {
|
11100
|
+
return jspb.Message.getField(this, 8) != null;
|
11101
|
+
};
|
11102
|
+
|
11103
|
+
|
11104
|
+
/**
|
11105
|
+
* optional int32 max_amount = 9;
|
11106
|
+
* @return {number}
|
11107
|
+
*/
|
11108
|
+
proto.payment.UserPaymentMethodItem.prototype.getMaxAmount = function() {
|
11109
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
11110
|
+
};
|
11111
|
+
|
11112
|
+
|
11113
|
+
/**
|
11114
|
+
* @param {number} value
|
11115
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11116
|
+
*/
|
11117
|
+
proto.payment.UserPaymentMethodItem.prototype.setMaxAmount = function(value) {
|
11118
|
+
return jspb.Message.setField(this, 9, value);
|
11119
|
+
};
|
11120
|
+
|
11121
|
+
|
11122
|
+
/**
|
11123
|
+
* Clears the field making it undefined.
|
11124
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
11125
|
+
*/
|
11126
|
+
proto.payment.UserPaymentMethodItem.prototype.clearMaxAmount = function() {
|
11127
|
+
return jspb.Message.setField(this, 9, undefined);
|
11128
|
+
};
|
11129
|
+
|
11130
|
+
|
11131
|
+
/**
|
11132
|
+
* Returns whether this field is set.
|
11133
|
+
* @return {boolean}
|
11134
|
+
*/
|
11135
|
+
proto.payment.UserPaymentMethodItem.prototype.hasMaxAmount = function() {
|
11136
|
+
return jspb.Message.getField(this, 9) != null;
|
11137
|
+
};
|
11138
|
+
|
11139
|
+
|
11140
|
+
|
11141
|
+
/**
|
11142
|
+
* List of repeated fields within this message type.
|
11143
|
+
* @private {!Array<number>}
|
11144
|
+
* @const
|
11145
|
+
*/
|
11146
|
+
proto.payment.UserPaymentMethodsResponse.repeatedFields_ = [1];
|
11147
|
+
|
11148
|
+
|
11149
|
+
|
11150
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11151
|
+
/**
|
11152
|
+
* Creates an object representation of this proto.
|
11153
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
11154
|
+
* Optional fields that are not set will be set to undefined.
|
11155
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
11156
|
+
* For the list of reserved names please see:
|
11157
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
11158
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
11159
|
+
* JSPB instance for transitional soy proto support:
|
11160
|
+
* http://goto/soy-param-migration
|
11161
|
+
* @return {!Object}
|
11162
|
+
*/
|
11163
|
+
proto.payment.UserPaymentMethodsResponse.prototype.toObject = function(opt_includeInstance) {
|
11164
|
+
return proto.payment.UserPaymentMethodsResponse.toObject(opt_includeInstance, this);
|
11165
|
+
};
|
11166
|
+
|
11167
|
+
|
11168
|
+
/**
|
11169
|
+
* Static version of the {@see toObject} method.
|
11170
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
11171
|
+
* the JSPB instance for transitional soy proto support:
|
11172
|
+
* http://goto/soy-param-migration
|
11173
|
+
* @param {!proto.payment.UserPaymentMethodsResponse} msg The msg instance to transform.
|
11174
|
+
* @return {!Object}
|
11175
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11176
|
+
*/
|
11177
|
+
proto.payment.UserPaymentMethodsResponse.toObject = function(includeInstance, msg) {
|
11178
|
+
var f, obj = {
|
11179
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
11180
|
+
proto.payment.UserPaymentMethodItem.toObject, includeInstance)
|
11181
|
+
};
|
11182
|
+
|
11183
|
+
if (includeInstance) {
|
11184
|
+
obj.$jspbMessageInstance = msg;
|
11185
|
+
}
|
11186
|
+
return obj;
|
11187
|
+
};
|
11188
|
+
}
|
11189
|
+
|
11190
|
+
|
11191
|
+
/**
|
11192
|
+
* Deserializes binary data (in protobuf wire format).
|
11193
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
11194
|
+
* @return {!proto.payment.UserPaymentMethodsResponse}
|
11195
|
+
*/
|
11196
|
+
proto.payment.UserPaymentMethodsResponse.deserializeBinary = function(bytes) {
|
11197
|
+
var reader = new jspb.BinaryReader(bytes);
|
11198
|
+
var msg = new proto.payment.UserPaymentMethodsResponse;
|
11199
|
+
return proto.payment.UserPaymentMethodsResponse.deserializeBinaryFromReader(msg, reader);
|
11200
|
+
};
|
11201
|
+
|
11202
|
+
|
11203
|
+
/**
|
11204
|
+
* Deserializes binary data (in protobuf wire format) from the
|
11205
|
+
* given reader into the given message object.
|
11206
|
+
* @param {!proto.payment.UserPaymentMethodsResponse} msg The message object to deserialize into.
|
11207
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
11208
|
+
* @return {!proto.payment.UserPaymentMethodsResponse}
|
11209
|
+
*/
|
11210
|
+
proto.payment.UserPaymentMethodsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
11211
|
+
while (reader.nextField()) {
|
11212
|
+
if (reader.isEndGroup()) {
|
11213
|
+
break;
|
11214
|
+
}
|
11215
|
+
var field = reader.getFieldNumber();
|
11216
|
+
switch (field) {
|
11217
|
+
case 1:
|
11218
|
+
var value = new proto.payment.UserPaymentMethodItem;
|
11219
|
+
reader.readMessage(value,proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader);
|
11220
|
+
msg.addItems(value);
|
11221
|
+
break;
|
11222
|
+
default:
|
11223
|
+
reader.skipField();
|
11224
|
+
break;
|
11225
|
+
}
|
11226
|
+
}
|
11227
|
+
return msg;
|
11228
|
+
};
|
11229
|
+
|
11230
|
+
|
11231
|
+
/**
|
11232
|
+
* Serializes the message to binary data (in protobuf wire format).
|
11233
|
+
* @return {!Uint8Array}
|
11234
|
+
*/
|
11235
|
+
proto.payment.UserPaymentMethodsResponse.prototype.serializeBinary = function() {
|
11236
|
+
var writer = new jspb.BinaryWriter();
|
11237
|
+
proto.payment.UserPaymentMethodsResponse.serializeBinaryToWriter(this, writer);
|
11238
|
+
return writer.getResultBuffer();
|
11239
|
+
};
|
11240
|
+
|
11241
|
+
|
11242
|
+
/**
|
11243
|
+
* Serializes the given message to binary data (in protobuf wire
|
11244
|
+
* format), writing to the given BinaryWriter.
|
11245
|
+
* @param {!proto.payment.UserPaymentMethodsResponse} message
|
11246
|
+
* @param {!jspb.BinaryWriter} writer
|
11247
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11248
|
+
*/
|
11249
|
+
proto.payment.UserPaymentMethodsResponse.serializeBinaryToWriter = function(message, writer) {
|
11250
|
+
var f = undefined;
|
11251
|
+
f = message.getItemsList();
|
11252
|
+
if (f.length > 0) {
|
11253
|
+
writer.writeRepeatedMessage(
|
11254
|
+
1,
|
11255
|
+
f,
|
11256
|
+
proto.payment.UserPaymentMethodItem.serializeBinaryToWriter
|
11257
|
+
);
|
11258
|
+
}
|
11259
|
+
};
|
11260
|
+
|
11261
|
+
|
11262
|
+
/**
|
11263
|
+
* repeated UserPaymentMethodItem items = 1;
|
11264
|
+
* @return {!Array<!proto.payment.UserPaymentMethodItem>}
|
11265
|
+
*/
|
11266
|
+
proto.payment.UserPaymentMethodsResponse.prototype.getItemsList = function() {
|
11267
|
+
return /** @type{!Array<!proto.payment.UserPaymentMethodItem>} */ (
|
11268
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.UserPaymentMethodItem, 1));
|
11269
|
+
};
|
11270
|
+
|
11271
|
+
|
11272
|
+
/**
|
11273
|
+
* @param {!Array<!proto.payment.UserPaymentMethodItem>} value
|
11274
|
+
* @return {!proto.payment.UserPaymentMethodsResponse} returns this
|
11275
|
+
*/
|
11276
|
+
proto.payment.UserPaymentMethodsResponse.prototype.setItemsList = function(value) {
|
11277
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
11278
|
+
};
|
11279
|
+
|
11280
|
+
|
11281
|
+
/**
|
11282
|
+
* @param {!proto.payment.UserPaymentMethodItem=} opt_value
|
11283
|
+
* @param {number=} opt_index
|
11284
|
+
* @return {!proto.payment.UserPaymentMethodItem}
|
11285
|
+
*/
|
11286
|
+
proto.payment.UserPaymentMethodsResponse.prototype.addItems = function(opt_value, opt_index) {
|
11287
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.UserPaymentMethodItem, opt_index);
|
11288
|
+
};
|
11289
|
+
|
11290
|
+
|
11291
|
+
/**
|
11292
|
+
* Clears the list making it empty but non-null.
|
11293
|
+
* @return {!proto.payment.UserPaymentMethodsResponse} returns this
|
11294
|
+
*/
|
11295
|
+
proto.payment.UserPaymentMethodsResponse.prototype.clearItemsList = function() {
|
11296
|
+
return this.setItemsList([]);
|
11297
|
+
};
|
11298
|
+
|
11299
|
+
|
10576
11300
|
goog.object.extend(exports, proto.payment);
|