@sniipwebmaster/payment-methods-client-grpcweb 21.2.2928 → 21.2.2946

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.
@@ -12102,12 +12102,19 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAcce
12102
12102
  * @constructor
12103
12103
  */
12104
12104
  proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest = function(opt_data) {
12105
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12105
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.repeatedFields_, null);
12106
12106
  };
12107
12107
  goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest, jspb.Message);
12108
12108
  if (goog.DEBUG && !COMPILED) {
12109
12109
  proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest';
12110
12110
  }
12111
+ /**
12112
+ * List of repeated fields within this message type.
12113
+ * @private {!Array<number>}
12114
+ * @const
12115
+ */
12116
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.repeatedFields_ = [3];
12117
+
12111
12118
 
12112
12119
 
12113
12120
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -12137,8 +12144,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.proto
12137
12144
  proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.toObject = function(includeInstance, msg) {
12138
12145
  var f, obj = {
12139
12146
  accesstoken: msg.getAccesstoken(),
12140
- paymentmethodid: msg.getPaymentmethodid(),
12141
- userid: msg.getUserid()
12147
+ userid: msg.getUserid(),
12148
+ paymentmethodidlistList: jspb.Message.getField(msg, 3)
12142
12149
  };
12143
12150
 
12144
12151
  if (includeInstance) {
@@ -12181,11 +12188,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deser
12181
12188
  break;
12182
12189
  case 2:
12183
12190
  var value = /** @type {number} */ (reader.readInt64());
12184
- msg.setPaymentmethodid(value);
12191
+ msg.setUserid(value);
12185
12192
  break;
12186
12193
  case 3:
12187
- var value = /** @type {number} */ (reader.readInt64());
12188
- msg.setUserid(value);
12194
+ var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
12195
+ msg.setPaymentmethodidlistList(value);
12189
12196
  break;
12190
12197
  default:
12191
12198
  reader.skipField();
@@ -12232,16 +12239,16 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.proto
12232
12239
  f
12233
12240
  );
12234
12241
  }
12235
- f = this.getPaymentmethodid();
12242
+ f = this.getUserid();
12236
12243
  if (f !== 0) {
12237
12244
  writer.writeInt64(
12238
12245
  2,
12239
12246
  f
12240
12247
  );
12241
12248
  }
12242
- f = this.getUserid();
12243
- if (f !== 0) {
12244
- writer.writeInt64(
12249
+ f = this.getPaymentmethodidlistList();
12250
+ if (f.length > 0) {
12251
+ writer.writePackedInt64(
12245
12252
  3,
12246
12253
  f
12247
12254
  );
@@ -12274,32 +12281,39 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.proto
12274
12281
 
12275
12282
 
12276
12283
  /**
12277
- * optional int64 paymentMethodId = 2;
12284
+ * optional int64 userId = 2;
12278
12285
  * @return {number}
12279
12286
  */
12280
- proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getPaymentmethodid = function() {
12287
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getUserid = function() {
12281
12288
  return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
12282
12289
  };
12283
12290
 
12284
12291
 
12285
12292
  /** @param {number} value */
12286
- proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setPaymentmethodid = function(value) {
12293
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setUserid = function(value) {
12287
12294
  jspb.Message.setField(this, 2, value);
12288
12295
  };
12289
12296
 
12290
12297
 
12291
12298
  /**
12292
- * optional int64 userId = 3;
12293
- * @return {number}
12299
+ * repeated int64 paymentMethodIdList = 3;
12300
+ * If you change this array by adding, removing or replacing elements, or if you
12301
+ * replace the array itself, then you must call the setter to update it.
12302
+ * @return {!Array.<number>}
12294
12303
  */
12295
- proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getUserid = function() {
12296
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
12304
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getPaymentmethodidlistList = function() {
12305
+ return /** @type {!Array.<number>} */ (jspb.Message.getField(this, 3));
12297
12306
  };
12298
12307
 
12299
12308
 
12300
- /** @param {number} value */
12301
- proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setUserid = function(value) {
12302
- jspb.Message.setField(this, 3, value);
12309
+ /** @param {Array.<number>} value */
12310
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setPaymentmethodidlistList = function(value) {
12311
+ jspb.Message.setField(this, 3, value || []);
12312
+ };
12313
+
12314
+
12315
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.clearPaymentmethodidlistList = function() {
12316
+ jspb.Message.setField(this, 3, []);
12303
12317
  };
12304
12318
 
12305
12319
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "21.2.2928",
3
+ "version": "21.2.2946",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",