@sniipwebmaster/loyalty-program-client-grpcweb 23.2.930 → 23.2.948
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 +31 -31
- package/package.json +1 -1
|
@@ -104,8 +104,7 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.toObject = function(includeIns
|
|
|
104
104
|
cardtype: msg.getCardtype(),
|
|
105
105
|
cardvariant: msg.getCardvariant(),
|
|
106
106
|
paymentamountinfoList: jspb.Message.toObjectList(msg.getPaymentamountinfoList(),
|
|
107
|
-
proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance)
|
|
108
|
-
isbusinesstransaction: msg.getIsbusinesstransaction()
|
|
107
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject, includeInstance)
|
|
109
108
|
};
|
|
110
109
|
|
|
111
110
|
if (includeInstance) {
|
|
@@ -172,10 +171,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.deserializeBinaryFromReader =
|
|
|
172
171
|
msg.getPaymentamountinfoList().push(value);
|
|
173
172
|
msg.setPaymentamountinfoList(msg.getPaymentamountinfoList());
|
|
174
173
|
break;
|
|
175
|
-
case 9:
|
|
176
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
177
|
-
msg.setIsbusinesstransaction(value);
|
|
178
|
-
break;
|
|
179
174
|
default:
|
|
180
175
|
reader.skipField();
|
|
181
176
|
break;
|
|
@@ -264,13 +259,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.serializeBinaryToWri
|
|
|
264
259
|
proto.loyaltyprogramserviceapi.PaymentAmountInfo.serializeBinaryToWriter
|
|
265
260
|
);
|
|
266
261
|
}
|
|
267
|
-
f = this.getIsbusinesstransaction();
|
|
268
|
-
if (f) {
|
|
269
|
-
writer.writeBool(
|
|
270
|
-
9,
|
|
271
|
-
f
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
262
|
};
|
|
275
263
|
|
|
276
264
|
|
|
@@ -396,23 +384,6 @@ proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.clearPaymentamountin
|
|
|
396
384
|
};
|
|
397
385
|
|
|
398
386
|
|
|
399
|
-
/**
|
|
400
|
-
* optional bool isBusinessTransaction = 9;
|
|
401
|
-
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
402
|
-
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
403
|
-
* @return {boolean}
|
|
404
|
-
*/
|
|
405
|
-
proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.getIsbusinesstransaction = function() {
|
|
406
|
-
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 9, false));
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
/** @param {boolean} value */
|
|
411
|
-
proto.loyaltyprogramserviceapi.CalculatePointsReq.prototype.setIsbusinesstransaction = function(value) {
|
|
412
|
-
jspb.Message.setField(this, 9, value);
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
|
|
416
387
|
|
|
417
388
|
/**
|
|
418
389
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4682,7 +4653,8 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.toObject = function(o
|
|
|
4682
4653
|
proto.loyaltyprogramserviceapi.PaymentAmountInfo.toObject = function(includeInstance, msg) {
|
|
4683
4654
|
var f, obj = {
|
|
4684
4655
|
paymentamount: msg.getPaymentamount(),
|
|
4685
|
-
paymentprocessor: msg.getPaymentprocessor()
|
|
4656
|
+
paymentprocessor: msg.getPaymentprocessor(),
|
|
4657
|
+
isbusinesstransaction: msg.getIsbusinesstransaction()
|
|
4686
4658
|
};
|
|
4687
4659
|
|
|
4688
4660
|
if (includeInstance) {
|
|
@@ -4727,6 +4699,10 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.deserializeBinaryFromReader = f
|
|
|
4727
4699
|
var value = /** @type {string} */ (reader.readString());
|
|
4728
4700
|
msg.setPaymentprocessor(value);
|
|
4729
4701
|
break;
|
|
4702
|
+
case 3:
|
|
4703
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4704
|
+
msg.setIsbusinesstransaction(value);
|
|
4705
|
+
break;
|
|
4730
4706
|
default:
|
|
4731
4707
|
reader.skipField();
|
|
4732
4708
|
break;
|
|
@@ -4779,6 +4755,13 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.serializeBinaryToWrit
|
|
|
4779
4755
|
f
|
|
4780
4756
|
);
|
|
4781
4757
|
}
|
|
4758
|
+
f = this.getIsbusinesstransaction();
|
|
4759
|
+
if (f) {
|
|
4760
|
+
writer.writeBool(
|
|
4761
|
+
3,
|
|
4762
|
+
f
|
|
4763
|
+
);
|
|
4764
|
+
}
|
|
4782
4765
|
};
|
|
4783
4766
|
|
|
4784
4767
|
|
|
@@ -4821,6 +4804,23 @@ proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.setPaymentprocessor =
|
|
|
4821
4804
|
};
|
|
4822
4805
|
|
|
4823
4806
|
|
|
4807
|
+
/**
|
|
4808
|
+
* optional bool isBusinessTransaction = 3;
|
|
4809
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
4810
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
4811
|
+
* @return {boolean}
|
|
4812
|
+
*/
|
|
4813
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.getIsbusinesstransaction = function() {
|
|
4814
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
|
|
4818
|
+
/** @param {boolean} value */
|
|
4819
|
+
proto.loyaltyprogramserviceapi.PaymentAmountInfo.prototype.setIsbusinesstransaction = function(value) {
|
|
4820
|
+
jspb.Message.setField(this, 3, value);
|
|
4821
|
+
};
|
|
4822
|
+
|
|
4823
|
+
|
|
4824
4824
|
|
|
4825
4825
|
/**
|
|
4826
4826
|
* Generated by JsPbCodeGenerator.
|