@sniipwebmaster/loyalty-program-client-grpcweb 22.17.459 → 22.17.478
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 +55 -1
- package/package.json +1 -1
|
@@ -324,7 +324,9 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.toObject = functi
|
|
|
324
324
|
var f, obj = {
|
|
325
325
|
responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
326
326
|
membershipid: msg.getMembershipid(),
|
|
327
|
-
amountofpoints: msg.getAmountofpoints()
|
|
327
|
+
amountofpoints: msg.getAmountofpoints(),
|
|
328
|
+
membershipnumber: msg.getMembershipnumber(),
|
|
329
|
+
loyaltyprogramname: msg.getLoyaltyprogramname()
|
|
328
330
|
};
|
|
329
331
|
|
|
330
332
|
if (includeInstance) {
|
|
@@ -374,6 +376,14 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.deserializeBinary
|
|
|
374
376
|
var value = /** @type {number} */ (reader.readInt32());
|
|
375
377
|
msg.setAmountofpoints(value);
|
|
376
378
|
break;
|
|
379
|
+
case 4:
|
|
380
|
+
var value = /** @type {string} */ (reader.readString());
|
|
381
|
+
msg.setMembershipnumber(value);
|
|
382
|
+
break;
|
|
383
|
+
case 5:
|
|
384
|
+
var value = /** @type {string} */ (reader.readString());
|
|
385
|
+
msg.setLoyaltyprogramname(value);
|
|
386
|
+
break;
|
|
377
387
|
default:
|
|
378
388
|
reader.skipField();
|
|
379
389
|
break;
|
|
@@ -434,6 +444,20 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.seriali
|
|
|
434
444
|
f
|
|
435
445
|
);
|
|
436
446
|
}
|
|
447
|
+
f = this.getMembershipnumber();
|
|
448
|
+
if (f.length > 0) {
|
|
449
|
+
writer.writeString(
|
|
450
|
+
4,
|
|
451
|
+
f
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
f = this.getLoyaltyprogramname();
|
|
455
|
+
if (f.length > 0) {
|
|
456
|
+
writer.writeString(
|
|
457
|
+
5,
|
|
458
|
+
f
|
|
459
|
+
);
|
|
460
|
+
}
|
|
437
461
|
};
|
|
438
462
|
|
|
439
463
|
|
|
@@ -506,6 +530,36 @@ proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setAmou
|
|
|
506
530
|
};
|
|
507
531
|
|
|
508
532
|
|
|
533
|
+
/**
|
|
534
|
+
* optional string membershipNumber = 4;
|
|
535
|
+
* @return {string}
|
|
536
|
+
*/
|
|
537
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getMembershipnumber = function() {
|
|
538
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
/** @param {string} value */
|
|
543
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setMembershipnumber = function(value) {
|
|
544
|
+
jspb.Message.setField(this, 4, value);
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* optional string loyaltyProgramName = 5;
|
|
550
|
+
* @return {string}
|
|
551
|
+
*/
|
|
552
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.getLoyaltyprogramname = function() {
|
|
553
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/** @param {string} value */
|
|
558
|
+
proto.loyaltyprogramserviceapi.CalculatedLoyaltyPointsResponse.prototype.setLoyaltyprogramname = function(value) {
|
|
559
|
+
jspb.Message.setField(this, 5, value);
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
|
|
509
563
|
|
|
510
564
|
/**
|
|
511
565
|
* Generated by JsPbCodeGenerator.
|