protobuf-platform 1.0.232 → 1.0.234

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.232",
3
+ "version": "1.0.234",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -38,13 +38,14 @@ message PaginationRequest { int32 limit = 1; int32 offset = 2; optional PaymentS
38
38
  message PaymentSearchRequest {
39
39
  optional int32 deposit_id = 1;
40
40
  optional int32 withdrawal_id = 2;
41
- optional int32 user_id = 3;
41
+ repeated int32 user_ids = 3;
42
42
  repeated string currency = 4;
43
43
  repeated string geo = 5;
44
44
  optional string processing_type = 6;
45
45
  optional string transaction_type = 7;
46
46
  repeated int32 provider_ids = 8;
47
47
  repeated int32 method_ids = 9;
48
+ repeated int32 deposit_statuses = 10;
48
49
  }
49
50
  //Provider CRUD | Requests
50
51
  message ProviderItem {
@@ -137,7 +138,15 @@ message GetDepositRequest {
137
138
  }
138
139
  message DepositResponse {
139
140
  int32 id = 1;
140
- string status = 2;
141
+ optional int32 user_id = 2;
142
+ optional string status = 3;
143
+ optional float amount_attempt = 4;
144
+ optional float amount_paid = 5;
145
+ optional float fee = 6;
146
+ optional string currency = 7;
147
+ optional string payment_method_title = 8;
148
+ optional string payment_provider_image = 9;
149
+ optional string created = 10;
141
150
  }
142
151
  message DepositItem {
143
152
  int32 id = 1;
@@ -1570,7 +1570,7 @@ proto.payment.PaginationRequest.prototype.hasPaymentSearchParams = function() {
1570
1570
  * @private {!Array<number>}
1571
1571
  * @const
1572
1572
  */
1573
- proto.payment.PaymentSearchRequest.repeatedFields_ = [4,5,8,9];
1573
+ proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10];
1574
1574
 
1575
1575
 
1576
1576
 
@@ -1605,13 +1605,14 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
1605
1605
  var f, obj = {
1606
1606
  depositId: jspb.Message.getFieldWithDefault(msg, 1, 0),
1607
1607
  withdrawalId: jspb.Message.getFieldWithDefault(msg, 2, 0),
1608
- userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
1608
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1609
1609
  currencyList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
1610
1610
  geoList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
1611
1611
  processingType: jspb.Message.getFieldWithDefault(msg, 6, ""),
1612
1612
  transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
1613
1613
  providerIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
1614
- methodIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
1614
+ methodIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
1615
+ depositStatusesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
1615
1616
  };
1616
1617
 
1617
1618
  if (includeInstance) {
@@ -1657,8 +1658,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1657
1658
  msg.setWithdrawalId(value);
1658
1659
  break;
1659
1660
  case 3:
1660
- var value = /** @type {number} */ (reader.readInt32());
1661
- msg.setUserId(value);
1661
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1662
+ for (var i = 0; i < values.length; i++) {
1663
+ msg.addUserIds(values[i]);
1664
+ }
1662
1665
  break;
1663
1666
  case 4:
1664
1667
  var value = /** @type {string} */ (reader.readString());
@@ -1688,6 +1691,12 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1688
1691
  msg.addMethodIds(values[i]);
1689
1692
  }
1690
1693
  break;
1694
+ case 10:
1695
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1696
+ for (var i = 0; i < values.length; i++) {
1697
+ msg.addDepositStatuses(values[i]);
1698
+ }
1699
+ break;
1691
1700
  default:
1692
1701
  reader.skipField();
1693
1702
  break;
@@ -1731,9 +1740,9 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1731
1740
  f
1732
1741
  );
1733
1742
  }
1734
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
1735
- if (f != null) {
1736
- writer.writeInt32(
1743
+ f = message.getUserIdsList();
1744
+ if (f.length > 0) {
1745
+ writer.writePackedInt32(
1737
1746
  3,
1738
1747
  f
1739
1748
  );
@@ -1780,6 +1789,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1780
1789
  f
1781
1790
  );
1782
1791
  }
1792
+ f = message.getDepositStatusesList();
1793
+ if (f.length > 0) {
1794
+ writer.writePackedInt32(
1795
+ 10,
1796
+ f
1797
+ );
1798
+ }
1783
1799
  };
1784
1800
 
1785
1801
 
@@ -1856,38 +1872,39 @@ proto.payment.PaymentSearchRequest.prototype.hasWithdrawalId = function() {
1856
1872
 
1857
1873
 
1858
1874
  /**
1859
- * optional int32 user_id = 3;
1860
- * @return {number}
1875
+ * repeated int32 user_ids = 3;
1876
+ * @return {!Array<number>}
1861
1877
  */
1862
- proto.payment.PaymentSearchRequest.prototype.getUserId = function() {
1863
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1878
+ proto.payment.PaymentSearchRequest.prototype.getUserIdsList = function() {
1879
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
1864
1880
  };
1865
1881
 
1866
1882
 
1867
1883
  /**
1868
- * @param {number} value
1884
+ * @param {!Array<number>} value
1869
1885
  * @return {!proto.payment.PaymentSearchRequest} returns this
1870
1886
  */
1871
- proto.payment.PaymentSearchRequest.prototype.setUserId = function(value) {
1872
- return jspb.Message.setField(this, 3, value);
1887
+ proto.payment.PaymentSearchRequest.prototype.setUserIdsList = function(value) {
1888
+ return jspb.Message.setField(this, 3, value || []);
1873
1889
  };
1874
1890
 
1875
1891
 
1876
1892
  /**
1877
- * Clears the field making it undefined.
1893
+ * @param {number} value
1894
+ * @param {number=} opt_index
1878
1895
  * @return {!proto.payment.PaymentSearchRequest} returns this
1879
1896
  */
1880
- proto.payment.PaymentSearchRequest.prototype.clearUserId = function() {
1881
- return jspb.Message.setField(this, 3, undefined);
1897
+ proto.payment.PaymentSearchRequest.prototype.addUserIds = function(value, opt_index) {
1898
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1882
1899
  };
1883
1900
 
1884
1901
 
1885
1902
  /**
1886
- * Returns whether this field is set.
1887
- * @return {boolean}
1903
+ * Clears the list making it empty but non-null.
1904
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1888
1905
  */
1889
- proto.payment.PaymentSearchRequest.prototype.hasUserId = function() {
1890
- return jspb.Message.getField(this, 3) != null;
1906
+ proto.payment.PaymentSearchRequest.prototype.clearUserIdsList = function() {
1907
+ return this.setUserIdsList([]);
1891
1908
  };
1892
1909
 
1893
1910
 
@@ -2111,6 +2128,43 @@ proto.payment.PaymentSearchRequest.prototype.clearMethodIdsList = function() {
2111
2128
  };
2112
2129
 
2113
2130
 
2131
+ /**
2132
+ * repeated int32 deposit_statuses = 10;
2133
+ * @return {!Array<number>}
2134
+ */
2135
+ proto.payment.PaymentSearchRequest.prototype.getDepositStatusesList = function() {
2136
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 10));
2137
+ };
2138
+
2139
+
2140
+ /**
2141
+ * @param {!Array<number>} value
2142
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2143
+ */
2144
+ proto.payment.PaymentSearchRequest.prototype.setDepositStatusesList = function(value) {
2145
+ return jspb.Message.setField(this, 10, value || []);
2146
+ };
2147
+
2148
+
2149
+ /**
2150
+ * @param {number} value
2151
+ * @param {number=} opt_index
2152
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2153
+ */
2154
+ proto.payment.PaymentSearchRequest.prototype.addDepositStatuses = function(value, opt_index) {
2155
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
2156
+ };
2157
+
2158
+
2159
+ /**
2160
+ * Clears the list making it empty but non-null.
2161
+ * @return {!proto.payment.PaymentSearchRequest} returns this
2162
+ */
2163
+ proto.payment.PaymentSearchRequest.prototype.clearDepositStatusesList = function() {
2164
+ return this.setDepositStatusesList([]);
2165
+ };
2166
+
2167
+
2114
2168
 
2115
2169
  /**
2116
2170
  * List of repeated fields within this message type.
@@ -6024,7 +6078,15 @@ proto.payment.DepositResponse.prototype.toObject = function(opt_includeInstance)
6024
6078
  proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
6025
6079
  var f, obj = {
6026
6080
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
6027
- status: jspb.Message.getFieldWithDefault(msg, 2, "")
6081
+ userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
6082
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
6083
+ amountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
6084
+ amountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
6085
+ fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
6086
+ currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
6087
+ paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
6088
+ paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
6089
+ created: jspb.Message.getFieldWithDefault(msg, 10, "")
6028
6090
  };
6029
6091
 
6030
6092
  if (includeInstance) {
@@ -6066,9 +6128,41 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
6066
6128
  msg.setId(value);
6067
6129
  break;
6068
6130
  case 2:
6131
+ var value = /** @type {number} */ (reader.readInt32());
6132
+ msg.setUserId(value);
6133
+ break;
6134
+ case 3:
6069
6135
  var value = /** @type {string} */ (reader.readString());
6070
6136
  msg.setStatus(value);
6071
6137
  break;
6138
+ case 4:
6139
+ var value = /** @type {number} */ (reader.readFloat());
6140
+ msg.setAmountAttempt(value);
6141
+ break;
6142
+ case 5:
6143
+ var value = /** @type {number} */ (reader.readFloat());
6144
+ msg.setAmountPaid(value);
6145
+ break;
6146
+ case 6:
6147
+ var value = /** @type {number} */ (reader.readFloat());
6148
+ msg.setFee(value);
6149
+ break;
6150
+ case 7:
6151
+ var value = /** @type {string} */ (reader.readString());
6152
+ msg.setCurrency(value);
6153
+ break;
6154
+ case 8:
6155
+ var value = /** @type {string} */ (reader.readString());
6156
+ msg.setPaymentMethodTitle(value);
6157
+ break;
6158
+ case 9:
6159
+ var value = /** @type {string} */ (reader.readString());
6160
+ msg.setPaymentProviderImage(value);
6161
+ break;
6162
+ case 10:
6163
+ var value = /** @type {string} */ (reader.readString());
6164
+ msg.setCreated(value);
6165
+ break;
6072
6166
  default:
6073
6167
  reader.skipField();
6074
6168
  break;
@@ -6105,13 +6199,69 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
6105
6199
  f
6106
6200
  );
6107
6201
  }
6108
- f = message.getStatus();
6109
- if (f.length > 0) {
6110
- writer.writeString(
6202
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
6203
+ if (f != null) {
6204
+ writer.writeInt32(
6111
6205
  2,
6112
6206
  f
6113
6207
  );
6114
6208
  }
6209
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
6210
+ if (f != null) {
6211
+ writer.writeString(
6212
+ 3,
6213
+ f
6214
+ );
6215
+ }
6216
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
6217
+ if (f != null) {
6218
+ writer.writeFloat(
6219
+ 4,
6220
+ f
6221
+ );
6222
+ }
6223
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
6224
+ if (f != null) {
6225
+ writer.writeFloat(
6226
+ 5,
6227
+ f
6228
+ );
6229
+ }
6230
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
6231
+ if (f != null) {
6232
+ writer.writeFloat(
6233
+ 6,
6234
+ f
6235
+ );
6236
+ }
6237
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
6238
+ if (f != null) {
6239
+ writer.writeString(
6240
+ 7,
6241
+ f
6242
+ );
6243
+ }
6244
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
6245
+ if (f != null) {
6246
+ writer.writeString(
6247
+ 8,
6248
+ f
6249
+ );
6250
+ }
6251
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
6252
+ if (f != null) {
6253
+ writer.writeString(
6254
+ 9,
6255
+ f
6256
+ );
6257
+ }
6258
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
6259
+ if (f != null) {
6260
+ writer.writeString(
6261
+ 10,
6262
+ f
6263
+ );
6264
+ }
6115
6265
  };
6116
6266
 
6117
6267
 
@@ -6134,11 +6284,47 @@ proto.payment.DepositResponse.prototype.setId = function(value) {
6134
6284
 
6135
6285
 
6136
6286
  /**
6137
- * optional string status = 2;
6287
+ * optional int32 user_id = 2;
6288
+ * @return {number}
6289
+ */
6290
+ proto.payment.DepositResponse.prototype.getUserId = function() {
6291
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6292
+ };
6293
+
6294
+
6295
+ /**
6296
+ * @param {number} value
6297
+ * @return {!proto.payment.DepositResponse} returns this
6298
+ */
6299
+ proto.payment.DepositResponse.prototype.setUserId = function(value) {
6300
+ return jspb.Message.setField(this, 2, value);
6301
+ };
6302
+
6303
+
6304
+ /**
6305
+ * Clears the field making it undefined.
6306
+ * @return {!proto.payment.DepositResponse} returns this
6307
+ */
6308
+ proto.payment.DepositResponse.prototype.clearUserId = function() {
6309
+ return jspb.Message.setField(this, 2, undefined);
6310
+ };
6311
+
6312
+
6313
+ /**
6314
+ * Returns whether this field is set.
6315
+ * @return {boolean}
6316
+ */
6317
+ proto.payment.DepositResponse.prototype.hasUserId = function() {
6318
+ return jspb.Message.getField(this, 2) != null;
6319
+ };
6320
+
6321
+
6322
+ /**
6323
+ * optional string status = 3;
6138
6324
  * @return {string}
6139
6325
  */
6140
6326
  proto.payment.DepositResponse.prototype.getStatus = function() {
6141
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6327
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6142
6328
  };
6143
6329
 
6144
6330
 
@@ -6147,7 +6333,277 @@ proto.payment.DepositResponse.prototype.getStatus = function() {
6147
6333
  * @return {!proto.payment.DepositResponse} returns this
6148
6334
  */
6149
6335
  proto.payment.DepositResponse.prototype.setStatus = function(value) {
6150
- return jspb.Message.setProto3StringField(this, 2, value);
6336
+ return jspb.Message.setField(this, 3, value);
6337
+ };
6338
+
6339
+
6340
+ /**
6341
+ * Clears the field making it undefined.
6342
+ * @return {!proto.payment.DepositResponse} returns this
6343
+ */
6344
+ proto.payment.DepositResponse.prototype.clearStatus = function() {
6345
+ return jspb.Message.setField(this, 3, undefined);
6346
+ };
6347
+
6348
+
6349
+ /**
6350
+ * Returns whether this field is set.
6351
+ * @return {boolean}
6352
+ */
6353
+ proto.payment.DepositResponse.prototype.hasStatus = function() {
6354
+ return jspb.Message.getField(this, 3) != null;
6355
+ };
6356
+
6357
+
6358
+ /**
6359
+ * optional float amount_attempt = 4;
6360
+ * @return {number}
6361
+ */
6362
+ proto.payment.DepositResponse.prototype.getAmountAttempt = function() {
6363
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
6364
+ };
6365
+
6366
+
6367
+ /**
6368
+ * @param {number} value
6369
+ * @return {!proto.payment.DepositResponse} returns this
6370
+ */
6371
+ proto.payment.DepositResponse.prototype.setAmountAttempt = function(value) {
6372
+ return jspb.Message.setField(this, 4, value);
6373
+ };
6374
+
6375
+
6376
+ /**
6377
+ * Clears the field making it undefined.
6378
+ * @return {!proto.payment.DepositResponse} returns this
6379
+ */
6380
+ proto.payment.DepositResponse.prototype.clearAmountAttempt = function() {
6381
+ return jspb.Message.setField(this, 4, undefined);
6382
+ };
6383
+
6384
+
6385
+ /**
6386
+ * Returns whether this field is set.
6387
+ * @return {boolean}
6388
+ */
6389
+ proto.payment.DepositResponse.prototype.hasAmountAttempt = function() {
6390
+ return jspb.Message.getField(this, 4) != null;
6391
+ };
6392
+
6393
+
6394
+ /**
6395
+ * optional float amount_paid = 5;
6396
+ * @return {number}
6397
+ */
6398
+ proto.payment.DepositResponse.prototype.getAmountPaid = function() {
6399
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
6400
+ };
6401
+
6402
+
6403
+ /**
6404
+ * @param {number} value
6405
+ * @return {!proto.payment.DepositResponse} returns this
6406
+ */
6407
+ proto.payment.DepositResponse.prototype.setAmountPaid = function(value) {
6408
+ return jspb.Message.setField(this, 5, value);
6409
+ };
6410
+
6411
+
6412
+ /**
6413
+ * Clears the field making it undefined.
6414
+ * @return {!proto.payment.DepositResponse} returns this
6415
+ */
6416
+ proto.payment.DepositResponse.prototype.clearAmountPaid = function() {
6417
+ return jspb.Message.setField(this, 5, undefined);
6418
+ };
6419
+
6420
+
6421
+ /**
6422
+ * Returns whether this field is set.
6423
+ * @return {boolean}
6424
+ */
6425
+ proto.payment.DepositResponse.prototype.hasAmountPaid = function() {
6426
+ return jspb.Message.getField(this, 5) != null;
6427
+ };
6428
+
6429
+
6430
+ /**
6431
+ * optional float fee = 6;
6432
+ * @return {number}
6433
+ */
6434
+ proto.payment.DepositResponse.prototype.getFee = function() {
6435
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
6436
+ };
6437
+
6438
+
6439
+ /**
6440
+ * @param {number} value
6441
+ * @return {!proto.payment.DepositResponse} returns this
6442
+ */
6443
+ proto.payment.DepositResponse.prototype.setFee = function(value) {
6444
+ return jspb.Message.setField(this, 6, value);
6445
+ };
6446
+
6447
+
6448
+ /**
6449
+ * Clears the field making it undefined.
6450
+ * @return {!proto.payment.DepositResponse} returns this
6451
+ */
6452
+ proto.payment.DepositResponse.prototype.clearFee = function() {
6453
+ return jspb.Message.setField(this, 6, undefined);
6454
+ };
6455
+
6456
+
6457
+ /**
6458
+ * Returns whether this field is set.
6459
+ * @return {boolean}
6460
+ */
6461
+ proto.payment.DepositResponse.prototype.hasFee = function() {
6462
+ return jspb.Message.getField(this, 6) != null;
6463
+ };
6464
+
6465
+
6466
+ /**
6467
+ * optional string currency = 7;
6468
+ * @return {string}
6469
+ */
6470
+ proto.payment.DepositResponse.prototype.getCurrency = function() {
6471
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
6472
+ };
6473
+
6474
+
6475
+ /**
6476
+ * @param {string} value
6477
+ * @return {!proto.payment.DepositResponse} returns this
6478
+ */
6479
+ proto.payment.DepositResponse.prototype.setCurrency = function(value) {
6480
+ return jspb.Message.setField(this, 7, value);
6481
+ };
6482
+
6483
+
6484
+ /**
6485
+ * Clears the field making it undefined.
6486
+ * @return {!proto.payment.DepositResponse} returns this
6487
+ */
6488
+ proto.payment.DepositResponse.prototype.clearCurrency = function() {
6489
+ return jspb.Message.setField(this, 7, undefined);
6490
+ };
6491
+
6492
+
6493
+ /**
6494
+ * Returns whether this field is set.
6495
+ * @return {boolean}
6496
+ */
6497
+ proto.payment.DepositResponse.prototype.hasCurrency = function() {
6498
+ return jspb.Message.getField(this, 7) != null;
6499
+ };
6500
+
6501
+
6502
+ /**
6503
+ * optional string payment_method_title = 8;
6504
+ * @return {string}
6505
+ */
6506
+ proto.payment.DepositResponse.prototype.getPaymentMethodTitle = function() {
6507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
6508
+ };
6509
+
6510
+
6511
+ /**
6512
+ * @param {string} value
6513
+ * @return {!proto.payment.DepositResponse} returns this
6514
+ */
6515
+ proto.payment.DepositResponse.prototype.setPaymentMethodTitle = function(value) {
6516
+ return jspb.Message.setField(this, 8, value);
6517
+ };
6518
+
6519
+
6520
+ /**
6521
+ * Clears the field making it undefined.
6522
+ * @return {!proto.payment.DepositResponse} returns this
6523
+ */
6524
+ proto.payment.DepositResponse.prototype.clearPaymentMethodTitle = function() {
6525
+ return jspb.Message.setField(this, 8, undefined);
6526
+ };
6527
+
6528
+
6529
+ /**
6530
+ * Returns whether this field is set.
6531
+ * @return {boolean}
6532
+ */
6533
+ proto.payment.DepositResponse.prototype.hasPaymentMethodTitle = function() {
6534
+ return jspb.Message.getField(this, 8) != null;
6535
+ };
6536
+
6537
+
6538
+ /**
6539
+ * optional string payment_provider_image = 9;
6540
+ * @return {string}
6541
+ */
6542
+ proto.payment.DepositResponse.prototype.getPaymentProviderImage = function() {
6543
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
6544
+ };
6545
+
6546
+
6547
+ /**
6548
+ * @param {string} value
6549
+ * @return {!proto.payment.DepositResponse} returns this
6550
+ */
6551
+ proto.payment.DepositResponse.prototype.setPaymentProviderImage = function(value) {
6552
+ return jspb.Message.setField(this, 9, value);
6553
+ };
6554
+
6555
+
6556
+ /**
6557
+ * Clears the field making it undefined.
6558
+ * @return {!proto.payment.DepositResponse} returns this
6559
+ */
6560
+ proto.payment.DepositResponse.prototype.clearPaymentProviderImage = function() {
6561
+ return jspb.Message.setField(this, 9, undefined);
6562
+ };
6563
+
6564
+
6565
+ /**
6566
+ * Returns whether this field is set.
6567
+ * @return {boolean}
6568
+ */
6569
+ proto.payment.DepositResponse.prototype.hasPaymentProviderImage = function() {
6570
+ return jspb.Message.getField(this, 9) != null;
6571
+ };
6572
+
6573
+
6574
+ /**
6575
+ * optional string created = 10;
6576
+ * @return {string}
6577
+ */
6578
+ proto.payment.DepositResponse.prototype.getCreated = function() {
6579
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
6580
+ };
6581
+
6582
+
6583
+ /**
6584
+ * @param {string} value
6585
+ * @return {!proto.payment.DepositResponse} returns this
6586
+ */
6587
+ proto.payment.DepositResponse.prototype.setCreated = function(value) {
6588
+ return jspb.Message.setField(this, 10, value);
6589
+ };
6590
+
6591
+
6592
+ /**
6593
+ * Clears the field making it undefined.
6594
+ * @return {!proto.payment.DepositResponse} returns this
6595
+ */
6596
+ proto.payment.DepositResponse.prototype.clearCreated = function() {
6597
+ return jspb.Message.setField(this, 10, undefined);
6598
+ };
6599
+
6600
+
6601
+ /**
6602
+ * Returns whether this field is set.
6603
+ * @return {boolean}
6604
+ */
6605
+ proto.payment.DepositResponse.prototype.hasCreated = function() {
6606
+ return jspb.Message.getField(this, 10) != null;
6151
6607
  };
6152
6608
 
6153
6609