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

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.
@@ -10140,12 +10140,12 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.toObject = funct
10140
10140
  proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includeInstance, msg) {
10141
10141
  var f, obj = {
10142
10142
  paymentmethodtypeid: msg.getPaymentmethodtypeid(),
10143
- displayname: msg.getDisplayname(),
10144
10143
  paymenttype: msg.getPaymenttype(),
10145
10144
  allowdebit: msg.getAllowdebit(),
10146
10145
  allowcredit: msg.getAllowcredit(),
10147
10146
  eftposonly: msg.getEftposonly(),
10148
- internationalonly: msg.getInternationalonly()
10147
+ internationalonly: msg.getInternationalonly(),
10148
+ displayname: msg.getDisplayname()
10149
10149
  };
10150
10150
 
10151
10151
  if (includeInstance) {
@@ -10187,29 +10187,29 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
10187
10187
  msg.setPaymentmethodtypeid(value);
10188
10188
  break;
10189
10189
  case 2:
10190
- var value = /** @type {string} */ (reader.readString());
10191
- msg.setDisplayname(value);
10192
- break;
10193
- case 3:
10194
10190
  var value = /** @type {string} */ (reader.readString());
10195
10191
  msg.setPaymenttype(value);
10196
10192
  break;
10197
- case 4:
10193
+ case 3:
10198
10194
  var value = /** @type {boolean} */ (reader.readBool());
10199
10195
  msg.setAllowdebit(value);
10200
10196
  break;
10201
- case 5:
10197
+ case 4:
10202
10198
  var value = /** @type {boolean} */ (reader.readBool());
10203
10199
  msg.setAllowcredit(value);
10204
10200
  break;
10205
- case 6:
10201
+ case 5:
10206
10202
  var value = /** @type {boolean} */ (reader.readBool());
10207
10203
  msg.setEftposonly(value);
10208
10204
  break;
10209
- case 7:
10205
+ case 6:
10210
10206
  var value = /** @type {boolean} */ (reader.readBool());
10211
10207
  msg.setInternationalonly(value);
10212
10208
  break;
10209
+ case 7:
10210
+ var value = /** @type {string} */ (reader.readString());
10211
+ msg.setDisplayname(value);
10212
+ break;
10213
10213
  default:
10214
10214
  reader.skipField();
10215
10215
  break;
@@ -10255,44 +10255,44 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.serializeBinaryT
10255
10255
  f
10256
10256
  );
10257
10257
  }
10258
- f = this.getDisplayname();
10258
+ f = this.getPaymenttype();
10259
10259
  if (f.length > 0) {
10260
10260
  writer.writeString(
10261
10261
  2,
10262
10262
  f
10263
10263
  );
10264
10264
  }
10265
- f = this.getPaymenttype();
10266
- if (f.length > 0) {
10267
- writer.writeString(
10265
+ f = this.getAllowdebit();
10266
+ if (f) {
10267
+ writer.writeBool(
10268
10268
  3,
10269
10269
  f
10270
10270
  );
10271
10271
  }
10272
- f = this.getAllowdebit();
10272
+ f = this.getAllowcredit();
10273
10273
  if (f) {
10274
10274
  writer.writeBool(
10275
10275
  4,
10276
10276
  f
10277
10277
  );
10278
10278
  }
10279
- f = this.getAllowcredit();
10279
+ f = this.getEftposonly();
10280
10280
  if (f) {
10281
10281
  writer.writeBool(
10282
10282
  5,
10283
10283
  f
10284
10284
  );
10285
10285
  }
10286
- f = this.getEftposonly();
10286
+ f = this.getInternationalonly();
10287
10287
  if (f) {
10288
10288
  writer.writeBool(
10289
10289
  6,
10290
10290
  f
10291
10291
  );
10292
10292
  }
10293
- f = this.getInternationalonly();
10294
- if (f) {
10295
- writer.writeBool(
10293
+ f = this.getDisplayname();
10294
+ if (f.length > 0) {
10295
+ writer.writeString(
10296
10296
  7,
10297
10297
  f
10298
10298
  );
@@ -10325,99 +10325,99 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymentmethod
10325
10325
 
10326
10326
 
10327
10327
  /**
10328
- * optional string displayName = 2;
10328
+ * optional string paymentType = 2;
10329
10329
  * @return {string}
10330
10330
  */
10331
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getDisplayname = function() {
10331
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymenttype = function() {
10332
10332
  return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
10333
10333
  };
10334
10334
 
10335
10335
 
10336
10336
  /** @param {string} value */
10337
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname = function(value) {
10337
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymenttype = function(value) {
10338
10338
  jspb.Message.setField(this, 2, value);
10339
10339
  };
10340
10340
 
10341
10341
 
10342
10342
  /**
10343
- * optional string paymentType = 3;
10344
- * @return {string}
10343
+ * optional bool allowDebit = 3;
10344
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10345
+ * You should avoid comparisons like {@code val === true/false} in those cases.
10346
+ * @return {boolean}
10345
10347
  */
10346
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getPaymenttype = function() {
10347
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
10348
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowdebit = function() {
10349
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
10348
10350
  };
10349
10351
 
10350
10352
 
10351
- /** @param {string} value */
10352
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setPaymenttype = function(value) {
10353
+ /** @param {boolean} value */
10354
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowdebit = function(value) {
10353
10355
  jspb.Message.setField(this, 3, value);
10354
10356
  };
10355
10357
 
10356
10358
 
10357
10359
  /**
10358
- * optional bool allowDebit = 4;
10360
+ * optional bool allowCredit = 4;
10359
10361
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10360
10362
  * You should avoid comparisons like {@code val === true/false} in those cases.
10361
10363
  * @return {boolean}
10362
10364
  */
10363
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowdebit = function() {
10365
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcredit = function() {
10364
10366
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
10365
10367
  };
10366
10368
 
10367
10369
 
10368
10370
  /** @param {boolean} value */
10369
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowdebit = function(value) {
10371
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcredit = function(value) {
10370
10372
  jspb.Message.setField(this, 4, value);
10371
10373
  };
10372
10374
 
10373
10375
 
10374
10376
  /**
10375
- * optional bool allowCredit = 5;
10377
+ * optional bool eftposOnly = 5;
10376
10378
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10377
10379
  * You should avoid comparisons like {@code val === true/false} in those cases.
10378
10380
  * @return {boolean}
10379
10381
  */
10380
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowcredit = function() {
10382
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getEftposonly = function() {
10381
10383
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
10382
10384
  };
10383
10385
 
10384
10386
 
10385
10387
  /** @param {boolean} value */
10386
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcredit = function(value) {
10388
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setEftposonly = function(value) {
10387
10389
  jspb.Message.setField(this, 5, value);
10388
10390
  };
10389
10391
 
10390
10392
 
10391
10393
  /**
10392
- * optional bool eftposOnly = 6;
10394
+ * optional bool internationalOnly = 6;
10393
10395
  * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10394
10396
  * You should avoid comparisons like {@code val === true/false} in those cases.
10395
10397
  * @return {boolean}
10396
10398
  */
10397
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getEftposonly = function() {
10399
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getInternationalonly = function() {
10398
10400
  return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 6, false));
10399
10401
  };
10400
10402
 
10401
10403
 
10402
10404
  /** @param {boolean} value */
10403
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setEftposonly = function(value) {
10405
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setInternationalonly = function(value) {
10404
10406
  jspb.Message.setField(this, 6, value);
10405
10407
  };
10406
10408
 
10407
10409
 
10408
10410
  /**
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}
10411
+ * optional string displayName = 7;
10412
+ * @return {string}
10413
10413
  */
10414
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getInternationalonly = function() {
10415
- return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
10414
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getDisplayname = function() {
10415
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
10416
10416
  };
10417
10417
 
10418
10418
 
10419
- /** @param {boolean} value */
10420
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setInternationalonly = function(value) {
10419
+ /** @param {string} value */
10420
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setDisplayname = function(value) {
10421
10421
  jspb.Message.setField(this, 7, value);
10422
10422
  };
10423
10423
 
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.2653",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",