@sniipwebmaster/transaction-service-client-grpcweb-ts 26.4.14440 → 26.4.14451

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.
@@ -3976,6 +3976,15 @@ export class ReceiptDetails extends jspb.Message {
3976
3976
  clearVirtualbillsList(): ReceiptDetails;
3977
3977
  addVirtualbills(value?: VirtualBill, index?: number): VirtualBill;
3978
3978
 
3979
+ getLoyaltyprogramid(): number;
3980
+ setLoyaltyprogramid(value: number): ReceiptDetails;
3981
+
3982
+ getLoyaltyprogramname(): string;
3983
+ setLoyaltyprogramname(value: string): ReceiptDetails;
3984
+
3985
+ getEarnedloyaltypoints(): number;
3986
+ setEarnedloyaltypoints(value: number): ReceiptDetails;
3987
+
3979
3988
  serializeBinary(): Uint8Array;
3980
3989
  toObject(includeInstance?: boolean): ReceiptDetails.AsObject;
3981
3990
  static toObject(includeInstance: boolean, msg: ReceiptDetails): ReceiptDetails.AsObject;
@@ -4044,6 +4053,9 @@ export namespace ReceiptDetails {
4044
4053
  refunddate: string,
4045
4054
  actionurl: string,
4046
4055
  virtualbillsList: Array<VirtualBill.AsObject>,
4056
+ loyaltyprogramid: number,
4057
+ loyaltyprogramname: string,
4058
+ earnedloyaltypoints: number,
4047
4059
  }
4048
4060
  }
4049
4061
 
@@ -31609,7 +31609,10 @@ proto.sniiptransactionapi.ReceiptDetails.toObject = function(includeInstance, ms
31609
31609
  refunddate: jspb.Message.getFieldWithDefault(msg, 77, ""),
31610
31610
  actionurl: jspb.Message.getFieldWithDefault(msg, 78, ""),
31611
31611
  virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
31612
- proto.sniiptransactionapi.VirtualBill.toObject, includeInstance)
31612
+ proto.sniiptransactionapi.VirtualBill.toObject, includeInstance),
31613
+ loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 80, 0),
31614
+ loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 81, ""),
31615
+ earnedloyaltypoints: jspb.Message.getFieldWithDefault(msg, 82, 0)
31613
31616
  };
31614
31617
 
31615
31618
  if (includeInstance) {
@@ -31881,6 +31884,18 @@ proto.sniiptransactionapi.ReceiptDetails.deserializeBinaryFromReader = function(
31881
31884
  reader.readMessage(value,proto.sniiptransactionapi.VirtualBill.deserializeBinaryFromReader);
31882
31885
  msg.addVirtualbills(value);
31883
31886
  break;
31887
+ case 80:
31888
+ var value = /** @type {number} */ (reader.readInt64());
31889
+ msg.setLoyaltyprogramid(value);
31890
+ break;
31891
+ case 81:
31892
+ var value = /** @type {string} */ (reader.readString());
31893
+ msg.setLoyaltyprogramname(value);
31894
+ break;
31895
+ case 82:
31896
+ var value = /** @type {number} */ (reader.readInt32());
31897
+ msg.setEarnedloyaltypoints(value);
31898
+ break;
31884
31899
  default:
31885
31900
  reader.skipField();
31886
31901
  break;
@@ -32319,6 +32334,27 @@ proto.sniiptransactionapi.ReceiptDetails.serializeBinaryToWriter = function(mess
32319
32334
  proto.sniiptransactionapi.VirtualBill.serializeBinaryToWriter
32320
32335
  );
32321
32336
  }
32337
+ f = message.getLoyaltyprogramid();
32338
+ if (f !== 0) {
32339
+ writer.writeInt64(
32340
+ 80,
32341
+ f
32342
+ );
32343
+ }
32344
+ f = message.getLoyaltyprogramname();
32345
+ if (f.length > 0) {
32346
+ writer.writeString(
32347
+ 81,
32348
+ f
32349
+ );
32350
+ }
32351
+ f = message.getEarnedloyaltypoints();
32352
+ if (f !== 0) {
32353
+ writer.writeInt32(
32354
+ 82,
32355
+ f
32356
+ );
32357
+ }
32322
32358
  };
32323
32359
 
32324
32360
 
@@ -33425,6 +33461,60 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.clearVirtualbillsList = funct
33425
33461
  };
33426
33462
 
33427
33463
 
33464
+ /**
33465
+ * optional int64 loyaltyProgramId = 80;
33466
+ * @return {number}
33467
+ */
33468
+ proto.sniiptransactionapi.ReceiptDetails.prototype.getLoyaltyprogramid = function() {
33469
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 80, 0));
33470
+ };
33471
+
33472
+
33473
+ /**
33474
+ * @param {number} value
33475
+ * @return {!proto.sniiptransactionapi.ReceiptDetails} returns this
33476
+ */
33477
+ proto.sniiptransactionapi.ReceiptDetails.prototype.setLoyaltyprogramid = function(value) {
33478
+ return jspb.Message.setProto3IntField(this, 80, value);
33479
+ };
33480
+
33481
+
33482
+ /**
33483
+ * optional string loyaltyProgramName = 81;
33484
+ * @return {string}
33485
+ */
33486
+ proto.sniiptransactionapi.ReceiptDetails.prototype.getLoyaltyprogramname = function() {
33487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 81, ""));
33488
+ };
33489
+
33490
+
33491
+ /**
33492
+ * @param {string} value
33493
+ * @return {!proto.sniiptransactionapi.ReceiptDetails} returns this
33494
+ */
33495
+ proto.sniiptransactionapi.ReceiptDetails.prototype.setLoyaltyprogramname = function(value) {
33496
+ return jspb.Message.setProto3StringField(this, 81, value);
33497
+ };
33498
+
33499
+
33500
+ /**
33501
+ * optional int32 earnedLoyaltyPoints = 82;
33502
+ * @return {number}
33503
+ */
33504
+ proto.sniiptransactionapi.ReceiptDetails.prototype.getEarnedloyaltypoints = function() {
33505
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 82, 0));
33506
+ };
33507
+
33508
+
33509
+ /**
33510
+ * @param {number} value
33511
+ * @return {!proto.sniiptransactionapi.ReceiptDetails} returns this
33512
+ */
33513
+ proto.sniiptransactionapi.ReceiptDetails.prototype.setEarnedloyaltypoints = function(value) {
33514
+ return jspb.Message.setProto3IntField(this, 82, value);
33515
+ };
33516
+
33517
+
33428
33518
 
33429
33519
 
33430
33520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb-ts",
3
- "version": "26.4.14440",
3
+ "version": "26.4.14451",
4
4
  "description": "transaction-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",