@sniipwebmaster/payment-methods-client-grpcweb 0.2.2644 → 0.2.2662

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.
@@ -3079,7 +3079,9 @@ proto.sniippaymentmethodsserviceapi.CreditCard.toObject = function(includeInstan
3079
3079
  iscreditcard: msg.getIscreditcard(),
3080
3080
  isdebitcard: msg.getIsdebitcard(),
3081
3081
  isverified: msg.getIsverified(),
3082
- attemptedverification: msg.getAttemptedverification()
3082
+ attemptedverification: msg.getAttemptedverification(),
3083
+ iseftpos: msg.getIseftpos(),
3084
+ isinternational: msg.getIsinternational()
3083
3085
  };
3084
3086
 
3085
3087
  if (includeInstance) {
@@ -3177,6 +3179,14 @@ proto.sniippaymentmethodsserviceapi.CreditCard.deserializeBinaryFromReader = fun
3177
3179
  var value = /** @type {boolean} */ (reader.readBool());
3178
3180
  msg.setAttemptedverification(value);
3179
3181
  break;
3182
+ case 16:
3183
+ var value = /** @type {boolean} */ (reader.readBool());
3184
+ msg.setIseftpos(value);
3185
+ break;
3186
+ case 17:
3187
+ var value = /** @type {boolean} */ (reader.readBool());
3188
+ msg.setIsinternational(value);
3189
+ break;
3180
3190
  default:
3181
3191
  reader.skipField();
3182
3192
  break;
@@ -3321,6 +3331,20 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.serializeBinaryToWriter
3321
3331
  f
3322
3332
  );
3323
3333
  }
3334
+ f = this.getIseftpos();
3335
+ if (f) {
3336
+ writer.writeBool(
3337
+ 16,
3338
+ f
3339
+ );
3340
+ }
3341
+ f = this.getIsinternational();
3342
+ if (f) {
3343
+ writer.writeBool(
3344
+ 17,
3345
+ f
3346
+ );
3347
+ }
3324
3348
  };
3325
3349
 
3326
3350
 
@@ -3581,6 +3605,40 @@ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setAttemptedverificatio
3581
3605
  };
3582
3606
 
3583
3607
 
3608
+ /**
3609
+ * optional bool isEftpos = 16;
3610
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
3611
+ * You should avoid comparisons like {@code val === true/false} in those cases.
3612
+ * @return {boolean}
3613
+ */
3614
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIseftpos = function() {
3615
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 16, false));
3616
+ };
3617
+
3618
+
3619
+ /** @param {boolean} value */
3620
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIseftpos = function(value) {
3621
+ jspb.Message.setField(this, 16, value);
3622
+ };
3623
+
3624
+
3625
+ /**
3626
+ * optional bool isInternational = 17;
3627
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
3628
+ * You should avoid comparisons like {@code val === true/false} in those cases.
3629
+ * @return {boolean}
3630
+ */
3631
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.getIsinternational = function() {
3632
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 17, false));
3633
+ };
3634
+
3635
+
3636
+ /** @param {boolean} value */
3637
+ proto.sniippaymentmethodsserviceapi.CreditCard.prototype.setIsinternational = function(value) {
3638
+ jspb.Message.setField(this, 17, value);
3639
+ };
3640
+
3641
+
3584
3642
 
3585
3643
  /**
3586
3644
  * Generated by JsPbCodeGenerator.
@@ -6327,7 +6385,9 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.toObject = function(include
6327
6385
  isdeleted: msg.getIsdeleted(),
6328
6386
  iscreditcard: msg.getIscreditcard(),
6329
6387
  isdebitcard: msg.getIsdebitcard(),
6330
- isverified: msg.getIsverified()
6388
+ isverified: msg.getIsverified(),
6389
+ iseftpos: msg.getIseftpos(),
6390
+ isinternational: msg.getIsinternational()
6331
6391
  };
6332
6392
 
6333
6393
  if (includeInstance) {
@@ -6429,6 +6489,14 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.deserializeBinaryFromReader
6429
6489
  var value = /** @type {boolean} */ (reader.readBool());
6430
6490
  msg.setIsverified(value);
6431
6491
  break;
6492
+ case 17:
6493
+ var value = /** @type {boolean} */ (reader.readBool());
6494
+ msg.setIseftpos(value);
6495
+ break;
6496
+ case 18:
6497
+ var value = /** @type {boolean} */ (reader.readBool());
6498
+ msg.setIsinternational(value);
6499
+ break;
6432
6500
  default:
6433
6501
  reader.skipField();
6434
6502
  break;
@@ -6580,6 +6648,20 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.serializeBinaryTo
6580
6648
  f
6581
6649
  );
6582
6650
  }
6651
+ f = this.getIseftpos();
6652
+ if (f) {
6653
+ writer.writeBool(
6654
+ 17,
6655
+ f
6656
+ );
6657
+ }
6658
+ f = this.getIsinternational();
6659
+ if (f) {
6660
+ writer.writeBool(
6661
+ 18,
6662
+ f
6663
+ );
6664
+ }
6583
6665
  };
6584
6666
 
6585
6667
 
@@ -6855,6 +6937,40 @@ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsverified = f
6855
6937
  };
6856
6938
 
6857
6939
 
6940
+ /**
6941
+ * optional bool isEftpos = 17;
6942
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
6943
+ * You should avoid comparisons like {@code val === true/false} in those cases.
6944
+ * @return {boolean}
6945
+ */
6946
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIseftpos = function() {
6947
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 17, false));
6948
+ };
6949
+
6950
+
6951
+ /** @param {boolean} value */
6952
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIseftpos = function(value) {
6953
+ jspb.Message.setField(this, 17, value);
6954
+ };
6955
+
6956
+
6957
+ /**
6958
+ * optional bool isInternational = 18;
6959
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
6960
+ * You should avoid comparisons like {@code val === true/false} in those cases.
6961
+ * @return {boolean}
6962
+ */
6963
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.getIsinternational = function() {
6964
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 18, false));
6965
+ };
6966
+
6967
+
6968
+ /** @param {boolean} value */
6969
+ proto.sniippaymentmethodsserviceapi.MaskedCreditCard.prototype.setIsinternational = function(value) {
6970
+ jspb.Message.setField(this, 18, value);
6971
+ };
6972
+
6973
+
6858
6974
 
6859
6975
  /**
6860
6976
  * Generated by JsPbCodeGenerator.
@@ -6919,7 +7035,9 @@ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.toObjec
6919
7035
  bankurl: msg.getBankurl(),
6920
7036
  bankphone: msg.getBankphone(),
6921
7037
  banklogoname: msg.getBanklogoname(),
6922
- cardtype: msg.getCardtype()
7038
+ cardtype: msg.getCardtype(),
7039
+ iseftpos: msg.getIseftpos(),
7040
+ isinternational: msg.getIsinternational()
6923
7041
  };
6924
7042
 
6925
7043
  if (includeInstance) {
@@ -7032,6 +7150,14 @@ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.deseria
7032
7150
  var value = /** @type {string} */ (reader.readString());
7033
7151
  msg.setCardtype(value);
7034
7152
  break;
7153
+ case 20:
7154
+ var value = /** @type {boolean} */ (reader.readBool());
7155
+ msg.setIseftpos(value);
7156
+ break;
7157
+ case 21:
7158
+ var value = /** @type {boolean} */ (reader.readBool());
7159
+ msg.setIsinternational(value);
7160
+ break;
7035
7161
  default:
7036
7162
  reader.skipField();
7037
7163
  break;
@@ -7203,6 +7329,20 @@ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototy
7203
7329
  f
7204
7330
  );
7205
7331
  }
7332
+ f = this.getIseftpos();
7333
+ if (f) {
7334
+ writer.writeBool(
7335
+ 20,
7336
+ f
7337
+ );
7338
+ }
7339
+ f = this.getIsinternational();
7340
+ if (f) {
7341
+ writer.writeBool(
7342
+ 21,
7343
+ f
7344
+ );
7345
+ }
7206
7346
  };
7207
7347
 
7208
7348
 
@@ -7504,6 +7644,40 @@ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototy
7504
7644
  };
7505
7645
 
7506
7646
 
7647
+ /**
7648
+ * optional bool isEftpos = 20;
7649
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
7650
+ * You should avoid comparisons like {@code val === true/false} in those cases.
7651
+ * @return {boolean}
7652
+ */
7653
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getIseftpos = function() {
7654
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 20, false));
7655
+ };
7656
+
7657
+
7658
+ /** @param {boolean} value */
7659
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setIseftpos = function(value) {
7660
+ jspb.Message.setField(this, 20, value);
7661
+ };
7662
+
7663
+
7664
+ /**
7665
+ * optional bool isInternational = 21;
7666
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
7667
+ * You should avoid comparisons like {@code val === true/false} in those cases.
7668
+ * @return {boolean}
7669
+ */
7670
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.getIsinternational = function() {
7671
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 21, false));
7672
+ };
7673
+
7674
+
7675
+ /** @param {boolean} value */
7676
+ proto.sniippaymentmethodsserviceapi.MasterBinLookupOverrideUpdateRequest.prototype.setIsinternational = function(value) {
7677
+ jspb.Message.setField(this, 21, value);
7678
+ };
7679
+
7680
+
7507
7681
 
7508
7682
  /**
7509
7683
  * Generated by JsPbCodeGenerator.
@@ -10140,12 +10314,12 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.toObject = funct
10140
10314
  proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includeInstance, msg) {
10141
10315
  var f, obj = {
10142
10316
  paymentmethodtypeid: msg.getPaymentmethodtypeid(),
10143
- displayname: msg.getDisplayname(),
10144
10317
  paymenttype: msg.getPaymenttype(),
10145
10318
  allowdebit: msg.getAllowdebit(),
10146
10319
  allowcredit: msg.getAllowcredit(),
10147
10320
  eftposonly: msg.getEftposonly(),
10148
- internationalonly: msg.getInternationalonly()
10321
+ internationalonly: msg.getInternationalonly(),
10322
+ displayname: msg.getDisplayname()
10149
10323
  };
10150
10324
 
10151
10325
  if (includeInstance) {
@@ -10187,29 +10361,29 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
10187
10361
  msg.setPaymentmethodtypeid(value);
10188
10362
  break;
10189
10363
  case 2:
10190
- var value = /** @type {string} */ (reader.readString());
10191
- msg.setDisplayname(value);
10192
- break;
10193
- case 3:
10194
10364
  var value = /** @type {string} */ (reader.readString());
10195
10365
  msg.setPaymenttype(value);
10196
10366
  break;
10197
- case 4:
10367
+ case 3:
10198
10368
  var value = /** @type {boolean} */ (reader.readBool());
10199
10369
  msg.setAllowdebit(value);
10200
10370
  break;
10201
- case 5:
10371
+ case 4:
10202
10372
  var value = /** @type {boolean} */ (reader.readBool());
10203
10373
  msg.setAllowcredit(value);
10204
10374
  break;
10205
- case 6:
10375
+ case 5:
10206
10376
  var value = /** @type {boolean} */ (reader.readBool());
10207
10377
  msg.setEftposonly(value);
10208
10378
  break;
10209
- case 7:
10379
+ case 6:
10210
10380
  var value = /** @type {boolean} */ (reader.readBool());
10211
10381
  msg.setInternationalonly(value);
10212
10382
  break;
10383
+ case 7:
10384
+ var value = /** @type {string} */ (reader.readString());
10385
+ msg.setDisplayname(value);
10386
+ break;
10213
10387
  default:
10214
10388
  reader.skipField();
10215
10389
  break;
@@ -10255,44 +10429,44 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinaryT
10255
10429
  f
10256
10430
  );
10257
10431
  }
10258
- f = this.getDisplayname();
10432
+ f = this.getPaymenttype();
10259
10433
  if (f.length > 0) {
10260
10434
  writer.writeString(
10261
10435
  2,
10262
10436
  f
10263
10437
  );
10264
10438
  }
10265
- f = this.getPaymenttype();
10266
- if (f.length > 0) {
10267
- writer.writeString(
10439
+ f = this.getAllowdebit();
10440
+ if (f) {
10441
+ writer.writeBool(
10268
10442
  3,
10269
10443
  f
10270
10444
  );
10271
10445
  }
10272
- f = this.getAllowdebit();
10446
+ f = this.getAllowcredit();
10273
10447
  if (f) {
10274
10448
  writer.writeBool(
10275
10449
  4,
10276
10450
  f
10277
10451
  );
10278
10452
  }
10279
- f = this.getAllowcredit();
10453
+ f = this.getEftposonly();
10280
10454
  if (f) {
10281
10455
  writer.writeBool(
10282
10456
  5,
10283
10457
  f
10284
10458
  );
10285
10459
  }
10286
- f = this.getEftposonly();
10460
+ f = this.getInternationalonly();
10287
10461
  if (f) {
10288
10462
  writer.writeBool(
10289
10463
  6,
10290
10464
  f
10291
10465
  );
10292
10466
  }
10293
- f = this.getInternationalonly();
10294
- if (f) {
10295
- writer.writeBool(
10467
+ f = this.getDisplayname();
10468
+ if (f.length > 0) {
10469
+ writer.writeString(
10296
10470
  7,
10297
10471
  f
10298
10472
  );
@@ -10325,99 +10499,99 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymentmethod
10325
10499
 
10326
10500
 
10327
10501
  /**
10328
- * optional string displayName = 2;
10502
+ * optional string paymentType = 2;
10329
10503
  * @return {string}
10330
10504
  */
10331
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getDisplayname = function() {
10505
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymenttype = function() {
10332
10506
  return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
10333
10507
  };
10334
10508
 
10335
10509
 
10336
10510
  /** @param {string} value */
10337
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname = function(value) {
10511
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymenttype = function(value) {
10338
10512
  jspb.Message.setField(this, 2, value);
10339
10513
  };
10340
10514
 
10341
10515
 
10342
10516
  /**
10343
- * optional string paymentType = 3;
10344
- * @return {string}
10517
+ * optional bool allowDebit = 3;
10518
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10519
+ * You should avoid comparisons like {@code val === true/false} in those cases.
10520
+ * @return {boolean}
10345
10521
  */
10346
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymenttype = function() {
10347
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
10522
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowdebit = function() {
10523
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
10348
10524
  };
10349
10525
 
10350
10526
 
10351
- /** @param {string} value */
10352
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymenttype = function(value) {
10527
+ /** @param {boolean} value */
10528
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowdebit = function(value) {
10353
10529
  jspb.Message.setField(this, 3, value);
10354
10530
  };
10355
10531
 
10356
10532
 
10357
10533
  /**
10358
- * optional bool allowDebit = 4;
10534
+ * optional bool allowCredit = 4;
10359
10535
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10360
10536
  * You should avoid comparisons like {@code val === true/false} in those cases.
10361
10537
  * @return {boolean}
10362
10538
  */
10363
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowdebit = function() {
10539
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcredit = function() {
10364
10540
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
10365
10541
  };
10366
10542
 
10367
10543
 
10368
10544
  /** @param {boolean} value */
10369
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowdebit = function(value) {
10545
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcredit = function(value) {
10370
10546
  jspb.Message.setField(this, 4, value);
10371
10547
  };
10372
10548
 
10373
10549
 
10374
10550
  /**
10375
- * optional bool allowCredit = 5;
10551
+ * optional bool eftposOnly = 5;
10376
10552
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10377
10553
  * You should avoid comparisons like {@code val === true/false} in those cases.
10378
10554
  * @return {boolean}
10379
10555
  */
10380
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcredit = function() {
10556
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getEftposonly = function() {
10381
10557
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
10382
10558
  };
10383
10559
 
10384
10560
 
10385
10561
  /** @param {boolean} value */
10386
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcredit = function(value) {
10562
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setEftposonly = function(value) {
10387
10563
  jspb.Message.setField(this, 5, value);
10388
10564
  };
10389
10565
 
10390
10566
 
10391
10567
  /**
10392
- * optional bool eftposOnly = 6;
10568
+ * optional bool internationalOnly = 6;
10393
10569
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10394
10570
  * You should avoid comparisons like {@code val === true/false} in those cases.
10395
10571
  * @return {boolean}
10396
10572
  */
10397
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getEftposonly = function() {
10573
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getInternationalonly = function() {
10398
10574
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
10399
10575
  };
10400
10576
 
10401
10577
 
10402
10578
  /** @param {boolean} value */
10403
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setEftposonly = function(value) {
10579
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setInternationalonly = function(value) {
10404
10580
  jspb.Message.setField(this, 6, value);
10405
10581
  };
10406
10582
 
10407
10583
 
10408
10584
  /**
10409
- * optional bool internationalOnly = 7;
10410
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10411
- * You should avoid comparisons like {@code val === true/false} in those cases.
10412
- * @return {boolean}
10585
+ * optional string displayName = 7;
10586
+ * @return {string}
10413
10587
  */
10414
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getInternationalonly = function() {
10415
- return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
10588
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getDisplayname = function() {
10589
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
10416
10590
  };
10417
10591
 
10418
10592
 
10419
- /** @param {boolean} value */
10420
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setInternationalonly = function(value) {
10593
+ /** @param {string} value */
10594
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname = function(value) {
10421
10595
  jspb.Message.setField(this, 7, value);
10422
10596
  };
10423
10597
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "0.2.2644",
3
+ "version": "0.2.2662",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",