protobuf-platform 1.2.266 → 1.2.267

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.266",
3
+ "version": "1.2.267",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -155,6 +155,7 @@ message MethodItem {
155
155
  optional string provider_image = 11;
156
156
  optional string provider_image_cdn = 12;
157
157
  optional string code = 13;
158
+ optional string currency_type = 14;
158
159
  }
159
160
  message MethodRequest {
160
161
  oneof request {
@@ -6101,7 +6101,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
6101
6101
  providerTitle: jspb.Message.getFieldWithDefault(msg, 10, ""),
6102
6102
  providerImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
6103
6103
  providerImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
6104
- code: jspb.Message.getFieldWithDefault(msg, 13, "")
6104
+ code: jspb.Message.getFieldWithDefault(msg, 13, ""),
6105
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
6105
6106
  };
6106
6107
 
6107
6108
  if (includeInstance) {
@@ -6186,6 +6187,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
6186
6187
  var value = /** @type {string} */ (reader.readString());
6187
6188
  msg.setCode(value);
6188
6189
  break;
6190
+ case 14:
6191
+ var value = /** @type {string} */ (reader.readString());
6192
+ msg.setCurrencyType(value);
6193
+ break;
6189
6194
  default:
6190
6195
  reader.skipField();
6191
6196
  break;
@@ -6299,6 +6304,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
6299
6304
  f
6300
6305
  );
6301
6306
  }
6307
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
6308
+ if (f != null) {
6309
+ writer.writeString(
6310
+ 14,
6311
+ f
6312
+ );
6313
+ }
6302
6314
  };
6303
6315
 
6304
6316
 
@@ -6734,6 +6746,42 @@ proto.payment.MethodItem.prototype.hasCode = function() {
6734
6746
  };
6735
6747
 
6736
6748
 
6749
+ /**
6750
+ * optional string currency_type = 14;
6751
+ * @return {string}
6752
+ */
6753
+ proto.payment.MethodItem.prototype.getCurrencyType = function() {
6754
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
6755
+ };
6756
+
6757
+
6758
+ /**
6759
+ * @param {string} value
6760
+ * @return {!proto.payment.MethodItem} returns this
6761
+ */
6762
+ proto.payment.MethodItem.prototype.setCurrencyType = function(value) {
6763
+ return jspb.Message.setField(this, 14, value);
6764
+ };
6765
+
6766
+
6767
+ /**
6768
+ * Clears the field making it undefined.
6769
+ * @return {!proto.payment.MethodItem} returns this
6770
+ */
6771
+ proto.payment.MethodItem.prototype.clearCurrencyType = function() {
6772
+ return jspb.Message.setField(this, 14, undefined);
6773
+ };
6774
+
6775
+
6776
+ /**
6777
+ * Returns whether this field is set.
6778
+ * @return {boolean}
6779
+ */
6780
+ proto.payment.MethodItem.prototype.hasCurrencyType = function() {
6781
+ return jspb.Message.getField(this, 14) != null;
6782
+ };
6783
+
6784
+
6737
6785
 
6738
6786
  /**
6739
6787
  * Oneof group definitions for this message. Each group defines the field