protobuf-platform 1.2.385 → 1.2.386
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 +1 -1
- package/payment/payment.proto +11 -0
- package/payment/payment_pb.js +558 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -321,6 +321,16 @@ message GetDepositRequest {
|
|
|
321
321
|
optional int32 maker_id = 3;
|
|
322
322
|
optional string reason = 4;
|
|
323
323
|
}
|
|
324
|
+
message CryptoDepositInstructions {
|
|
325
|
+
optional string address = 1;
|
|
326
|
+
optional string memo = 2;
|
|
327
|
+
optional string memo_type = 3;
|
|
328
|
+
optional string asset = 4;
|
|
329
|
+
optional string network = 5;
|
|
330
|
+
optional string qr_payload = 6;
|
|
331
|
+
optional string provider_payment_id = 7;
|
|
332
|
+
optional float min_deposit = 8;
|
|
333
|
+
}
|
|
324
334
|
message DepositResponse {
|
|
325
335
|
int32 id = 1;
|
|
326
336
|
optional int32 user_id = 2;
|
|
@@ -335,6 +345,7 @@ message DepositResponse {
|
|
|
335
345
|
optional string payment_redirect_url = 11;
|
|
336
346
|
optional string country = 12;
|
|
337
347
|
optional string processing_type = 13;
|
|
348
|
+
optional CryptoDepositInstructions crypto_instructions = 14;
|
|
338
349
|
}
|
|
339
350
|
message DepositItem {
|
|
340
351
|
int32 id = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -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
|
|
@@ -13484,6 +13506,490 @@ proto.payment.GetDepositRequest.prototype.hasReason = function() {
|
|
|
13484
13506
|
|
|
13485
13507
|
|
|
13486
13508
|
|
|
13509
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13510
|
+
/**
|
|
13511
|
+
* Creates an object representation of this proto.
|
|
13512
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13513
|
+
* Optional fields that are not set will be set to undefined.
|
|
13514
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13515
|
+
* For the list of reserved names please see:
|
|
13516
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13517
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13518
|
+
* JSPB instance for transitional soy proto support:
|
|
13519
|
+
* http://goto/soy-param-migration
|
|
13520
|
+
* @return {!Object}
|
|
13521
|
+
*/
|
|
13522
|
+
proto.payment.CryptoDepositInstructions.prototype.toObject = function(opt_includeInstance) {
|
|
13523
|
+
return proto.payment.CryptoDepositInstructions.toObject(opt_includeInstance, this);
|
|
13524
|
+
};
|
|
13525
|
+
|
|
13526
|
+
|
|
13527
|
+
/**
|
|
13528
|
+
* Static version of the {@see toObject} method.
|
|
13529
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13530
|
+
* the JSPB instance for transitional soy proto support:
|
|
13531
|
+
* http://goto/soy-param-migration
|
|
13532
|
+
* @param {!proto.payment.CryptoDepositInstructions} msg The msg instance to transform.
|
|
13533
|
+
* @return {!Object}
|
|
13534
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13535
|
+
*/
|
|
13536
|
+
proto.payment.CryptoDepositInstructions.toObject = function(includeInstance, msg) {
|
|
13537
|
+
var f, obj = {
|
|
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)
|
|
13546
|
+
};
|
|
13547
|
+
|
|
13548
|
+
if (includeInstance) {
|
|
13549
|
+
obj.$jspbMessageInstance = msg;
|
|
13550
|
+
}
|
|
13551
|
+
return obj;
|
|
13552
|
+
};
|
|
13553
|
+
}
|
|
13554
|
+
|
|
13555
|
+
|
|
13556
|
+
/**
|
|
13557
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13558
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13559
|
+
* @return {!proto.payment.CryptoDepositInstructions}
|
|
13560
|
+
*/
|
|
13561
|
+
proto.payment.CryptoDepositInstructions.deserializeBinary = function(bytes) {
|
|
13562
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13563
|
+
var msg = new proto.payment.CryptoDepositInstructions;
|
|
13564
|
+
return proto.payment.CryptoDepositInstructions.deserializeBinaryFromReader(msg, reader);
|
|
13565
|
+
};
|
|
13566
|
+
|
|
13567
|
+
|
|
13568
|
+
/**
|
|
13569
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13570
|
+
* given reader into the given message object.
|
|
13571
|
+
* @param {!proto.payment.CryptoDepositInstructions} msg The message object to deserialize into.
|
|
13572
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13573
|
+
* @return {!proto.payment.CryptoDepositInstructions}
|
|
13574
|
+
*/
|
|
13575
|
+
proto.payment.CryptoDepositInstructions.deserializeBinaryFromReader = function(msg, reader) {
|
|
13576
|
+
while (reader.nextField()) {
|
|
13577
|
+
if (reader.isEndGroup()) {
|
|
13578
|
+
break;
|
|
13579
|
+
}
|
|
13580
|
+
var field = reader.getFieldNumber();
|
|
13581
|
+
switch (field) {
|
|
13582
|
+
case 1:
|
|
13583
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13584
|
+
msg.setAddress(value);
|
|
13585
|
+
break;
|
|
13586
|
+
case 2:
|
|
13587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13588
|
+
msg.setMemo(value);
|
|
13589
|
+
break;
|
|
13590
|
+
case 3:
|
|
13591
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13592
|
+
msg.setMemoType(value);
|
|
13593
|
+
break;
|
|
13594
|
+
case 4:
|
|
13595
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13596
|
+
msg.setAsset(value);
|
|
13597
|
+
break;
|
|
13598
|
+
case 5:
|
|
13599
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13600
|
+
msg.setNetwork(value);
|
|
13601
|
+
break;
|
|
13602
|
+
case 6:
|
|
13603
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13604
|
+
msg.setQrPayload(value);
|
|
13605
|
+
break;
|
|
13606
|
+
case 7:
|
|
13607
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13608
|
+
msg.setProviderPaymentId(value);
|
|
13609
|
+
break;
|
|
13610
|
+
case 8:
|
|
13611
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
13612
|
+
msg.setMinDeposit(value);
|
|
13613
|
+
break;
|
|
13614
|
+
default:
|
|
13615
|
+
reader.skipField();
|
|
13616
|
+
break;
|
|
13617
|
+
}
|
|
13618
|
+
}
|
|
13619
|
+
return msg;
|
|
13620
|
+
};
|
|
13621
|
+
|
|
13622
|
+
|
|
13623
|
+
/**
|
|
13624
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13625
|
+
* @return {!Uint8Array}
|
|
13626
|
+
*/
|
|
13627
|
+
proto.payment.CryptoDepositInstructions.prototype.serializeBinary = function() {
|
|
13628
|
+
var writer = new jspb.BinaryWriter();
|
|
13629
|
+
proto.payment.CryptoDepositInstructions.serializeBinaryToWriter(this, writer);
|
|
13630
|
+
return writer.getResultBuffer();
|
|
13631
|
+
};
|
|
13632
|
+
|
|
13633
|
+
|
|
13634
|
+
/**
|
|
13635
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13636
|
+
* format), writing to the given BinaryWriter.
|
|
13637
|
+
* @param {!proto.payment.CryptoDepositInstructions} message
|
|
13638
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13639
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13640
|
+
*/
|
|
13641
|
+
proto.payment.CryptoDepositInstructions.serializeBinaryToWriter = function(message, writer) {
|
|
13642
|
+
var f = undefined;
|
|
13643
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
13644
|
+
if (f != null) {
|
|
13645
|
+
writer.writeString(
|
|
13646
|
+
1,
|
|
13647
|
+
f
|
|
13648
|
+
);
|
|
13649
|
+
}
|
|
13650
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
13651
|
+
if (f != null) {
|
|
13652
|
+
writer.writeString(
|
|
13653
|
+
2,
|
|
13654
|
+
f
|
|
13655
|
+
);
|
|
13656
|
+
}
|
|
13657
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
13658
|
+
if (f != null) {
|
|
13659
|
+
writer.writeString(
|
|
13660
|
+
3,
|
|
13661
|
+
f
|
|
13662
|
+
);
|
|
13663
|
+
}
|
|
13664
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
13665
|
+
if (f != null) {
|
|
13666
|
+
writer.writeString(
|
|
13667
|
+
4,
|
|
13668
|
+
f
|
|
13669
|
+
);
|
|
13670
|
+
}
|
|
13671
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
13672
|
+
if (f != null) {
|
|
13673
|
+
writer.writeString(
|
|
13674
|
+
5,
|
|
13675
|
+
f
|
|
13676
|
+
);
|
|
13677
|
+
}
|
|
13678
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
13679
|
+
if (f != null) {
|
|
13680
|
+
writer.writeString(
|
|
13681
|
+
6,
|
|
13682
|
+
f
|
|
13683
|
+
);
|
|
13684
|
+
}
|
|
13685
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
13686
|
+
if (f != null) {
|
|
13687
|
+
writer.writeString(
|
|
13688
|
+
7,
|
|
13689
|
+
f
|
|
13690
|
+
);
|
|
13691
|
+
}
|
|
13692
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
13693
|
+
if (f != null) {
|
|
13694
|
+
writer.writeFloat(
|
|
13695
|
+
8,
|
|
13696
|
+
f
|
|
13697
|
+
);
|
|
13698
|
+
}
|
|
13699
|
+
};
|
|
13700
|
+
|
|
13701
|
+
|
|
13702
|
+
/**
|
|
13703
|
+
* optional string address = 1;
|
|
13704
|
+
* @return {string}
|
|
13705
|
+
*/
|
|
13706
|
+
proto.payment.CryptoDepositInstructions.prototype.getAddress = function() {
|
|
13707
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13708
|
+
};
|
|
13709
|
+
|
|
13710
|
+
|
|
13711
|
+
/**
|
|
13712
|
+
* @param {string} value
|
|
13713
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13714
|
+
*/
|
|
13715
|
+
proto.payment.CryptoDepositInstructions.prototype.setAddress = function(value) {
|
|
13716
|
+
return jspb.Message.setField(this, 1, value);
|
|
13717
|
+
};
|
|
13718
|
+
|
|
13719
|
+
|
|
13720
|
+
/**
|
|
13721
|
+
* Clears the field making it undefined.
|
|
13722
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13723
|
+
*/
|
|
13724
|
+
proto.payment.CryptoDepositInstructions.prototype.clearAddress = function() {
|
|
13725
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
13726
|
+
};
|
|
13727
|
+
|
|
13728
|
+
|
|
13729
|
+
/**
|
|
13730
|
+
* Returns whether this field is set.
|
|
13731
|
+
* @return {boolean}
|
|
13732
|
+
*/
|
|
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) {
|
|
13752
|
+
return jspb.Message.setField(this, 2, value);
|
|
13753
|
+
};
|
|
13754
|
+
|
|
13755
|
+
|
|
13756
|
+
/**
|
|
13757
|
+
* Clears the field making it undefined.
|
|
13758
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13759
|
+
*/
|
|
13760
|
+
proto.payment.CryptoDepositInstructions.prototype.clearMemo = function() {
|
|
13761
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
13762
|
+
};
|
|
13763
|
+
|
|
13764
|
+
|
|
13765
|
+
/**
|
|
13766
|
+
* Returns whether this field is set.
|
|
13767
|
+
* @return {boolean}
|
|
13768
|
+
*/
|
|
13769
|
+
proto.payment.CryptoDepositInstructions.prototype.hasMemo = function() {
|
|
13770
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13771
|
+
};
|
|
13772
|
+
|
|
13773
|
+
|
|
13774
|
+
/**
|
|
13775
|
+
* optional string memo_type = 3;
|
|
13776
|
+
* @return {string}
|
|
13777
|
+
*/
|
|
13778
|
+
proto.payment.CryptoDepositInstructions.prototype.getMemoType = function() {
|
|
13779
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13780
|
+
};
|
|
13781
|
+
|
|
13782
|
+
|
|
13783
|
+
/**
|
|
13784
|
+
* @param {string} value
|
|
13785
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13786
|
+
*/
|
|
13787
|
+
proto.payment.CryptoDepositInstructions.prototype.setMemoType = function(value) {
|
|
13788
|
+
return jspb.Message.setField(this, 3, value);
|
|
13789
|
+
};
|
|
13790
|
+
|
|
13791
|
+
|
|
13792
|
+
/**
|
|
13793
|
+
* Clears the field making it undefined.
|
|
13794
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13795
|
+
*/
|
|
13796
|
+
proto.payment.CryptoDepositInstructions.prototype.clearMemoType = function() {
|
|
13797
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
13798
|
+
};
|
|
13799
|
+
|
|
13800
|
+
|
|
13801
|
+
/**
|
|
13802
|
+
* Returns whether this field is set.
|
|
13803
|
+
* @return {boolean}
|
|
13804
|
+
*/
|
|
13805
|
+
proto.payment.CryptoDepositInstructions.prototype.hasMemoType = function() {
|
|
13806
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13807
|
+
};
|
|
13808
|
+
|
|
13809
|
+
|
|
13810
|
+
/**
|
|
13811
|
+
* optional string asset = 4;
|
|
13812
|
+
* @return {string}
|
|
13813
|
+
*/
|
|
13814
|
+
proto.payment.CryptoDepositInstructions.prototype.getAsset = function() {
|
|
13815
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
13816
|
+
};
|
|
13817
|
+
|
|
13818
|
+
|
|
13819
|
+
/**
|
|
13820
|
+
* @param {string} value
|
|
13821
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13822
|
+
*/
|
|
13823
|
+
proto.payment.CryptoDepositInstructions.prototype.setAsset = function(value) {
|
|
13824
|
+
return jspb.Message.setField(this, 4, value);
|
|
13825
|
+
};
|
|
13826
|
+
|
|
13827
|
+
|
|
13828
|
+
/**
|
|
13829
|
+
* Clears the field making it undefined.
|
|
13830
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13831
|
+
*/
|
|
13832
|
+
proto.payment.CryptoDepositInstructions.prototype.clearAsset = function() {
|
|
13833
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
13834
|
+
};
|
|
13835
|
+
|
|
13836
|
+
|
|
13837
|
+
/**
|
|
13838
|
+
* Returns whether this field is set.
|
|
13839
|
+
* @return {boolean}
|
|
13840
|
+
*/
|
|
13841
|
+
proto.payment.CryptoDepositInstructions.prototype.hasAsset = function() {
|
|
13842
|
+
return jspb.Message.getField(this, 4) != null;
|
|
13843
|
+
};
|
|
13844
|
+
|
|
13845
|
+
|
|
13846
|
+
/**
|
|
13847
|
+
* optional string network = 5;
|
|
13848
|
+
* @return {string}
|
|
13849
|
+
*/
|
|
13850
|
+
proto.payment.CryptoDepositInstructions.prototype.getNetwork = function() {
|
|
13851
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
13852
|
+
};
|
|
13853
|
+
|
|
13854
|
+
|
|
13855
|
+
/**
|
|
13856
|
+
* @param {string} value
|
|
13857
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13858
|
+
*/
|
|
13859
|
+
proto.payment.CryptoDepositInstructions.prototype.setNetwork = function(value) {
|
|
13860
|
+
return jspb.Message.setField(this, 5, value);
|
|
13861
|
+
};
|
|
13862
|
+
|
|
13863
|
+
|
|
13864
|
+
/**
|
|
13865
|
+
* Clears the field making it undefined.
|
|
13866
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13867
|
+
*/
|
|
13868
|
+
proto.payment.CryptoDepositInstructions.prototype.clearNetwork = function() {
|
|
13869
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
13870
|
+
};
|
|
13871
|
+
|
|
13872
|
+
|
|
13873
|
+
/**
|
|
13874
|
+
* Returns whether this field is set.
|
|
13875
|
+
* @return {boolean}
|
|
13876
|
+
*/
|
|
13877
|
+
proto.payment.CryptoDepositInstructions.prototype.hasNetwork = function() {
|
|
13878
|
+
return jspb.Message.getField(this, 5) != null;
|
|
13879
|
+
};
|
|
13880
|
+
|
|
13881
|
+
|
|
13882
|
+
/**
|
|
13883
|
+
* optional string qr_payload = 6;
|
|
13884
|
+
* @return {string}
|
|
13885
|
+
*/
|
|
13886
|
+
proto.payment.CryptoDepositInstructions.prototype.getQrPayload = function() {
|
|
13887
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
13888
|
+
};
|
|
13889
|
+
|
|
13890
|
+
|
|
13891
|
+
/**
|
|
13892
|
+
* @param {string} value
|
|
13893
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13894
|
+
*/
|
|
13895
|
+
proto.payment.CryptoDepositInstructions.prototype.setQrPayload = function(value) {
|
|
13896
|
+
return jspb.Message.setField(this, 6, value);
|
|
13897
|
+
};
|
|
13898
|
+
|
|
13899
|
+
|
|
13900
|
+
/**
|
|
13901
|
+
* Clears the field making it undefined.
|
|
13902
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13903
|
+
*/
|
|
13904
|
+
proto.payment.CryptoDepositInstructions.prototype.clearQrPayload = function() {
|
|
13905
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
13906
|
+
};
|
|
13907
|
+
|
|
13908
|
+
|
|
13909
|
+
/**
|
|
13910
|
+
* Returns whether this field is set.
|
|
13911
|
+
* @return {boolean}
|
|
13912
|
+
*/
|
|
13913
|
+
proto.payment.CryptoDepositInstructions.prototype.hasQrPayload = function() {
|
|
13914
|
+
return jspb.Message.getField(this, 6) != null;
|
|
13915
|
+
};
|
|
13916
|
+
|
|
13917
|
+
|
|
13918
|
+
/**
|
|
13919
|
+
* optional string provider_payment_id = 7;
|
|
13920
|
+
* @return {string}
|
|
13921
|
+
*/
|
|
13922
|
+
proto.payment.CryptoDepositInstructions.prototype.getProviderPaymentId = function() {
|
|
13923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
13924
|
+
};
|
|
13925
|
+
|
|
13926
|
+
|
|
13927
|
+
/**
|
|
13928
|
+
* @param {string} value
|
|
13929
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13930
|
+
*/
|
|
13931
|
+
proto.payment.CryptoDepositInstructions.prototype.setProviderPaymentId = function(value) {
|
|
13932
|
+
return jspb.Message.setField(this, 7, value);
|
|
13933
|
+
};
|
|
13934
|
+
|
|
13935
|
+
|
|
13936
|
+
/**
|
|
13937
|
+
* Clears the field making it undefined.
|
|
13938
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13939
|
+
*/
|
|
13940
|
+
proto.payment.CryptoDepositInstructions.prototype.clearProviderPaymentId = function() {
|
|
13941
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
13942
|
+
};
|
|
13943
|
+
|
|
13944
|
+
|
|
13945
|
+
/**
|
|
13946
|
+
* Returns whether this field is set.
|
|
13947
|
+
* @return {boolean}
|
|
13948
|
+
*/
|
|
13949
|
+
proto.payment.CryptoDepositInstructions.prototype.hasProviderPaymentId = function() {
|
|
13950
|
+
return jspb.Message.getField(this, 7) != null;
|
|
13951
|
+
};
|
|
13952
|
+
|
|
13953
|
+
|
|
13954
|
+
/**
|
|
13955
|
+
* optional float min_deposit = 8;
|
|
13956
|
+
* @return {number}
|
|
13957
|
+
*/
|
|
13958
|
+
proto.payment.CryptoDepositInstructions.prototype.getMinDeposit = function() {
|
|
13959
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
13960
|
+
};
|
|
13961
|
+
|
|
13962
|
+
|
|
13963
|
+
/**
|
|
13964
|
+
* @param {number} value
|
|
13965
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13966
|
+
*/
|
|
13967
|
+
proto.payment.CryptoDepositInstructions.prototype.setMinDeposit = function(value) {
|
|
13968
|
+
return jspb.Message.setField(this, 8, value);
|
|
13969
|
+
};
|
|
13970
|
+
|
|
13971
|
+
|
|
13972
|
+
/**
|
|
13973
|
+
* Clears the field making it undefined.
|
|
13974
|
+
* @return {!proto.payment.CryptoDepositInstructions} returns this
|
|
13975
|
+
*/
|
|
13976
|
+
proto.payment.CryptoDepositInstructions.prototype.clearMinDeposit = function() {
|
|
13977
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
13978
|
+
};
|
|
13979
|
+
|
|
13980
|
+
|
|
13981
|
+
/**
|
|
13982
|
+
* Returns whether this field is set.
|
|
13983
|
+
* @return {boolean}
|
|
13984
|
+
*/
|
|
13985
|
+
proto.payment.CryptoDepositInstructions.prototype.hasMinDeposit = function() {
|
|
13986
|
+
return jspb.Message.getField(this, 8) != null;
|
|
13987
|
+
};
|
|
13988
|
+
|
|
13989
|
+
|
|
13990
|
+
|
|
13991
|
+
|
|
13992
|
+
|
|
13487
13993
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13488
13994
|
/**
|
|
13489
13995
|
* Creates an object representation of this proto.
|
|
@@ -13525,7 +14031,8 @@ proto.payment.DepositResponse.toObject = function(includeInstance, msg) {
|
|
|
13525
14031
|
created: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13526
14032
|
paymentRedirectUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
13527
14033
|
country: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
13528
|
-
processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
14034
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
14035
|
+
cryptoInstructions: (f = msg.getCryptoInstructions()) && proto.payment.CryptoDepositInstructions.toObject(includeInstance, f)
|
|
13529
14036
|
};
|
|
13530
14037
|
|
|
13531
14038
|
if (includeInstance) {
|
|
@@ -13614,6 +14121,11 @@ proto.payment.DepositResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
13614
14121
|
var value = /** @type {string} */ (reader.readString());
|
|
13615
14122
|
msg.setProcessingType(value);
|
|
13616
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;
|
|
13617
14129
|
default:
|
|
13618
14130
|
reader.skipField();
|
|
13619
14131
|
break;
|
|
@@ -13734,6 +14246,14 @@ proto.payment.DepositResponse.serializeBinaryToWriter = function(message, writer
|
|
|
13734
14246
|
f
|
|
13735
14247
|
);
|
|
13736
14248
|
}
|
|
14249
|
+
f = message.getCryptoInstructions();
|
|
14250
|
+
if (f != null) {
|
|
14251
|
+
writer.writeMessage(
|
|
14252
|
+
14,
|
|
14253
|
+
f,
|
|
14254
|
+
proto.payment.CryptoDepositInstructions.serializeBinaryToWriter
|
|
14255
|
+
);
|
|
14256
|
+
}
|
|
13737
14257
|
};
|
|
13738
14258
|
|
|
13739
14259
|
|
|
@@ -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
|
|