@sniipwebmaster/payment-methods-client-grpcweb 22.13.4739 → 22.14.4752

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.
@@ -81,6 +81,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
81
81
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
82
82
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
83
83
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
84
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
84
85
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest', null, global);
85
86
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsResponse', null, global);
86
87
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatedPaymentMethodsResponse', null, global);
@@ -17343,6 +17344,221 @@ proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest.prototype.hasData
17343
17344
 
17344
17345
 
17345
17346
 
17347
+ /**
17348
+ * Generated by JsPbCodeGenerator.
17349
+ * @param {Array=} opt_data Optional initial data array, typically from a
17350
+ * server response, or constructed directly in Javascript. The array is used
17351
+ * in place and becomes part of the constructed object. It is not cloned.
17352
+ * If no data is provided, the constructed object will be empty, but still
17353
+ * valid.
17354
+ * @extends {jspb.Message}
17355
+ * @constructor
17356
+ */
17357
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest = function(opt_data) {
17358
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
17359
+ };
17360
+ goog.inherits(proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest, jspb.Message);
17361
+ if (goog.DEBUG && !COMPILED) {
17362
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.displayName = 'proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest';
17363
+ }
17364
+
17365
+
17366
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17367
+ /**
17368
+ * Creates an object representation of this proto suitable for use in Soy templates.
17369
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17370
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17371
+ * For the list of reserved names please see:
17372
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
17373
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
17374
+ * for transitional soy proto support: http://goto/soy-param-migration
17375
+ * @return {!Object}
17376
+ */
17377
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.toObject = function(opt_includeInstance) {
17378
+ return proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.toObject(opt_includeInstance, this);
17379
+ };
17380
+
17381
+
17382
+ /**
17383
+ * Static version of the {@see toObject} method.
17384
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
17385
+ * instance for transitional soy proto support:
17386
+ * http://goto/soy-param-migration
17387
+ * @param {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} msg The msg instance to transform.
17388
+ * @return {!Object}
17389
+ */
17390
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.toObject = function(includeInstance, msg) {
17391
+ var f, obj = {
17392
+ isapplepaycard: msg.getIsapplepaycard(),
17393
+ paymenttype: msg.getPaymenttype(),
17394
+ cardvariant: msg.getCardvariant()
17395
+ };
17396
+
17397
+ if (includeInstance) {
17398
+ obj.$jspbMessageInstance = msg;
17399
+ }
17400
+ return obj;
17401
+ };
17402
+ }
17403
+
17404
+
17405
+ /**
17406
+ * Deserializes binary data (in protobuf wire format).
17407
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17408
+ * @return {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest}
17409
+ */
17410
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.deserializeBinary = function(bytes) {
17411
+ var reader = new jspb.BinaryReader(bytes);
17412
+ var msg = new proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest;
17413
+ return proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.deserializeBinaryFromReader(msg, reader);
17414
+ };
17415
+
17416
+
17417
+ /**
17418
+ * Deserializes binary data (in protobuf wire format) from the
17419
+ * given reader into the given message object.
17420
+ * @param {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} msg The message object to deserialize into.
17421
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17422
+ * @return {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest}
17423
+ */
17424
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.deserializeBinaryFromReader = function(msg, reader) {
17425
+ while (reader.nextField()) {
17426
+ if (reader.isEndGroup()) {
17427
+ break;
17428
+ }
17429
+ var field = reader.getFieldNumber();
17430
+ switch (field) {
17431
+ case 1:
17432
+ var value = /** @type {boolean} */ (reader.readBool());
17433
+ msg.setIsapplepaycard(value);
17434
+ break;
17435
+ case 2:
17436
+ var value = /** @type {string} */ (reader.readString());
17437
+ msg.setPaymenttype(value);
17438
+ break;
17439
+ case 3:
17440
+ var value = /** @type {string} */ (reader.readString());
17441
+ msg.setCardvariant(value);
17442
+ break;
17443
+ default:
17444
+ reader.skipField();
17445
+ break;
17446
+ }
17447
+ }
17448
+ return msg;
17449
+ };
17450
+
17451
+
17452
+ /**
17453
+ * Class method variant: serializes the given message to binary data
17454
+ * (in protobuf wire format), writing to the given BinaryWriter.
17455
+ * @param {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} message
17456
+ * @param {!jspb.BinaryWriter} writer
17457
+ */
17458
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.serializeBinaryToWriter = function(message, writer) {
17459
+ message.serializeBinaryToWriter(writer);
17460
+ };
17461
+
17462
+
17463
+ /**
17464
+ * Serializes the message to binary data (in protobuf wire format).
17465
+ * @return {!Uint8Array}
17466
+ */
17467
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.serializeBinary = function() {
17468
+ var writer = new jspb.BinaryWriter();
17469
+ this.serializeBinaryToWriter(writer);
17470
+ return writer.getResultBuffer();
17471
+ };
17472
+
17473
+
17474
+ /**
17475
+ * Serializes the message to binary data (in protobuf wire format),
17476
+ * writing to the given BinaryWriter.
17477
+ * @param {!jspb.BinaryWriter} writer
17478
+ */
17479
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.serializeBinaryToWriter = function (writer) {
17480
+ var f = undefined;
17481
+ f = this.getIsapplepaycard();
17482
+ if (f) {
17483
+ writer.writeBool(
17484
+ 1,
17485
+ f
17486
+ );
17487
+ }
17488
+ f = this.getPaymenttype();
17489
+ if (f.length > 0) {
17490
+ writer.writeString(
17491
+ 2,
17492
+ f
17493
+ );
17494
+ }
17495
+ f = this.getCardvariant();
17496
+ if (f.length > 0) {
17497
+ writer.writeString(
17498
+ 3,
17499
+ f
17500
+ );
17501
+ }
17502
+ };
17503
+
17504
+
17505
+ /**
17506
+ * Creates a deep clone of this proto. No data is shared with the original.
17507
+ * @return {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} The clone.
17508
+ */
17509
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.cloneMessage = function() {
17510
+ return /** @type {!proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} */ (jspb.Message.cloneMessage(this));
17511
+ };
17512
+
17513
+
17514
+ /**
17515
+ * optional bool isApplePayCard = 1;
17516
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
17517
+ * You should avoid comparisons like {@code val === true/false} in those cases.
17518
+ * @return {boolean}
17519
+ */
17520
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.getIsapplepaycard = function() {
17521
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
17522
+ };
17523
+
17524
+
17525
+ /** @param {boolean} value */
17526
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.setIsapplepaycard = function(value) {
17527
+ jspb.Message.setField(this, 1, value);
17528
+ };
17529
+
17530
+
17531
+ /**
17532
+ * optional string paymentType = 2;
17533
+ * @return {string}
17534
+ */
17535
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.getPaymenttype = function() {
17536
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
17537
+ };
17538
+
17539
+
17540
+ /** @param {string} value */
17541
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.setPaymenttype = function(value) {
17542
+ jspb.Message.setField(this, 2, value);
17543
+ };
17544
+
17545
+
17546
+ /**
17547
+ * optional string cardVariant = 3;
17548
+ * @return {string}
17549
+ */
17550
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.getCardvariant = function() {
17551
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
17552
+ };
17553
+
17554
+
17555
+ /** @param {string} value */
17556
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.prototype.setCardvariant = function(value) {
17557
+ jspb.Message.setField(this, 3, value);
17558
+ };
17559
+
17560
+
17561
+
17346
17562
  /**
17347
17563
  * Generated by JsPbCodeGenerator.
17348
17564
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17397,7 +17613,8 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.toObject = fun
17397
17613
  var f, obj = {
17398
17614
  userid: msg.getUserid(),
17399
17615
  paymentmethodidsList: jspb.Message.getField(msg, 2),
17400
- paymentmethodgroupidsList: jspb.Message.getField(msg, 3)
17616
+ paymentmethodgroupidsList: jspb.Message.getField(msg, 3),
17617
+ applepaypaymentmethoddetails: (f = msg.getApplepaypaymentmethoddetails()) && proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.toObject(includeInstance, f)
17401
17618
  };
17402
17619
 
17403
17620
  if (includeInstance) {
@@ -17446,6 +17663,11 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.deserializeBin
17446
17663
  var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
17447
17664
  msg.setPaymentmethodgroupidsList(value);
17448
17665
  break;
17666
+ case 4:
17667
+ var value = new proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest;
17668
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.deserializeBinaryFromReader);
17669
+ msg.setApplepaypaymentmethoddetails(value);
17670
+ break;
17449
17671
  default:
17450
17672
  reader.skipField();
17451
17673
  break;
@@ -17505,6 +17727,14 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.seri
17505
17727
  f
17506
17728
  );
17507
17729
  }
17730
+ f = this.getApplepaypaymentmethoddetails();
17731
+ if (f != null) {
17732
+ writer.writeMessage(
17733
+ 4,
17734
+ f,
17735
+ proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest.serializeBinaryToWriter
17736
+ );
17737
+ }
17508
17738
  };
17509
17739
 
17510
17740
 
@@ -17576,6 +17806,36 @@ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.clea
17576
17806
  };
17577
17807
 
17578
17808
 
17809
+ /**
17810
+ * optional ValidateApplePayRequest applePayPaymentMethodDetails = 4;
17811
+ * @return {proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest}
17812
+ */
17813
+ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.getApplepaypaymentmethoddetails = function() {
17814
+ return /** @type{proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest} */ (
17815
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest, 4));
17816
+ };
17817
+
17818
+
17819
+ /** @param {proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest|undefined} value */
17820
+ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.setApplepaypaymentmethoddetails = function(value) {
17821
+ jspb.Message.setWrapperField(this, 4, value);
17822
+ };
17823
+
17824
+
17825
+ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.clearApplepaypaymentmethoddetails = function() {
17826
+ this.setApplepaypaymentmethoddetails(undefined);
17827
+ };
17828
+
17829
+
17830
+ /**
17831
+ * Returns whether this field is set.
17832
+ * @return{!boolean}
17833
+ */
17834
+ proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest.prototype.hasApplepaypaymentmethoddetails = function() {
17835
+ return jspb.Message.getField(this, 4) != null;
17836
+ };
17837
+
17838
+
17579
17839
 
17580
17840
  /**
17581
17841
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "22.13.4739",
3
+ "version": "22.14.4752",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",