protobuf-platform 1.2.237 → 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.237",
3
+ "version": "1.2.239",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -338,6 +338,9 @@ message UserPaymentMethodItem {
338
338
  optional string payment_type = 8;
339
339
  optional int32 min_amount = 9;
340
340
  optional int32 max_amount = 10;
341
+ optional string sdk_provider = 11;
342
+ optional bool sdk_enabled = 12;
343
+ optional string processing_type = 13;
341
344
  }
342
345
  message UserPaymentMethodsResponse {
343
346
  repeated UserPaymentMethodItem items = 1;
@@ -14137,7 +14137,10 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
14137
14137
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
14138
14138
  paymentType: jspb.Message.getFieldWithDefault(msg, 8, ""),
14139
14139
  minAmount: jspb.Message.getFieldWithDefault(msg, 9, 0),
14140
- maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0)
14140
+ maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
14141
+ sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
14142
+ sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
14143
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
14141
14144
  };
14142
14145
 
14143
14146
  if (includeInstance) {
@@ -14214,6 +14217,18 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
14214
14217
  var value = /** @type {number} */ (reader.readInt32());
14215
14218
  msg.setMaxAmount(value);
14216
14219
  break;
14220
+ case 11:
14221
+ var value = /** @type {string} */ (reader.readString());
14222
+ msg.setSdkProvider(value);
14223
+ break;
14224
+ case 12:
14225
+ var value = /** @type {boolean} */ (reader.readBool());
14226
+ msg.setSdkEnabled(value);
14227
+ break;
14228
+ case 13:
14229
+ var value = /** @type {string} */ (reader.readString());
14230
+ msg.setProcessingType(value);
14231
+ break;
14217
14232
  default:
14218
14233
  reader.skipField();
14219
14234
  break;
@@ -14313,6 +14328,27 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
14313
14328
  f
14314
14329
  );
14315
14330
  }
14331
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
14332
+ if (f != null) {
14333
+ writer.writeString(
14334
+ 11,
14335
+ f
14336
+ );
14337
+ }
14338
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
14339
+ if (f != null) {
14340
+ writer.writeBool(
14341
+ 12,
14342
+ f
14343
+ );
14344
+ }
14345
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
14346
+ if (f != null) {
14347
+ writer.writeString(
14348
+ 13,
14349
+ f
14350
+ );
14351
+ }
14316
14352
  };
14317
14353
 
14318
14354
 
@@ -14550,6 +14586,114 @@ proto.payment.UserPaymentMethodItem.prototype.hasMaxAmount = function() {
14550
14586
  };
14551
14587
 
14552
14588
 
14589
+ /**
14590
+ * optional string sdk_provider = 11;
14591
+ * @return {string}
14592
+ */
14593
+ proto.payment.UserPaymentMethodItem.prototype.getSdkProvider = function() {
14594
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
14595
+ };
14596
+
14597
+
14598
+ /**
14599
+ * @param {string} value
14600
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14601
+ */
14602
+ proto.payment.UserPaymentMethodItem.prototype.setSdkProvider = function(value) {
14603
+ return jspb.Message.setField(this, 11, value);
14604
+ };
14605
+
14606
+
14607
+ /**
14608
+ * Clears the field making it undefined.
14609
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14610
+ */
14611
+ proto.payment.UserPaymentMethodItem.prototype.clearSdkProvider = function() {
14612
+ return jspb.Message.setField(this, 11, undefined);
14613
+ };
14614
+
14615
+
14616
+ /**
14617
+ * Returns whether this field is set.
14618
+ * @return {boolean}
14619
+ */
14620
+ proto.payment.UserPaymentMethodItem.prototype.hasSdkProvider = function() {
14621
+ return jspb.Message.getField(this, 11) != null;
14622
+ };
14623
+
14624
+
14625
+ /**
14626
+ * optional bool sdk_enabled = 12;
14627
+ * @return {boolean}
14628
+ */
14629
+ proto.payment.UserPaymentMethodItem.prototype.getSdkEnabled = function() {
14630
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
14631
+ };
14632
+
14633
+
14634
+ /**
14635
+ * @param {boolean} value
14636
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14637
+ */
14638
+ proto.payment.UserPaymentMethodItem.prototype.setSdkEnabled = function(value) {
14639
+ return jspb.Message.setField(this, 12, value);
14640
+ };
14641
+
14642
+
14643
+ /**
14644
+ * Clears the field making it undefined.
14645
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
14646
+ */
14647
+ proto.payment.UserPaymentMethodItem.prototype.clearSdkEnabled = function() {
14648
+ return jspb.Message.setField(this, 12, undefined);
14649
+ };
14650
+
14651
+
14652
+ /**
14653
+ * Returns whether this field is set.
14654
+ * @return {boolean}
14655
+ */
14656
+ proto.payment.UserPaymentMethodItem.prototype.hasSdkEnabled = function() {
14657
+ return jspb.Message.getField(this, 12) != null;
14658
+ };
14659
+
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
+
14553
14697
 
14554
14698
  /**
14555
14699
  * List of repeated fields within this message type.