protobuf-platform 1.2.264 → 1.2.266
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 +1 -0
- package/payment/payment_pb.js +49 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
package/payment/payment_pb.js
CHANGED
|
@@ -7001,7 +7001,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
|
|
|
7001
7001
|
providerId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7002
7002
|
transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7003
7003
|
processingType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
7004
|
-
code: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
7004
|
+
code: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
7005
|
+
currencyType: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
7005
7006
|
};
|
|
7006
7007
|
|
|
7007
7008
|
if (includeInstance) {
|
|
@@ -7070,6 +7071,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
7070
7071
|
var value = /** @type {string} */ (reader.readString());
|
|
7071
7072
|
msg.setCode(value);
|
|
7072
7073
|
break;
|
|
7074
|
+
case 10:
|
|
7075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7076
|
+
msg.setCurrencyType(value);
|
|
7077
|
+
break;
|
|
7073
7078
|
default:
|
|
7074
7079
|
reader.skipField();
|
|
7075
7080
|
break;
|
|
@@ -7155,6 +7160,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
|
|
|
7155
7160
|
f
|
|
7156
7161
|
);
|
|
7157
7162
|
}
|
|
7163
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
7164
|
+
if (f != null) {
|
|
7165
|
+
writer.writeString(
|
|
7166
|
+
10,
|
|
7167
|
+
f
|
|
7168
|
+
);
|
|
7169
|
+
}
|
|
7158
7170
|
};
|
|
7159
7171
|
|
|
7160
7172
|
|
|
@@ -7446,6 +7458,42 @@ proto.payment.MethodItemRequest.prototype.hasCode = function() {
|
|
|
7446
7458
|
};
|
|
7447
7459
|
|
|
7448
7460
|
|
|
7461
|
+
/**
|
|
7462
|
+
* optional string currency_type = 10;
|
|
7463
|
+
* @return {string}
|
|
7464
|
+
*/
|
|
7465
|
+
proto.payment.MethodItemRequest.prototype.getCurrencyType = function() {
|
|
7466
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
7467
|
+
};
|
|
7468
|
+
|
|
7469
|
+
|
|
7470
|
+
/**
|
|
7471
|
+
* @param {string} value
|
|
7472
|
+
* @return {!proto.payment.MethodItemRequest} returns this
|
|
7473
|
+
*/
|
|
7474
|
+
proto.payment.MethodItemRequest.prototype.setCurrencyType = function(value) {
|
|
7475
|
+
return jspb.Message.setField(this, 10, value);
|
|
7476
|
+
};
|
|
7477
|
+
|
|
7478
|
+
|
|
7479
|
+
/**
|
|
7480
|
+
* Clears the field making it undefined.
|
|
7481
|
+
* @return {!proto.payment.MethodItemRequest} returns this
|
|
7482
|
+
*/
|
|
7483
|
+
proto.payment.MethodItemRequest.prototype.clearCurrencyType = function() {
|
|
7484
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
7485
|
+
};
|
|
7486
|
+
|
|
7487
|
+
|
|
7488
|
+
/**
|
|
7489
|
+
* Returns whether this field is set.
|
|
7490
|
+
* @return {boolean}
|
|
7491
|
+
*/
|
|
7492
|
+
proto.payment.MethodItemRequest.prototype.hasCurrencyType = function() {
|
|
7493
|
+
return jspb.Message.getField(this, 10) != null;
|
|
7494
|
+
};
|
|
7495
|
+
|
|
7496
|
+
|
|
7449
7497
|
|
|
7450
7498
|
|
|
7451
7499
|
|