@sniipwebmaster/loyalty-program-client-grpcweb 25.8.2170 → 25.8.2190
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 +33 -63
- package/package.json +1 -1
|
@@ -925,8 +925,7 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.toObject = function(includeIns
|
|
|
925
925
|
cardtype: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
926
926
|
cardvariant: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
927
927
|
paymentamountinfoList: jspb.Message.toObjectList(msg.getPaymentamountinfoList(),
|
|
928
|
-
proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance)
|
|
929
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
928
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance)
|
|
930
929
|
};
|
|
931
930
|
|
|
932
931
|
if (includeInstance) {
|
|
@@ -992,10 +991,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.deserializeBinaryFromReader =
|
|
|
992
991
|
reader.readMessage(value,proto.loyaltyprogramserviceapi.PaymentAmountInfo.deserializeBinaryFromReader);
|
|
993
992
|
msg.addPaymentamountinfo(value);
|
|
994
993
|
break;
|
|
995
|
-
case 9:
|
|
996
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
997
|
-
msg.setLoyaltyoptionid(value);
|
|
998
|
-
break;
|
|
999
994
|
default:
|
|
1000
995
|
reader.skipField();
|
|
1001
996
|
break;
|
|
@@ -1075,13 +1070,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.serializeBinaryToWriter = func
|
|
|
1075
1070
|
proto.loyaltyprogramserviceapi.PaymentAmountInfo.serializeBinaryToWriter
|
|
1076
1071
|
);
|
|
1077
1072
|
}
|
|
1078
|
-
f = message.getLoyaltyoptionid();
|
|
1079
|
-
if (f !== 0) {
|
|
1080
|
-
writer.writeInt64(
|
|
1081
|
-
9,
|
|
1082
|
-
f
|
|
1083
|
-
);
|
|
1084
|
-
}
|
|
1085
1073
|
};
|
|
1086
1074
|
|
|
1087
1075
|
|
|
@@ -1231,24 +1219,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.clearPaymentamountin
|
|
|
1231
1219
|
};
|
|
1232
1220
|
|
|
1233
1221
|
|
|
1234
|
-
/**
|
|
1235
|
-
* optional int64 loyaltyOptionId = 9;
|
|
1236
|
-
* @return {number}
|
|
1237
|
-
*/
|
|
1238
|
-
proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.getLoyaltyoptionid = function() {
|
|
1239
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1240
|
-
};
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* @param {number} value
|
|
1245
|
-
* @return {!proto.loyaltyprogramserviceapi.CalculatePointsReq} returns this
|
|
1246
|
-
*/
|
|
1247
|
-
proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.setLoyaltyoptionid = function(value) {
|
|
1248
|
-
return jspb.Message.setProto3IntField(this, 9, value);
|
|
1249
|
-
};
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
1222
|
|
|
1253
1223
|
|
|
1254
1224
|
|
|
@@ -1438,8 +1408,7 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
1438
1408
|
membershipnumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1439
1409
|
loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1440
1410
|
loyaltypointslabel: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1441
|
-
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1442
|
-
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1411
|
+
loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1443
1412
|
};
|
|
1444
1413
|
|
|
1445
1414
|
if (includeInstance) {
|
|
@@ -1505,10 +1474,6 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
1505
1474
|
var value = /** @type {string} */ (reader.readString());
|
|
1506
1475
|
msg.setLoyaltyprogramcode(value);
|
|
1507
1476
|
break;
|
|
1508
|
-
case 8:
|
|
1509
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1510
|
-
msg.setLoyaltyoptionid(value);
|
|
1511
|
-
break;
|
|
1512
1477
|
default:
|
|
1513
1478
|
reader.skipField();
|
|
1514
1479
|
break;
|
|
@@ -1588,13 +1553,6 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.serializeBinaryTo
|
|
|
1588
1553
|
f
|
|
1589
1554
|
);
|
|
1590
1555
|
}
|
|
1591
|
-
f = message.getLoyaltyoptionid();
|
|
1592
|
-
if (f !== 0) {
|
|
1593
|
-
writer.writeInt64(
|
|
1594
|
-
8,
|
|
1595
|
-
f
|
|
1596
|
-
);
|
|
1597
|
-
}
|
|
1598
1556
|
};
|
|
1599
1557
|
|
|
1600
1558
|
|
|
@@ -1743,24 +1701,6 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoya
|
|
|
1743
1701
|
};
|
|
1744
1702
|
|
|
1745
1703
|
|
|
1746
|
-
/**
|
|
1747
|
-
* optional int64 loyaltyOptionId = 8;
|
|
1748
|
-
* @return {number}
|
|
1749
|
-
*/
|
|
1750
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyoptionid = function() {
|
|
1751
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1752
|
-
};
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* @param {number} value
|
|
1757
|
-
* @return {!proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse} returns this
|
|
1758
|
-
*/
|
|
1759
|
-
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyoptionid = function(value) {
|
|
1760
|
-
return jspb.Message.setProto3IntField(this, 8, value);
|
|
1761
|
-
};
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
1704
|
|
|
1765
1705
|
|
|
1766
1706
|
|
|
@@ -6924,7 +6864,8 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject = function(includeInst
|
|
|
6924
6864
|
var f, obj = {
|
|
6925
6865
|
paymentamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
6926
6866
|
paymentprocessor: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6927
|
-
isbusinesstransaction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
6867
|
+
isbusinesstransaction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
6868
|
+
loyaltyoptionid: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
6928
6869
|
};
|
|
6929
6870
|
|
|
6930
6871
|
if (includeInstance) {
|
|
@@ -6973,6 +6914,10 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.deserializeBinaryFromReader = f
|
|
|
6973
6914
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
6974
6915
|
msg.setIsbusinesstransaction(value);
|
|
6975
6916
|
break;
|
|
6917
|
+
case 4:
|
|
6918
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6919
|
+
msg.setLoyaltyoptionid(value);
|
|
6920
|
+
break;
|
|
6976
6921
|
default:
|
|
6977
6922
|
reader.skipField();
|
|
6978
6923
|
break;
|
|
@@ -7023,6 +6968,13 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.serializeBinaryToWriter = funct
|
|
|
7023
6968
|
f
|
|
7024
6969
|
);
|
|
7025
6970
|
}
|
|
6971
|
+
f = message.getLoyaltyoptionid();
|
|
6972
|
+
if (f !== 0) {
|
|
6973
|
+
writer.writeInt64(
|
|
6974
|
+
4,
|
|
6975
|
+
f
|
|
6976
|
+
);
|
|
6977
|
+
}
|
|
7026
6978
|
};
|
|
7027
6979
|
|
|
7028
6980
|
|
|
@@ -7080,6 +7032,24 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.setIsbusinesstransact
|
|
|
7080
7032
|
};
|
|
7081
7033
|
|
|
7082
7034
|
|
|
7035
|
+
/**
|
|
7036
|
+
* optional int64 loyaltyOptionId = 4;
|
|
7037
|
+
* @return {number}
|
|
7038
|
+
*/
|
|
7039
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.getLoyaltyoptionid = function() {
|
|
7040
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7041
|
+
};
|
|
7042
|
+
|
|
7043
|
+
|
|
7044
|
+
/**
|
|
7045
|
+
* @param {number} value
|
|
7046
|
+
* @return {!proto.loyaltyprogramserviceapi.PaymentAmountInfo} returns this
|
|
7047
|
+
*/
|
|
7048
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.setLoyaltyoptionid = function(value) {
|
|
7049
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7050
|
+
};
|
|
7051
|
+
|
|
7052
|
+
|
|
7083
7053
|
|
|
7084
7054
|
|
|
7085
7055
|
|