protobuf-platform 1.2.238 → 1.2.239

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.238",
3
+ "version": "1.2.239",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -340,6 +340,7 @@ message UserPaymentMethodItem {
340
340
  optional int32 max_amount = 10;
341
341
  optional string sdk_provider = 11;
342
342
  optional bool sdk_enabled = 12;
343
+ optional string processing_type = 13;
343
344
  }
344
345
  message UserPaymentMethodsResponse {
345
346
  repeated UserPaymentMethodItem items = 1;
@@ -14139,7 +14139,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
14139
14139
  minAmount: jspb.Message.getFieldWithDefault(msg, 9, 0),
14140
14140
  maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
14141
14141
  sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
14142
- sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
14142
+ sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
14143
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
14143
14144
  };
14144
14145
 
14145
14146
  if (includeInstance) {
@@ -14224,6 +14225,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
14224
14225
  var value = /** @type {boolean} */ (reader.readBool());
14225
14226
  msg.setSdkEnabled(value);
14226
14227
  break;
14228
+ case 13:
14229
+ var value = /** @type {string} */ (reader.readString());
14230
+ msg.setProcessingType(value);
14231
+ break;
14227
14232
  default:
14228
14233
  reader.skipField();
14229
14234
  break;
@@ -14337,6 +14342,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
14337
14342
  f
14338
14343
  );
14339
14344
  }
14345
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
14346
+ if (f != null) {
14347
+ writer.writeString(
14348
+ 13,
14349
+ f
14350
+ );
14351
+ }
14340
14352
  };
14341
14353
 
14342
14354
 
@@ -14646,6 +14658,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasSdkEnabled = function() {
14646
14658
  };
14647
14659
 
14648
14660
 
14661
+ /**
14662
+ * optional string processing_type = 13;
14663
+ * @return {string}
14664
+ */
14665
+ proto.payment.UserPaymentMethodItem.prototype.getProcessingType = function() {
14666
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
14667
+ };
14668
+
14669
+
14670
+ /**
14671
+ * @param {string} value
14672
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14673
+ */
14674
+ proto.payment.UserPaymentMethodItem.prototype.setProcessingType = function(value) {
14675
+ return jspb.Message.setField(this, 13, value);
14676
+ };
14677
+
14678
+
14679
+ /**
14680
+ * Clears the field making it undefined.
14681
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14682
+ */
14683
+ proto.payment.UserPaymentMethodItem.prototype.clearProcessingType = function() {
14684
+ return jspb.Message.setField(this, 13, undefined);
14685
+ };
14686
+
14687
+
14688
+ /**
14689
+ * Returns whether this field is set.
14690
+ * @return {boolean}
14691
+ */
14692
+ proto.payment.UserPaymentMethodItem.prototype.hasProcessingType = function() {
14693
+ return jspb.Message.getField(this, 13) != null;
14694
+ };
14695
+
14696
+
14649
14697
 
14650
14698
  /**
14651
14699
  * List of repeated fields within this message type.