@sniipwebmaster/transaction-service-client-grpcweb 0.2.4903 → 0.2.4913
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/dependancies/service_pb.js +114 -2
- package/package.json +1 -1
|
@@ -13529,7 +13529,9 @@ proto.sniiptransactionapi.ReceiptDetails.toObject = function(includeInstance, ms
|
|
|
13529
13529
|
category: msg.getCategory(),
|
|
13530
13530
|
fraudrisk: msg.getFraudrisk(),
|
|
13531
13531
|
userid: msg.getUserid(),
|
|
13532
|
-
transactiontype: msg.getTransactiontype()
|
|
13532
|
+
transactiontype: msg.getTransactiontype(),
|
|
13533
|
+
refundedamount: msg.getRefundedamount(),
|
|
13534
|
+
isfullyrefunded: msg.getIsfullyrefunded()
|
|
13533
13535
|
};
|
|
13534
13536
|
|
|
13535
13537
|
if (includeInstance) {
|
|
@@ -13679,6 +13681,14 @@ proto.sniiptransactionapi.ReceiptDetails.deserializeBinaryFromReader = function(
|
|
|
13679
13681
|
var value = /** @type {string} */ (reader.readString());
|
|
13680
13682
|
msg.setTransactiontype(value);
|
|
13681
13683
|
break;
|
|
13684
|
+
case 29:
|
|
13685
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
13686
|
+
msg.setRefundedamount(value);
|
|
13687
|
+
break;
|
|
13688
|
+
case 30:
|
|
13689
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
13690
|
+
msg.setIsfullyrefunded(value);
|
|
13691
|
+
break;
|
|
13682
13692
|
default:
|
|
13683
13693
|
reader.skipField();
|
|
13684
13694
|
break;
|
|
@@ -13914,6 +13924,20 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.serializeBinaryToWriter = fun
|
|
|
13914
13924
|
f
|
|
13915
13925
|
);
|
|
13916
13926
|
}
|
|
13927
|
+
f = this.getRefundedamount();
|
|
13928
|
+
if (f !== 0.0) {
|
|
13929
|
+
writer.writeDouble(
|
|
13930
|
+
29,
|
|
13931
|
+
f
|
|
13932
|
+
);
|
|
13933
|
+
}
|
|
13934
|
+
f = this.getIsfullyrefunded();
|
|
13935
|
+
if (f) {
|
|
13936
|
+
writer.writeBool(
|
|
13937
|
+
30,
|
|
13938
|
+
f
|
|
13939
|
+
);
|
|
13940
|
+
}
|
|
13917
13941
|
};
|
|
13918
13942
|
|
|
13919
13943
|
|
|
@@ -14367,6 +14391,38 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.setTransactiontype = function
|
|
|
14367
14391
|
};
|
|
14368
14392
|
|
|
14369
14393
|
|
|
14394
|
+
/**
|
|
14395
|
+
* optional double refundedAmount = 29;
|
|
14396
|
+
* @return {number}
|
|
14397
|
+
*/
|
|
14398
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.getRefundedamount = function() {
|
|
14399
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 29, 0));
|
|
14400
|
+
};
|
|
14401
|
+
|
|
14402
|
+
|
|
14403
|
+
/** @param {number} value */
|
|
14404
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.setRefundedamount = function(value) {
|
|
14405
|
+
jspb.Message.setField(this, 29, value);
|
|
14406
|
+
};
|
|
14407
|
+
|
|
14408
|
+
|
|
14409
|
+
/**
|
|
14410
|
+
* optional bool isFullyRefunded = 30;
|
|
14411
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
14412
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
14413
|
+
* @return {boolean}
|
|
14414
|
+
*/
|
|
14415
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.getIsfullyrefunded = function() {
|
|
14416
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 30, false));
|
|
14417
|
+
};
|
|
14418
|
+
|
|
14419
|
+
|
|
14420
|
+
/** @param {boolean} value */
|
|
14421
|
+
proto.sniiptransactionapi.ReceiptDetails.prototype.setIsfullyrefunded = function(value) {
|
|
14422
|
+
jspb.Message.setField(this, 30, value);
|
|
14423
|
+
};
|
|
14424
|
+
|
|
14425
|
+
|
|
14370
14426
|
|
|
14371
14427
|
/**
|
|
14372
14428
|
* Generated by JsPbCodeGenerator.
|
|
@@ -16078,7 +16134,9 @@ proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance
|
|
|
16078
16134
|
sourceid: msg.getSourceid(),
|
|
16079
16135
|
category: msg.getCategory(),
|
|
16080
16136
|
fraudrisk: msg.getFraudrisk(),
|
|
16081
|
-
transactiontype: msg.getTransactiontype()
|
|
16137
|
+
transactiontype: msg.getTransactiontype(),
|
|
16138
|
+
refundedamount: msg.getRefundedamount(),
|
|
16139
|
+
isfullyrefunded: msg.getIsfullyrefunded()
|
|
16082
16140
|
};
|
|
16083
16141
|
|
|
16084
16142
|
if (includeInstance) {
|
|
@@ -16296,6 +16354,14 @@ proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = funct
|
|
|
16296
16354
|
var value = /** @type {string} */ (reader.readString());
|
|
16297
16355
|
msg.setTransactiontype(value);
|
|
16298
16356
|
break;
|
|
16357
|
+
case 47:
|
|
16358
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
16359
|
+
msg.setRefundedamount(value);
|
|
16360
|
+
break;
|
|
16361
|
+
case 48:
|
|
16362
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16363
|
+
msg.setIsfullyrefunded(value);
|
|
16364
|
+
break;
|
|
16299
16365
|
default:
|
|
16300
16366
|
reader.skipField();
|
|
16301
16367
|
break;
|
|
@@ -16650,6 +16716,20 @@ proto.sniiptransactionapi.TransactionDetails.prototype.serializeBinaryToWriter =
|
|
|
16650
16716
|
f
|
|
16651
16717
|
);
|
|
16652
16718
|
}
|
|
16719
|
+
f = this.getRefundedamount();
|
|
16720
|
+
if (f !== 0.0) {
|
|
16721
|
+
writer.writeDouble(
|
|
16722
|
+
47,
|
|
16723
|
+
f
|
|
16724
|
+
);
|
|
16725
|
+
}
|
|
16726
|
+
f = this.getIsfullyrefunded();
|
|
16727
|
+
if (f) {
|
|
16728
|
+
writer.writeBool(
|
|
16729
|
+
48,
|
|
16730
|
+
f
|
|
16731
|
+
);
|
|
16732
|
+
}
|
|
16653
16733
|
};
|
|
16654
16734
|
|
|
16655
16735
|
|
|
@@ -17364,6 +17444,38 @@ proto.sniiptransactionapi.TransactionDetails.prototype.setTransactiontype = func
|
|
|
17364
17444
|
};
|
|
17365
17445
|
|
|
17366
17446
|
|
|
17447
|
+
/**
|
|
17448
|
+
* optional double refundedAmount = 47;
|
|
17449
|
+
* @return {number}
|
|
17450
|
+
*/
|
|
17451
|
+
proto.sniiptransactionapi.TransactionDetails.prototype.getRefundedamount = function() {
|
|
17452
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 47, 0));
|
|
17453
|
+
};
|
|
17454
|
+
|
|
17455
|
+
|
|
17456
|
+
/** @param {number} value */
|
|
17457
|
+
proto.sniiptransactionapi.TransactionDetails.prototype.setRefundedamount = function(value) {
|
|
17458
|
+
jspb.Message.setField(this, 47, value);
|
|
17459
|
+
};
|
|
17460
|
+
|
|
17461
|
+
|
|
17462
|
+
/**
|
|
17463
|
+
* optional bool isFullyRefunded = 48;
|
|
17464
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
17465
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
17466
|
+
* @return {boolean}
|
|
17467
|
+
*/
|
|
17468
|
+
proto.sniiptransactionapi.TransactionDetails.prototype.getIsfullyrefunded = function() {
|
|
17469
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 48, false));
|
|
17470
|
+
};
|
|
17471
|
+
|
|
17472
|
+
|
|
17473
|
+
/** @param {boolean} value */
|
|
17474
|
+
proto.sniiptransactionapi.TransactionDetails.prototype.setIsfullyrefunded = function(value) {
|
|
17475
|
+
jspb.Message.setField(this, 48, value);
|
|
17476
|
+
};
|
|
17477
|
+
|
|
17478
|
+
|
|
17367
17479
|
|
|
17368
17480
|
/**
|
|
17369
17481
|
* Generated by JsPbCodeGenerator.
|