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

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.
@@ -970,6 +970,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
970
970
  };
971
971
 
972
972
 
973
+ /**
974
+ * @const
975
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
976
+ * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest,
977
+ * !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
978
+ */
979
+ const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsByPaymentMethodIdInternal = new grpc.web.AbstractClientBase.MethodInfo(
980
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
981
+ /** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} request */
982
+ function(request) {
983
+ return request.serializeBinary();
984
+ },
985
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
986
+ );
987
+
988
+
989
+ /**
990
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} request The
991
+ * request proto
992
+ * @param {?Object<string, string>} metadata User defined
993
+ * call metadata
994
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
995
+ * callback The callback function(error, response)
996
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
997
+ * The XHR Node Readable Stream
998
+ */
999
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodsByPaymentMethodIdInternal =
1000
+ function(request, metadata, callback) {
1001
+ return this.client_.rpcCall(this.hostname_ +
1002
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsByPaymentMethodIdInternal',
1003
+ request,
1004
+ metadata || {},
1005
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsByPaymentMethodIdInternal,
1006
+ callback);
1007
+ };
1008
+
1009
+
1010
+ /**
1011
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} request The
1012
+ * request proto
1013
+ * @param {?Object<string, string>} metadata User defined
1014
+ * call metadata
1015
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
1016
+ * A native promise that resolves to the response
1017
+ */
1018
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodsByPaymentMethodIdInternal =
1019
+ function(request, metadata) {
1020
+ return this.client_.unaryCall(this.hostname_ +
1021
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodsByPaymentMethodIdInternal',
1022
+ request,
1023
+ metadata || {},
1024
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodsByPaymentMethodIdInternal);
1025
+ };
1026
+
1027
+
973
1028
  /**
974
1029
  * @const
975
1030
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -38,6 +38,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymen
38
38
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest', null, global);
39
39
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodRequest', null, global);
40
40
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse', null, global);
41
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest', null, global);
41
42
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsForAuditRequest', null, global);
42
43
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsInternalRequest', null, global);
43
44
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest', null, global);
@@ -58,6 +59,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodResponse', n
58
59
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodType', null, global);
59
60
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodTypesResponse', null, global);
60
61
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest', null, global);
62
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest', null, global);
61
63
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsForAuditRequest', null, global);
62
64
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsInternalGetRequest', null, global);
63
65
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse', null, global);
@@ -6326,6 +6328,182 @@ proto.sniippaymentmethodsserviceapi.GetPaymentMethodResponse.prototype.hasRespon
6326
6328
 
6327
6329
 
6328
6330
 
6331
+ /**
6332
+ * Generated by JsPbCodeGenerator.
6333
+ * @param {Array=} opt_data Optional initial data array, typically from a
6334
+ * server response, or constructed directly in Javascript. The array is used
6335
+ * in place and becomes part of the constructed object. It is not cloned.
6336
+ * If no data is provided, the constructed object will be empty, but still
6337
+ * valid.
6338
+ * @extends {jspb.Message}
6339
+ * @constructor
6340
+ */
6341
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest = function(opt_data) {
6342
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6343
+ };
6344
+ goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest, jspb.Message);
6345
+ if (goog.DEBUG && !COMPILED) {
6346
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest';
6347
+ }
6348
+
6349
+
6350
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6351
+ /**
6352
+ * Creates an object representation of this proto suitable for use in Soy templates.
6353
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6354
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6355
+ * For the list of reserved names please see:
6356
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6357
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6358
+ * for transitional soy proto support: http://goto/soy-param-migration
6359
+ * @return {!Object}
6360
+ */
6361
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.toObject = function(opt_includeInstance) {
6362
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.toObject(opt_includeInstance, this);
6363
+ };
6364
+
6365
+
6366
+ /**
6367
+ * Static version of the {@see toObject} method.
6368
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
6369
+ * instance for transitional soy proto support:
6370
+ * http://goto/soy-param-migration
6371
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} msg The msg instance to transform.
6372
+ * @return {!Object}
6373
+ */
6374
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.toObject = function(includeInstance, msg) {
6375
+ var f, obj = {
6376
+ data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.toObject(includeInstance, f)
6377
+ };
6378
+
6379
+ if (includeInstance) {
6380
+ obj.$jspbMessageInstance = msg;
6381
+ }
6382
+ return obj;
6383
+ };
6384
+ }
6385
+
6386
+
6387
+ /**
6388
+ * Deserializes binary data (in protobuf wire format).
6389
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6390
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest}
6391
+ */
6392
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.deserializeBinary = function(bytes) {
6393
+ var reader = new jspb.BinaryReader(bytes);
6394
+ var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest;
6395
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.deserializeBinaryFromReader(msg, reader);
6396
+ };
6397
+
6398
+
6399
+ /**
6400
+ * Deserializes binary data (in protobuf wire format) from the
6401
+ * given reader into the given message object.
6402
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} msg The message object to deserialize into.
6403
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6404
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest}
6405
+ */
6406
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
6407
+ while (reader.nextField()) {
6408
+ if (reader.isEndGroup()) {
6409
+ break;
6410
+ }
6411
+ var field = reader.getFieldNumber();
6412
+ switch (field) {
6413
+ case 1:
6414
+ var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest;
6415
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deserializeBinaryFromReader);
6416
+ msg.setData(value);
6417
+ break;
6418
+ default:
6419
+ reader.skipField();
6420
+ break;
6421
+ }
6422
+ }
6423
+ return msg;
6424
+ };
6425
+
6426
+
6427
+ /**
6428
+ * Class method variant: serializes the given message to binary data
6429
+ * (in protobuf wire format), writing to the given BinaryWriter.
6430
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} message
6431
+ * @param {!jspb.BinaryWriter} writer
6432
+ */
6433
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.serializeBinaryToWriter = function(message, writer) {
6434
+ message.serializeBinaryToWriter(writer);
6435
+ };
6436
+
6437
+
6438
+ /**
6439
+ * Serializes the message to binary data (in protobuf wire format).
6440
+ * @return {!Uint8Array}
6441
+ */
6442
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.serializeBinary = function() {
6443
+ var writer = new jspb.BinaryWriter();
6444
+ this.serializeBinaryToWriter(writer);
6445
+ return writer.getResultBuffer();
6446
+ };
6447
+
6448
+
6449
+ /**
6450
+ * Serializes the message to binary data (in protobuf wire format),
6451
+ * writing to the given BinaryWriter.
6452
+ * @param {!jspb.BinaryWriter} writer
6453
+ */
6454
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.serializeBinaryToWriter = function (writer) {
6455
+ var f = undefined;
6456
+ f = this.getData();
6457
+ if (f != null) {
6458
+ writer.writeMessage(
6459
+ 1,
6460
+ f,
6461
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.serializeBinaryToWriter
6462
+ );
6463
+ }
6464
+ };
6465
+
6466
+
6467
+ /**
6468
+ * Creates a deep clone of this proto. No data is shared with the original.
6469
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} The clone.
6470
+ */
6471
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.cloneMessage = function() {
6472
+ return /** @type {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest} */ (jspb.Message.cloneMessage(this));
6473
+ };
6474
+
6475
+
6476
+ /**
6477
+ * optional PaymentMethodsByPaymentMethodIdRequest data = 1;
6478
+ * @return {proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest}
6479
+ */
6480
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.getData = function() {
6481
+ return /** @type{proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} */ (
6482
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest, 1));
6483
+ };
6484
+
6485
+
6486
+ /** @param {proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest|undefined} value */
6487
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.setData = function(value) {
6488
+ jspb.Message.setWrapperField(this, 1, value);
6489
+ };
6490
+
6491
+
6492
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.clearData = function() {
6493
+ this.setData(undefined);
6494
+ };
6495
+
6496
+
6497
+ /**
6498
+ * Returns whether this field is set.
6499
+ * @return{!boolean}
6500
+ */
6501
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodsByPaymentMethodIdInternalRequest.prototype.hasData = function() {
6502
+ return jspb.Message.getField(this, 1) != null;
6503
+ };
6504
+
6505
+
6506
+
6329
6507
  /**
6330
6508
  * Generated by JsPbCodeGenerator.
6331
6509
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11913,6 +12091,219 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAcce
11913
12091
 
11914
12092
 
11915
12093
 
12094
+ /**
12095
+ * Generated by JsPbCodeGenerator.
12096
+ * @param {Array=} opt_data Optional initial data array, typically from a
12097
+ * server response, or constructed directly in Javascript. The array is used
12098
+ * in place and becomes part of the constructed object. It is not cloned.
12099
+ * If no data is provided, the constructed object will be empty, but still
12100
+ * valid.
12101
+ * @extends {jspb.Message}
12102
+ * @constructor
12103
+ */
12104
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest = function(opt_data) {
12105
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12106
+ };
12107
+ goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest, jspb.Message);
12108
+ if (goog.DEBUG && !COMPILED) {
12109
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest';
12110
+ }
12111
+
12112
+
12113
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12114
+ /**
12115
+ * Creates an object representation of this proto suitable for use in Soy templates.
12116
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12117
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12118
+ * For the list of reserved names please see:
12119
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12120
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12121
+ * for transitional soy proto support: http://goto/soy-param-migration
12122
+ * @return {!Object}
12123
+ */
12124
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.toObject = function(opt_includeInstance) {
12125
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.toObject(opt_includeInstance, this);
12126
+ };
12127
+
12128
+
12129
+ /**
12130
+ * Static version of the {@see toObject} method.
12131
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12132
+ * instance for transitional soy proto support:
12133
+ * http://goto/soy-param-migration
12134
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} msg The msg instance to transform.
12135
+ * @return {!Object}
12136
+ */
12137
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.toObject = function(includeInstance, msg) {
12138
+ var f, obj = {
12139
+ accesstoken: msg.getAccesstoken(),
12140
+ paymentmethodid: msg.getPaymentmethodid(),
12141
+ userid: msg.getUserid()
12142
+ };
12143
+
12144
+ if (includeInstance) {
12145
+ obj.$jspbMessageInstance = msg;
12146
+ }
12147
+ return obj;
12148
+ };
12149
+ }
12150
+
12151
+
12152
+ /**
12153
+ * Deserializes binary data (in protobuf wire format).
12154
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12155
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest}
12156
+ */
12157
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deserializeBinary = function(bytes) {
12158
+ var reader = new jspb.BinaryReader(bytes);
12159
+ var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest;
12160
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deserializeBinaryFromReader(msg, reader);
12161
+ };
12162
+
12163
+
12164
+ /**
12165
+ * Deserializes binary data (in protobuf wire format) from the
12166
+ * given reader into the given message object.
12167
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} msg The message object to deserialize into.
12168
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12169
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest}
12170
+ */
12171
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.deserializeBinaryFromReader = function(msg, reader) {
12172
+ while (reader.nextField()) {
12173
+ if (reader.isEndGroup()) {
12174
+ break;
12175
+ }
12176
+ var field = reader.getFieldNumber();
12177
+ switch (field) {
12178
+ case 1:
12179
+ var value = /** @type {string} */ (reader.readString());
12180
+ msg.setAccesstoken(value);
12181
+ break;
12182
+ case 2:
12183
+ var value = /** @type {number} */ (reader.readInt64());
12184
+ msg.setPaymentmethodid(value);
12185
+ break;
12186
+ case 3:
12187
+ var value = /** @type {number} */ (reader.readInt64());
12188
+ msg.setUserid(value);
12189
+ break;
12190
+ default:
12191
+ reader.skipField();
12192
+ break;
12193
+ }
12194
+ }
12195
+ return msg;
12196
+ };
12197
+
12198
+
12199
+ /**
12200
+ * Class method variant: serializes the given message to binary data
12201
+ * (in protobuf wire format), writing to the given BinaryWriter.
12202
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} message
12203
+ * @param {!jspb.BinaryWriter} writer
12204
+ */
12205
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.serializeBinaryToWriter = function(message, writer) {
12206
+ message.serializeBinaryToWriter(writer);
12207
+ };
12208
+
12209
+
12210
+ /**
12211
+ * Serializes the message to binary data (in protobuf wire format).
12212
+ * @return {!Uint8Array}
12213
+ */
12214
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.serializeBinary = function() {
12215
+ var writer = new jspb.BinaryWriter();
12216
+ this.serializeBinaryToWriter(writer);
12217
+ return writer.getResultBuffer();
12218
+ };
12219
+
12220
+
12221
+ /**
12222
+ * Serializes the message to binary data (in protobuf wire format),
12223
+ * writing to the given BinaryWriter.
12224
+ * @param {!jspb.BinaryWriter} writer
12225
+ */
12226
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.serializeBinaryToWriter = function (writer) {
12227
+ var f = undefined;
12228
+ f = this.getAccesstoken();
12229
+ if (f.length > 0) {
12230
+ writer.writeString(
12231
+ 1,
12232
+ f
12233
+ );
12234
+ }
12235
+ f = this.getPaymentmethodid();
12236
+ if (f !== 0) {
12237
+ writer.writeInt64(
12238
+ 2,
12239
+ f
12240
+ );
12241
+ }
12242
+ f = this.getUserid();
12243
+ if (f !== 0) {
12244
+ writer.writeInt64(
12245
+ 3,
12246
+ f
12247
+ );
12248
+ }
12249
+ };
12250
+
12251
+
12252
+ /**
12253
+ * Creates a deep clone of this proto. No data is shared with the original.
12254
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} The clone.
12255
+ */
12256
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.cloneMessage = function() {
12257
+ return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest} */ (jspb.Message.cloneMessage(this));
12258
+ };
12259
+
12260
+
12261
+ /**
12262
+ * optional string accessToken = 1;
12263
+ * @return {string}
12264
+ */
12265
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getAccesstoken = function() {
12266
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
12267
+ };
12268
+
12269
+
12270
+ /** @param {string} value */
12271
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setAccesstoken = function(value) {
12272
+ jspb.Message.setField(this, 1, value);
12273
+ };
12274
+
12275
+
12276
+ /**
12277
+ * optional int64 paymentMethodId = 2;
12278
+ * @return {number}
12279
+ */
12280
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getPaymentmethodid = function() {
12281
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
12282
+ };
12283
+
12284
+
12285
+ /** @param {number} value */
12286
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setPaymentmethodid = function(value) {
12287
+ jspb.Message.setField(this, 2, value);
12288
+ };
12289
+
12290
+
12291
+ /**
12292
+ * optional int64 userId = 3;
12293
+ * @return {number}
12294
+ */
12295
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.getUserid = function() {
12296
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
12297
+ };
12298
+
12299
+
12300
+ /** @param {number} value */
12301
+ proto.sniippaymentmethodsserviceapi.PaymentMethodsByPaymentMethodIdRequest.prototype.setUserid = function(value) {
12302
+ jspb.Message.setField(this, 3, value);
12303
+ };
12304
+
12305
+
12306
+
11916
12307
  /**
11917
12308
  * Generated by JsPbCodeGenerator.
11918
12309
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "0.2.2905",
3
+ "version": "21.2.2928",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",