protobuf-platform 1.2.267 → 1.2.268

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.267",
3
+ "version": "1.2.268",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -409,6 +409,7 @@ message UserPaymentMethodItem {
409
409
  optional string sdk_provider = 11;
410
410
  optional bool sdk_enabled = 12;
411
411
  optional string processing_type = 13;
412
+ optional string currency_type = 14;
412
413
  }
413
414
  message UserPaymentMethodsResponse {
414
415
  repeated UserPaymentMethodItem items = 1;
@@ -16662,7 +16662,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
16662
16662
  maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
16663
16663
  sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
16664
16664
  sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
16665
- processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
16665
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
16666
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
16666
16667
  };
16667
16668
 
16668
16669
  if (includeInstance) {
@@ -16751,6 +16752,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
16751
16752
  var value = /** @type {string} */ (reader.readString());
16752
16753
  msg.setProcessingType(value);
16753
16754
  break;
16755
+ case 14:
16756
+ var value = /** @type {string} */ (reader.readString());
16757
+ msg.setCurrencyType(value);
16758
+ break;
16754
16759
  default:
16755
16760
  reader.skipField();
16756
16761
  break;
@@ -16871,6 +16876,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
16871
16876
  f
16872
16877
  );
16873
16878
  }
16879
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
16880
+ if (f != null) {
16881
+ writer.writeString(
16882
+ 14,
16883
+ f
16884
+ );
16885
+ }
16874
16886
  };
16875
16887
 
16876
16888
 
@@ -17216,6 +17228,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasProcessingType = function() {
17216
17228
  };
17217
17229
 
17218
17230
 
17231
+ /**
17232
+ * optional string currency_type = 14;
17233
+ * @return {string}
17234
+ */
17235
+ proto.payment.UserPaymentMethodItem.prototype.getCurrencyType = function() {
17236
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
17237
+ };
17238
+
17239
+
17240
+ /**
17241
+ * @param {string} value
17242
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
17243
+ */
17244
+ proto.payment.UserPaymentMethodItem.prototype.setCurrencyType = function(value) {
17245
+ return jspb.Message.setField(this, 14, value);
17246
+ };
17247
+
17248
+
17249
+ /**
17250
+ * Clears the field making it undefined.
17251
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
17252
+ */
17253
+ proto.payment.UserPaymentMethodItem.prototype.clearCurrencyType = function() {
17254
+ return jspb.Message.setField(this, 14, undefined);
17255
+ };
17256
+
17257
+
17258
+ /**
17259
+ * Returns whether this field is set.
17260
+ * @return {boolean}
17261
+ */
17262
+ proto.payment.UserPaymentMethodItem.prototype.hasCurrencyType = function() {
17263
+ return jspb.Message.getField(this, 14) != null;
17264
+ };
17265
+
17266
+
17219
17267
 
17220
17268
  /**
17221
17269
  * List of repeated fields within this message type.