protobuf-platform 1.2.264 → 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.264",
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 {
@@ -171,6 +172,7 @@ message MethodItemRequest {
171
172
  optional string transaction_type = 7;
172
173
  optional string processing_type = 8;
173
174
  optional string code = 9;
175
+ optional string currency_type = 10;
174
176
  }
175
177
  message GetMethodRequest {
176
178
  int32 id = 1;
@@ -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
@@ -7001,7 +7049,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
7001
7049
  providerId: jspb.Message.getFieldWithDefault(msg, 6, 0),
7002
7050
  transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
7003
7051
  processingType: jspb.Message.getFieldWithDefault(msg, 8, ""),
7004
- code: jspb.Message.getFieldWithDefault(msg, 9, "")
7052
+ code: jspb.Message.getFieldWithDefault(msg, 9, ""),
7053
+ currencyType: jspb.Message.getFieldWithDefault(msg, 10, "")
7005
7054
  };
7006
7055
 
7007
7056
  if (includeInstance) {
@@ -7070,6 +7119,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
7070
7119
  var value = /** @type {string} */ (reader.readString());
7071
7120
  msg.setCode(value);
7072
7121
  break;
7122
+ case 10:
7123
+ var value = /** @type {string} */ (reader.readString());
7124
+ msg.setCurrencyType(value);
7125
+ break;
7073
7126
  default:
7074
7127
  reader.skipField();
7075
7128
  break;
@@ -7155,6 +7208,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
7155
7208
  f
7156
7209
  );
7157
7210
  }
7211
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
7212
+ if (f != null) {
7213
+ writer.writeString(
7214
+ 10,
7215
+ f
7216
+ );
7217
+ }
7158
7218
  };
7159
7219
 
7160
7220
 
@@ -7446,6 +7506,42 @@ proto.payment.MethodItemRequest.prototype.hasCode = function() {
7446
7506
  };
7447
7507
 
7448
7508
 
7509
+ /**
7510
+ * optional string currency_type = 10;
7511
+ * @return {string}
7512
+ */
7513
+ proto.payment.MethodItemRequest.prototype.getCurrencyType = function() {
7514
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7515
+ };
7516
+
7517
+
7518
+ /**
7519
+ * @param {string} value
7520
+ * @return {!proto.payment.MethodItemRequest} returns this
7521
+ */
7522
+ proto.payment.MethodItemRequest.prototype.setCurrencyType = function(value) {
7523
+ return jspb.Message.setField(this, 10, value);
7524
+ };
7525
+
7526
+
7527
+ /**
7528
+ * Clears the field making it undefined.
7529
+ * @return {!proto.payment.MethodItemRequest} returns this
7530
+ */
7531
+ proto.payment.MethodItemRequest.prototype.clearCurrencyType = function() {
7532
+ return jspb.Message.setField(this, 10, undefined);
7533
+ };
7534
+
7535
+
7536
+ /**
7537
+ * Returns whether this field is set.
7538
+ * @return {boolean}
7539
+ */
7540
+ proto.payment.MethodItemRequest.prototype.hasCurrencyType = function() {
7541
+ return jspb.Message.getField(this, 10) != null;
7542
+ };
7543
+
7544
+
7449
7545
 
7450
7546
 
7451
7547