@sniipwebmaster/payment-methods-client-grpcweb 22.12.4630 → 22.12.4646

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.
@@ -4641,7 +4641,8 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
4641
4641
  isprepaid: msg.getIsprepaid(),
4642
4642
  requires3ds: msg.getRequires3ds(),
4643
4643
  iscorporate: msg.getIscorporate(),
4644
- issmallbusiness: msg.getIssmallbusiness()
4644
+ issmallbusiness: msg.getIssmallbusiness(),
4645
+ iscryptocomcard: msg.getIscryptocomcard()
4645
4646
  };
4646
4647
 
4647
4648
  if (includeInstance) {
@@ -4763,6 +4764,10 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
4763
4764
  var value = /** @type {boolean} */ (reader.readBool());
4764
4765
  msg.setIssmallbusiness(value);
4765
4766
  break;
4767
+ case 22:
4768
+ var value = /** @type {boolean} */ (reader.readBool());
4769
+ msg.setIscryptocomcard(value);
4770
+ break;
4766
4771
  default:
4767
4772
  reader.skipField();
4768
4773
  break;
@@ -4949,6 +4954,13 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.serializeBinaryToWriter
4949
4954
  f
4950
4955
  );
4951
4956
  }
4957
+ f = this.getIscryptocomcard();
4958
+ if (f) {
4959
+ writer.writeBool(
4960
+ 22,
4961
+ f
4962
+ );
4963
+ }
4952
4964
  };
4953
4965
 
4954
4966
 
@@ -5311,6 +5323,23 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIssmallbusiness = fu
5311
5323
  };
5312
5324
 
5313
5325
 
5326
+ /**
5327
+ * optional bool isCryptoComCard = 22;
5328
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
5329
+ * You should avoid comparisons like {@code val === true/false} in those cases.
5330
+ * @return {boolean}
5331
+ */
5332
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIscryptocomcard = function() {
5333
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 22, false));
5334
+ };
5335
+
5336
+
5337
+ /** @param {boolean} value */
5338
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIscryptocomcard = function(value) {
5339
+ jspb.Message.setField(this, 22, value);
5340
+ };
5341
+
5342
+
5314
5343
 
5315
5344
  /**
5316
5345
  * Generated by JsPbCodeGenerator.
@@ -9020,7 +9049,8 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
9020
9049
  isprepaid: msg.getIsprepaid(),
9021
9050
  requires3ds: msg.getRequires3ds(),
9022
9051
  iscorporate: msg.getIscorporate(),
9023
- issmallbusiness: msg.getIssmallbusiness()
9052
+ issmallbusiness: msg.getIssmallbusiness(),
9053
+ iscryptocomcard: msg.getIscryptocomcard()
9024
9054
  };
9025
9055
 
9026
9056
  if (includeInstance) {
@@ -9146,6 +9176,10 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
9146
9176
  var value = /** @type {boolean} */ (reader.readBool());
9147
9177
  msg.setIssmallbusiness(value);
9148
9178
  break;
9179
+ case 23:
9180
+ var value = /** @type {boolean} */ (reader.readBool());
9181
+ msg.setIscryptocomcard(value);
9182
+ break;
9149
9183
  default:
9150
9184
  reader.skipField();
9151
9185
  break;
@@ -9339,6 +9373,13 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.serializeBinaryTo
9339
9373
  f
9340
9374
  );
9341
9375
  }
9376
+ f = this.getIscryptocomcard();
9377
+ if (f) {
9378
+ writer.writeBool(
9379
+ 23,
9380
+ f
9381
+ );
9382
+ }
9342
9383
  };
9343
9384
 
9344
9385
 
@@ -9716,6 +9757,23 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIssmallbusines
9716
9757
  };
9717
9758
 
9718
9759
 
9760
+ /**
9761
+ * optional bool isCryptoComCard = 23;
9762
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
9763
+ * You should avoid comparisons like {@code val === true/false} in those cases.
9764
+ * @return {boolean}
9765
+ */
9766
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIscryptocomcard = function() {
9767
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 23, false));
9768
+ };
9769
+
9770
+
9771
+ /** @param {boolean} value */
9772
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIscryptocomcard = function(value) {
9773
+ jspb.Message.setField(this, 23, value);
9774
+ };
9775
+
9776
+
9719
9777
 
9720
9778
  /**
9721
9779
  * Generated by JsPbCodeGenerator.
@@ -13241,7 +13299,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includ
13241
13299
  eftposonly: msg.getEftposonly(),
13242
13300
  allowinternational: msg.getAllowinternational(),
13243
13301
  displayname: msg.getDisplayname(),
13244
- allowprepaid: msg.getAllowprepaid()
13302
+ allowprepaid: msg.getAllowprepaid(),
13303
+ allowcryptocom: msg.getAllowcryptocom()
13245
13304
  };
13246
13305
 
13247
13306
  if (includeInstance) {
@@ -13310,6 +13369,10 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
13310
13369
  var value = /** @type {boolean} */ (reader.readBool());
13311
13370
  msg.setAllowprepaid(value);
13312
13371
  break;
13372
+ case 9:
13373
+ var value = /** @type {boolean} */ (reader.readBool());
13374
+ msg.setAllowcryptocom(value);
13375
+ break;
13313
13376
  default:
13314
13377
  reader.skipField();
13315
13378
  break;
@@ -13404,6 +13467,13 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinaryT
13404
13467
  f
13405
13468
  );
13406
13469
  }
13470
+ f = this.getAllowcryptocom();
13471
+ if (f) {
13472
+ writer.writeBool(
13473
+ 9,
13474
+ f
13475
+ );
13476
+ }
13407
13477
  };
13408
13478
 
13409
13479
 
@@ -13546,6 +13616,23 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowprepaid
13546
13616
  };
13547
13617
 
13548
13618
 
13619
+ /**
13620
+ * optional bool allowCryptoCom = 9;
13621
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
13622
+ * You should avoid comparisons like {@code val === true/false} in those cases.
13623
+ * @return {boolean}
13624
+ */
13625
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcryptocom = function() {
13626
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 9, false));
13627
+ };
13628
+
13629
+
13630
+ /** @param {boolean} value */
13631
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcryptocom = function(value) {
13632
+ jspb.Message.setField(this, 9, value);
13633
+ };
13634
+
13635
+
13549
13636
 
13550
13637
  /**
13551
13638
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "22.12.4630",
3
+ "version": "22.12.4646",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",