protobuf-platform 1.2.211 → 1.2.212
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 +5 -4
- package/payment/payment_pb.js +60 -30
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -328,10 +328,11 @@ message UserPaymentMethodItem {
|
|
|
328
328
|
string method_title = 3;
|
|
329
329
|
string provider_title = 4;
|
|
330
330
|
string image = 5;
|
|
331
|
-
string
|
|
332
|
-
|
|
333
|
-
optional
|
|
334
|
-
optional int32
|
|
331
|
+
string image_cdn = 6;
|
|
332
|
+
string currency = 7;
|
|
333
|
+
optional string payment_type = 8;
|
|
334
|
+
optional int32 min_amount = 9;
|
|
335
|
+
optional int32 max_amount = 10;
|
|
335
336
|
}
|
|
336
337
|
message UserPaymentMethodsResponse {
|
|
337
338
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -13893,10 +13893,11 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
13893
13893
|
methodTitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13894
13894
|
providerTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13895
13895
|
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13896
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
13897
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13898
|
+
paymentType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
13899
|
+
minAmount: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
13900
|
+
maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
13900
13901
|
};
|
|
13901
13902
|
|
|
13902
13903
|
if (includeInstance) {
|
|
@@ -13955,17 +13956,21 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
13955
13956
|
break;
|
|
13956
13957
|
case 6:
|
|
13957
13958
|
var value = /** @type {string} */ (reader.readString());
|
|
13958
|
-
msg.
|
|
13959
|
+
msg.setImageCdn(value);
|
|
13959
13960
|
break;
|
|
13960
13961
|
case 7:
|
|
13961
13962
|
var value = /** @type {string} */ (reader.readString());
|
|
13962
|
-
msg.
|
|
13963
|
+
msg.setCurrency(value);
|
|
13963
13964
|
break;
|
|
13964
13965
|
case 8:
|
|
13966
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13967
|
+
msg.setPaymentType(value);
|
|
13968
|
+
break;
|
|
13969
|
+
case 9:
|
|
13965
13970
|
var value = /** @type {number} */ (reader.readInt32());
|
|
13966
13971
|
msg.setMinAmount(value);
|
|
13967
13972
|
break;
|
|
13968
|
-
case
|
|
13973
|
+
case 10:
|
|
13969
13974
|
var value = /** @type {number} */ (reader.readInt32());
|
|
13970
13975
|
msg.setMaxAmount(value);
|
|
13971
13976
|
break;
|
|
@@ -14033,23 +14038,23 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
14033
14038
|
f
|
|
14034
14039
|
);
|
|
14035
14040
|
}
|
|
14036
|
-
f = message.
|
|
14041
|
+
f = message.getImageCdn();
|
|
14037
14042
|
if (f.length > 0) {
|
|
14038
14043
|
writer.writeString(
|
|
14039
14044
|
6,
|
|
14040
14045
|
f
|
|
14041
14046
|
);
|
|
14042
14047
|
}
|
|
14043
|
-
f =
|
|
14044
|
-
if (f
|
|
14048
|
+
f = message.getCurrency();
|
|
14049
|
+
if (f.length > 0) {
|
|
14045
14050
|
writer.writeString(
|
|
14046
14051
|
7,
|
|
14047
14052
|
f
|
|
14048
14053
|
);
|
|
14049
14054
|
}
|
|
14050
|
-
f = /** @type {
|
|
14055
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
14051
14056
|
if (f != null) {
|
|
14052
|
-
writer.
|
|
14057
|
+
writer.writeString(
|
|
14053
14058
|
8,
|
|
14054
14059
|
f
|
|
14055
14060
|
);
|
|
@@ -14061,6 +14066,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
14061
14066
|
f
|
|
14062
14067
|
);
|
|
14063
14068
|
}
|
|
14069
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
14070
|
+
if (f != null) {
|
|
14071
|
+
writer.writeInt32(
|
|
14072
|
+
10,
|
|
14073
|
+
f
|
|
14074
|
+
);
|
|
14075
|
+
}
|
|
14064
14076
|
};
|
|
14065
14077
|
|
|
14066
14078
|
|
|
@@ -14155,10 +14167,10 @@ proto.payment.UserPaymentMethodItem.prototype.setImage = function(value) {
|
|
|
14155
14167
|
|
|
14156
14168
|
|
|
14157
14169
|
/**
|
|
14158
|
-
* optional string
|
|
14170
|
+
* optional string image_cdn = 6;
|
|
14159
14171
|
* @return {string}
|
|
14160
14172
|
*/
|
|
14161
|
-
proto.payment.UserPaymentMethodItem.prototype.
|
|
14173
|
+
proto.payment.UserPaymentMethodItem.prototype.getImageCdn = function() {
|
|
14162
14174
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14163
14175
|
};
|
|
14164
14176
|
|
|
@@ -14167,26 +14179,44 @@ proto.payment.UserPaymentMethodItem.prototype.getCurrency = function() {
|
|
|
14167
14179
|
* @param {string} value
|
|
14168
14180
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14169
14181
|
*/
|
|
14170
|
-
proto.payment.UserPaymentMethodItem.prototype.
|
|
14182
|
+
proto.payment.UserPaymentMethodItem.prototype.setImageCdn = function(value) {
|
|
14171
14183
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
14172
14184
|
};
|
|
14173
14185
|
|
|
14174
14186
|
|
|
14175
14187
|
/**
|
|
14176
|
-
* optional string
|
|
14188
|
+
* optional string currency = 7;
|
|
14177
14189
|
* @return {string}
|
|
14178
14190
|
*/
|
|
14179
|
-
proto.payment.UserPaymentMethodItem.prototype.
|
|
14191
|
+
proto.payment.UserPaymentMethodItem.prototype.getCurrency = function() {
|
|
14180
14192
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
14181
14193
|
};
|
|
14182
14194
|
|
|
14183
14195
|
|
|
14196
|
+
/**
|
|
14197
|
+
* @param {string} value
|
|
14198
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14199
|
+
*/
|
|
14200
|
+
proto.payment.UserPaymentMethodItem.prototype.setCurrency = function(value) {
|
|
14201
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
14202
|
+
};
|
|
14203
|
+
|
|
14204
|
+
|
|
14205
|
+
/**
|
|
14206
|
+
* optional string payment_type = 8;
|
|
14207
|
+
* @return {string}
|
|
14208
|
+
*/
|
|
14209
|
+
proto.payment.UserPaymentMethodItem.prototype.getPaymentType = function() {
|
|
14210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
14211
|
+
};
|
|
14212
|
+
|
|
14213
|
+
|
|
14184
14214
|
/**
|
|
14185
14215
|
* @param {string} value
|
|
14186
14216
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14187
14217
|
*/
|
|
14188
14218
|
proto.payment.UserPaymentMethodItem.prototype.setPaymentType = function(value) {
|
|
14189
|
-
return jspb.Message.setField(this,
|
|
14219
|
+
return jspb.Message.setField(this, 8, value);
|
|
14190
14220
|
};
|
|
14191
14221
|
|
|
14192
14222
|
|
|
@@ -14195,7 +14225,7 @@ proto.payment.UserPaymentMethodItem.prototype.setPaymentType = function(value) {
|
|
|
14195
14225
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14196
14226
|
*/
|
|
14197
14227
|
proto.payment.UserPaymentMethodItem.prototype.clearPaymentType = function() {
|
|
14198
|
-
return jspb.Message.setField(this,
|
|
14228
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
14199
14229
|
};
|
|
14200
14230
|
|
|
14201
14231
|
|
|
@@ -14204,16 +14234,16 @@ proto.payment.UserPaymentMethodItem.prototype.clearPaymentType = function() {
|
|
|
14204
14234
|
* @return {boolean}
|
|
14205
14235
|
*/
|
|
14206
14236
|
proto.payment.UserPaymentMethodItem.prototype.hasPaymentType = function() {
|
|
14207
|
-
return jspb.Message.getField(this,
|
|
14237
|
+
return jspb.Message.getField(this, 8) != null;
|
|
14208
14238
|
};
|
|
14209
14239
|
|
|
14210
14240
|
|
|
14211
14241
|
/**
|
|
14212
|
-
* optional int32 min_amount =
|
|
14242
|
+
* optional int32 min_amount = 9;
|
|
14213
14243
|
* @return {number}
|
|
14214
14244
|
*/
|
|
14215
14245
|
proto.payment.UserPaymentMethodItem.prototype.getMinAmount = function() {
|
|
14216
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
14246
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
14217
14247
|
};
|
|
14218
14248
|
|
|
14219
14249
|
|
|
@@ -14222,7 +14252,7 @@ proto.payment.UserPaymentMethodItem.prototype.getMinAmount = function() {
|
|
|
14222
14252
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14223
14253
|
*/
|
|
14224
14254
|
proto.payment.UserPaymentMethodItem.prototype.setMinAmount = function(value) {
|
|
14225
|
-
return jspb.Message.setField(this,
|
|
14255
|
+
return jspb.Message.setField(this, 9, value);
|
|
14226
14256
|
};
|
|
14227
14257
|
|
|
14228
14258
|
|
|
@@ -14231,7 +14261,7 @@ proto.payment.UserPaymentMethodItem.prototype.setMinAmount = function(value) {
|
|
|
14231
14261
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14232
14262
|
*/
|
|
14233
14263
|
proto.payment.UserPaymentMethodItem.prototype.clearMinAmount = function() {
|
|
14234
|
-
return jspb.Message.setField(this,
|
|
14264
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
14235
14265
|
};
|
|
14236
14266
|
|
|
14237
14267
|
|
|
@@ -14240,16 +14270,16 @@ proto.payment.UserPaymentMethodItem.prototype.clearMinAmount = function() {
|
|
|
14240
14270
|
* @return {boolean}
|
|
14241
14271
|
*/
|
|
14242
14272
|
proto.payment.UserPaymentMethodItem.prototype.hasMinAmount = function() {
|
|
14243
|
-
return jspb.Message.getField(this,
|
|
14273
|
+
return jspb.Message.getField(this, 9) != null;
|
|
14244
14274
|
};
|
|
14245
14275
|
|
|
14246
14276
|
|
|
14247
14277
|
/**
|
|
14248
|
-
* optional int32 max_amount =
|
|
14278
|
+
* optional int32 max_amount = 10;
|
|
14249
14279
|
* @return {number}
|
|
14250
14280
|
*/
|
|
14251
14281
|
proto.payment.UserPaymentMethodItem.prototype.getMaxAmount = function() {
|
|
14252
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
14282
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
14253
14283
|
};
|
|
14254
14284
|
|
|
14255
14285
|
|
|
@@ -14258,7 +14288,7 @@ proto.payment.UserPaymentMethodItem.prototype.getMaxAmount = function() {
|
|
|
14258
14288
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14259
14289
|
*/
|
|
14260
14290
|
proto.payment.UserPaymentMethodItem.prototype.setMaxAmount = function(value) {
|
|
14261
|
-
return jspb.Message.setField(this,
|
|
14291
|
+
return jspb.Message.setField(this, 10, value);
|
|
14262
14292
|
};
|
|
14263
14293
|
|
|
14264
14294
|
|
|
@@ -14267,7 +14297,7 @@ proto.payment.UserPaymentMethodItem.prototype.setMaxAmount = function(value) {
|
|
|
14267
14297
|
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
14268
14298
|
*/
|
|
14269
14299
|
proto.payment.UserPaymentMethodItem.prototype.clearMaxAmount = function() {
|
|
14270
|
-
return jspb.Message.setField(this,
|
|
14300
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
14271
14301
|
};
|
|
14272
14302
|
|
|
14273
14303
|
|
|
@@ -14276,7 +14306,7 @@ proto.payment.UserPaymentMethodItem.prototype.clearMaxAmount = function() {
|
|
|
14276
14306
|
* @return {boolean}
|
|
14277
14307
|
*/
|
|
14278
14308
|
proto.payment.UserPaymentMethodItem.prototype.hasMaxAmount = function() {
|
|
14279
|
-
return jspb.Message.getField(this,
|
|
14309
|
+
return jspb.Message.getField(this, 10) != null;
|
|
14280
14310
|
};
|
|
14281
14311
|
|
|
14282
14312
|
|