protobuf-platform 1.0.295 → 1.0.296
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/cashback/cashback.proto +1 -0
- package/cashback/cashback_pb.js +49 -1
- package/package.json +1 -1
package/cashback/cashback.proto
CHANGED
package/cashback/cashback_pb.js
CHANGED
@@ -4099,7 +4099,8 @@ proto.cashback.CashbackUserRequest.prototype.toObject = function(opt_includeInst
|
|
4099
4099
|
proto.cashback.CashbackUserRequest.toObject = function(includeInstance, msg) {
|
4100
4100
|
var f, obj = {
|
4101
4101
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4102
|
-
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
4102
|
+
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4103
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
4103
4104
|
};
|
4104
4105
|
|
4105
4106
|
if (includeInstance) {
|
@@ -4144,6 +4145,10 @@ proto.cashback.CashbackUserRequest.deserializeBinaryFromReader = function(msg, r
|
|
4144
4145
|
var value = /** @type {string} */ (reader.readString());
|
4145
4146
|
msg.setCashbackType(value);
|
4146
4147
|
break;
|
4148
|
+
case 3:
|
4149
|
+
var value = /** @type {string} */ (reader.readString());
|
4150
|
+
msg.setCurrency(value);
|
4151
|
+
break;
|
4147
4152
|
default:
|
4148
4153
|
reader.skipField();
|
4149
4154
|
break;
|
@@ -4187,6 +4192,13 @@ proto.cashback.CashbackUserRequest.serializeBinaryToWriter = function(message, w
|
|
4187
4192
|
f
|
4188
4193
|
);
|
4189
4194
|
}
|
4195
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
4196
|
+
if (f != null) {
|
4197
|
+
writer.writeString(
|
4198
|
+
3,
|
4199
|
+
f
|
4200
|
+
);
|
4201
|
+
}
|
4190
4202
|
};
|
4191
4203
|
|
4192
4204
|
|
@@ -4244,4 +4256,40 @@ proto.cashback.CashbackUserRequest.prototype.hasCashbackType = function() {
|
|
4244
4256
|
};
|
4245
4257
|
|
4246
4258
|
|
4259
|
+
/**
|
4260
|
+
* optional string currency = 3;
|
4261
|
+
* @return {string}
|
4262
|
+
*/
|
4263
|
+
proto.cashback.CashbackUserRequest.prototype.getCurrency = function() {
|
4264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
4265
|
+
};
|
4266
|
+
|
4267
|
+
|
4268
|
+
/**
|
4269
|
+
* @param {string} value
|
4270
|
+
* @return {!proto.cashback.CashbackUserRequest} returns this
|
4271
|
+
*/
|
4272
|
+
proto.cashback.CashbackUserRequest.prototype.setCurrency = function(value) {
|
4273
|
+
return jspb.Message.setField(this, 3, value);
|
4274
|
+
};
|
4275
|
+
|
4276
|
+
|
4277
|
+
/**
|
4278
|
+
* Clears the field making it undefined.
|
4279
|
+
* @return {!proto.cashback.CashbackUserRequest} returns this
|
4280
|
+
*/
|
4281
|
+
proto.cashback.CashbackUserRequest.prototype.clearCurrency = function() {
|
4282
|
+
return jspb.Message.setField(this, 3, undefined);
|
4283
|
+
};
|
4284
|
+
|
4285
|
+
|
4286
|
+
/**
|
4287
|
+
* Returns whether this field is set.
|
4288
|
+
* @return {boolean}
|
4289
|
+
*/
|
4290
|
+
proto.cashback.CashbackUserRequest.prototype.hasCurrency = function() {
|
4291
|
+
return jspb.Message.getField(this, 3) != null;
|
4292
|
+
};
|
4293
|
+
|
4294
|
+
|
4247
4295
|
goog.object.extend(exports, proto.cashback);
|