protobuf-platform 1.1.94 → 1.1.95
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
@@ -4574,7 +4574,8 @@ proto.cashback.UserCashbackItem.toObject = function(includeInstance, msg) {
|
|
4574
4574
|
percentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
4575
4575
|
calculatedDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
4576
4576
|
image: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
4577
|
-
status: jspb.Message.getFieldWithDefault(msg, 12, "")
|
4577
|
+
status: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
4578
|
+
reward: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0)
|
4578
4579
|
};
|
4579
4580
|
|
4580
4581
|
if (includeInstance) {
|
@@ -4659,6 +4660,10 @@ proto.cashback.UserCashbackItem.deserializeBinaryFromReader = function(msg, read
|
|
4659
4660
|
var value = /** @type {string} */ (reader.readString());
|
4660
4661
|
msg.setStatus(value);
|
4661
4662
|
break;
|
4663
|
+
case 13:
|
4664
|
+
var value = /** @type {number} */ (reader.readFloat());
|
4665
|
+
msg.setReward(value);
|
4666
|
+
break;
|
4662
4667
|
default:
|
4663
4668
|
reader.skipField();
|
4664
4669
|
break;
|
@@ -4772,6 +4777,13 @@ proto.cashback.UserCashbackItem.serializeBinaryToWriter = function(message, writ
|
|
4772
4777
|
f
|
4773
4778
|
);
|
4774
4779
|
}
|
4780
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
4781
|
+
if (f != null) {
|
4782
|
+
writer.writeFloat(
|
4783
|
+
13,
|
4784
|
+
f
|
4785
|
+
);
|
4786
|
+
}
|
4775
4787
|
};
|
4776
4788
|
|
4777
4789
|
|
@@ -5099,6 +5111,42 @@ proto.cashback.UserCashbackItem.prototype.hasStatus = function() {
|
|
5099
5111
|
};
|
5100
5112
|
|
5101
5113
|
|
5114
|
+
/**
|
5115
|
+
* optional float reward = 13;
|
5116
|
+
* @return {number}
|
5117
|
+
*/
|
5118
|
+
proto.cashback.UserCashbackItem.prototype.getReward = function() {
|
5119
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
5120
|
+
};
|
5121
|
+
|
5122
|
+
|
5123
|
+
/**
|
5124
|
+
* @param {number} value
|
5125
|
+
* @return {!proto.cashback.UserCashbackItem} returns this
|
5126
|
+
*/
|
5127
|
+
proto.cashback.UserCashbackItem.prototype.setReward = function(value) {
|
5128
|
+
return jspb.Message.setField(this, 13, value);
|
5129
|
+
};
|
5130
|
+
|
5131
|
+
|
5132
|
+
/**
|
5133
|
+
* Clears the field making it undefined.
|
5134
|
+
* @return {!proto.cashback.UserCashbackItem} returns this
|
5135
|
+
*/
|
5136
|
+
proto.cashback.UserCashbackItem.prototype.clearReward = function() {
|
5137
|
+
return jspb.Message.setField(this, 13, undefined);
|
5138
|
+
};
|
5139
|
+
|
5140
|
+
|
5141
|
+
/**
|
5142
|
+
* Returns whether this field is set.
|
5143
|
+
* @return {boolean}
|
5144
|
+
*/
|
5145
|
+
proto.cashback.UserCashbackItem.prototype.hasReward = function() {
|
5146
|
+
return jspb.Message.getField(this, 13) != null;
|
5147
|
+
};
|
5148
|
+
|
5149
|
+
|
5102
5150
|
|
5103
5151
|
|
5104
5152
|
|