@sniipwebmaster/biller-service-client-grpcweb 21.9.3721 → 21.11.3751

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.
@@ -545,7 +545,8 @@ proto.sniipbillerapi.AcceptedPaymentMethod.toObject = function(includeInstance,
545
545
  allowdebit: msg.getAllowdebit(),
546
546
  allowcredit: msg.getAllowcredit(),
547
547
  eftposonly: msg.getEftposonly(),
548
- allowinternational: msg.getAllowinternational()
548
+ allowinternational: msg.getAllowinternational(),
549
+ allowprepaid: msg.getAllowprepaid()
549
550
  };
550
551
 
551
552
  if (includeInstance) {
@@ -602,6 +603,10 @@ proto.sniipbillerapi.AcceptedPaymentMethod.deserializeBinaryFromReader = functio
602
603
  var value = /** @type {boolean} */ (reader.readBool());
603
604
  msg.setAllowinternational(value);
604
605
  break;
606
+ case 6:
607
+ var value = /** @type {boolean} */ (reader.readBool());
608
+ msg.setAllowprepaid(value);
609
+ break;
605
610
  default:
606
611
  reader.skipField();
607
612
  break;
@@ -675,6 +680,13 @@ proto.sniipbillerapi.AcceptedPaymentMethod.prototype.serializeBinaryToWriter = f
675
680
  f
676
681
  );
677
682
  }
683
+ f = this.getAllowprepaid();
684
+ if (f) {
685
+ writer.writeBool(
686
+ 6,
687
+ f
688
+ );
689
+ }
678
690
  };
679
691
 
680
692
 
@@ -770,6 +782,23 @@ proto.sniipbillerapi.AcceptedPaymentMethod.prototype.setAllowinternational = fun
770
782
  };
771
783
 
772
784
 
785
+ /**
786
+ * optional bool allowPrepaid = 6;
787
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
788
+ * You should avoid comparisons like {@code val === true/false} in those cases.
789
+ * @return {boolean}
790
+ */
791
+ proto.sniipbillerapi.AcceptedPaymentMethod.prototype.getAllowprepaid = function() {
792
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
793
+ };
794
+
795
+
796
+ /** @param {boolean} value */
797
+ proto.sniipbillerapi.AcceptedPaymentMethod.prototype.setAllowprepaid = function(value) {
798
+ jspb.Message.setField(this, 6, value);
799
+ };
800
+
801
+
773
802
 
774
803
  /**
775
804
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "21.9.3721",
3
+ "version": "21.11.3751",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",