protobuf-platform 1.2.25 → 1.2.27

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/cms/cms.proto CHANGED
@@ -32,6 +32,7 @@ service CMS {
32
32
  rpc updateSinglePage(PageRequest) returns (PageResponse);
33
33
  rpc deleteSinglePage(GetPageRequest) returns (PageStatusResponse);
34
34
  rpc readListPages(PaginationRequest) returns (PagesItemsResponse);
35
+ rpc setPageTranslation(PageTranslationRequest) returns (PageStatusResponse);
35
36
  //Pages
36
37
  rpc createSinglePromo(stream PromoRequest) returns (PromoResponse);
37
38
  rpc readSinglePromo(GetPromoRequest) returns (PromoResponse);
@@ -210,6 +211,14 @@ message GetPageRequest {
210
211
  message PageStatusResponse {
211
212
  string status = 1;
212
213
  }
214
+ message PageTranslationRequest {
215
+ int32 page_id = 1;
216
+ string geo = 2;
217
+ string locale = 3;
218
+ optional string title = 4;
219
+ optional string content = 5;
220
+ optional int32 is_active = 6;
221
+ }
213
222
  //Promo CRUD
214
223
  message PromoRequest {
215
224
  oneof request {
@@ -257,6 +257,17 @@ function deserialize_cms_PageStatusResponse(buffer_arg) {
257
257
  return cms_pb.PageStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
258
258
  }
259
259
 
260
+ function serialize_cms_PageTranslationRequest(arg) {
261
+ if (!(arg instanceof cms_pb.PageTranslationRequest)) {
262
+ throw new Error('Expected argument of type cms.PageTranslationRequest');
263
+ }
264
+ return Buffer.from(arg.serializeBinary());
265
+ }
266
+
267
+ function deserialize_cms_PageTranslationRequest(buffer_arg) {
268
+ return cms_pb.PageTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
269
+ }
270
+
260
271
  function serialize_cms_PagesItemsResponse(arg) {
261
272
  if (!(arg instanceof cms_pb.PagesItemsResponse)) {
262
273
  throw new Error('Expected argument of type cms.PagesItemsResponse');
@@ -648,6 +659,17 @@ createSinglePage: {
648
659
  responseSerialize: serialize_cms_PagesItemsResponse,
649
660
  responseDeserialize: deserialize_cms_PagesItemsResponse,
650
661
  },
662
+ setPageTranslation: {
663
+ path: '/cms.CMS/setPageTranslation',
664
+ requestStream: false,
665
+ responseStream: false,
666
+ requestType: cms_pb.PageTranslationRequest,
667
+ responseType: cms_pb.PageStatusResponse,
668
+ requestSerialize: serialize_cms_PageTranslationRequest,
669
+ requestDeserialize: deserialize_cms_PageTranslationRequest,
670
+ responseSerialize: serialize_cms_PageStatusResponse,
671
+ responseDeserialize: deserialize_cms_PageStatusResponse,
672
+ },
651
673
  // Pages
652
674
  createSinglePromo: {
653
675
  path: '/cms.CMS/createSinglePromo',
package/cms/cms_pb.js CHANGED
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.cms.PageItem', null, global);
50
50
  goog.exportSymbol('proto.cms.PageRequest', null, global);
51
51
  goog.exportSymbol('proto.cms.PageResponse', null, global);
52
52
  goog.exportSymbol('proto.cms.PageStatusResponse', null, global);
53
+ goog.exportSymbol('proto.cms.PageTranslationRequest', null, global);
53
54
  goog.exportSymbol('proto.cms.PagesItemsResponse', null, global);
54
55
  goog.exportSymbol('proto.cms.PaginationRequest', null, global);
55
56
  goog.exportSymbol('proto.cms.PingRequest', null, global);
@@ -778,6 +779,27 @@ if (goog.DEBUG && !COMPILED) {
778
779
  */
779
780
  proto.cms.PageStatusResponse.displayName = 'proto.cms.PageStatusResponse';
780
781
  }
782
+ /**
783
+ * Generated by JsPbCodeGenerator.
784
+ * @param {Array=} opt_data Optional initial data array, typically from a
785
+ * server response, or constructed directly in Javascript. The array is used
786
+ * in place and becomes part of the constructed object. It is not cloned.
787
+ * If no data is provided, the constructed object will be empty, but still
788
+ * valid.
789
+ * @extends {jspb.Message}
790
+ * @constructor
791
+ */
792
+ proto.cms.PageTranslationRequest = function(opt_data) {
793
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
794
+ };
795
+ goog.inherits(proto.cms.PageTranslationRequest, jspb.Message);
796
+ if (goog.DEBUG && !COMPILED) {
797
+ /**
798
+ * @public
799
+ * @override
800
+ */
801
+ proto.cms.PageTranslationRequest.displayName = 'proto.cms.PageTranslationRequest';
802
+ }
781
803
  /**
782
804
  * Generated by JsPbCodeGenerator.
783
805
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9156,6 +9178,340 @@ proto.cms.PageStatusResponse.prototype.setStatus = function(value) {
9156
9178
 
9157
9179
 
9158
9180
 
9181
+
9182
+
9183
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9184
+ /**
9185
+ * Creates an object representation of this proto.
9186
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9187
+ * Optional fields that are not set will be set to undefined.
9188
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9189
+ * For the list of reserved names please see:
9190
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9191
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9192
+ * JSPB instance for transitional soy proto support:
9193
+ * http://goto/soy-param-migration
9194
+ * @return {!Object}
9195
+ */
9196
+ proto.cms.PageTranslationRequest.prototype.toObject = function(opt_includeInstance) {
9197
+ return proto.cms.PageTranslationRequest.toObject(opt_includeInstance, this);
9198
+ };
9199
+
9200
+
9201
+ /**
9202
+ * Static version of the {@see toObject} method.
9203
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9204
+ * the JSPB instance for transitional soy proto support:
9205
+ * http://goto/soy-param-migration
9206
+ * @param {!proto.cms.PageTranslationRequest} msg The msg instance to transform.
9207
+ * @return {!Object}
9208
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9209
+ */
9210
+ proto.cms.PageTranslationRequest.toObject = function(includeInstance, msg) {
9211
+ var f, obj = {
9212
+ pageId: jspb.Message.getFieldWithDefault(msg, 1, 0),
9213
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
9214
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
9215
+ title: jspb.Message.getFieldWithDefault(msg, 4, ""),
9216
+ content: jspb.Message.getFieldWithDefault(msg, 5, ""),
9217
+ isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
9218
+ };
9219
+
9220
+ if (includeInstance) {
9221
+ obj.$jspbMessageInstance = msg;
9222
+ }
9223
+ return obj;
9224
+ };
9225
+ }
9226
+
9227
+
9228
+ /**
9229
+ * Deserializes binary data (in protobuf wire format).
9230
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9231
+ * @return {!proto.cms.PageTranslationRequest}
9232
+ */
9233
+ proto.cms.PageTranslationRequest.deserializeBinary = function(bytes) {
9234
+ var reader = new jspb.BinaryReader(bytes);
9235
+ var msg = new proto.cms.PageTranslationRequest;
9236
+ return proto.cms.PageTranslationRequest.deserializeBinaryFromReader(msg, reader);
9237
+ };
9238
+
9239
+
9240
+ /**
9241
+ * Deserializes binary data (in protobuf wire format) from the
9242
+ * given reader into the given message object.
9243
+ * @param {!proto.cms.PageTranslationRequest} msg The message object to deserialize into.
9244
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9245
+ * @return {!proto.cms.PageTranslationRequest}
9246
+ */
9247
+ proto.cms.PageTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
9248
+ while (reader.nextField()) {
9249
+ if (reader.isEndGroup()) {
9250
+ break;
9251
+ }
9252
+ var field = reader.getFieldNumber();
9253
+ switch (field) {
9254
+ case 1:
9255
+ var value = /** @type {number} */ (reader.readInt32());
9256
+ msg.setPageId(value);
9257
+ break;
9258
+ case 2:
9259
+ var value = /** @type {string} */ (reader.readString());
9260
+ msg.setGeo(value);
9261
+ break;
9262
+ case 3:
9263
+ var value = /** @type {string} */ (reader.readString());
9264
+ msg.setLocale(value);
9265
+ break;
9266
+ case 4:
9267
+ var value = /** @type {string} */ (reader.readString());
9268
+ msg.setTitle(value);
9269
+ break;
9270
+ case 5:
9271
+ var value = /** @type {string} */ (reader.readString());
9272
+ msg.setContent(value);
9273
+ break;
9274
+ case 6:
9275
+ var value = /** @type {number} */ (reader.readInt32());
9276
+ msg.setIsActive(value);
9277
+ break;
9278
+ default:
9279
+ reader.skipField();
9280
+ break;
9281
+ }
9282
+ }
9283
+ return msg;
9284
+ };
9285
+
9286
+
9287
+ /**
9288
+ * Serializes the message to binary data (in protobuf wire format).
9289
+ * @return {!Uint8Array}
9290
+ */
9291
+ proto.cms.PageTranslationRequest.prototype.serializeBinary = function() {
9292
+ var writer = new jspb.BinaryWriter();
9293
+ proto.cms.PageTranslationRequest.serializeBinaryToWriter(this, writer);
9294
+ return writer.getResultBuffer();
9295
+ };
9296
+
9297
+
9298
+ /**
9299
+ * Serializes the given message to binary data (in protobuf wire
9300
+ * format), writing to the given BinaryWriter.
9301
+ * @param {!proto.cms.PageTranslationRequest} message
9302
+ * @param {!jspb.BinaryWriter} writer
9303
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9304
+ */
9305
+ proto.cms.PageTranslationRequest.serializeBinaryToWriter = function(message, writer) {
9306
+ var f = undefined;
9307
+ f = message.getPageId();
9308
+ if (f !== 0) {
9309
+ writer.writeInt32(
9310
+ 1,
9311
+ f
9312
+ );
9313
+ }
9314
+ f = message.getGeo();
9315
+ if (f.length > 0) {
9316
+ writer.writeString(
9317
+ 2,
9318
+ f
9319
+ );
9320
+ }
9321
+ f = message.getLocale();
9322
+ if (f.length > 0) {
9323
+ writer.writeString(
9324
+ 3,
9325
+ f
9326
+ );
9327
+ }
9328
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
9329
+ if (f != null) {
9330
+ writer.writeString(
9331
+ 4,
9332
+ f
9333
+ );
9334
+ }
9335
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
9336
+ if (f != null) {
9337
+ writer.writeString(
9338
+ 5,
9339
+ f
9340
+ );
9341
+ }
9342
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
9343
+ if (f != null) {
9344
+ writer.writeInt32(
9345
+ 6,
9346
+ f
9347
+ );
9348
+ }
9349
+ };
9350
+
9351
+
9352
+ /**
9353
+ * optional int32 page_id = 1;
9354
+ * @return {number}
9355
+ */
9356
+ proto.cms.PageTranslationRequest.prototype.getPageId = function() {
9357
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9358
+ };
9359
+
9360
+
9361
+ /**
9362
+ * @param {number} value
9363
+ * @return {!proto.cms.PageTranslationRequest} returns this
9364
+ */
9365
+ proto.cms.PageTranslationRequest.prototype.setPageId = function(value) {
9366
+ return jspb.Message.setProto3IntField(this, 1, value);
9367
+ };
9368
+
9369
+
9370
+ /**
9371
+ * optional string geo = 2;
9372
+ * @return {string}
9373
+ */
9374
+ proto.cms.PageTranslationRequest.prototype.getGeo = function() {
9375
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9376
+ };
9377
+
9378
+
9379
+ /**
9380
+ * @param {string} value
9381
+ * @return {!proto.cms.PageTranslationRequest} returns this
9382
+ */
9383
+ proto.cms.PageTranslationRequest.prototype.setGeo = function(value) {
9384
+ return jspb.Message.setProto3StringField(this, 2, value);
9385
+ };
9386
+
9387
+
9388
+ /**
9389
+ * optional string locale = 3;
9390
+ * @return {string}
9391
+ */
9392
+ proto.cms.PageTranslationRequest.prototype.getLocale = function() {
9393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9394
+ };
9395
+
9396
+
9397
+ /**
9398
+ * @param {string} value
9399
+ * @return {!proto.cms.PageTranslationRequest} returns this
9400
+ */
9401
+ proto.cms.PageTranslationRequest.prototype.setLocale = function(value) {
9402
+ return jspb.Message.setProto3StringField(this, 3, value);
9403
+ };
9404
+
9405
+
9406
+ /**
9407
+ * optional string title = 4;
9408
+ * @return {string}
9409
+ */
9410
+ proto.cms.PageTranslationRequest.prototype.getTitle = function() {
9411
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9412
+ };
9413
+
9414
+
9415
+ /**
9416
+ * @param {string} value
9417
+ * @return {!proto.cms.PageTranslationRequest} returns this
9418
+ */
9419
+ proto.cms.PageTranslationRequest.prototype.setTitle = function(value) {
9420
+ return jspb.Message.setField(this, 4, value);
9421
+ };
9422
+
9423
+
9424
+ /**
9425
+ * Clears the field making it undefined.
9426
+ * @return {!proto.cms.PageTranslationRequest} returns this
9427
+ */
9428
+ proto.cms.PageTranslationRequest.prototype.clearTitle = function() {
9429
+ return jspb.Message.setField(this, 4, undefined);
9430
+ };
9431
+
9432
+
9433
+ /**
9434
+ * Returns whether this field is set.
9435
+ * @return {boolean}
9436
+ */
9437
+ proto.cms.PageTranslationRequest.prototype.hasTitle = function() {
9438
+ return jspb.Message.getField(this, 4) != null;
9439
+ };
9440
+
9441
+
9442
+ /**
9443
+ * optional string content = 5;
9444
+ * @return {string}
9445
+ */
9446
+ proto.cms.PageTranslationRequest.prototype.getContent = function() {
9447
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9448
+ };
9449
+
9450
+
9451
+ /**
9452
+ * @param {string} value
9453
+ * @return {!proto.cms.PageTranslationRequest} returns this
9454
+ */
9455
+ proto.cms.PageTranslationRequest.prototype.setContent = function(value) {
9456
+ return jspb.Message.setField(this, 5, value);
9457
+ };
9458
+
9459
+
9460
+ /**
9461
+ * Clears the field making it undefined.
9462
+ * @return {!proto.cms.PageTranslationRequest} returns this
9463
+ */
9464
+ proto.cms.PageTranslationRequest.prototype.clearContent = function() {
9465
+ return jspb.Message.setField(this, 5, undefined);
9466
+ };
9467
+
9468
+
9469
+ /**
9470
+ * Returns whether this field is set.
9471
+ * @return {boolean}
9472
+ */
9473
+ proto.cms.PageTranslationRequest.prototype.hasContent = function() {
9474
+ return jspb.Message.getField(this, 5) != null;
9475
+ };
9476
+
9477
+
9478
+ /**
9479
+ * optional int32 is_active = 6;
9480
+ * @return {number}
9481
+ */
9482
+ proto.cms.PageTranslationRequest.prototype.getIsActive = function() {
9483
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9484
+ };
9485
+
9486
+
9487
+ /**
9488
+ * @param {number} value
9489
+ * @return {!proto.cms.PageTranslationRequest} returns this
9490
+ */
9491
+ proto.cms.PageTranslationRequest.prototype.setIsActive = function(value) {
9492
+ return jspb.Message.setField(this, 6, value);
9493
+ };
9494
+
9495
+
9496
+ /**
9497
+ * Clears the field making it undefined.
9498
+ * @return {!proto.cms.PageTranslationRequest} returns this
9499
+ */
9500
+ proto.cms.PageTranslationRequest.prototype.clearIsActive = function() {
9501
+ return jspb.Message.setField(this, 6, undefined);
9502
+ };
9503
+
9504
+
9505
+ /**
9506
+ * Returns whether this field is set.
9507
+ * @return {boolean}
9508
+ */
9509
+ proto.cms.PageTranslationRequest.prototype.hasIsActive = function() {
9510
+ return jspb.Message.getField(this, 6) != null;
9511
+ };
9512
+
9513
+
9514
+
9159
9515
  /**
9160
9516
  * Oneof group definitions for this message. Each group defines the field
9161
9517
  * numbers belonging to that group. When of these fields' value is set, all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -170,6 +170,12 @@ message AttemptDepositRequest {
170
170
  optional int32 bonus_id = 4;
171
171
  optional string user_currency = 5;
172
172
  optional string user_country = 6;
173
+ optional string user_ip = 7;
174
+ optional string user_locale = 8;
175
+ optional string user_first_name = 9;
176
+ optional string user_last_name = 10;
177
+ optional string user_email = 11;
178
+ optional string user_public_id = 12;
173
179
  }
174
180
  message GetDepositRequest {
175
181
  int32 id = 1;
@@ -7062,7 +7062,13 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
7062
7062
  amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
7063
7063
  bonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
7064
7064
  userCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
7065
- userCountry: jspb.Message.getFieldWithDefault(msg, 6, "")
7065
+ userCountry: jspb.Message.getFieldWithDefault(msg, 6, ""),
7066
+ userIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
7067
+ userLocale: jspb.Message.getFieldWithDefault(msg, 8, ""),
7068
+ userFirstName: jspb.Message.getFieldWithDefault(msg, 9, ""),
7069
+ userLastName: jspb.Message.getFieldWithDefault(msg, 10, ""),
7070
+ userEmail: jspb.Message.getFieldWithDefault(msg, 11, ""),
7071
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 12, "")
7066
7072
  };
7067
7073
 
7068
7074
  if (includeInstance) {
@@ -7123,6 +7129,30 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
7123
7129
  var value = /** @type {string} */ (reader.readString());
7124
7130
  msg.setUserCountry(value);
7125
7131
  break;
7132
+ case 7:
7133
+ var value = /** @type {string} */ (reader.readString());
7134
+ msg.setUserIp(value);
7135
+ break;
7136
+ case 8:
7137
+ var value = /** @type {string} */ (reader.readString());
7138
+ msg.setUserLocale(value);
7139
+ break;
7140
+ case 9:
7141
+ var value = /** @type {string} */ (reader.readString());
7142
+ msg.setUserFirstName(value);
7143
+ break;
7144
+ case 10:
7145
+ var value = /** @type {string} */ (reader.readString());
7146
+ msg.setUserLastName(value);
7147
+ break;
7148
+ case 11:
7149
+ var value = /** @type {string} */ (reader.readString());
7150
+ msg.setUserEmail(value);
7151
+ break;
7152
+ case 12:
7153
+ var value = /** @type {string} */ (reader.readString());
7154
+ msg.setUserPublicId(value);
7155
+ break;
7126
7156
  default:
7127
7157
  reader.skipField();
7128
7158
  break;
@@ -7194,6 +7224,48 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
7194
7224
  f
7195
7225
  );
7196
7226
  }
7227
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
7228
+ if (f != null) {
7229
+ writer.writeString(
7230
+ 7,
7231
+ f
7232
+ );
7233
+ }
7234
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
7235
+ if (f != null) {
7236
+ writer.writeString(
7237
+ 8,
7238
+ f
7239
+ );
7240
+ }
7241
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
7242
+ if (f != null) {
7243
+ writer.writeString(
7244
+ 9,
7245
+ f
7246
+ );
7247
+ }
7248
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
7249
+ if (f != null) {
7250
+ writer.writeString(
7251
+ 10,
7252
+ f
7253
+ );
7254
+ }
7255
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
7256
+ if (f != null) {
7257
+ writer.writeString(
7258
+ 11,
7259
+ f
7260
+ );
7261
+ }
7262
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
7263
+ if (f != null) {
7264
+ writer.writeString(
7265
+ 12,
7266
+ f
7267
+ );
7268
+ }
7197
7269
  };
7198
7270
 
7199
7271
 
@@ -7359,6 +7431,222 @@ proto.payment.AttemptDepositRequest.prototype.hasUserCountry = function() {
7359
7431
  };
7360
7432
 
7361
7433
 
7434
+ /**
7435
+ * optional string user_ip = 7;
7436
+ * @return {string}
7437
+ */
7438
+ proto.payment.AttemptDepositRequest.prototype.getUserIp = function() {
7439
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7440
+ };
7441
+
7442
+
7443
+ /**
7444
+ * @param {string} value
7445
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7446
+ */
7447
+ proto.payment.AttemptDepositRequest.prototype.setUserIp = function(value) {
7448
+ return jspb.Message.setField(this, 7, value);
7449
+ };
7450
+
7451
+
7452
+ /**
7453
+ * Clears the field making it undefined.
7454
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7455
+ */
7456
+ proto.payment.AttemptDepositRequest.prototype.clearUserIp = function() {
7457
+ return jspb.Message.setField(this, 7, undefined);
7458
+ };
7459
+
7460
+
7461
+ /**
7462
+ * Returns whether this field is set.
7463
+ * @return {boolean}
7464
+ */
7465
+ proto.payment.AttemptDepositRequest.prototype.hasUserIp = function() {
7466
+ return jspb.Message.getField(this, 7) != null;
7467
+ };
7468
+
7469
+
7470
+ /**
7471
+ * optional string user_locale = 8;
7472
+ * @return {string}
7473
+ */
7474
+ proto.payment.AttemptDepositRequest.prototype.getUserLocale = function() {
7475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7476
+ };
7477
+
7478
+
7479
+ /**
7480
+ * @param {string} value
7481
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7482
+ */
7483
+ proto.payment.AttemptDepositRequest.prototype.setUserLocale = function(value) {
7484
+ return jspb.Message.setField(this, 8, value);
7485
+ };
7486
+
7487
+
7488
+ /**
7489
+ * Clears the field making it undefined.
7490
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7491
+ */
7492
+ proto.payment.AttemptDepositRequest.prototype.clearUserLocale = function() {
7493
+ return jspb.Message.setField(this, 8, undefined);
7494
+ };
7495
+
7496
+
7497
+ /**
7498
+ * Returns whether this field is set.
7499
+ * @return {boolean}
7500
+ */
7501
+ proto.payment.AttemptDepositRequest.prototype.hasUserLocale = function() {
7502
+ return jspb.Message.getField(this, 8) != null;
7503
+ };
7504
+
7505
+
7506
+ /**
7507
+ * optional string user_first_name = 9;
7508
+ * @return {string}
7509
+ */
7510
+ proto.payment.AttemptDepositRequest.prototype.getUserFirstName = function() {
7511
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
7512
+ };
7513
+
7514
+
7515
+ /**
7516
+ * @param {string} value
7517
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7518
+ */
7519
+ proto.payment.AttemptDepositRequest.prototype.setUserFirstName = function(value) {
7520
+ return jspb.Message.setField(this, 9, value);
7521
+ };
7522
+
7523
+
7524
+ /**
7525
+ * Clears the field making it undefined.
7526
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7527
+ */
7528
+ proto.payment.AttemptDepositRequest.prototype.clearUserFirstName = function() {
7529
+ return jspb.Message.setField(this, 9, undefined);
7530
+ };
7531
+
7532
+
7533
+ /**
7534
+ * Returns whether this field is set.
7535
+ * @return {boolean}
7536
+ */
7537
+ proto.payment.AttemptDepositRequest.prototype.hasUserFirstName = function() {
7538
+ return jspb.Message.getField(this, 9) != null;
7539
+ };
7540
+
7541
+
7542
+ /**
7543
+ * optional string user_last_name = 10;
7544
+ * @return {string}
7545
+ */
7546
+ proto.payment.AttemptDepositRequest.prototype.getUserLastName = function() {
7547
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7548
+ };
7549
+
7550
+
7551
+ /**
7552
+ * @param {string} value
7553
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7554
+ */
7555
+ proto.payment.AttemptDepositRequest.prototype.setUserLastName = function(value) {
7556
+ return jspb.Message.setField(this, 10, value);
7557
+ };
7558
+
7559
+
7560
+ /**
7561
+ * Clears the field making it undefined.
7562
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7563
+ */
7564
+ proto.payment.AttemptDepositRequest.prototype.clearUserLastName = function() {
7565
+ return jspb.Message.setField(this, 10, undefined);
7566
+ };
7567
+
7568
+
7569
+ /**
7570
+ * Returns whether this field is set.
7571
+ * @return {boolean}
7572
+ */
7573
+ proto.payment.AttemptDepositRequest.prototype.hasUserLastName = function() {
7574
+ return jspb.Message.getField(this, 10) != null;
7575
+ };
7576
+
7577
+
7578
+ /**
7579
+ * optional string user_email = 11;
7580
+ * @return {string}
7581
+ */
7582
+ proto.payment.AttemptDepositRequest.prototype.getUserEmail = function() {
7583
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
7584
+ };
7585
+
7586
+
7587
+ /**
7588
+ * @param {string} value
7589
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7590
+ */
7591
+ proto.payment.AttemptDepositRequest.prototype.setUserEmail = function(value) {
7592
+ return jspb.Message.setField(this, 11, value);
7593
+ };
7594
+
7595
+
7596
+ /**
7597
+ * Clears the field making it undefined.
7598
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7599
+ */
7600
+ proto.payment.AttemptDepositRequest.prototype.clearUserEmail = function() {
7601
+ return jspb.Message.setField(this, 11, undefined);
7602
+ };
7603
+
7604
+
7605
+ /**
7606
+ * Returns whether this field is set.
7607
+ * @return {boolean}
7608
+ */
7609
+ proto.payment.AttemptDepositRequest.prototype.hasUserEmail = function() {
7610
+ return jspb.Message.getField(this, 11) != null;
7611
+ };
7612
+
7613
+
7614
+ /**
7615
+ * optional string user_public_id = 12;
7616
+ * @return {string}
7617
+ */
7618
+ proto.payment.AttemptDepositRequest.prototype.getUserPublicId = function() {
7619
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
7620
+ };
7621
+
7622
+
7623
+ /**
7624
+ * @param {string} value
7625
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7626
+ */
7627
+ proto.payment.AttemptDepositRequest.prototype.setUserPublicId = function(value) {
7628
+ return jspb.Message.setField(this, 12, value);
7629
+ };
7630
+
7631
+
7632
+ /**
7633
+ * Clears the field making it undefined.
7634
+ * @return {!proto.payment.AttemptDepositRequest} returns this
7635
+ */
7636
+ proto.payment.AttemptDepositRequest.prototype.clearUserPublicId = function() {
7637
+ return jspb.Message.setField(this, 12, undefined);
7638
+ };
7639
+
7640
+
7641
+ /**
7642
+ * Returns whether this field is set.
7643
+ * @return {boolean}
7644
+ */
7645
+ proto.payment.AttemptDepositRequest.prototype.hasUserPublicId = function() {
7646
+ return jspb.Message.getField(this, 12) != null;
7647
+ };
7648
+
7649
+
7362
7650
 
7363
7651
 
7364
7652