protobuf-platform 1.2.266 → 1.2.268
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 +2 -0
- package/payment/payment_pb.js +98 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -155,6 +155,7 @@ message MethodItem {
|
|
|
155
155
|
optional string provider_image = 11;
|
|
156
156
|
optional string provider_image_cdn = 12;
|
|
157
157
|
optional string code = 13;
|
|
158
|
+
optional string currency_type = 14;
|
|
158
159
|
}
|
|
159
160
|
message MethodRequest {
|
|
160
161
|
oneof request {
|
|
@@ -408,6 +409,7 @@ message UserPaymentMethodItem {
|
|
|
408
409
|
optional string sdk_provider = 11;
|
|
409
410
|
optional bool sdk_enabled = 12;
|
|
410
411
|
optional string processing_type = 13;
|
|
412
|
+
optional string currency_type = 14;
|
|
411
413
|
}
|
|
412
414
|
message UserPaymentMethodsResponse {
|
|
413
415
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -6101,7 +6101,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
|
|
|
6101
6101
|
providerTitle: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6102
6102
|
providerImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
6103
6103
|
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
6104
|
-
code: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
6104
|
+
code: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
6105
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
6105
6106
|
};
|
|
6106
6107
|
|
|
6107
6108
|
if (includeInstance) {
|
|
@@ -6186,6 +6187,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6186
6187
|
var value = /** @type {string} */ (reader.readString());
|
|
6187
6188
|
msg.setCode(value);
|
|
6188
6189
|
break;
|
|
6190
|
+
case 14:
|
|
6191
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6192
|
+
msg.setCurrencyType(value);
|
|
6193
|
+
break;
|
|
6189
6194
|
default:
|
|
6190
6195
|
reader.skipField();
|
|
6191
6196
|
break;
|
|
@@ -6299,6 +6304,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
6299
6304
|
f
|
|
6300
6305
|
);
|
|
6301
6306
|
}
|
|
6307
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
6308
|
+
if (f != null) {
|
|
6309
|
+
writer.writeString(
|
|
6310
|
+
14,
|
|
6311
|
+
f
|
|
6312
|
+
);
|
|
6313
|
+
}
|
|
6302
6314
|
};
|
|
6303
6315
|
|
|
6304
6316
|
|
|
@@ -6734,6 +6746,42 @@ proto.payment.MethodItem.prototype.hasCode = function() {
|
|
|
6734
6746
|
};
|
|
6735
6747
|
|
|
6736
6748
|
|
|
6749
|
+
/**
|
|
6750
|
+
* optional string currency_type = 14;
|
|
6751
|
+
* @return {string}
|
|
6752
|
+
*/
|
|
6753
|
+
proto.payment.MethodItem.prototype.getCurrencyType = function() {
|
|
6754
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
6755
|
+
};
|
|
6756
|
+
|
|
6757
|
+
|
|
6758
|
+
/**
|
|
6759
|
+
* @param {string} value
|
|
6760
|
+
* @return {!proto.payment.MethodItem} returns this
|
|
6761
|
+
*/
|
|
6762
|
+
proto.payment.MethodItem.prototype.setCurrencyType = function(value) {
|
|
6763
|
+
return jspb.Message.setField(this, 14, value);
|
|
6764
|
+
};
|
|
6765
|
+
|
|
6766
|
+
|
|
6767
|
+
/**
|
|
6768
|
+
* Clears the field making it undefined.
|
|
6769
|
+
* @return {!proto.payment.MethodItem} returns this
|
|
6770
|
+
*/
|
|
6771
|
+
proto.payment.MethodItem.prototype.clearCurrencyType = function() {
|
|
6772
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6773
|
+
};
|
|
6774
|
+
|
|
6775
|
+
|
|
6776
|
+
/**
|
|
6777
|
+
* Returns whether this field is set.
|
|
6778
|
+
* @return {boolean}
|
|
6779
|
+
*/
|
|
6780
|
+
proto.payment.MethodItem.prototype.hasCurrencyType = function() {
|
|
6781
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6782
|
+
};
|
|
6783
|
+
|
|
6784
|
+
|
|
6737
6785
|
|
|
6738
6786
|
/**
|
|
6739
6787
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -16614,7 +16662,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
16614
16662
|
maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
16615
16663
|
sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
16616
16664
|
sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
16617
|
-
processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
16665
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
16666
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
16618
16667
|
};
|
|
16619
16668
|
|
|
16620
16669
|
if (includeInstance) {
|
|
@@ -16703,6 +16752,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
16703
16752
|
var value = /** @type {string} */ (reader.readString());
|
|
16704
16753
|
msg.setProcessingType(value);
|
|
16705
16754
|
break;
|
|
16755
|
+
case 14:
|
|
16756
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16757
|
+
msg.setCurrencyType(value);
|
|
16758
|
+
break;
|
|
16706
16759
|
default:
|
|
16707
16760
|
reader.skipField();
|
|
16708
16761
|
break;
|
|
@@ -16823,6 +16876,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
16823
16876
|
f
|
|
16824
16877
|
);
|
|
16825
16878
|
}
|
|
16879
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
16880
|
+
if (f != null) {
|
|
16881
|
+
writer.writeString(
|
|
16882
|
+
14,
|
|
16883
|
+
f
|
|
16884
|
+
);
|
|
16885
|
+
}
|
|
16826
16886
|
};
|
|
16827
16887
|
|
|
16828
16888
|
|
|
@@ -17168,6 +17228,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasProcessingType = function() {
|
|
|
17168
17228
|
};
|
|
17169
17229
|
|
|
17170
17230
|
|
|
17231
|
+
/**
|
|
17232
|
+
* optional string currency_type = 14;
|
|
17233
|
+
* @return {string}
|
|
17234
|
+
*/
|
|
17235
|
+
proto.payment.UserPaymentMethodItem.prototype.getCurrencyType = function() {
|
|
17236
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
17237
|
+
};
|
|
17238
|
+
|
|
17239
|
+
|
|
17240
|
+
/**
|
|
17241
|
+
* @param {string} value
|
|
17242
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
17243
|
+
*/
|
|
17244
|
+
proto.payment.UserPaymentMethodItem.prototype.setCurrencyType = function(value) {
|
|
17245
|
+
return jspb.Message.setField(this, 14, value);
|
|
17246
|
+
};
|
|
17247
|
+
|
|
17248
|
+
|
|
17249
|
+
/**
|
|
17250
|
+
* Clears the field making it undefined.
|
|
17251
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
17252
|
+
*/
|
|
17253
|
+
proto.payment.UserPaymentMethodItem.prototype.clearCurrencyType = function() {
|
|
17254
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
17255
|
+
};
|
|
17256
|
+
|
|
17257
|
+
|
|
17258
|
+
/**
|
|
17259
|
+
* Returns whether this field is set.
|
|
17260
|
+
* @return {boolean}
|
|
17261
|
+
*/
|
|
17262
|
+
proto.payment.UserPaymentMethodItem.prototype.hasCurrencyType = function() {
|
|
17263
|
+
return jspb.Message.getField(this, 14) != null;
|
|
17264
|
+
};
|
|
17265
|
+
|
|
17266
|
+
|
|
17171
17267
|
|
|
17172
17268
|
/**
|
|
17173
17269
|
* List of repeated fields within this message type.
|