@sniipwebmaster/transaction-service-client-grpcweb 0.2.4814 → 0.2.4843
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 +110 -2
- package/package.json +1 -1
|
@@ -7403,7 +7403,10 @@ proto.sniiptransactionapi.Leg.toObject = function(includeInstance, msg) {
|
|
|
7403
7403
|
startprocessingtimestamp: msg.getStartprocessingtimestamp(),
|
|
7404
7404
|
showsuccessbutton: msg.getShowsuccessbutton(),
|
|
7405
7405
|
showfailbutton: msg.getShowfailbutton(),
|
|
7406
|
-
showchargebackbutton: msg.getShowchargebackbutton()
|
|
7406
|
+
showchargebackbutton: msg.getShowchargebackbutton(),
|
|
7407
|
+
amountexcludingsurcharge: msg.getAmountexcludingsurcharge(),
|
|
7408
|
+
surchargeamount: msg.getSurchargeamount(),
|
|
7409
|
+
amountincludingsurcharge: msg.getAmountincludingsurcharge()
|
|
7407
7410
|
};
|
|
7408
7411
|
|
|
7409
7412
|
if (includeInstance) {
|
|
@@ -7492,6 +7495,18 @@ proto.sniiptransactionapi.Leg.deserializeBinaryFromReader = function(msg, reader
|
|
|
7492
7495
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
7493
7496
|
msg.setShowchargebackbutton(value);
|
|
7494
7497
|
break;
|
|
7498
|
+
case 14:
|
|
7499
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7500
|
+
msg.setAmountexcludingsurcharge(value);
|
|
7501
|
+
break;
|
|
7502
|
+
case 15:
|
|
7503
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7504
|
+
msg.setSurchargeamount(value);
|
|
7505
|
+
break;
|
|
7506
|
+
case 16:
|
|
7507
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
7508
|
+
msg.setAmountincludingsurcharge(value);
|
|
7509
|
+
break;
|
|
7495
7510
|
default:
|
|
7496
7511
|
reader.skipField();
|
|
7497
7512
|
break;
|
|
@@ -7621,6 +7636,27 @@ proto.sniiptransactionapi.Leg.prototype.serializeBinaryToWriter = function (writ
|
|
|
7621
7636
|
f
|
|
7622
7637
|
);
|
|
7623
7638
|
}
|
|
7639
|
+
f = this.getAmountexcludingsurcharge();
|
|
7640
|
+
if (f !== 0.0) {
|
|
7641
|
+
writer.writeDouble(
|
|
7642
|
+
14,
|
|
7643
|
+
f
|
|
7644
|
+
);
|
|
7645
|
+
}
|
|
7646
|
+
f = this.getSurchargeamount();
|
|
7647
|
+
if (f !== 0.0) {
|
|
7648
|
+
writer.writeDouble(
|
|
7649
|
+
15,
|
|
7650
|
+
f
|
|
7651
|
+
);
|
|
7652
|
+
}
|
|
7653
|
+
f = this.getAmountincludingsurcharge();
|
|
7654
|
+
if (f !== 0.0) {
|
|
7655
|
+
writer.writeDouble(
|
|
7656
|
+
16,
|
|
7657
|
+
f
|
|
7658
|
+
);
|
|
7659
|
+
}
|
|
7624
7660
|
};
|
|
7625
7661
|
|
|
7626
7662
|
|
|
@@ -7834,6 +7870,51 @@ proto.sniiptransactionapi.Leg.prototype.setShowchargebackbutton = function(value
|
|
|
7834
7870
|
};
|
|
7835
7871
|
|
|
7836
7872
|
|
|
7873
|
+
/**
|
|
7874
|
+
* optional double amountExcludingSurcharge = 14;
|
|
7875
|
+
* @return {number}
|
|
7876
|
+
*/
|
|
7877
|
+
proto.sniiptransactionapi.Leg.prototype.getAmountexcludingsurcharge = function() {
|
|
7878
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 14, 0));
|
|
7879
|
+
};
|
|
7880
|
+
|
|
7881
|
+
|
|
7882
|
+
/** @param {number} value */
|
|
7883
|
+
proto.sniiptransactionapi.Leg.prototype.setAmountexcludingsurcharge = function(value) {
|
|
7884
|
+
jspb.Message.setField(this, 14, value);
|
|
7885
|
+
};
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
/**
|
|
7889
|
+
* optional double surchargeAmount = 15;
|
|
7890
|
+
* @return {number}
|
|
7891
|
+
*/
|
|
7892
|
+
proto.sniiptransactionapi.Leg.prototype.getSurchargeamount = function() {
|
|
7893
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 15, 0));
|
|
7894
|
+
};
|
|
7895
|
+
|
|
7896
|
+
|
|
7897
|
+
/** @param {number} value */
|
|
7898
|
+
proto.sniiptransactionapi.Leg.prototype.setSurchargeamount = function(value) {
|
|
7899
|
+
jspb.Message.setField(this, 15, value);
|
|
7900
|
+
};
|
|
7901
|
+
|
|
7902
|
+
|
|
7903
|
+
/**
|
|
7904
|
+
* optional double amountIncludingSurcharge = 16;
|
|
7905
|
+
* @return {number}
|
|
7906
|
+
*/
|
|
7907
|
+
proto.sniiptransactionapi.Leg.prototype.getAmountincludingsurcharge = function() {
|
|
7908
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 16, 0));
|
|
7909
|
+
};
|
|
7910
|
+
|
|
7911
|
+
|
|
7912
|
+
/** @param {number} value */
|
|
7913
|
+
proto.sniiptransactionapi.Leg.prototype.setAmountincludingsurcharge = function(value) {
|
|
7914
|
+
jspb.Message.setField(this, 16, value);
|
|
7915
|
+
};
|
|
7916
|
+
|
|
7917
|
+
|
|
7837
7918
|
|
|
7838
7919
|
/**
|
|
7839
7920
|
* Generated by JsPbCodeGenerator.
|
|
@@ -17492,7 +17573,8 @@ proto.sniiptransactionapi.TransactionRequestRefundRequest.toObject = function(in
|
|
|
17492
17573
|
issuereason: msg.getIssuereason(),
|
|
17493
17574
|
comment: msg.getComment(),
|
|
17494
17575
|
refundamount: msg.getRefundamount(),
|
|
17495
|
-
password: msg.getPassword()
|
|
17576
|
+
password: msg.getPassword(),
|
|
17577
|
+
refundsurchargeamount: msg.getRefundsurchargeamount()
|
|
17496
17578
|
};
|
|
17497
17579
|
|
|
17498
17580
|
if (includeInstance) {
|
|
@@ -17549,6 +17631,10 @@ proto.sniiptransactionapi.TransactionRequestRefundRequest.deserializeBinaryFromR
|
|
|
17549
17631
|
var value = /** @type {string} */ (reader.readString());
|
|
17550
17632
|
msg.setPassword(value);
|
|
17551
17633
|
break;
|
|
17634
|
+
case 6:
|
|
17635
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
17636
|
+
msg.setRefundsurchargeamount(value);
|
|
17637
|
+
break;
|
|
17552
17638
|
default:
|
|
17553
17639
|
reader.skipField();
|
|
17554
17640
|
break;
|
|
@@ -17622,6 +17708,13 @@ proto.sniiptransactionapi.TransactionRequestRefundRequest.prototype.serializeBin
|
|
|
17622
17708
|
f
|
|
17623
17709
|
);
|
|
17624
17710
|
}
|
|
17711
|
+
f = this.getRefundsurchargeamount();
|
|
17712
|
+
if (f !== 0.0) {
|
|
17713
|
+
writer.writeDouble(
|
|
17714
|
+
6,
|
|
17715
|
+
f
|
|
17716
|
+
);
|
|
17717
|
+
}
|
|
17625
17718
|
};
|
|
17626
17719
|
|
|
17627
17720
|
|
|
@@ -17709,6 +17802,21 @@ proto.sniiptransactionapi.TransactionRequestRefundRequest.prototype.setPassword
|
|
|
17709
17802
|
};
|
|
17710
17803
|
|
|
17711
17804
|
|
|
17805
|
+
/**
|
|
17806
|
+
* optional double refundSurchargeAmount = 6;
|
|
17807
|
+
* @return {number}
|
|
17808
|
+
*/
|
|
17809
|
+
proto.sniiptransactionapi.TransactionRequestRefundRequest.prototype.getRefundsurchargeamount = function() {
|
|
17810
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
|
|
17811
|
+
};
|
|
17812
|
+
|
|
17813
|
+
|
|
17814
|
+
/** @param {number} value */
|
|
17815
|
+
proto.sniiptransactionapi.TransactionRequestRefundRequest.prototype.setRefundsurchargeamount = function(value) {
|
|
17816
|
+
jspb.Message.setField(this, 6, value);
|
|
17817
|
+
};
|
|
17818
|
+
|
|
17819
|
+
|
|
17712
17820
|
|
|
17713
17821
|
/**
|
|
17714
17822
|
* Generated by JsPbCodeGenerator.
|