protobuf-platform 1.2.442 → 1.2.444
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 +8 -0
- package/payment/payment_pb.js +388 -4
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -461,6 +461,8 @@ message WithdrawalResponse {
|
|
|
461
461
|
optional string external_ref = 12;
|
|
462
462
|
optional string country = 13;
|
|
463
463
|
optional string processing_type = 14;
|
|
464
|
+
optional float destination_amount = 15;
|
|
465
|
+
optional string destination_currency = 16;
|
|
464
466
|
}
|
|
465
467
|
message WithdrawalItem {
|
|
466
468
|
int32 id = 1;
|
|
@@ -477,6 +479,8 @@ message WithdrawalItem {
|
|
|
477
479
|
optional string external_ref = 12;
|
|
478
480
|
optional string country = 13;
|
|
479
481
|
optional string processing_type = 14;
|
|
482
|
+
optional float destination_amount = 15;
|
|
483
|
+
optional string destination_currency = 16;
|
|
480
484
|
}
|
|
481
485
|
message WithdrawalItemsResponse {
|
|
482
486
|
repeated WithdrawalItem items = 1;
|
|
@@ -570,6 +574,8 @@ message UserWithdrawalItem {
|
|
|
570
574
|
optional string destination = 11;
|
|
571
575
|
optional string destination_type = 12;
|
|
572
576
|
optional string external_ref = 13;
|
|
577
|
+
optional float destination_amount = 14;
|
|
578
|
+
optional string destination_currency = 15;
|
|
573
579
|
}
|
|
574
580
|
message UserWithdrawalItemsResponse {
|
|
575
581
|
repeated UserWithdrawalItem items = 1;
|
|
@@ -594,6 +600,8 @@ message UserPaymentHistoryItem {
|
|
|
594
600
|
optional string destination = 15;
|
|
595
601
|
optional string destination_type = 16;
|
|
596
602
|
optional string external_ref = 17;
|
|
603
|
+
optional float destination_amount = 18;
|
|
604
|
+
optional string destination_currency = 19;
|
|
597
605
|
}
|
|
598
606
|
message UserPaymentHistoryItemsResponse {
|
|
599
607
|
repeated UserPaymentHistoryItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -19357,7 +19357,9 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
|
|
|
19357
19357
|
destinationType: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
19358
19358
|
externalRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
19359
19359
|
country: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
19360
|
-
processingType: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
19360
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
19361
|
+
destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
19362
|
+
destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
19361
19363
|
};
|
|
19362
19364
|
|
|
19363
19365
|
if (includeInstance) {
|
|
@@ -19450,6 +19452,14 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
19450
19452
|
var value = /** @type {string} */ (reader.readString());
|
|
19451
19453
|
msg.setProcessingType(value);
|
|
19452
19454
|
break;
|
|
19455
|
+
case 15:
|
|
19456
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
19457
|
+
msg.setDestinationAmount(value);
|
|
19458
|
+
break;
|
|
19459
|
+
case 16:
|
|
19460
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19461
|
+
msg.setDestinationCurrency(value);
|
|
19462
|
+
break;
|
|
19453
19463
|
default:
|
|
19454
19464
|
reader.skipField();
|
|
19455
19465
|
break;
|
|
@@ -19577,6 +19587,20 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
|
|
|
19577
19587
|
f
|
|
19578
19588
|
);
|
|
19579
19589
|
}
|
|
19590
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
19591
|
+
if (f != null) {
|
|
19592
|
+
writer.writeFloat(
|
|
19593
|
+
15,
|
|
19594
|
+
f
|
|
19595
|
+
);
|
|
19596
|
+
}
|
|
19597
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
19598
|
+
if (f != null) {
|
|
19599
|
+
writer.writeString(
|
|
19600
|
+
16,
|
|
19601
|
+
f
|
|
19602
|
+
);
|
|
19603
|
+
}
|
|
19580
19604
|
};
|
|
19581
19605
|
|
|
19582
19606
|
|
|
@@ -20066,6 +20090,78 @@ proto.payment.WithdrawalResponse.prototype.hasProcessingType = function() {
|
|
|
20066
20090
|
};
|
|
20067
20091
|
|
|
20068
20092
|
|
|
20093
|
+
/**
|
|
20094
|
+
* optional float destination_amount = 15;
|
|
20095
|
+
* @return {number}
|
|
20096
|
+
*/
|
|
20097
|
+
proto.payment.WithdrawalResponse.prototype.getDestinationAmount = function() {
|
|
20098
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
20099
|
+
};
|
|
20100
|
+
|
|
20101
|
+
|
|
20102
|
+
/**
|
|
20103
|
+
* @param {number} value
|
|
20104
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
20105
|
+
*/
|
|
20106
|
+
proto.payment.WithdrawalResponse.prototype.setDestinationAmount = function(value) {
|
|
20107
|
+
return jspb.Message.setField(this, 15, value);
|
|
20108
|
+
};
|
|
20109
|
+
|
|
20110
|
+
|
|
20111
|
+
/**
|
|
20112
|
+
* Clears the field making it undefined.
|
|
20113
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
20114
|
+
*/
|
|
20115
|
+
proto.payment.WithdrawalResponse.prototype.clearDestinationAmount = function() {
|
|
20116
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
20117
|
+
};
|
|
20118
|
+
|
|
20119
|
+
|
|
20120
|
+
/**
|
|
20121
|
+
* Returns whether this field is set.
|
|
20122
|
+
* @return {boolean}
|
|
20123
|
+
*/
|
|
20124
|
+
proto.payment.WithdrawalResponse.prototype.hasDestinationAmount = function() {
|
|
20125
|
+
return jspb.Message.getField(this, 15) != null;
|
|
20126
|
+
};
|
|
20127
|
+
|
|
20128
|
+
|
|
20129
|
+
/**
|
|
20130
|
+
* optional string destination_currency = 16;
|
|
20131
|
+
* @return {string}
|
|
20132
|
+
*/
|
|
20133
|
+
proto.payment.WithdrawalResponse.prototype.getDestinationCurrency = function() {
|
|
20134
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
20135
|
+
};
|
|
20136
|
+
|
|
20137
|
+
|
|
20138
|
+
/**
|
|
20139
|
+
* @param {string} value
|
|
20140
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
20141
|
+
*/
|
|
20142
|
+
proto.payment.WithdrawalResponse.prototype.setDestinationCurrency = function(value) {
|
|
20143
|
+
return jspb.Message.setField(this, 16, value);
|
|
20144
|
+
};
|
|
20145
|
+
|
|
20146
|
+
|
|
20147
|
+
/**
|
|
20148
|
+
* Clears the field making it undefined.
|
|
20149
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
20150
|
+
*/
|
|
20151
|
+
proto.payment.WithdrawalResponse.prototype.clearDestinationCurrency = function() {
|
|
20152
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
20153
|
+
};
|
|
20154
|
+
|
|
20155
|
+
|
|
20156
|
+
/**
|
|
20157
|
+
* Returns whether this field is set.
|
|
20158
|
+
* @return {boolean}
|
|
20159
|
+
*/
|
|
20160
|
+
proto.payment.WithdrawalResponse.prototype.hasDestinationCurrency = function() {
|
|
20161
|
+
return jspb.Message.getField(this, 16) != null;
|
|
20162
|
+
};
|
|
20163
|
+
|
|
20164
|
+
|
|
20069
20165
|
|
|
20070
20166
|
|
|
20071
20167
|
|
|
@@ -20111,7 +20207,9 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
|
|
|
20111
20207
|
destinationType: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
20112
20208
|
externalRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
20113
20209
|
country: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
20114
|
-
processingType: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
20210
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
20211
|
+
destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
20212
|
+
destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
20115
20213
|
};
|
|
20116
20214
|
|
|
20117
20215
|
if (includeInstance) {
|
|
@@ -20204,6 +20302,14 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
20204
20302
|
var value = /** @type {string} */ (reader.readString());
|
|
20205
20303
|
msg.setProcessingType(value);
|
|
20206
20304
|
break;
|
|
20305
|
+
case 15:
|
|
20306
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
20307
|
+
msg.setDestinationAmount(value);
|
|
20308
|
+
break;
|
|
20309
|
+
case 16:
|
|
20310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20311
|
+
msg.setDestinationCurrency(value);
|
|
20312
|
+
break;
|
|
20207
20313
|
default:
|
|
20208
20314
|
reader.skipField();
|
|
20209
20315
|
break;
|
|
@@ -20331,6 +20437,20 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
|
|
|
20331
20437
|
f
|
|
20332
20438
|
);
|
|
20333
20439
|
}
|
|
20440
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
20441
|
+
if (f != null) {
|
|
20442
|
+
writer.writeFloat(
|
|
20443
|
+
15,
|
|
20444
|
+
f
|
|
20445
|
+
);
|
|
20446
|
+
}
|
|
20447
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
20448
|
+
if (f != null) {
|
|
20449
|
+
writer.writeString(
|
|
20450
|
+
16,
|
|
20451
|
+
f
|
|
20452
|
+
);
|
|
20453
|
+
}
|
|
20334
20454
|
};
|
|
20335
20455
|
|
|
20336
20456
|
|
|
@@ -20730,6 +20850,78 @@ proto.payment.WithdrawalItem.prototype.hasProcessingType = function() {
|
|
|
20730
20850
|
};
|
|
20731
20851
|
|
|
20732
20852
|
|
|
20853
|
+
/**
|
|
20854
|
+
* optional float destination_amount = 15;
|
|
20855
|
+
* @return {number}
|
|
20856
|
+
*/
|
|
20857
|
+
proto.payment.WithdrawalItem.prototype.getDestinationAmount = function() {
|
|
20858
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
|
20859
|
+
};
|
|
20860
|
+
|
|
20861
|
+
|
|
20862
|
+
/**
|
|
20863
|
+
* @param {number} value
|
|
20864
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
20865
|
+
*/
|
|
20866
|
+
proto.payment.WithdrawalItem.prototype.setDestinationAmount = function(value) {
|
|
20867
|
+
return jspb.Message.setField(this, 15, value);
|
|
20868
|
+
};
|
|
20869
|
+
|
|
20870
|
+
|
|
20871
|
+
/**
|
|
20872
|
+
* Clears the field making it undefined.
|
|
20873
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
20874
|
+
*/
|
|
20875
|
+
proto.payment.WithdrawalItem.prototype.clearDestinationAmount = function() {
|
|
20876
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
20877
|
+
};
|
|
20878
|
+
|
|
20879
|
+
|
|
20880
|
+
/**
|
|
20881
|
+
* Returns whether this field is set.
|
|
20882
|
+
* @return {boolean}
|
|
20883
|
+
*/
|
|
20884
|
+
proto.payment.WithdrawalItem.prototype.hasDestinationAmount = function() {
|
|
20885
|
+
return jspb.Message.getField(this, 15) != null;
|
|
20886
|
+
};
|
|
20887
|
+
|
|
20888
|
+
|
|
20889
|
+
/**
|
|
20890
|
+
* optional string destination_currency = 16;
|
|
20891
|
+
* @return {string}
|
|
20892
|
+
*/
|
|
20893
|
+
proto.payment.WithdrawalItem.prototype.getDestinationCurrency = function() {
|
|
20894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
20895
|
+
};
|
|
20896
|
+
|
|
20897
|
+
|
|
20898
|
+
/**
|
|
20899
|
+
* @param {string} value
|
|
20900
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
20901
|
+
*/
|
|
20902
|
+
proto.payment.WithdrawalItem.prototype.setDestinationCurrency = function(value) {
|
|
20903
|
+
return jspb.Message.setField(this, 16, value);
|
|
20904
|
+
};
|
|
20905
|
+
|
|
20906
|
+
|
|
20907
|
+
/**
|
|
20908
|
+
* Clears the field making it undefined.
|
|
20909
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
20910
|
+
*/
|
|
20911
|
+
proto.payment.WithdrawalItem.prototype.clearDestinationCurrency = function() {
|
|
20912
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
20913
|
+
};
|
|
20914
|
+
|
|
20915
|
+
|
|
20916
|
+
/**
|
|
20917
|
+
* Returns whether this field is set.
|
|
20918
|
+
* @return {boolean}
|
|
20919
|
+
*/
|
|
20920
|
+
proto.payment.WithdrawalItem.prototype.hasDestinationCurrency = function() {
|
|
20921
|
+
return jspb.Message.getField(this, 16) != null;
|
|
20922
|
+
};
|
|
20923
|
+
|
|
20924
|
+
|
|
20733
20925
|
|
|
20734
20926
|
/**
|
|
20735
20927
|
* List of repeated fields within this message type.
|
|
@@ -24034,7 +24226,9 @@ proto.payment.UserWithdrawalItem.toObject = function(includeInstance, msg) {
|
|
|
24034
24226
|
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
24035
24227
|
destination: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
24036
24228
|
destinationType: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
24037
|
-
externalRef: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
24229
|
+
externalRef: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
24230
|
+
destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
24231
|
+
destinationCurrency: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
24038
24232
|
};
|
|
24039
24233
|
|
|
24040
24234
|
if (includeInstance) {
|
|
@@ -24123,6 +24317,14 @@ proto.payment.UserWithdrawalItem.deserializeBinaryFromReader = function(msg, rea
|
|
|
24123
24317
|
var value = /** @type {string} */ (reader.readString());
|
|
24124
24318
|
msg.setExternalRef(value);
|
|
24125
24319
|
break;
|
|
24320
|
+
case 14:
|
|
24321
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
24322
|
+
msg.setDestinationAmount(value);
|
|
24323
|
+
break;
|
|
24324
|
+
case 15:
|
|
24325
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24326
|
+
msg.setDestinationCurrency(value);
|
|
24327
|
+
break;
|
|
24126
24328
|
default:
|
|
24127
24329
|
reader.skipField();
|
|
24128
24330
|
break;
|
|
@@ -24243,6 +24445,20 @@ proto.payment.UserWithdrawalItem.serializeBinaryToWriter = function(message, wri
|
|
|
24243
24445
|
f
|
|
24244
24446
|
);
|
|
24245
24447
|
}
|
|
24448
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
24449
|
+
if (f != null) {
|
|
24450
|
+
writer.writeFloat(
|
|
24451
|
+
14,
|
|
24452
|
+
f
|
|
24453
|
+
);
|
|
24454
|
+
}
|
|
24455
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
24456
|
+
if (f != null) {
|
|
24457
|
+
writer.writeString(
|
|
24458
|
+
15,
|
|
24459
|
+
f
|
|
24460
|
+
);
|
|
24461
|
+
}
|
|
24246
24462
|
};
|
|
24247
24463
|
|
|
24248
24464
|
|
|
@@ -24642,6 +24858,78 @@ proto.payment.UserWithdrawalItem.prototype.hasExternalRef = function() {
|
|
|
24642
24858
|
};
|
|
24643
24859
|
|
|
24644
24860
|
|
|
24861
|
+
/**
|
|
24862
|
+
* optional float destination_amount = 14;
|
|
24863
|
+
* @return {number}
|
|
24864
|
+
*/
|
|
24865
|
+
proto.payment.UserWithdrawalItem.prototype.getDestinationAmount = function() {
|
|
24866
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
24867
|
+
};
|
|
24868
|
+
|
|
24869
|
+
|
|
24870
|
+
/**
|
|
24871
|
+
* @param {number} value
|
|
24872
|
+
* @return {!proto.payment.UserWithdrawalItem} returns this
|
|
24873
|
+
*/
|
|
24874
|
+
proto.payment.UserWithdrawalItem.prototype.setDestinationAmount = function(value) {
|
|
24875
|
+
return jspb.Message.setField(this, 14, value);
|
|
24876
|
+
};
|
|
24877
|
+
|
|
24878
|
+
|
|
24879
|
+
/**
|
|
24880
|
+
* Clears the field making it undefined.
|
|
24881
|
+
* @return {!proto.payment.UserWithdrawalItem} returns this
|
|
24882
|
+
*/
|
|
24883
|
+
proto.payment.UserWithdrawalItem.prototype.clearDestinationAmount = function() {
|
|
24884
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
24885
|
+
};
|
|
24886
|
+
|
|
24887
|
+
|
|
24888
|
+
/**
|
|
24889
|
+
* Returns whether this field is set.
|
|
24890
|
+
* @return {boolean}
|
|
24891
|
+
*/
|
|
24892
|
+
proto.payment.UserWithdrawalItem.prototype.hasDestinationAmount = function() {
|
|
24893
|
+
return jspb.Message.getField(this, 14) != null;
|
|
24894
|
+
};
|
|
24895
|
+
|
|
24896
|
+
|
|
24897
|
+
/**
|
|
24898
|
+
* optional string destination_currency = 15;
|
|
24899
|
+
* @return {string}
|
|
24900
|
+
*/
|
|
24901
|
+
proto.payment.UserWithdrawalItem.prototype.getDestinationCurrency = function() {
|
|
24902
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
24903
|
+
};
|
|
24904
|
+
|
|
24905
|
+
|
|
24906
|
+
/**
|
|
24907
|
+
* @param {string} value
|
|
24908
|
+
* @return {!proto.payment.UserWithdrawalItem} returns this
|
|
24909
|
+
*/
|
|
24910
|
+
proto.payment.UserWithdrawalItem.prototype.setDestinationCurrency = function(value) {
|
|
24911
|
+
return jspb.Message.setField(this, 15, value);
|
|
24912
|
+
};
|
|
24913
|
+
|
|
24914
|
+
|
|
24915
|
+
/**
|
|
24916
|
+
* Clears the field making it undefined.
|
|
24917
|
+
* @return {!proto.payment.UserWithdrawalItem} returns this
|
|
24918
|
+
*/
|
|
24919
|
+
proto.payment.UserWithdrawalItem.prototype.clearDestinationCurrency = function() {
|
|
24920
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
24921
|
+
};
|
|
24922
|
+
|
|
24923
|
+
|
|
24924
|
+
/**
|
|
24925
|
+
* Returns whether this field is set.
|
|
24926
|
+
* @return {boolean}
|
|
24927
|
+
*/
|
|
24928
|
+
proto.payment.UserWithdrawalItem.prototype.hasDestinationCurrency = function() {
|
|
24929
|
+
return jspb.Message.getField(this, 15) != null;
|
|
24930
|
+
};
|
|
24931
|
+
|
|
24932
|
+
|
|
24645
24933
|
|
|
24646
24934
|
/**
|
|
24647
24935
|
* List of repeated fields within this message type.
|
|
@@ -24946,7 +25234,9 @@ proto.payment.UserPaymentHistoryItem.toObject = function(includeInstance, msg) {
|
|
|
24946
25234
|
status: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
24947
25235
|
destination: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
24948
25236
|
destinationType: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
24949
|
-
externalRef: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
25237
|
+
externalRef: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
25238
|
+
destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
25239
|
+
destinationCurrency: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
24950
25240
|
};
|
|
24951
25241
|
|
|
24952
25242
|
if (includeInstance) {
|
|
@@ -25051,6 +25341,14 @@ proto.payment.UserPaymentHistoryItem.deserializeBinaryFromReader = function(msg,
|
|
|
25051
25341
|
var value = /** @type {string} */ (reader.readString());
|
|
25052
25342
|
msg.setExternalRef(value);
|
|
25053
25343
|
break;
|
|
25344
|
+
case 18:
|
|
25345
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
25346
|
+
msg.setDestinationAmount(value);
|
|
25347
|
+
break;
|
|
25348
|
+
case 19:
|
|
25349
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25350
|
+
msg.setDestinationCurrency(value);
|
|
25351
|
+
break;
|
|
25054
25352
|
default:
|
|
25055
25353
|
reader.skipField();
|
|
25056
25354
|
break;
|
|
@@ -25199,6 +25497,20 @@ proto.payment.UserPaymentHistoryItem.serializeBinaryToWriter = function(message,
|
|
|
25199
25497
|
f
|
|
25200
25498
|
);
|
|
25201
25499
|
}
|
|
25500
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
25501
|
+
if (f != null) {
|
|
25502
|
+
writer.writeFloat(
|
|
25503
|
+
18,
|
|
25504
|
+
f
|
|
25505
|
+
);
|
|
25506
|
+
}
|
|
25507
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
25508
|
+
if (f != null) {
|
|
25509
|
+
writer.writeString(
|
|
25510
|
+
19,
|
|
25511
|
+
f
|
|
25512
|
+
);
|
|
25513
|
+
}
|
|
25202
25514
|
};
|
|
25203
25515
|
|
|
25204
25516
|
|
|
@@ -25742,6 +26054,78 @@ proto.payment.UserPaymentHistoryItem.prototype.hasExternalRef = function() {
|
|
|
25742
26054
|
};
|
|
25743
26055
|
|
|
25744
26056
|
|
|
26057
|
+
/**
|
|
26058
|
+
* optional float destination_amount = 18;
|
|
26059
|
+
* @return {number}
|
|
26060
|
+
*/
|
|
26061
|
+
proto.payment.UserPaymentHistoryItem.prototype.getDestinationAmount = function() {
|
|
26062
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
|
26063
|
+
};
|
|
26064
|
+
|
|
26065
|
+
|
|
26066
|
+
/**
|
|
26067
|
+
* @param {number} value
|
|
26068
|
+
* @return {!proto.payment.UserPaymentHistoryItem} returns this
|
|
26069
|
+
*/
|
|
26070
|
+
proto.payment.UserPaymentHistoryItem.prototype.setDestinationAmount = function(value) {
|
|
26071
|
+
return jspb.Message.setField(this, 18, value);
|
|
26072
|
+
};
|
|
26073
|
+
|
|
26074
|
+
|
|
26075
|
+
/**
|
|
26076
|
+
* Clears the field making it undefined.
|
|
26077
|
+
* @return {!proto.payment.UserPaymentHistoryItem} returns this
|
|
26078
|
+
*/
|
|
26079
|
+
proto.payment.UserPaymentHistoryItem.prototype.clearDestinationAmount = function() {
|
|
26080
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
26081
|
+
};
|
|
26082
|
+
|
|
26083
|
+
|
|
26084
|
+
/**
|
|
26085
|
+
* Returns whether this field is set.
|
|
26086
|
+
* @return {boolean}
|
|
26087
|
+
*/
|
|
26088
|
+
proto.payment.UserPaymentHistoryItem.prototype.hasDestinationAmount = function() {
|
|
26089
|
+
return jspb.Message.getField(this, 18) != null;
|
|
26090
|
+
};
|
|
26091
|
+
|
|
26092
|
+
|
|
26093
|
+
/**
|
|
26094
|
+
* optional string destination_currency = 19;
|
|
26095
|
+
* @return {string}
|
|
26096
|
+
*/
|
|
26097
|
+
proto.payment.UserPaymentHistoryItem.prototype.getDestinationCurrency = function() {
|
|
26098
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
26099
|
+
};
|
|
26100
|
+
|
|
26101
|
+
|
|
26102
|
+
/**
|
|
26103
|
+
* @param {string} value
|
|
26104
|
+
* @return {!proto.payment.UserPaymentHistoryItem} returns this
|
|
26105
|
+
*/
|
|
26106
|
+
proto.payment.UserPaymentHistoryItem.prototype.setDestinationCurrency = function(value) {
|
|
26107
|
+
return jspb.Message.setField(this, 19, value);
|
|
26108
|
+
};
|
|
26109
|
+
|
|
26110
|
+
|
|
26111
|
+
/**
|
|
26112
|
+
* Clears the field making it undefined.
|
|
26113
|
+
* @return {!proto.payment.UserPaymentHistoryItem} returns this
|
|
26114
|
+
*/
|
|
26115
|
+
proto.payment.UserPaymentHistoryItem.prototype.clearDestinationCurrency = function() {
|
|
26116
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
26117
|
+
};
|
|
26118
|
+
|
|
26119
|
+
|
|
26120
|
+
/**
|
|
26121
|
+
* Returns whether this field is set.
|
|
26122
|
+
* @return {boolean}
|
|
26123
|
+
*/
|
|
26124
|
+
proto.payment.UserPaymentHistoryItem.prototype.hasDestinationCurrency = function() {
|
|
26125
|
+
return jspb.Message.getField(this, 19) != null;
|
|
26126
|
+
};
|
|
26127
|
+
|
|
26128
|
+
|
|
25745
26129
|
|
|
25746
26130
|
/**
|
|
25747
26131
|
* List of repeated fields within this message type.
|