protobuf-platform 1.2.517 → 1.2.519

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.517",
3
+ "version": "1.2.519",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -440,6 +440,7 @@ message DepositItem {
440
440
  optional string external_ref = 18;
441
441
  optional bool is_ftd = 19;
442
442
  optional string completed = 20;
443
+ optional string payment_method_image = 21;
443
444
  }
444
445
  message DepositItemsResponse {
445
446
  repeated DepositItem items = 1;
@@ -18251,7 +18251,8 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
18251
18251
  paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
18252
18252
  externalRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
18253
18253
  isFtd: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
18254
- completed: jspb.Message.getFieldWithDefault(msg, 20, "")
18254
+ completed: jspb.Message.getFieldWithDefault(msg, 20, ""),
18255
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 21, "")
18255
18256
  };
18256
18257
 
18257
18258
  if (includeInstance) {
@@ -18368,6 +18369,10 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
18368
18369
  var value = /** @type {string} */ (reader.readString());
18369
18370
  msg.setCompleted(value);
18370
18371
  break;
18372
+ case 21:
18373
+ var value = /** @type {string} */ (reader.readString());
18374
+ msg.setPaymentMethodImage(value);
18375
+ break;
18371
18376
  default:
18372
18377
  reader.skipField();
18373
18378
  break;
@@ -18537,6 +18542,13 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
18537
18542
  f
18538
18543
  );
18539
18544
  }
18545
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
18546
+ if (f != null) {
18547
+ writer.writeString(
18548
+ 21,
18549
+ f
18550
+ );
18551
+ }
18540
18552
  };
18541
18553
 
18542
18554
 
@@ -19134,6 +19146,42 @@ proto.payment.DepositItem.prototype.hasCompleted = function() {
19134
19146
  };
19135
19147
 
19136
19148
 
19149
+ /**
19150
+ * optional string payment_method_image = 21;
19151
+ * @return {string}
19152
+ */
19153
+ proto.payment.DepositItem.prototype.getPaymentMethodImage = function() {
19154
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
19155
+ };
19156
+
19157
+
19158
+ /**
19159
+ * @param {string} value
19160
+ * @return {!proto.payment.DepositItem} returns this
19161
+ */
19162
+ proto.payment.DepositItem.prototype.setPaymentMethodImage = function(value) {
19163
+ return jspb.Message.setField(this, 21, value);
19164
+ };
19165
+
19166
+
19167
+ /**
19168
+ * Clears the field making it undefined.
19169
+ * @return {!proto.payment.DepositItem} returns this
19170
+ */
19171
+ proto.payment.DepositItem.prototype.clearPaymentMethodImage = function() {
19172
+ return jspb.Message.setField(this, 21, undefined);
19173
+ };
19174
+
19175
+
19176
+ /**
19177
+ * Returns whether this field is set.
19178
+ * @return {boolean}
19179
+ */
19180
+ proto.payment.DepositItem.prototype.hasPaymentMethodImage = function() {
19181
+ return jspb.Message.getField(this, 21) != null;
19182
+ };
19183
+
19184
+
19137
19185
 
19138
19186
  /**
19139
19187
  * List of repeated fields within this message type.