protobuf-platform 1.2.479 → 1.2.480
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 +3 -0
- package/payment/payment_pb.js +91 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -640,6 +640,9 @@ message UserPaymentMethodItem {
|
|
|
640
640
|
optional string flow_type = 18;
|
|
641
641
|
repeated CashierFieldItem cashier_fields = 19;
|
|
642
642
|
optional string provider_currency = 20;
|
|
643
|
+
string input_currency = 21;
|
|
644
|
+
string preview_currency = 22;
|
|
645
|
+
bool conversion_required = 23;
|
|
643
646
|
}
|
|
644
647
|
message UserPaymentMethodsResponse {
|
|
645
648
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -26939,7 +26939,10 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
26939
26939
|
flowType: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
26940
26940
|
cashierFieldsList: jspb.Message.toObjectList(msg.getCashierFieldsList(),
|
|
26941
26941
|
proto.payment.CashierFieldItem.toObject, includeInstance),
|
|
26942
|
-
providerCurrency: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
26942
|
+
providerCurrency: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
26943
|
+
inputCurrency: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
26944
|
+
previewCurrency: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
26945
|
+
conversionRequired: jspb.Message.getBooleanFieldWithDefault(msg, 23, false)
|
|
26943
26946
|
};
|
|
26944
26947
|
|
|
26945
26948
|
if (includeInstance) {
|
|
@@ -27057,6 +27060,18 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
27057
27060
|
var value = /** @type {string} */ (reader.readString());
|
|
27058
27061
|
msg.setProviderCurrency(value);
|
|
27059
27062
|
break;
|
|
27063
|
+
case 21:
|
|
27064
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27065
|
+
msg.setInputCurrency(value);
|
|
27066
|
+
break;
|
|
27067
|
+
case 22:
|
|
27068
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27069
|
+
msg.setPreviewCurrency(value);
|
|
27070
|
+
break;
|
|
27071
|
+
case 23:
|
|
27072
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
27073
|
+
msg.setConversionRequired(value);
|
|
27074
|
+
break;
|
|
27060
27075
|
default:
|
|
27061
27076
|
reader.skipField();
|
|
27062
27077
|
break;
|
|
@@ -27227,6 +27242,27 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
27227
27242
|
f
|
|
27228
27243
|
);
|
|
27229
27244
|
}
|
|
27245
|
+
f = message.getInputCurrency();
|
|
27246
|
+
if (f.length > 0) {
|
|
27247
|
+
writer.writeString(
|
|
27248
|
+
21,
|
|
27249
|
+
f
|
|
27250
|
+
);
|
|
27251
|
+
}
|
|
27252
|
+
f = message.getPreviewCurrency();
|
|
27253
|
+
if (f.length > 0) {
|
|
27254
|
+
writer.writeString(
|
|
27255
|
+
22,
|
|
27256
|
+
f
|
|
27257
|
+
);
|
|
27258
|
+
}
|
|
27259
|
+
f = message.getConversionRequired();
|
|
27260
|
+
if (f) {
|
|
27261
|
+
writer.writeBool(
|
|
27262
|
+
23,
|
|
27263
|
+
f
|
|
27264
|
+
);
|
|
27265
|
+
}
|
|
27230
27266
|
};
|
|
27231
27267
|
|
|
27232
27268
|
|
|
@@ -27826,6 +27862,60 @@ proto.payment.UserPaymentMethodItem.prototype.hasProviderCurrency = function() {
|
|
|
27826
27862
|
};
|
|
27827
27863
|
|
|
27828
27864
|
|
|
27865
|
+
/**
|
|
27866
|
+
* optional string input_currency = 21;
|
|
27867
|
+
* @return {string}
|
|
27868
|
+
*/
|
|
27869
|
+
proto.payment.UserPaymentMethodItem.prototype.getInputCurrency = function() {
|
|
27870
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
27871
|
+
};
|
|
27872
|
+
|
|
27873
|
+
|
|
27874
|
+
/**
|
|
27875
|
+
* @param {string} value
|
|
27876
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
27877
|
+
*/
|
|
27878
|
+
proto.payment.UserPaymentMethodItem.prototype.setInputCurrency = function(value) {
|
|
27879
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
27880
|
+
};
|
|
27881
|
+
|
|
27882
|
+
|
|
27883
|
+
/**
|
|
27884
|
+
* optional string preview_currency = 22;
|
|
27885
|
+
* @return {string}
|
|
27886
|
+
*/
|
|
27887
|
+
proto.payment.UserPaymentMethodItem.prototype.getPreviewCurrency = function() {
|
|
27888
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
27889
|
+
};
|
|
27890
|
+
|
|
27891
|
+
|
|
27892
|
+
/**
|
|
27893
|
+
* @param {string} value
|
|
27894
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
27895
|
+
*/
|
|
27896
|
+
proto.payment.UserPaymentMethodItem.prototype.setPreviewCurrency = function(value) {
|
|
27897
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
27898
|
+
};
|
|
27899
|
+
|
|
27900
|
+
|
|
27901
|
+
/**
|
|
27902
|
+
* optional bool conversion_required = 23;
|
|
27903
|
+
* @return {boolean}
|
|
27904
|
+
*/
|
|
27905
|
+
proto.payment.UserPaymentMethodItem.prototype.getConversionRequired = function() {
|
|
27906
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 23, false));
|
|
27907
|
+
};
|
|
27908
|
+
|
|
27909
|
+
|
|
27910
|
+
/**
|
|
27911
|
+
* @param {boolean} value
|
|
27912
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
27913
|
+
*/
|
|
27914
|
+
proto.payment.UserPaymentMethodItem.prototype.setConversionRequired = function(value) {
|
|
27915
|
+
return jspb.Message.setProto3BooleanField(this, 23, value);
|
|
27916
|
+
};
|
|
27917
|
+
|
|
27918
|
+
|
|
27829
27919
|
|
|
27830
27920
|
/**
|
|
27831
27921
|
* List of repeated fields within this message type.
|