protobuf-platform 1.2.436 → 1.2.437
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 -2
- package/payment/payment_pb.js +10 -10
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -608,8 +608,8 @@ message UserPaymentMethodItem {
|
|
|
608
608
|
string image_cdn = 6;
|
|
609
609
|
string currency = 7;
|
|
610
610
|
optional string payment_type = 8;
|
|
611
|
-
optional
|
|
612
|
-
optional
|
|
611
|
+
optional float min_amount = 9;
|
|
612
|
+
optional float max_amount = 10;
|
|
613
613
|
optional string sdk_provider = 11;
|
|
614
614
|
optional bool sdk_enabled = 12;
|
|
615
615
|
optional string processing_type = 13;
|
package/payment/payment_pb.js
CHANGED
|
@@ -25935,8 +25935,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
25935
25935
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
25936
25936
|
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
25937
25937
|
paymentType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
25938
|
-
minAmount: jspb.Message.
|
|
25939
|
-
maxAmount: jspb.Message.
|
|
25938
|
+
minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
25939
|
+
maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
25940
25940
|
sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
25941
25941
|
sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
25942
25942
|
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
@@ -26016,11 +26016,11 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
26016
26016
|
msg.setPaymentType(value);
|
|
26017
26017
|
break;
|
|
26018
26018
|
case 9:
|
|
26019
|
-
var value = /** @type {number} */ (reader.
|
|
26019
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
26020
26020
|
msg.setMinAmount(value);
|
|
26021
26021
|
break;
|
|
26022
26022
|
case 10:
|
|
26023
|
-
var value = /** @type {number} */ (reader.
|
|
26023
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
26024
26024
|
msg.setMaxAmount(value);
|
|
26025
26025
|
break;
|
|
26026
26026
|
case 11:
|
|
@@ -26147,14 +26147,14 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
26147
26147
|
}
|
|
26148
26148
|
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
26149
26149
|
if (f != null) {
|
|
26150
|
-
writer.
|
|
26150
|
+
writer.writeFloat(
|
|
26151
26151
|
9,
|
|
26152
26152
|
f
|
|
26153
26153
|
);
|
|
26154
26154
|
}
|
|
26155
26155
|
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
26156
26156
|
if (f != null) {
|
|
26157
|
-
writer.
|
|
26157
|
+
writer.writeFloat(
|
|
26158
26158
|
10,
|
|
26159
26159
|
f
|
|
26160
26160
|
);
|
|
@@ -26389,11 +26389,11 @@ proto.payment.UserPaymentMethodItem.prototype.hasPaymentType = function() {
|
|
|
26389
26389
|
|
|
26390
26390
|
|
|
26391
26391
|
/**
|
|
26392
|
-
* optional
|
|
26392
|
+
* optional float min_amount = 9;
|
|
26393
26393
|
* @return {number}
|
|
26394
26394
|
*/
|
|
26395
26395
|
proto.payment.UserPaymentMethodItem.prototype.getMinAmount = function() {
|
|
26396
|
-
return /** @type {number} */ (jspb.Message.
|
|
26396
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
26397
26397
|
};
|
|
26398
26398
|
|
|
26399
26399
|
|
|
@@ -26425,11 +26425,11 @@ proto.payment.UserPaymentMethodItem.prototype.hasMinAmount = function() {
|
|
|
26425
26425
|
|
|
26426
26426
|
|
|
26427
26427
|
/**
|
|
26428
|
-
* optional
|
|
26428
|
+
* optional float max_amount = 10;
|
|
26429
26429
|
* @return {number}
|
|
26430
26430
|
*/
|
|
26431
26431
|
proto.payment.UserPaymentMethodItem.prototype.getMaxAmount = function() {
|
|
26432
|
-
return /** @type {number} */ (jspb.Message.
|
|
26432
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
26433
26433
|
};
|
|
26434
26434
|
|
|
26435
26435
|
|