@sniipwebmaster/payment-methods-client-grpcweb 21.2.2986 → 21.2.3008

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.
@@ -4392,10 +4392,10 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.toObje
4392
4392
  */
4393
4393
  proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.toObject = function(includeInstance, msg) {
4394
4394
  var f, obj = {
4395
- creditcardid: msg.getCreditcardid(),
4396
4395
  accesstoken: msg.getAccesstoken(),
4397
4396
  userid: msg.getUserid(),
4398
- ispaymentaccesskey: msg.getIspaymentaccesskey()
4397
+ ispaymentaccesskey: msg.getIspaymentaccesskey(),
4398
+ paymentmethodid: msg.getPaymentmethodid()
4399
4399
  };
4400
4400
 
4401
4401
  if (includeInstance) {
@@ -4432,10 +4432,6 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.deserializeBinar
4432
4432
  }
4433
4433
  var field = reader.getFieldNumber();
4434
4434
  switch (field) {
4435
- case 1:
4436
- var value = /** @type {number} */ (reader.readInt64());
4437
- msg.setCreditcardid(value);
4438
- break;
4439
4435
  case 2:
4440
4436
  var value = /** @type {string} */ (reader.readString());
4441
4437
  msg.setAccesstoken(value);
@@ -4448,6 +4444,10 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.deserializeBinar
4448
4444
  var value = /** @type {boolean} */ (reader.readBool());
4449
4445
  msg.setIspaymentaccesskey(value);
4450
4446
  break;
4447
+ case 5:
4448
+ var value = /** @type {number} */ (reader.readInt64());
4449
+ msg.setPaymentmethodid(value);
4450
+ break;
4451
4451
  default:
4452
4452
  reader.skipField();
4453
4453
  break;
@@ -4486,13 +4486,6 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.serial
4486
4486
  */
4487
4487
  proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.serializeBinaryToWriter = function (writer) {
4488
4488
  var f = undefined;
4489
- f = this.getCreditcardid();
4490
- if (f !== 0) {
4491
- writer.writeInt64(
4492
- 1,
4493
- f
4494
- );
4495
- }
4496
4489
  f = this.getAccesstoken();
4497
4490
  if (f.length > 0) {
4498
4491
  writer.writeString(
@@ -4514,6 +4507,13 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.serial
4514
4507
  f
4515
4508
  );
4516
4509
  }
4510
+ f = this.getPaymentmethodid();
4511
+ if (f !== 0) {
4512
+ writer.writeInt64(
4513
+ 5,
4514
+ f
4515
+ );
4516
+ }
4517
4517
  };
4518
4518
 
4519
4519
 
@@ -4526,21 +4526,6 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.cloneM
4526
4526
  };
4527
4527
 
4528
4528
 
4529
- /**
4530
- * optional int64 creditCardId = 1;
4531
- * @return {number}
4532
- */
4533
- proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.getCreditcardid = function() {
4534
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
4535
- };
4536
-
4537
-
4538
- /** @param {number} value */
4539
- proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.setCreditcardid = function(value) {
4540
- jspb.Message.setField(this, 1, value);
4541
- };
4542
-
4543
-
4544
4529
  /**
4545
4530
  * optional string accessToken = 2;
4546
4531
  * @return {string}
@@ -4588,6 +4573,21 @@ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.setIsp
4588
4573
  };
4589
4574
 
4590
4575
 
4576
+ /**
4577
+ * optional int64 paymentMethodId = 5;
4578
+ * @return {number}
4579
+ */
4580
+ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.getPaymentmethodid = function() {
4581
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
4582
+ };
4583
+
4584
+
4585
+ /** @param {number} value */
4586
+ proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest.prototype.setPaymentmethodid = function(value) {
4587
+ jspb.Message.setField(this, 5, value);
4588
+ };
4589
+
4590
+
4591
4591
 
4592
4592
  /**
4593
4593
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "21.2.2986",
3
+ "version": "21.2.3008",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",