@sniipwebmaster/transaction-service-client-grpcweb 0.2.3604 → 0.2.3633

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.
@@ -8364,7 +8364,8 @@ proto.sniiptransactionapi.PaymentDetailsResponse.toObject = function(includeInst
8364
8364
  var f, obj = {
8365
8365
  partialpaymentpermitted: jspb.Message.getFieldWithDefault(msg, 1, false),
8366
8366
  surcharge: +jspb.Message.getFieldWithDefault(msg, 2, 0.0),
8367
- responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f)
8367
+ responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
8368
+ surchargerate: +jspb.Message.getFieldWithDefault(msg, 4, 0.0)
8368
8369
  };
8369
8370
 
8370
8371
  if (includeInstance) {
@@ -8414,6 +8415,10 @@ proto.sniiptransactionapi.PaymentDetailsResponse.deserializeBinaryFromReader = f
8414
8415
  reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
8415
8416
  msg.setResponsecode(value);
8416
8417
  break;
8418
+ case 4:
8419
+ var value = /** @type {number} */ (reader.readDouble());
8420
+ msg.setSurchargerate(value);
8421
+ break;
8417
8422
  default:
8418
8423
  reader.skipField();
8419
8424
  break;
@@ -8465,6 +8470,13 @@ proto.sniiptransactionapi.PaymentDetailsResponse.serializeBinaryToWriter = funct
8465
8470
  proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
8466
8471
  );
8467
8472
  }
8473
+ f = message.getSurchargerate();
8474
+ if (f !== 0.0) {
8475
+ writer.writeDouble(
8476
+ 4,
8477
+ f
8478
+ );
8479
+ }
8468
8480
  };
8469
8481
 
8470
8482
 
@@ -8530,6 +8542,21 @@ proto.sniiptransactionapi.PaymentDetailsResponse.prototype.hasResponsecode = fun
8530
8542
  };
8531
8543
 
8532
8544
 
8545
+ /**
8546
+ * optional double surchargeRate = 4;
8547
+ * @return {number}
8548
+ */
8549
+ proto.sniiptransactionapi.PaymentDetailsResponse.prototype.getSurchargerate = function() {
8550
+ return /** @type {number} */ (+jspb.Message.getFieldWithDefault(this, 4, 0.0));
8551
+ };
8552
+
8553
+
8554
+ /** @param {number} value */
8555
+ proto.sniiptransactionapi.PaymentDetailsResponse.prototype.setSurchargerate = function(value) {
8556
+ jspb.Message.setProto3FloatField(this, 4, value);
8557
+ };
8558
+
8559
+
8533
8560
 
8534
8561
  /**
8535
8562
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "0.2.3604",
3
+ "version": "0.2.3633",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",