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

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,11 @@ 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(),
92
+ paymentprocessor: msg.getPaymentprocessor()
89
93
  };
90
94
 
91
95
  if (includeInstance) {
@@ -138,6 +142,22 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.deserializeBinaryFromReade
138
142
  var value = /** @type {number} */ (reader.readFloat());
139
143
  msg.setPaymentamount(value);
140
144
  break;
145
+ case 5:
146
+ var value = /** @type {string} */ (reader.readString());
147
+ msg.setPaymenttype(value);
148
+ break;
149
+ case 6:
150
+ var value = /** @type {string} */ (reader.readString());
151
+ msg.setCardtype(value);
152
+ break;
153
+ case 7:
154
+ var value = /** @type {string} */ (reader.readString());
155
+ msg.setCardvariant(value);
156
+ break;
157
+ case 8:
158
+ var value = /** @type {string} */ (reader.readString());
159
+ msg.setPaymentprocessor(value);
160
+ break;
141
161
  default:
142
162
  reader.skipField();
143
163
  break;
@@ -204,6 +224,34 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.serializeBinaryT
204
224
  f
205
225
  );
206
226
  }
227
+ f = this.getPaymenttype();
228
+ if (f.length > 0) {
229
+ writer.writeString(
230
+ 5,
231
+ f
232
+ );
233
+ }
234
+ f = this.getCardtype();
235
+ if (f.length > 0) {
236
+ writer.writeString(
237
+ 6,
238
+ f
239
+ );
240
+ }
241
+ f = this.getCardvariant();
242
+ if (f.length > 0) {
243
+ writer.writeString(
244
+ 7,
245
+ f
246
+ );
247
+ }
248
+ f = this.getPaymentprocessor();
249
+ if (f.length > 0) {
250
+ writer.writeString(
251
+ 8,
252
+ f
253
+ );
254
+ }
207
255
  };
208
256
 
209
257
 
@@ -276,6 +324,66 @@ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setPaymentamount
276
324
  };
277
325
 
278
326
 
327
+ /**
328
+ * optional string paymentType = 5;
329
+ * @return {string}
330
+ */
331
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getPaymenttype = function() {
332
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
333
+ };
334
+
335
+
336
+ /** @param {string} value */
337
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setPaymenttype = function(value) {
338
+ jspb.Message.setField(this, 5, value);
339
+ };
340
+
341
+
342
+ /**
343
+ * optional string cardType = 6;
344
+ * @return {string}
345
+ */
346
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getCardtype = function() {
347
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
348
+ };
349
+
350
+
351
+ /** @param {string} value */
352
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setCardtype = function(value) {
353
+ jspb.Message.setField(this, 6, value);
354
+ };
355
+
356
+
357
+ /**
358
+ * optional string cardVariant = 7;
359
+ * @return {string}
360
+ */
361
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getCardvariant = function() {
362
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
363
+ };
364
+
365
+
366
+ /** @param {string} value */
367
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setCardvariant = function(value) {
368
+ jspb.Message.setField(this, 7, value);
369
+ };
370
+
371
+
372
+ /**
373
+ * optional string paymentProcessor = 8;
374
+ * @return {string}
375
+ */
376
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.getPaymentprocessor = function() {
377
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
378
+ };
379
+
380
+
381
+ /** @param {string} value */
382
+ proto.loyaltyprogramserviceapi.CalculatePointsRequest.prototype.setPaymentprocessor = function(value) {
383
+ jspb.Message.setField(this, 8, value);
384
+ };
385
+
386
+
279
387
 
280
388
  /**
281
389
  * 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.20.558",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",