@sniipwebmaster/loyalty-program-client-grpcweb 22.17.535 → 22.17.544

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.
@@ -85,7 +85,10 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.toObject = function(includ
85
85
  membershipid: msg.getMembershipid(),
86
86
  paymentmethodid: msg.getPaymentmethodid(),
87
87
  userid: msg.getUserid(),
88
- paymentamount: msg.getPaymentamount()
88
+ paymentamount: msg.getPaymentamount(),
89
+ paymenttype: msg.getPaymenttype(),
90
+ cardtype: msg.getCardtype(),
91
+ cardvariant: msg.getCardvariant()
89
92
  };
90
93
 
91
94
  if (includeInstance) {
@@ -138,6 +141,18 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.deserializeBinaryFromReade
138
141
  var value = /** @type {number} */ (reader.readFloat());
139
142
  msg.setPaymentamount(value);
140
143
  break;
144
+ case 5:
145
+ var value = /** @type {string} */ (reader.readString());
146
+ msg.setPaymenttype(value);
147
+ break;
148
+ case 6:
149
+ var value = /** @type {string} */ (reader.readString());
150
+ msg.setCardtype(value);
151
+ break;
152
+ case 7:
153
+ var value = /** @type {string} */ (reader.readString());
154
+ msg.setCardvariant(value);
155
+ break;
141
156
  default:
142
157
  reader.skipField();
143
158
  break;
@@ -204,6 +219,27 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.serializeBinaryT
204
219
  f
205
220
  );
206
221
  }
222
+ f = this.getPaymenttype();
223
+ if (f.length > 0) {
224
+ writer.writeString(
225
+ 5,
226
+ f
227
+ );
228
+ }
229
+ f = this.getCardtype();
230
+ if (f.length > 0) {
231
+ writer.writeString(
232
+ 6,
233
+ f
234
+ );
235
+ }
236
+ f = this.getCardvariant();
237
+ if (f.length > 0) {
238
+ writer.writeString(
239
+ 7,
240
+ f
241
+ );
242
+ }
207
243
  };
208
244
 
209
245
 
@@ -276,6 +312,51 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setPaymentamount
276
312
  };
277
313
 
278
314
 
315
+ /**
316
+ * optional string paymentType = 5;
317
+ * @return {string}
318
+ */
319
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getPaymenttype = function() {
320
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
321
+ };
322
+
323
+
324
+ /** @param {string} value */
325
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setPaymenttype = function(value) {
326
+ jspb.Message.setField(this, 5, value);
327
+ };
328
+
329
+
330
+ /**
331
+ * optional string cardType = 6;
332
+ * @return {string}
333
+ */
334
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getCardtype = function() {
335
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
336
+ };
337
+
338
+
339
+ /** @param {string} value */
340
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setCardtype = function(value) {
341
+ jspb.Message.setField(this, 6, value);
342
+ };
343
+
344
+
345
+ /**
346
+ * optional string cardVariant = 7;
347
+ * @return {string}
348
+ */
349
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getCardvariant = function() {
350
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
351
+ };
352
+
353
+
354
+ /** @param {string} value */
355
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setCardvariant = function(value) {
356
+ jspb.Message.setField(this, 7, value);
357
+ };
358
+
359
+
279
360
 
280
361
  /**
281
362
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb",
3
- "version": "22.17.535",
3
+ "version": "22.17.544",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",