protobuf-platform 1.0.233 → 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 +1 -1
- package/payment/payment.proto +9 -1
- package/payment/payment_pb.js +409 -7
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
@@ -138,7 +138,15 @@ message GetDepositRequest {
|
|
138
138
|
}
|
139
139
|
message DepositResponse {
|
140
140
|
int32 id = 1;
|
141
|
-
|
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;
|
142
150
|
}
|
143
151
|
message DepositItem {
|
144
152
|
int32 id = 1;
|
package/payment/payment_pb.js
CHANGED
@@ -6078,7 +6078,15 @@ proto.payment.DepositResponse.prototype.toObject = function(opt_includeInstance)
|
|
6078
6078
|
proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
|
6079
6079
|
var f, obj = {
|
6080
6080
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6081
|
-
|
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, "")
|
6082
6090
|
};
|
6083
6091
|
|
6084
6092
|
if (includeInstance) {
|
@@ -6120,9 +6128,41 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
|
|
6120
6128
|
msg.setId(value);
|
6121
6129
|
break;
|
6122
6130
|
case 2:
|
6131
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6132
|
+
msg.setUserId(value);
|
6133
|
+
break;
|
6134
|
+
case 3:
|
6123
6135
|
var value = /** @type {string} */ (reader.readString());
|
6124
6136
|
msg.setStatus(value);
|
6125
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;
|
6126
6166
|
default:
|
6127
6167
|
reader.skipField();
|
6128
6168
|
break;
|
@@ -6159,13 +6199,69 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
|
|
6159
6199
|
f
|
6160
6200
|
);
|
6161
6201
|
}
|
6162
|
-
f =
|
6163
|
-
if (f
|
6164
|
-
writer.
|
6202
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
6203
|
+
if (f != null) {
|
6204
|
+
writer.writeInt32(
|
6165
6205
|
2,
|
6166
6206
|
f
|
6167
6207
|
);
|
6168
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
|
+
}
|
6169
6265
|
};
|
6170
6266
|
|
6171
6267
|
|
@@ -6188,11 +6284,47 @@ proto.payment.DepositResponse.prototype.setId = function(value) {
|
|
6188
6284
|
|
6189
6285
|
|
6190
6286
|
/**
|
6191
|
-
* optional
|
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;
|
6192
6324
|
* @return {string}
|
6193
6325
|
*/
|
6194
6326
|
proto.payment.DepositResponse.prototype.getStatus = function() {
|
6195
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
6327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6196
6328
|
};
|
6197
6329
|
|
6198
6330
|
|
@@ -6201,7 +6333,277 @@ proto.payment.DepositResponse.prototype.getStatus = function() {
|
|
6201
6333
|
* @return {!proto.payment.DepositResponse} returns this
|
6202
6334
|
*/
|
6203
6335
|
proto.payment.DepositResponse.prototype.setStatus = function(value) {
|
6204
|
-
return jspb.Message.
|
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;
|
6205
6607
|
};
|
6206
6608
|
|
6207
6609
|
|