@sniipwebmaster/bill-service-client-grpcweb 21.10.6353 → 21.11.6364

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.
@@ -160,7 +160,8 @@ proto.sniipbillapi.AcceptedPaymentMethod.toObject = function(includeInstance, ms
160
160
  allowdebit: msg.getAllowdebit(),
161
161
  allowcredit: msg.getAllowcredit(),
162
162
  eftposonly: msg.getEftposonly(),
163
- allowinternational: msg.getAllowinternational()
163
+ allowinternational: msg.getAllowinternational(),
164
+ allowprepaid: msg.getAllowprepaid()
164
165
  };
165
166
 
166
167
  if (includeInstance) {
@@ -217,6 +218,10 @@ proto.sniipbillapi.AcceptedPaymentMethod.deserializeBinaryFromReader = function(
217
218
  var value = /** @type {boolean} */ (reader.readBool());
218
219
  msg.setAllowinternational(value);
219
220
  break;
221
+ case 6:
222
+ var value = /** @type {boolean} */ (reader.readBool());
223
+ msg.setAllowprepaid(value);
224
+ break;
220
225
  default:
221
226
  reader.skipField();
222
227
  break;
@@ -290,6 +295,13 @@ proto.sniipbillapi.AcceptedPaymentMethod.prototype.serializeBinaryToWriter = fun
290
295
  f
291
296
  );
292
297
  }
298
+ f = this.getAllowprepaid();
299
+ if (f) {
300
+ writer.writeBool(
301
+ 6,
302
+ f
303
+ );
304
+ }
293
305
  };
294
306
 
295
307
 
@@ -385,6 +397,23 @@ proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowinternational = funct
385
397
  };
386
398
 
387
399
 
400
+ /**
401
+ * optional bool allowPrepaid = 6;
402
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
403
+ * You should avoid comparisons like {@code val === true/false} in those cases.
404
+ * @return {boolean}
405
+ */
406
+ proto.sniipbillapi.AcceptedPaymentMethod.prototype.getAllowprepaid = function() {
407
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
408
+ };
409
+
410
+
411
+ /** @param {boolean} value */
412
+ proto.sniipbillapi.AcceptedPaymentMethod.prototype.setAllowprepaid = function(value) {
413
+ jspb.Message.setField(this, 6, value);
414
+ };
415
+
416
+
388
417
 
389
418
  /**
390
419
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "21.10.6353",
3
+ "version": "21.11.6364",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",