protobuf-platform 1.2.385 → 1.2.388

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.
@@ -23,6 +23,7 @@ var global = (function() {
23
23
 
24
24
  goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
25
25
  goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
26
+ goog.exportSymbol('proto.payment.CryptoDepositInstructions', null, global);
26
27
  goog.exportSymbol('proto.payment.CurrenciesMetadataResponse', null, global);
27
28
  goog.exportSymbol('proto.payment.CurrencyItem', null, global);
28
29
  goog.exportSymbol('proto.payment.CurrencyItemsResponse', null, global);
@@ -834,6 +835,27 @@ if (goog.DEBUG && !COMPILED) {
834
835
  */
835
836
  proto.payment.GetDepositRequest.displayName = 'proto.payment.GetDepositRequest';
836
837
  }
838
+ /**
839
+ * Generated by JsPbCodeGenerator.
840
+ * @param {Array=} opt_data Optional initial data array, typically from a
841
+ * server response, or constructed directly in Javascript. The array is used
842
+ * in place and becomes part of the constructed object. It is not cloned.
843
+ * If no data is provided, the constructed object will be empty, but still
844
+ * valid.
845
+ * @extends {jspb.Message}
846
+ * @constructor
847
+ */
848
+ proto.payment.CryptoDepositInstructions = function(opt_data) {
849
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
850
+ };
851
+ goog.inherits(proto.payment.CryptoDepositInstructions, jspb.Message);
852
+ if (goog.DEBUG && !COMPILED) {
853
+ /**
854
+ * @public
855
+ * @override
856
+ */
857
+ proto.payment.CryptoDepositInstructions.displayName = 'proto.payment.CryptoDepositInstructions';
858
+ }
837
859
  /**
838
860
  * Generated by JsPbCodeGenerator.
839
861
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13497,8 +13519,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
13497
13519
  * http://goto/soy-param-migration
13498
13520
  * @return {!Object}
13499
13521
  */
13500
- proto.payment.DepositResponse.prototype.toObject = function(opt_includeInstance) {
13501
- return proto.payment.DepositResponse.toObject(opt_includeInstance, this);
13522
+ proto.payment.CryptoDepositInstructions.prototype.toObject = function(opt_includeInstance) {
13523
+ return proto.payment.CryptoDepositInstructions.toObject(opt_includeInstance, this);
13502
13524
  };
13503
13525
 
13504
13526
 
@@ -13507,25 +13529,20 @@ proto.payment.DepositResponse.prototype.toObject = function(opt_includeInstance)
13507
13529
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13508
13530
  * the JSPB instance for transitional soy proto support:
13509
13531
  * http://goto/soy-param-migration
13510
- * @param {!proto.payment.DepositResponse} msg The msg instance to transform.
13532
+ * @param {!proto.payment.CryptoDepositInstructions} msg The msg instance to transform.
13511
13533
  * @return {!Object}
13512
13534
  * @suppress {unusedLocalVariables} f is only used for nested messages
13513
13535
  */
13514
- proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
13536
+ proto.payment.CryptoDepositInstructions.toObject = function(includeInstance, msg) {
13515
13537
  var f, obj = {
13516
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
13517
- userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
13518
- status: jspb.Message.getFieldWithDefault(msg, 3, ""),
13519
- amountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
13520
- amountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
13521
- fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
13522
- currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
13523
- paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
13524
- paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
13525
- created: jspb.Message.getFieldWithDefault(msg, 10, ""),
13526
- paymentRedirectUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
13527
- country: jspb.Message.getFieldWithDefault(msg, 12, ""),
13528
- processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
13538
+ address: jspb.Message.getFieldWithDefault(msg, 1, ""),
13539
+ memo: jspb.Message.getFieldWithDefault(msg, 2, ""),
13540
+ memoType: jspb.Message.getFieldWithDefault(msg, 3, ""),
13541
+ asset: jspb.Message.getFieldWithDefault(msg, 4, ""),
13542
+ network: jspb.Message.getFieldWithDefault(msg, 5, ""),
13543
+ qrPayload: jspb.Message.getFieldWithDefault(msg, 6, ""),
13544
+ providerPaymentId: jspb.Message.getFieldWithDefault(msg, 7, ""),
13545
+ minDeposit: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
13529
13546
  };
13530
13547
 
13531
13548
  if (includeInstance) {
@@ -13539,23 +13556,23 @@ proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
13539
13556
  /**
13540
13557
  * Deserializes binary data (in protobuf wire format).
13541
13558
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
13542
- * @return {!proto.payment.DepositResponse}
13559
+ * @return {!proto.payment.CryptoDepositInstructions}
13543
13560
  */
13544
- proto.payment.DepositResponse.deserializeBinary = function(bytes) {
13561
+ proto.payment.CryptoDepositInstructions.deserializeBinary = function(bytes) {
13545
13562
  var reader = new jspb.BinaryReader(bytes);
13546
- var msg = new proto.payment.DepositResponse;
13547
- return proto.payment.DepositResponse.deserializeBinaryFromReader(msg, reader);
13563
+ var msg = new proto.payment.CryptoDepositInstructions;
13564
+ return proto.payment.CryptoDepositInstructions.deserializeBinaryFromReader(msg, reader);
13548
13565
  };
13549
13566
 
13550
13567
 
13551
13568
  /**
13552
13569
  * Deserializes binary data (in protobuf wire format) from the
13553
13570
  * given reader into the given message object.
13554
- * @param {!proto.payment.DepositResponse} msg The message object to deserialize into.
13571
+ * @param {!proto.payment.CryptoDepositInstructions} msg The message object to deserialize into.
13555
13572
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13556
- * @return {!proto.payment.DepositResponse}
13573
+ * @return {!proto.payment.CryptoDepositInstructions}
13557
13574
  */
13558
- proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader) {
13575
+ proto.payment.CryptoDepositInstructions.deserializeBinaryFromReader = function(msg, reader) {
13559
13576
  while (reader.nextField()) {
13560
13577
  if (reader.isEndGroup()) {
13561
13578
  break;
@@ -13563,56 +13580,36 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
13563
13580
  var field = reader.getFieldNumber();
13564
13581
  switch (field) {
13565
13582
  case 1:
13566
- var value = /** @type {number} */ (reader.readInt32());
13567
- msg.setId(value);
13583
+ var value = /** @type {string} */ (reader.readString());
13584
+ msg.setAddress(value);
13568
13585
  break;
13569
13586
  case 2:
13570
- var value = /** @type {number} */ (reader.readInt32());
13571
- msg.setUserId(value);
13587
+ var value = /** @type {string} */ (reader.readString());
13588
+ msg.setMemo(value);
13572
13589
  break;
13573
13590
  case 3:
13574
13591
  var value = /** @type {string} */ (reader.readString());
13575
- msg.setStatus(value);
13592
+ msg.setMemoType(value);
13576
13593
  break;
13577
13594
  case 4:
13578
- var value = /** @type {number} */ (reader.readFloat());
13579
- msg.setAmountAttempt(value);
13595
+ var value = /** @type {string} */ (reader.readString());
13596
+ msg.setAsset(value);
13580
13597
  break;
13581
13598
  case 5:
13582
- var value = /** @type {number} */ (reader.readFloat());
13583
- msg.setAmountPaid(value);
13599
+ var value = /** @type {string} */ (reader.readString());
13600
+ msg.setNetwork(value);
13584
13601
  break;
13585
13602
  case 6:
13586
- var value = /** @type {number} */ (reader.readFloat());
13587
- msg.setFee(value);
13603
+ var value = /** @type {string} */ (reader.readString());
13604
+ msg.setQrPayload(value);
13588
13605
  break;
13589
13606
  case 7:
13590
13607
  var value = /** @type {string} */ (reader.readString());
13591
- msg.setCurrency(value);
13608
+ msg.setProviderPaymentId(value);
13592
13609
  break;
13593
13610
  case 8:
13594
- var value = /** @type {string} */ (reader.readString());
13595
- msg.setPaymentMethodTitle(value);
13596
- break;
13597
- case 9:
13598
- var value = /** @type {string} */ (reader.readString());
13599
- msg.setPaymentProviderImage(value);
13600
- break;
13601
- case 10:
13602
- var value = /** @type {string} */ (reader.readString());
13603
- msg.setCreated(value);
13604
- break;
13605
- case 11:
13606
- var value = /** @type {string} */ (reader.readString());
13607
- msg.setPaymentRedirectUrl(value);
13608
- break;
13609
- case 12:
13610
- var value = /** @type {string} */ (reader.readString());
13611
- msg.setCountry(value);
13612
- break;
13613
- case 13:
13614
- var value = /** @type {string} */ (reader.readString());
13615
- msg.setProcessingType(value);
13611
+ var value = /** @type {number} */ (reader.readFloat());
13612
+ msg.setMinDeposit(value);
13616
13613
  break;
13617
13614
  default:
13618
13615
  reader.skipField();
@@ -13627,9 +13624,9 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
13627
13624
  * Serializes the message to binary data (in protobuf wire format).
13628
13625
  * @return {!Uint8Array}
13629
13626
  */
13630
- proto.payment.DepositResponse.prototype.serializeBinary = function() {
13627
+ proto.payment.CryptoDepositInstructions.prototype.serializeBinary = function() {
13631
13628
  var writer = new jspb.BinaryWriter();
13632
- proto.payment.DepositResponse.serializeBinaryToWriter(this, writer);
13629
+ proto.payment.CryptoDepositInstructions.serializeBinaryToWriter(this, writer);
13633
13630
  return writer.getResultBuffer();
13634
13631
  };
13635
13632
 
@@ -13637,22 +13634,22 @@ proto.payment.DepositResponse.prototype.serializeBinary = function() {
13637
13634
  /**
13638
13635
  * Serializes the given message to binary data (in protobuf wire
13639
13636
  * format), writing to the given BinaryWriter.
13640
- * @param {!proto.payment.DepositResponse} message
13637
+ * @param {!proto.payment.CryptoDepositInstructions} message
13641
13638
  * @param {!jspb.BinaryWriter} writer
13642
13639
  * @suppress {unusedLocalVariables} f is only used for nested messages
13643
13640
  */
13644
- proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer) {
13641
+ proto.payment.CryptoDepositInstructions.serializeBinaryToWriter = function(message, writer) {
13645
13642
  var f = undefined;
13646
- f = message.getId();
13647
- if (f !== 0) {
13648
- writer.writeInt32(
13643
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
13644
+ if (f != null) {
13645
+ writer.writeString(
13649
13646
  1,
13650
13647
  f
13651
13648
  );
13652
13649
  }
13653
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
13650
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
13654
13651
  if (f != null) {
13655
- writer.writeInt32(
13652
+ writer.writeString(
13656
13653
  2,
13657
13654
  f
13658
13655
  );
@@ -13664,23 +13661,23 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
13664
13661
  f
13665
13662
  );
13666
13663
  }
13667
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
13664
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
13668
13665
  if (f != null) {
13669
- writer.writeFloat(
13666
+ writer.writeString(
13670
13667
  4,
13671
13668
  f
13672
13669
  );
13673
13670
  }
13674
- f = /** @type {number} */ (jspb.Message.getField(message, 5));
13671
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
13675
13672
  if (f != null) {
13676
- writer.writeFloat(
13673
+ writer.writeString(
13677
13674
  5,
13678
13675
  f
13679
13676
  );
13680
13677
  }
13681
- f = /** @type {number} */ (jspb.Message.getField(message, 6));
13678
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
13682
13679
  if (f != null) {
13683
- writer.writeFloat(
13680
+ writer.writeString(
13684
13681
  6,
13685
13682
  f
13686
13683
  );
@@ -13692,92 +13689,75 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
13692
13689
  f
13693
13690
  );
13694
13691
  }
13695
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
13692
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
13696
13693
  if (f != null) {
13697
- writer.writeString(
13694
+ writer.writeFloat(
13698
13695
  8,
13699
13696
  f
13700
13697
  );
13701
13698
  }
13702
- f = /** @type {string} */ (jspb.Message.getField(message, 9));
13703
- if (f != null) {
13704
- writer.writeString(
13705
- 9,
13706
- f
13707
- );
13708
- }
13709
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
13710
- if (f != null) {
13711
- writer.writeString(
13712
- 10,
13713
- f
13714
- );
13715
- }
13716
- f = /** @type {string} */ (jspb.Message.getField(message, 11));
13717
- if (f != null) {
13718
- writer.writeString(
13719
- 11,
13720
- f
13721
- );
13722
- }
13723
- f = /** @type {string} */ (jspb.Message.getField(message, 12));
13724
- if (f != null) {
13725
- writer.writeString(
13726
- 12,
13727
- f
13728
- );
13729
- }
13730
- f = /** @type {string} */ (jspb.Message.getField(message, 13));
13731
- if (f != null) {
13732
- writer.writeString(
13733
- 13,
13734
- f
13735
- );
13736
- }
13737
13699
  };
13738
13700
 
13739
13701
 
13740
13702
  /**
13741
- * optional int32 id = 1;
13742
- * @return {number}
13703
+ * optional string address = 1;
13704
+ * @return {string}
13743
13705
  */
13744
- proto.payment.DepositResponse.prototype.getId = function() {
13745
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
13706
+ proto.payment.CryptoDepositInstructions.prototype.getAddress = function() {
13707
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13746
13708
  };
13747
13709
 
13748
13710
 
13749
13711
  /**
13750
- * @param {number} value
13751
- * @return {!proto.payment.DepositResponse} returns this
13712
+ * @param {string} value
13713
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13752
13714
  */
13753
- proto.payment.DepositResponse.prototype.setId = function(value) {
13754
- return jspb.Message.setProto3IntField(this, 1, value);
13715
+ proto.payment.CryptoDepositInstructions.prototype.setAddress = function(value) {
13716
+ return jspb.Message.setField(this, 1, value);
13755
13717
  };
13756
13718
 
13757
13719
 
13758
13720
  /**
13759
- * optional int32 user_id = 2;
13760
- * @return {number}
13721
+ * Clears the field making it undefined.
13722
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13761
13723
  */
13762
- proto.payment.DepositResponse.prototype.getUserId = function() {
13763
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13724
+ proto.payment.CryptoDepositInstructions.prototype.clearAddress = function() {
13725
+ return jspb.Message.setField(this, 1, undefined);
13764
13726
  };
13765
13727
 
13766
13728
 
13767
13729
  /**
13768
- * @param {number} value
13769
- * @return {!proto.payment.DepositResponse} returns this
13730
+ * Returns whether this field is set.
13731
+ * @return {boolean}
13770
13732
  */
13771
- proto.payment.DepositResponse.prototype.setUserId = function(value) {
13733
+ proto.payment.CryptoDepositInstructions.prototype.hasAddress = function() {
13734
+ return jspb.Message.getField(this, 1) != null;
13735
+ };
13736
+
13737
+
13738
+ /**
13739
+ * optional string memo = 2;
13740
+ * @return {string}
13741
+ */
13742
+ proto.payment.CryptoDepositInstructions.prototype.getMemo = function() {
13743
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13744
+ };
13745
+
13746
+
13747
+ /**
13748
+ * @param {string} value
13749
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13750
+ */
13751
+ proto.payment.CryptoDepositInstructions.prototype.setMemo = function(value) {
13772
13752
  return jspb.Message.setField(this, 2, value);
13773
13753
  };
13774
13754
 
13775
13755
 
13776
13756
  /**
13777
13757
  * Clears the field making it undefined.
13778
- * @return {!proto.payment.DepositResponse} returns this
13758
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13779
13759
  */
13780
- proto.payment.DepositResponse.prototype.clearUserId = function() {
13760
+ proto.payment.CryptoDepositInstructions.prototype.clearMemo = function() {
13781
13761
  return jspb.Message.setField(this, 2, undefined);
13782
13762
  };
13783
13763
 
@@ -13786,34 +13766,34 @@ proto.payment.DepositResponse.prototype.clearUserId = function() {
13786
13766
  * Returns whether this field is set.
13787
13767
  * @return {boolean}
13788
13768
  */
13789
- proto.payment.DepositResponse.prototype.hasUserId = function() {
13769
+ proto.payment.CryptoDepositInstructions.prototype.hasMemo = function() {
13790
13770
  return jspb.Message.getField(this, 2) != null;
13791
13771
  };
13792
13772
 
13793
13773
 
13794
13774
  /**
13795
- * optional string status = 3;
13775
+ * optional string memo_type = 3;
13796
13776
  * @return {string}
13797
13777
  */
13798
- proto.payment.DepositResponse.prototype.getStatus = function() {
13778
+ proto.payment.CryptoDepositInstructions.prototype.getMemoType = function() {
13799
13779
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13800
13780
  };
13801
13781
 
13802
13782
 
13803
13783
  /**
13804
13784
  * @param {string} value
13805
- * @return {!proto.payment.DepositResponse} returns this
13785
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13806
13786
  */
13807
- proto.payment.DepositResponse.prototype.setStatus = function(value) {
13787
+ proto.payment.CryptoDepositInstructions.prototype.setMemoType = function(value) {
13808
13788
  return jspb.Message.setField(this, 3, value);
13809
13789
  };
13810
13790
 
13811
13791
 
13812
13792
  /**
13813
13793
  * Clears the field making it undefined.
13814
- * @return {!proto.payment.DepositResponse} returns this
13794
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13815
13795
  */
13816
- proto.payment.DepositResponse.prototype.clearStatus = function() {
13796
+ proto.payment.CryptoDepositInstructions.prototype.clearMemoType = function() {
13817
13797
  return jspb.Message.setField(this, 3, undefined);
13818
13798
  };
13819
13799
 
@@ -13822,34 +13802,34 @@ proto.payment.DepositResponse.prototype.clearStatus = function() {
13822
13802
  * Returns whether this field is set.
13823
13803
  * @return {boolean}
13824
13804
  */
13825
- proto.payment.DepositResponse.prototype.hasStatus = function() {
13805
+ proto.payment.CryptoDepositInstructions.prototype.hasMemoType = function() {
13826
13806
  return jspb.Message.getField(this, 3) != null;
13827
13807
  };
13828
13808
 
13829
13809
 
13830
13810
  /**
13831
- * optional float amount_attempt = 4;
13832
- * @return {number}
13811
+ * optional string asset = 4;
13812
+ * @return {string}
13833
13813
  */
13834
- proto.payment.DepositResponse.prototype.getAmountAttempt = function() {
13835
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
13814
+ proto.payment.CryptoDepositInstructions.prototype.getAsset = function() {
13815
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13836
13816
  };
13837
13817
 
13838
13818
 
13839
13819
  /**
13840
- * @param {number} value
13841
- * @return {!proto.payment.DepositResponse} returns this
13820
+ * @param {string} value
13821
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13842
13822
  */
13843
- proto.payment.DepositResponse.prototype.setAmountAttempt = function(value) {
13823
+ proto.payment.CryptoDepositInstructions.prototype.setAsset = function(value) {
13844
13824
  return jspb.Message.setField(this, 4, value);
13845
13825
  };
13846
13826
 
13847
13827
 
13848
13828
  /**
13849
13829
  * Clears the field making it undefined.
13850
- * @return {!proto.payment.DepositResponse} returns this
13830
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13851
13831
  */
13852
- proto.payment.DepositResponse.prototype.clearAmountAttempt = function() {
13832
+ proto.payment.CryptoDepositInstructions.prototype.clearAsset = function() {
13853
13833
  return jspb.Message.setField(this, 4, undefined);
13854
13834
  };
13855
13835
 
@@ -13858,34 +13838,34 @@ proto.payment.DepositResponse.prototype.clearAmountAttempt = function() {
13858
13838
  * Returns whether this field is set.
13859
13839
  * @return {boolean}
13860
13840
  */
13861
- proto.payment.DepositResponse.prototype.hasAmountAttempt = function() {
13841
+ proto.payment.CryptoDepositInstructions.prototype.hasAsset = function() {
13862
13842
  return jspb.Message.getField(this, 4) != null;
13863
13843
  };
13864
13844
 
13865
13845
 
13866
13846
  /**
13867
- * optional float amount_paid = 5;
13868
- * @return {number}
13847
+ * optional string network = 5;
13848
+ * @return {string}
13869
13849
  */
13870
- proto.payment.DepositResponse.prototype.getAmountPaid = function() {
13871
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
13850
+ proto.payment.CryptoDepositInstructions.prototype.getNetwork = function() {
13851
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
13872
13852
  };
13873
13853
 
13874
13854
 
13875
13855
  /**
13876
- * @param {number} value
13877
- * @return {!proto.payment.DepositResponse} returns this
13856
+ * @param {string} value
13857
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13878
13858
  */
13879
- proto.payment.DepositResponse.prototype.setAmountPaid = function(value) {
13859
+ proto.payment.CryptoDepositInstructions.prototype.setNetwork = function(value) {
13880
13860
  return jspb.Message.setField(this, 5, value);
13881
13861
  };
13882
13862
 
13883
13863
 
13884
13864
  /**
13885
13865
  * Clears the field making it undefined.
13886
- * @return {!proto.payment.DepositResponse} returns this
13866
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13887
13867
  */
13888
- proto.payment.DepositResponse.prototype.clearAmountPaid = function() {
13868
+ proto.payment.CryptoDepositInstructions.prototype.clearNetwork = function() {
13889
13869
  return jspb.Message.setField(this, 5, undefined);
13890
13870
  };
13891
13871
 
@@ -13894,34 +13874,34 @@ proto.payment.DepositResponse.prototype.clearAmountPaid = function() {
13894
13874
  * Returns whether this field is set.
13895
13875
  * @return {boolean}
13896
13876
  */
13897
- proto.payment.DepositResponse.prototype.hasAmountPaid = function() {
13877
+ proto.payment.CryptoDepositInstructions.prototype.hasNetwork = function() {
13898
13878
  return jspb.Message.getField(this, 5) != null;
13899
13879
  };
13900
13880
 
13901
13881
 
13902
13882
  /**
13903
- * optional float fee = 6;
13904
- * @return {number}
13883
+ * optional string qr_payload = 6;
13884
+ * @return {string}
13905
13885
  */
13906
- proto.payment.DepositResponse.prototype.getFee = function() {
13907
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
13886
+ proto.payment.CryptoDepositInstructions.prototype.getQrPayload = function() {
13887
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
13908
13888
  };
13909
13889
 
13910
13890
 
13911
13891
  /**
13912
- * @param {number} value
13913
- * @return {!proto.payment.DepositResponse} returns this
13892
+ * @param {string} value
13893
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13914
13894
  */
13915
- proto.payment.DepositResponse.prototype.setFee = function(value) {
13895
+ proto.payment.CryptoDepositInstructions.prototype.setQrPayload = function(value) {
13916
13896
  return jspb.Message.setField(this, 6, value);
13917
13897
  };
13918
13898
 
13919
13899
 
13920
13900
  /**
13921
13901
  * Clears the field making it undefined.
13922
- * @return {!proto.payment.DepositResponse} returns this
13902
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13923
13903
  */
13924
- proto.payment.DepositResponse.prototype.clearFee = function() {
13904
+ proto.payment.CryptoDepositInstructions.prototype.clearQrPayload = function() {
13925
13905
  return jspb.Message.setField(this, 6, undefined);
13926
13906
  };
13927
13907
 
@@ -13930,34 +13910,34 @@ proto.payment.DepositResponse.prototype.clearFee = function() {
13930
13910
  * Returns whether this field is set.
13931
13911
  * @return {boolean}
13932
13912
  */
13933
- proto.payment.DepositResponse.prototype.hasFee = function() {
13913
+ proto.payment.CryptoDepositInstructions.prototype.hasQrPayload = function() {
13934
13914
  return jspb.Message.getField(this, 6) != null;
13935
13915
  };
13936
13916
 
13937
13917
 
13938
13918
  /**
13939
- * optional string currency = 7;
13919
+ * optional string provider_payment_id = 7;
13940
13920
  * @return {string}
13941
13921
  */
13942
- proto.payment.DepositResponse.prototype.getCurrency = function() {
13922
+ proto.payment.CryptoDepositInstructions.prototype.getProviderPaymentId = function() {
13943
13923
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
13944
13924
  };
13945
13925
 
13946
13926
 
13947
13927
  /**
13948
13928
  * @param {string} value
13949
- * @return {!proto.payment.DepositResponse} returns this
13929
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13950
13930
  */
13951
- proto.payment.DepositResponse.prototype.setCurrency = function(value) {
13931
+ proto.payment.CryptoDepositInstructions.prototype.setProviderPaymentId = function(value) {
13952
13932
  return jspb.Message.setField(this, 7, value);
13953
13933
  };
13954
13934
 
13955
13935
 
13956
13936
  /**
13957
13937
  * Clears the field making it undefined.
13958
- * @return {!proto.payment.DepositResponse} returns this
13938
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13959
13939
  */
13960
- proto.payment.DepositResponse.prototype.clearCurrency = function() {
13940
+ proto.payment.CryptoDepositInstructions.prototype.clearProviderPaymentId = function() {
13961
13941
  return jspb.Message.setField(this, 7, undefined);
13962
13942
  };
13963
13943
 
@@ -13966,34 +13946,34 @@ proto.payment.DepositResponse.prototype.clearCurrency = function() {
13966
13946
  * Returns whether this field is set.
13967
13947
  * @return {boolean}
13968
13948
  */
13969
- proto.payment.DepositResponse.prototype.hasCurrency = function() {
13949
+ proto.payment.CryptoDepositInstructions.prototype.hasProviderPaymentId = function() {
13970
13950
  return jspb.Message.getField(this, 7) != null;
13971
13951
  };
13972
13952
 
13973
13953
 
13974
13954
  /**
13975
- * optional string payment_method_title = 8;
13976
- * @return {string}
13955
+ * optional float min_deposit = 8;
13956
+ * @return {number}
13977
13957
  */
13978
- proto.payment.DepositResponse.prototype.getPaymentMethodTitle = function() {
13979
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
13958
+ proto.payment.CryptoDepositInstructions.prototype.getMinDeposit = function() {
13959
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
13980
13960
  };
13981
13961
 
13982
13962
 
13983
13963
  /**
13984
- * @param {string} value
13985
- * @return {!proto.payment.DepositResponse} returns this
13964
+ * @param {number} value
13965
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13986
13966
  */
13987
- proto.payment.DepositResponse.prototype.setPaymentMethodTitle = function(value) {
13967
+ proto.payment.CryptoDepositInstructions.prototype.setMinDeposit = function(value) {
13988
13968
  return jspb.Message.setField(this, 8, value);
13989
13969
  };
13990
13970
 
13991
13971
 
13992
13972
  /**
13993
13973
  * Clears the field making it undefined.
13994
- * @return {!proto.payment.DepositResponse} returns this
13974
+ * @return {!proto.payment.CryptoDepositInstructions} returns this
13995
13975
  */
13996
- proto.payment.DepositResponse.prototype.clearPaymentMethodTitle = function() {
13976
+ proto.payment.CryptoDepositInstructions.prototype.clearMinDeposit = function() {
13997
13977
  return jspb.Message.setField(this, 8, undefined);
13998
13978
  };
13999
13979
 
@@ -14002,14 +13982,554 @@ proto.payment.DepositResponse.prototype.clearPaymentMethodTitle = function() {
14002
13982
  * Returns whether this field is set.
14003
13983
  * @return {boolean}
14004
13984
  */
14005
- proto.payment.DepositResponse.prototype.hasPaymentMethodTitle = function() {
13985
+ proto.payment.CryptoDepositInstructions.prototype.hasMinDeposit = function() {
14006
13986
  return jspb.Message.getField(this, 8) != null;
14007
13987
  };
14008
13988
 
14009
13989
 
14010
- /**
14011
- * optional string payment_provider_image = 9;
14012
- * @return {string}
13990
+
13991
+
13992
+
13993
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13994
+ /**
13995
+ * Creates an object representation of this proto.
13996
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13997
+ * Optional fields that are not set will be set to undefined.
13998
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13999
+ * For the list of reserved names please see:
14000
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14001
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14002
+ * JSPB instance for transitional soy proto support:
14003
+ * http://goto/soy-param-migration
14004
+ * @return {!Object}
14005
+ */
14006
+ proto.payment.DepositResponse.prototype.toObject = function(opt_includeInstance) {
14007
+ return proto.payment.DepositResponse.toObject(opt_includeInstance, this);
14008
+ };
14009
+
14010
+
14011
+ /**
14012
+ * Static version of the {@see toObject} method.
14013
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14014
+ * the JSPB instance for transitional soy proto support:
14015
+ * http://goto/soy-param-migration
14016
+ * @param {!proto.payment.DepositResponse} msg The msg instance to transform.
14017
+ * @return {!Object}
14018
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14019
+ */
14020
+ proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
14021
+ var f, obj = {
14022
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
14023
+ userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
14024
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
14025
+ amountAttempt: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
14026
+ amountPaid: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
14027
+ fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
14028
+ currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
14029
+ paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
14030
+ paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 9, ""),
14031
+ created: jspb.Message.getFieldWithDefault(msg, 10, ""),
14032
+ paymentRedirectUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
14033
+ country: jspb.Message.getFieldWithDefault(msg, 12, ""),
14034
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
14035
+ cryptoInstructions: (f = msg.getCryptoInstructions()) && proto.payment.CryptoDepositInstructions.toObject(includeInstance, f)
14036
+ };
14037
+
14038
+ if (includeInstance) {
14039
+ obj.$jspbMessageInstance = msg;
14040
+ }
14041
+ return obj;
14042
+ };
14043
+ }
14044
+
14045
+
14046
+ /**
14047
+ * Deserializes binary data (in protobuf wire format).
14048
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14049
+ * @return {!proto.payment.DepositResponse}
14050
+ */
14051
+ proto.payment.DepositResponse.deserializeBinary = function(bytes) {
14052
+ var reader = new jspb.BinaryReader(bytes);
14053
+ var msg = new proto.payment.DepositResponse;
14054
+ return proto.payment.DepositResponse.deserializeBinaryFromReader(msg, reader);
14055
+ };
14056
+
14057
+
14058
+ /**
14059
+ * Deserializes binary data (in protobuf wire format) from the
14060
+ * given reader into the given message object.
14061
+ * @param {!proto.payment.DepositResponse} msg The message object to deserialize into.
14062
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14063
+ * @return {!proto.payment.DepositResponse}
14064
+ */
14065
+ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader) {
14066
+ while (reader.nextField()) {
14067
+ if (reader.isEndGroup()) {
14068
+ break;
14069
+ }
14070
+ var field = reader.getFieldNumber();
14071
+ switch (field) {
14072
+ case 1:
14073
+ var value = /** @type {number} */ (reader.readInt32());
14074
+ msg.setId(value);
14075
+ break;
14076
+ case 2:
14077
+ var value = /** @type {number} */ (reader.readInt32());
14078
+ msg.setUserId(value);
14079
+ break;
14080
+ case 3:
14081
+ var value = /** @type {string} */ (reader.readString());
14082
+ msg.setStatus(value);
14083
+ break;
14084
+ case 4:
14085
+ var value = /** @type {number} */ (reader.readFloat());
14086
+ msg.setAmountAttempt(value);
14087
+ break;
14088
+ case 5:
14089
+ var value = /** @type {number} */ (reader.readFloat());
14090
+ msg.setAmountPaid(value);
14091
+ break;
14092
+ case 6:
14093
+ var value = /** @type {number} */ (reader.readFloat());
14094
+ msg.setFee(value);
14095
+ break;
14096
+ case 7:
14097
+ var value = /** @type {string} */ (reader.readString());
14098
+ msg.setCurrency(value);
14099
+ break;
14100
+ case 8:
14101
+ var value = /** @type {string} */ (reader.readString());
14102
+ msg.setPaymentMethodTitle(value);
14103
+ break;
14104
+ case 9:
14105
+ var value = /** @type {string} */ (reader.readString());
14106
+ msg.setPaymentProviderImage(value);
14107
+ break;
14108
+ case 10:
14109
+ var value = /** @type {string} */ (reader.readString());
14110
+ msg.setCreated(value);
14111
+ break;
14112
+ case 11:
14113
+ var value = /** @type {string} */ (reader.readString());
14114
+ msg.setPaymentRedirectUrl(value);
14115
+ break;
14116
+ case 12:
14117
+ var value = /** @type {string} */ (reader.readString());
14118
+ msg.setCountry(value);
14119
+ break;
14120
+ case 13:
14121
+ var value = /** @type {string} */ (reader.readString());
14122
+ msg.setProcessingType(value);
14123
+ break;
14124
+ case 14:
14125
+ var value = new proto.payment.CryptoDepositInstructions;
14126
+ reader.readMessage(value,proto.payment.CryptoDepositInstructions.deserializeBinaryFromReader);
14127
+ msg.setCryptoInstructions(value);
14128
+ break;
14129
+ default:
14130
+ reader.skipField();
14131
+ break;
14132
+ }
14133
+ }
14134
+ return msg;
14135
+ };
14136
+
14137
+
14138
+ /**
14139
+ * Serializes the message to binary data (in protobuf wire format).
14140
+ * @return {!Uint8Array}
14141
+ */
14142
+ proto.payment.DepositResponse.prototype.serializeBinary = function() {
14143
+ var writer = new jspb.BinaryWriter();
14144
+ proto.payment.DepositResponse.serializeBinaryToWriter(this, writer);
14145
+ return writer.getResultBuffer();
14146
+ };
14147
+
14148
+
14149
+ /**
14150
+ * Serializes the given message to binary data (in protobuf wire
14151
+ * format), writing to the given BinaryWriter.
14152
+ * @param {!proto.payment.DepositResponse} message
14153
+ * @param {!jspb.BinaryWriter} writer
14154
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14155
+ */
14156
+ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer) {
14157
+ var f = undefined;
14158
+ f = message.getId();
14159
+ if (f !== 0) {
14160
+ writer.writeInt32(
14161
+ 1,
14162
+ f
14163
+ );
14164
+ }
14165
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
14166
+ if (f != null) {
14167
+ writer.writeInt32(
14168
+ 2,
14169
+ f
14170
+ );
14171
+ }
14172
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
14173
+ if (f != null) {
14174
+ writer.writeString(
14175
+ 3,
14176
+ f
14177
+ );
14178
+ }
14179
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
14180
+ if (f != null) {
14181
+ writer.writeFloat(
14182
+ 4,
14183
+ f
14184
+ );
14185
+ }
14186
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
14187
+ if (f != null) {
14188
+ writer.writeFloat(
14189
+ 5,
14190
+ f
14191
+ );
14192
+ }
14193
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
14194
+ if (f != null) {
14195
+ writer.writeFloat(
14196
+ 6,
14197
+ f
14198
+ );
14199
+ }
14200
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
14201
+ if (f != null) {
14202
+ writer.writeString(
14203
+ 7,
14204
+ f
14205
+ );
14206
+ }
14207
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
14208
+ if (f != null) {
14209
+ writer.writeString(
14210
+ 8,
14211
+ f
14212
+ );
14213
+ }
14214
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
14215
+ if (f != null) {
14216
+ writer.writeString(
14217
+ 9,
14218
+ f
14219
+ );
14220
+ }
14221
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
14222
+ if (f != null) {
14223
+ writer.writeString(
14224
+ 10,
14225
+ f
14226
+ );
14227
+ }
14228
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
14229
+ if (f != null) {
14230
+ writer.writeString(
14231
+ 11,
14232
+ f
14233
+ );
14234
+ }
14235
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
14236
+ if (f != null) {
14237
+ writer.writeString(
14238
+ 12,
14239
+ f
14240
+ );
14241
+ }
14242
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
14243
+ if (f != null) {
14244
+ writer.writeString(
14245
+ 13,
14246
+ f
14247
+ );
14248
+ }
14249
+ f = message.getCryptoInstructions();
14250
+ if (f != null) {
14251
+ writer.writeMessage(
14252
+ 14,
14253
+ f,
14254
+ proto.payment.CryptoDepositInstructions.serializeBinaryToWriter
14255
+ );
14256
+ }
14257
+ };
14258
+
14259
+
14260
+ /**
14261
+ * optional int32 id = 1;
14262
+ * @return {number}
14263
+ */
14264
+ proto.payment.DepositResponse.prototype.getId = function() {
14265
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14266
+ };
14267
+
14268
+
14269
+ /**
14270
+ * @param {number} value
14271
+ * @return {!proto.payment.DepositResponse} returns this
14272
+ */
14273
+ proto.payment.DepositResponse.prototype.setId = function(value) {
14274
+ return jspb.Message.setProto3IntField(this, 1, value);
14275
+ };
14276
+
14277
+
14278
+ /**
14279
+ * optional int32 user_id = 2;
14280
+ * @return {number}
14281
+ */
14282
+ proto.payment.DepositResponse.prototype.getUserId = function() {
14283
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
14284
+ };
14285
+
14286
+
14287
+ /**
14288
+ * @param {number} value
14289
+ * @return {!proto.payment.DepositResponse} returns this
14290
+ */
14291
+ proto.payment.DepositResponse.prototype.setUserId = function(value) {
14292
+ return jspb.Message.setField(this, 2, value);
14293
+ };
14294
+
14295
+
14296
+ /**
14297
+ * Clears the field making it undefined.
14298
+ * @return {!proto.payment.DepositResponse} returns this
14299
+ */
14300
+ proto.payment.DepositResponse.prototype.clearUserId = function() {
14301
+ return jspb.Message.setField(this, 2, undefined);
14302
+ };
14303
+
14304
+
14305
+ /**
14306
+ * Returns whether this field is set.
14307
+ * @return {boolean}
14308
+ */
14309
+ proto.payment.DepositResponse.prototype.hasUserId = function() {
14310
+ return jspb.Message.getField(this, 2) != null;
14311
+ };
14312
+
14313
+
14314
+ /**
14315
+ * optional string status = 3;
14316
+ * @return {string}
14317
+ */
14318
+ proto.payment.DepositResponse.prototype.getStatus = function() {
14319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
14320
+ };
14321
+
14322
+
14323
+ /**
14324
+ * @param {string} value
14325
+ * @return {!proto.payment.DepositResponse} returns this
14326
+ */
14327
+ proto.payment.DepositResponse.prototype.setStatus = function(value) {
14328
+ return jspb.Message.setField(this, 3, value);
14329
+ };
14330
+
14331
+
14332
+ /**
14333
+ * Clears the field making it undefined.
14334
+ * @return {!proto.payment.DepositResponse} returns this
14335
+ */
14336
+ proto.payment.DepositResponse.prototype.clearStatus = function() {
14337
+ return jspb.Message.setField(this, 3, undefined);
14338
+ };
14339
+
14340
+
14341
+ /**
14342
+ * Returns whether this field is set.
14343
+ * @return {boolean}
14344
+ */
14345
+ proto.payment.DepositResponse.prototype.hasStatus = function() {
14346
+ return jspb.Message.getField(this, 3) != null;
14347
+ };
14348
+
14349
+
14350
+ /**
14351
+ * optional float amount_attempt = 4;
14352
+ * @return {number}
14353
+ */
14354
+ proto.payment.DepositResponse.prototype.getAmountAttempt = function() {
14355
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
14356
+ };
14357
+
14358
+
14359
+ /**
14360
+ * @param {number} value
14361
+ * @return {!proto.payment.DepositResponse} returns this
14362
+ */
14363
+ proto.payment.DepositResponse.prototype.setAmountAttempt = function(value) {
14364
+ return jspb.Message.setField(this, 4, value);
14365
+ };
14366
+
14367
+
14368
+ /**
14369
+ * Clears the field making it undefined.
14370
+ * @return {!proto.payment.DepositResponse} returns this
14371
+ */
14372
+ proto.payment.DepositResponse.prototype.clearAmountAttempt = function() {
14373
+ return jspb.Message.setField(this, 4, undefined);
14374
+ };
14375
+
14376
+
14377
+ /**
14378
+ * Returns whether this field is set.
14379
+ * @return {boolean}
14380
+ */
14381
+ proto.payment.DepositResponse.prototype.hasAmountAttempt = function() {
14382
+ return jspb.Message.getField(this, 4) != null;
14383
+ };
14384
+
14385
+
14386
+ /**
14387
+ * optional float amount_paid = 5;
14388
+ * @return {number}
14389
+ */
14390
+ proto.payment.DepositResponse.prototype.getAmountPaid = function() {
14391
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
14392
+ };
14393
+
14394
+
14395
+ /**
14396
+ * @param {number} value
14397
+ * @return {!proto.payment.DepositResponse} returns this
14398
+ */
14399
+ proto.payment.DepositResponse.prototype.setAmountPaid = function(value) {
14400
+ return jspb.Message.setField(this, 5, value);
14401
+ };
14402
+
14403
+
14404
+ /**
14405
+ * Clears the field making it undefined.
14406
+ * @return {!proto.payment.DepositResponse} returns this
14407
+ */
14408
+ proto.payment.DepositResponse.prototype.clearAmountPaid = function() {
14409
+ return jspb.Message.setField(this, 5, undefined);
14410
+ };
14411
+
14412
+
14413
+ /**
14414
+ * Returns whether this field is set.
14415
+ * @return {boolean}
14416
+ */
14417
+ proto.payment.DepositResponse.prototype.hasAmountPaid = function() {
14418
+ return jspb.Message.getField(this, 5) != null;
14419
+ };
14420
+
14421
+
14422
+ /**
14423
+ * optional float fee = 6;
14424
+ * @return {number}
14425
+ */
14426
+ proto.payment.DepositResponse.prototype.getFee = function() {
14427
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
14428
+ };
14429
+
14430
+
14431
+ /**
14432
+ * @param {number} value
14433
+ * @return {!proto.payment.DepositResponse} returns this
14434
+ */
14435
+ proto.payment.DepositResponse.prototype.setFee = function(value) {
14436
+ return jspb.Message.setField(this, 6, value);
14437
+ };
14438
+
14439
+
14440
+ /**
14441
+ * Clears the field making it undefined.
14442
+ * @return {!proto.payment.DepositResponse} returns this
14443
+ */
14444
+ proto.payment.DepositResponse.prototype.clearFee = function() {
14445
+ return jspb.Message.setField(this, 6, undefined);
14446
+ };
14447
+
14448
+
14449
+ /**
14450
+ * Returns whether this field is set.
14451
+ * @return {boolean}
14452
+ */
14453
+ proto.payment.DepositResponse.prototype.hasFee = function() {
14454
+ return jspb.Message.getField(this, 6) != null;
14455
+ };
14456
+
14457
+
14458
+ /**
14459
+ * optional string currency = 7;
14460
+ * @return {string}
14461
+ */
14462
+ proto.payment.DepositResponse.prototype.getCurrency = function() {
14463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
14464
+ };
14465
+
14466
+
14467
+ /**
14468
+ * @param {string} value
14469
+ * @return {!proto.payment.DepositResponse} returns this
14470
+ */
14471
+ proto.payment.DepositResponse.prototype.setCurrency = function(value) {
14472
+ return jspb.Message.setField(this, 7, value);
14473
+ };
14474
+
14475
+
14476
+ /**
14477
+ * Clears the field making it undefined.
14478
+ * @return {!proto.payment.DepositResponse} returns this
14479
+ */
14480
+ proto.payment.DepositResponse.prototype.clearCurrency = function() {
14481
+ return jspb.Message.setField(this, 7, undefined);
14482
+ };
14483
+
14484
+
14485
+ /**
14486
+ * Returns whether this field is set.
14487
+ * @return {boolean}
14488
+ */
14489
+ proto.payment.DepositResponse.prototype.hasCurrency = function() {
14490
+ return jspb.Message.getField(this, 7) != null;
14491
+ };
14492
+
14493
+
14494
+ /**
14495
+ * optional string payment_method_title = 8;
14496
+ * @return {string}
14497
+ */
14498
+ proto.payment.DepositResponse.prototype.getPaymentMethodTitle = function() {
14499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
14500
+ };
14501
+
14502
+
14503
+ /**
14504
+ * @param {string} value
14505
+ * @return {!proto.payment.DepositResponse} returns this
14506
+ */
14507
+ proto.payment.DepositResponse.prototype.setPaymentMethodTitle = function(value) {
14508
+ return jspb.Message.setField(this, 8, value);
14509
+ };
14510
+
14511
+
14512
+ /**
14513
+ * Clears the field making it undefined.
14514
+ * @return {!proto.payment.DepositResponse} returns this
14515
+ */
14516
+ proto.payment.DepositResponse.prototype.clearPaymentMethodTitle = function() {
14517
+ return jspb.Message.setField(this, 8, undefined);
14518
+ };
14519
+
14520
+
14521
+ /**
14522
+ * Returns whether this field is set.
14523
+ * @return {boolean}
14524
+ */
14525
+ proto.payment.DepositResponse.prototype.hasPaymentMethodTitle = function() {
14526
+ return jspb.Message.getField(this, 8) != null;
14527
+ };
14528
+
14529
+
14530
+ /**
14531
+ * optional string payment_provider_image = 9;
14532
+ * @return {string}
14013
14533
  */
14014
14534
  proto.payment.DepositResponse.prototype.getPaymentProviderImage = function() {
14015
14535
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
@@ -14187,6 +14707,43 @@ proto.payment.DepositResponse.prototype.hasProcessingType = function() {
14187
14707
  };
14188
14708
 
14189
14709
 
14710
+ /**
14711
+ * optional CryptoDepositInstructions crypto_instructions = 14;
14712
+ * @return {?proto.payment.CryptoDepositInstructions}
14713
+ */
14714
+ proto.payment.DepositResponse.prototype.getCryptoInstructions = function() {
14715
+ return /** @type{?proto.payment.CryptoDepositInstructions} */ (
14716
+ jspb.Message.getWrapperField(this, proto.payment.CryptoDepositInstructions, 14));
14717
+ };
14718
+
14719
+
14720
+ /**
14721
+ * @param {?proto.payment.CryptoDepositInstructions|undefined} value
14722
+ * @return {!proto.payment.DepositResponse} returns this
14723
+ */
14724
+ proto.payment.DepositResponse.prototype.setCryptoInstructions = function(value) {
14725
+ return jspb.Message.setWrapperField(this, 14, value);
14726
+ };
14727
+
14728
+
14729
+ /**
14730
+ * Clears the message field making it undefined.
14731
+ * @return {!proto.payment.DepositResponse} returns this
14732
+ */
14733
+ proto.payment.DepositResponse.prototype.clearCryptoInstructions = function() {
14734
+ return this.setCryptoInstructions(undefined);
14735
+ };
14736
+
14737
+
14738
+ /**
14739
+ * Returns whether this field is set.
14740
+ * @return {boolean}
14741
+ */
14742
+ proto.payment.DepositResponse.prototype.hasCryptoInstructions = function() {
14743
+ return jspb.Message.getField(this, 14) != null;
14744
+ };
14745
+
14746
+
14190
14747
 
14191
14748
 
14192
14749
 
@@ -23458,7 +24015,11 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
23458
24015
  sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
23459
24016
  sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
23460
24017
  processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
23461
- currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
24018
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, ""),
24019
+ cryptoAsset: jspb.Message.getFieldWithDefault(msg, 15, ""),
24020
+ cryptoNetwork: jspb.Message.getFieldWithDefault(msg, 16, ""),
24021
+ providerPaymentId: jspb.Message.getFieldWithDefault(msg, 17, ""),
24022
+ flowType: jspb.Message.getFieldWithDefault(msg, 18, "")
23462
24023
  };
23463
24024
 
23464
24025
  if (includeInstance) {
@@ -23551,6 +24112,22 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
23551
24112
  var value = /** @type {string} */ (reader.readString());
23552
24113
  msg.setCurrencyType(value);
23553
24114
  break;
24115
+ case 15:
24116
+ var value = /** @type {string} */ (reader.readString());
24117
+ msg.setCryptoAsset(value);
24118
+ break;
24119
+ case 16:
24120
+ var value = /** @type {string} */ (reader.readString());
24121
+ msg.setCryptoNetwork(value);
24122
+ break;
24123
+ case 17:
24124
+ var value = /** @type {string} */ (reader.readString());
24125
+ msg.setProviderPaymentId(value);
24126
+ break;
24127
+ case 18:
24128
+ var value = /** @type {string} */ (reader.readString());
24129
+ msg.setFlowType(value);
24130
+ break;
23554
24131
  default:
23555
24132
  reader.skipField();
23556
24133
  break;
@@ -23678,6 +24255,34 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
23678
24255
  f
23679
24256
  );
23680
24257
  }
24258
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
24259
+ if (f != null) {
24260
+ writer.writeString(
24261
+ 15,
24262
+ f
24263
+ );
24264
+ }
24265
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
24266
+ if (f != null) {
24267
+ writer.writeString(
24268
+ 16,
24269
+ f
24270
+ );
24271
+ }
24272
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
24273
+ if (f != null) {
24274
+ writer.writeString(
24275
+ 17,
24276
+ f
24277
+ );
24278
+ }
24279
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
24280
+ if (f != null) {
24281
+ writer.writeString(
24282
+ 18,
24283
+ f
24284
+ );
24285
+ }
23681
24286
  };
23682
24287
 
23683
24288
 
@@ -24059,6 +24664,150 @@ proto.payment.UserPaymentMethodItem.prototype.hasCurrencyType = function() {
24059
24664
  };
24060
24665
 
24061
24666
 
24667
+ /**
24668
+ * optional string crypto_asset = 15;
24669
+ * @return {string}
24670
+ */
24671
+ proto.payment.UserPaymentMethodItem.prototype.getCryptoAsset = function() {
24672
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
24673
+ };
24674
+
24675
+
24676
+ /**
24677
+ * @param {string} value
24678
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24679
+ */
24680
+ proto.payment.UserPaymentMethodItem.prototype.setCryptoAsset = function(value) {
24681
+ return jspb.Message.setField(this, 15, value);
24682
+ };
24683
+
24684
+
24685
+ /**
24686
+ * Clears the field making it undefined.
24687
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24688
+ */
24689
+ proto.payment.UserPaymentMethodItem.prototype.clearCryptoAsset = function() {
24690
+ return jspb.Message.setField(this, 15, undefined);
24691
+ };
24692
+
24693
+
24694
+ /**
24695
+ * Returns whether this field is set.
24696
+ * @return {boolean}
24697
+ */
24698
+ proto.payment.UserPaymentMethodItem.prototype.hasCryptoAsset = function() {
24699
+ return jspb.Message.getField(this, 15) != null;
24700
+ };
24701
+
24702
+
24703
+ /**
24704
+ * optional string crypto_network = 16;
24705
+ * @return {string}
24706
+ */
24707
+ proto.payment.UserPaymentMethodItem.prototype.getCryptoNetwork = function() {
24708
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
24709
+ };
24710
+
24711
+
24712
+ /**
24713
+ * @param {string} value
24714
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24715
+ */
24716
+ proto.payment.UserPaymentMethodItem.prototype.setCryptoNetwork = function(value) {
24717
+ return jspb.Message.setField(this, 16, value);
24718
+ };
24719
+
24720
+
24721
+ /**
24722
+ * Clears the field making it undefined.
24723
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24724
+ */
24725
+ proto.payment.UserPaymentMethodItem.prototype.clearCryptoNetwork = function() {
24726
+ return jspb.Message.setField(this, 16, undefined);
24727
+ };
24728
+
24729
+
24730
+ /**
24731
+ * Returns whether this field is set.
24732
+ * @return {boolean}
24733
+ */
24734
+ proto.payment.UserPaymentMethodItem.prototype.hasCryptoNetwork = function() {
24735
+ return jspb.Message.getField(this, 16) != null;
24736
+ };
24737
+
24738
+
24739
+ /**
24740
+ * optional string provider_payment_id = 17;
24741
+ * @return {string}
24742
+ */
24743
+ proto.payment.UserPaymentMethodItem.prototype.getProviderPaymentId = function() {
24744
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
24745
+ };
24746
+
24747
+
24748
+ /**
24749
+ * @param {string} value
24750
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24751
+ */
24752
+ proto.payment.UserPaymentMethodItem.prototype.setProviderPaymentId = function(value) {
24753
+ return jspb.Message.setField(this, 17, value);
24754
+ };
24755
+
24756
+
24757
+ /**
24758
+ * Clears the field making it undefined.
24759
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24760
+ */
24761
+ proto.payment.UserPaymentMethodItem.prototype.clearProviderPaymentId = function() {
24762
+ return jspb.Message.setField(this, 17, undefined);
24763
+ };
24764
+
24765
+
24766
+ /**
24767
+ * Returns whether this field is set.
24768
+ * @return {boolean}
24769
+ */
24770
+ proto.payment.UserPaymentMethodItem.prototype.hasProviderPaymentId = function() {
24771
+ return jspb.Message.getField(this, 17) != null;
24772
+ };
24773
+
24774
+
24775
+ /**
24776
+ * optional string flow_type = 18;
24777
+ * @return {string}
24778
+ */
24779
+ proto.payment.UserPaymentMethodItem.prototype.getFlowType = function() {
24780
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
24781
+ };
24782
+
24783
+
24784
+ /**
24785
+ * @param {string} value
24786
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24787
+ */
24788
+ proto.payment.UserPaymentMethodItem.prototype.setFlowType = function(value) {
24789
+ return jspb.Message.setField(this, 18, value);
24790
+ };
24791
+
24792
+
24793
+ /**
24794
+ * Clears the field making it undefined.
24795
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24796
+ */
24797
+ proto.payment.UserPaymentMethodItem.prototype.clearFlowType = function() {
24798
+ return jspb.Message.setField(this, 18, undefined);
24799
+ };
24800
+
24801
+
24802
+ /**
24803
+ * Returns whether this field is set.
24804
+ * @return {boolean}
24805
+ */
24806
+ proto.payment.UserPaymentMethodItem.prototype.hasFlowType = function() {
24807
+ return jspb.Message.getField(this, 18) != null;
24808
+ };
24809
+
24810
+
24062
24811
 
24063
24812
  /**
24064
24813
  * List of repeated fields within this message type.