@sniipwebmaster/payment-methods-client-grpcweb 26.8.8880 → 26.8.8892

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.
@@ -1786,6 +1786,67 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
1786
1786
  };
1787
1787
 
1788
1788
 
1789
+ /**
1790
+ * @const
1791
+ * @type {!grpc.web.MethodDescriptor<
1792
+ * !proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest,
1793
+ * !proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse>}
1794
+ */
1795
+ const methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodCategoryAvailability = new grpc.web.MethodDescriptor(
1796
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodCategoryAvailability',
1797
+ grpc.web.MethodType.UNARY,
1798
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest,
1799
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse,
1800
+ /**
1801
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} request
1802
+ * @return {!Uint8Array}
1803
+ */
1804
+ function(request) {
1805
+ return request.serializeBinary();
1806
+ },
1807
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinary
1808
+ );
1809
+
1810
+
1811
+ /**
1812
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} request The
1813
+ * request proto
1814
+ * @param {?Object<string, string>} metadata User defined
1815
+ * call metadata
1816
+ * @param {function(?grpc.web.RpcError, ?proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse)}
1817
+ * callback The callback function(error, response)
1818
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse>|undefined}
1819
+ * The XHR Node Readable Stream
1820
+ */
1821
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodCategoryAvailability =
1822
+ function(request, metadata, callback) {
1823
+ return this.client_.rpcCall(this.hostname_ +
1824
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodCategoryAvailability',
1825
+ request,
1826
+ metadata || {},
1827
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodCategoryAvailability,
1828
+ callback);
1829
+ };
1830
+
1831
+
1832
+ /**
1833
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} request The
1834
+ * request proto
1835
+ * @param {?Object<string, string>=} metadata User defined
1836
+ * call metadata
1837
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse>}
1838
+ * Promise that resolves to the response
1839
+ */
1840
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodCategoryAvailability =
1841
+ function(request, metadata) {
1842
+ return this.client_.unaryCall(this.hostname_ +
1843
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodCategoryAvailability',
1844
+ request,
1845
+ metadata || {},
1846
+ methodDescriptor_SniipPaymentMethodsServiceAPIService_GetPaymentMethodCategoryAvailability);
1847
+ };
1848
+
1849
+
1789
1850
  /**
1790
1851
  * @const
1791
1852
  * @type {!grpc.web.MethodDescriptor<
@@ -75,6 +75,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRe
75
75
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetDigitalPaymentMethodsInfoRequest', null, global);
76
76
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdRequest', null, global);
77
77
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodByPaymentMethodIdResponse', null, global);
78
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest', null, global);
78
79
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest', null, global);
79
80
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupByNameRequest', null, global);
80
81
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetPaymentMethodGroupRequest', null, global);
@@ -99,6 +100,10 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayToAgreementStatus', nu
99
100
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest', null, global);
100
101
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse', null, global);
101
102
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
103
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategory', null, global);
104
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability', null, global);
105
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest', null, global);
106
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse', null, global);
102
107
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodDeleteRequest', null, global);
103
108
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
104
109
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentRequest', null, global);
@@ -630,6 +635,90 @@ if (goog.DEBUG && !COMPILED) {
630
635
  */
631
636
  proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse.displayName = 'proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse';
632
637
  }
638
+ /**
639
+ * Generated by JsPbCodeGenerator.
640
+ * @param {Array=} opt_data Optional initial data array, typically from a
641
+ * server response, or constructed directly in Javascript. The array is used
642
+ * in place and becomes part of the constructed object. It is not cloned.
643
+ * If no data is provided, the constructed object will be empty, but still
644
+ * valid.
645
+ * @extends {jspb.Message}
646
+ * @constructor
647
+ */
648
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest = function(opt_data) {
649
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.repeatedFields_, null);
650
+ };
651
+ goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest, jspb.Message);
652
+ if (goog.DEBUG && !COMPILED) {
653
+ /**
654
+ * @public
655
+ * @override
656
+ */
657
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest';
658
+ }
659
+ /**
660
+ * Generated by JsPbCodeGenerator.
661
+ * @param {Array=} opt_data Optional initial data array, typically from a
662
+ * server response, or constructed directly in Javascript. The array is used
663
+ * in place and becomes part of the constructed object. It is not cloned.
664
+ * If no data is provided, the constructed object will be empty, but still
665
+ * valid.
666
+ * @extends {jspb.Message}
667
+ * @constructor
668
+ */
669
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest = function(opt_data) {
670
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
671
+ };
672
+ goog.inherits(proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest, jspb.Message);
673
+ if (goog.DEBUG && !COMPILED) {
674
+ /**
675
+ * @public
676
+ * @override
677
+ */
678
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest';
679
+ }
680
+ /**
681
+ * Generated by JsPbCodeGenerator.
682
+ * @param {Array=} opt_data Optional initial data array, typically from a
683
+ * server response, or constructed directly in Javascript. The array is used
684
+ * in place and becomes part of the constructed object. It is not cloned.
685
+ * If no data is provided, the constructed object will be empty, but still
686
+ * valid.
687
+ * @extends {jspb.Message}
688
+ * @constructor
689
+ */
690
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability = function(opt_data) {
691
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
692
+ };
693
+ goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability, jspb.Message);
694
+ if (goog.DEBUG && !COMPILED) {
695
+ /**
696
+ * @public
697
+ * @override
698
+ */
699
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability';
700
+ }
701
+ /**
702
+ * Generated by JsPbCodeGenerator.
703
+ * @param {Array=} opt_data Optional initial data array, typically from a
704
+ * server response, or constructed directly in Javascript. The array is used
705
+ * in place and becomes part of the constructed object. It is not cloned.
706
+ * If no data is provided, the constructed object will be empty, but still
707
+ * valid.
708
+ * @extends {jspb.Message}
709
+ * @constructor
710
+ */
711
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse = function(opt_data) {
712
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.repeatedFields_, null);
713
+ };
714
+ goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse, jspb.Message);
715
+ if (goog.DEBUG && !COMPILED) {
716
+ /**
717
+ * @public
718
+ * @override
719
+ */
720
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse';
721
+ }
633
722
  /**
634
723
  * Generated by JsPbCodeGenerator.
635
724
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9283,6 +9372,746 @@ proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse.prototype.clea
9283
9372
 
9284
9373
 
9285
9374
 
9375
+ /**
9376
+ * List of repeated fields within this message type.
9377
+ * @private {!Array<number>}
9378
+ * @const
9379
+ */
9380
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.repeatedFields_ = [1];
9381
+
9382
+
9383
+
9384
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9385
+ /**
9386
+ * Creates an object representation of this proto.
9387
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9388
+ * Optional fields that are not set will be set to undefined.
9389
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9390
+ * For the list of reserved names please see:
9391
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9392
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9393
+ * JSPB instance for transitional soy proto support:
9394
+ * http://goto/soy-param-migration
9395
+ * @return {!Object}
9396
+ */
9397
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
9398
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.toObject(opt_includeInstance, this);
9399
+ };
9400
+
9401
+
9402
+ /**
9403
+ * Static version of the {@see toObject} method.
9404
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9405
+ * the JSPB instance for transitional soy proto support:
9406
+ * http://goto/soy-param-migration
9407
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} msg The msg instance to transform.
9408
+ * @return {!Object}
9409
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9410
+ */
9411
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.toObject = function(includeInstance, msg) {
9412
+ var f, obj = {
9413
+ billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
9414
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
9415
+ };
9416
+
9417
+ if (includeInstance) {
9418
+ obj.$jspbMessageInstance = msg;
9419
+ }
9420
+ return obj;
9421
+ };
9422
+ }
9423
+
9424
+
9425
+ /**
9426
+ * Deserializes binary data (in protobuf wire format).
9427
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9428
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest}
9429
+ */
9430
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinary = function(bytes) {
9431
+ var reader = new jspb.BinaryReader(bytes);
9432
+ var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest;
9433
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
9434
+ };
9435
+
9436
+
9437
+ /**
9438
+ * Deserializes binary data (in protobuf wire format) from the
9439
+ * given reader into the given message object.
9440
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} msg The message object to deserialize into.
9441
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9442
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest}
9443
+ */
9444
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
9445
+ while (reader.nextField()) {
9446
+ if (reader.isEndGroup()) {
9447
+ break;
9448
+ }
9449
+ var field = reader.getFieldNumber();
9450
+ switch (field) {
9451
+ case 1:
9452
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
9453
+ for (var i = 0; i < values.length; i++) {
9454
+ msg.addBillids(values[i]);
9455
+ }
9456
+ break;
9457
+ case 2:
9458
+ var value = /** @type {number} */ (reader.readInt64());
9459
+ msg.setUserid(value);
9460
+ break;
9461
+ default:
9462
+ reader.skipField();
9463
+ break;
9464
+ }
9465
+ }
9466
+ return msg;
9467
+ };
9468
+
9469
+
9470
+ /**
9471
+ * Serializes the message to binary data (in protobuf wire format).
9472
+ * @return {!Uint8Array}
9473
+ */
9474
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.serializeBinary = function() {
9475
+ var writer = new jspb.BinaryWriter();
9476
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter(this, writer);
9477
+ return writer.getResultBuffer();
9478
+ };
9479
+
9480
+
9481
+ /**
9482
+ * Serializes the given message to binary data (in protobuf wire
9483
+ * format), writing to the given BinaryWriter.
9484
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} message
9485
+ * @param {!jspb.BinaryWriter} writer
9486
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9487
+ */
9488
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
9489
+ var f = undefined;
9490
+ f = message.getBillidsList();
9491
+ if (f.length > 0) {
9492
+ writer.writePackedInt64(
9493
+ 1,
9494
+ f
9495
+ );
9496
+ }
9497
+ f = message.getUserid();
9498
+ if (f !== 0) {
9499
+ writer.writeInt64(
9500
+ 2,
9501
+ f
9502
+ );
9503
+ }
9504
+ };
9505
+
9506
+
9507
+ /**
9508
+ * repeated int64 billIds = 1;
9509
+ * @return {!Array<number>}
9510
+ */
9511
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.getBillidsList = function() {
9512
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
9513
+ };
9514
+
9515
+
9516
+ /**
9517
+ * @param {!Array<number>} value
9518
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} returns this
9519
+ */
9520
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.setBillidsList = function(value) {
9521
+ return jspb.Message.setField(this, 1, value || []);
9522
+ };
9523
+
9524
+
9525
+ /**
9526
+ * @param {number} value
9527
+ * @param {number=} opt_index
9528
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} returns this
9529
+ */
9530
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.addBillids = function(value, opt_index) {
9531
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
9532
+ };
9533
+
9534
+
9535
+ /**
9536
+ * Clears the list making it empty but non-null.
9537
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} returns this
9538
+ */
9539
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.clearBillidsList = function() {
9540
+ return this.setBillidsList([]);
9541
+ };
9542
+
9543
+
9544
+ /**
9545
+ * optional int64 userId = 2;
9546
+ * @return {number}
9547
+ */
9548
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.getUserid = function() {
9549
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9550
+ };
9551
+
9552
+
9553
+ /**
9554
+ * @param {number} value
9555
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} returns this
9556
+ */
9557
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.prototype.setUserid = function(value) {
9558
+ return jspb.Message.setProto3IntField(this, 2, value);
9559
+ };
9560
+
9561
+
9562
+
9563
+
9564
+
9565
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9566
+ /**
9567
+ * Creates an object representation of this proto.
9568
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9569
+ * Optional fields that are not set will be set to undefined.
9570
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9571
+ * For the list of reserved names please see:
9572
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9573
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9574
+ * JSPB instance for transitional soy proto support:
9575
+ * http://goto/soy-param-migration
9576
+ * @return {!Object}
9577
+ */
9578
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.toObject = function(opt_includeInstance) {
9579
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.toObject(opt_includeInstance, this);
9580
+ };
9581
+
9582
+
9583
+ /**
9584
+ * Static version of the {@see toObject} method.
9585
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9586
+ * the JSPB instance for transitional soy proto support:
9587
+ * http://goto/soy-param-migration
9588
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} msg The msg instance to transform.
9589
+ * @return {!Object}
9590
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9591
+ */
9592
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.toObject = function(includeInstance, msg) {
9593
+ var f, obj = {
9594
+ data: (f = msg.getData()) && proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.toObject(includeInstance, f)
9595
+ };
9596
+
9597
+ if (includeInstance) {
9598
+ obj.$jspbMessageInstance = msg;
9599
+ }
9600
+ return obj;
9601
+ };
9602
+ }
9603
+
9604
+
9605
+ /**
9606
+ * Deserializes binary data (in protobuf wire format).
9607
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9608
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest}
9609
+ */
9610
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinary = function(bytes) {
9611
+ var reader = new jspb.BinaryReader(bytes);
9612
+ var msg = new proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest;
9613
+ return proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader(msg, reader);
9614
+ };
9615
+
9616
+
9617
+ /**
9618
+ * Deserializes binary data (in protobuf wire format) from the
9619
+ * given reader into the given message object.
9620
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} msg The message object to deserialize into.
9621
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9622
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest}
9623
+ */
9624
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader = function(msg, reader) {
9625
+ while (reader.nextField()) {
9626
+ if (reader.isEndGroup()) {
9627
+ break;
9628
+ }
9629
+ var field = reader.getFieldNumber();
9630
+ switch (field) {
9631
+ case 1:
9632
+ var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest;
9633
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.deserializeBinaryFromReader);
9634
+ msg.setData(value);
9635
+ break;
9636
+ default:
9637
+ reader.skipField();
9638
+ break;
9639
+ }
9640
+ }
9641
+ return msg;
9642
+ };
9643
+
9644
+
9645
+ /**
9646
+ * Serializes the message to binary data (in protobuf wire format).
9647
+ * @return {!Uint8Array}
9648
+ */
9649
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.serializeBinary = function() {
9650
+ var writer = new jspb.BinaryWriter();
9651
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter(this, writer);
9652
+ return writer.getResultBuffer();
9653
+ };
9654
+
9655
+
9656
+ /**
9657
+ * Serializes the given message to binary data (in protobuf wire
9658
+ * format), writing to the given BinaryWriter.
9659
+ * @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} message
9660
+ * @param {!jspb.BinaryWriter} writer
9661
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9662
+ */
9663
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter = function(message, writer) {
9664
+ var f = undefined;
9665
+ f = message.getData();
9666
+ if (f != null) {
9667
+ writer.writeMessage(
9668
+ 1,
9669
+ f,
9670
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest.serializeBinaryToWriter
9671
+ );
9672
+ }
9673
+ };
9674
+
9675
+
9676
+ /**
9677
+ * optional PaymentMethodCategoryAvailabilityRequest data = 1;
9678
+ * @return {?proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest}
9679
+ */
9680
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.getData = function() {
9681
+ return /** @type{?proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest} */ (
9682
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest, 1));
9683
+ };
9684
+
9685
+
9686
+ /**
9687
+ * @param {?proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityRequest|undefined} value
9688
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} returns this
9689
+ */
9690
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.setData = function(value) {
9691
+ return jspb.Message.setWrapperField(this, 1, value);
9692
+ };
9693
+
9694
+
9695
+ /**
9696
+ * Clears the message field making it undefined.
9697
+ * @return {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest} returns this
9698
+ */
9699
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.clearData = function() {
9700
+ return this.setData(undefined);
9701
+ };
9702
+
9703
+
9704
+ /**
9705
+ * Returns whether this field is set.
9706
+ * @return {boolean}
9707
+ */
9708
+ proto.sniippaymentmethodsserviceapi.GetPaymentMethodCategoryAvailabilityRequest.prototype.hasData = function() {
9709
+ return jspb.Message.getField(this, 1) != null;
9710
+ };
9711
+
9712
+
9713
+
9714
+
9715
+
9716
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9717
+ /**
9718
+ * Creates an object representation of this proto.
9719
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9720
+ * Optional fields that are not set will be set to undefined.
9721
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9722
+ * For the list of reserved names please see:
9723
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9724
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9725
+ * JSPB instance for transitional soy proto support:
9726
+ * http://goto/soy-param-migration
9727
+ * @return {!Object}
9728
+ */
9729
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.toObject = function(opt_includeInstance) {
9730
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.toObject(opt_includeInstance, this);
9731
+ };
9732
+
9733
+
9734
+ /**
9735
+ * Static version of the {@see toObject} method.
9736
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9737
+ * the JSPB instance for transitional soy proto support:
9738
+ * http://goto/soy-param-migration
9739
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} msg The msg instance to transform.
9740
+ * @return {!Object}
9741
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9742
+ */
9743
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.toObject = function(includeInstance, msg) {
9744
+ var f, obj = {
9745
+ category: jspb.Message.getFieldWithDefault(msg, 1, 0),
9746
+ selectable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
9747
+ rejectionreason: jspb.Message.getFieldWithDefault(msg, 3, 0)
9748
+ };
9749
+
9750
+ if (includeInstance) {
9751
+ obj.$jspbMessageInstance = msg;
9752
+ }
9753
+ return obj;
9754
+ };
9755
+ }
9756
+
9757
+
9758
+ /**
9759
+ * Deserializes binary data (in protobuf wire format).
9760
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9761
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability}
9762
+ */
9763
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.deserializeBinary = function(bytes) {
9764
+ var reader = new jspb.BinaryReader(bytes);
9765
+ var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability;
9766
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader(msg, reader);
9767
+ };
9768
+
9769
+
9770
+ /**
9771
+ * Deserializes binary data (in protobuf wire format) from the
9772
+ * given reader into the given message object.
9773
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} msg The message object to deserialize into.
9774
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9775
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability}
9776
+ */
9777
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader = function(msg, reader) {
9778
+ while (reader.nextField()) {
9779
+ if (reader.isEndGroup()) {
9780
+ break;
9781
+ }
9782
+ var field = reader.getFieldNumber();
9783
+ switch (field) {
9784
+ case 1:
9785
+ var value = /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategory} */ (reader.readEnum());
9786
+ msg.setCategory(value);
9787
+ break;
9788
+ case 2:
9789
+ var value = /** @type {boolean} */ (reader.readBool());
9790
+ msg.setSelectable(value);
9791
+ break;
9792
+ case 3:
9793
+ var value = /** @type {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} */ (reader.readEnum());
9794
+ msg.setRejectionreason(value);
9795
+ break;
9796
+ default:
9797
+ reader.skipField();
9798
+ break;
9799
+ }
9800
+ }
9801
+ return msg;
9802
+ };
9803
+
9804
+
9805
+ /**
9806
+ * Serializes the message to binary data (in protobuf wire format).
9807
+ * @return {!Uint8Array}
9808
+ */
9809
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.serializeBinary = function() {
9810
+ var writer = new jspb.BinaryWriter();
9811
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter(this, writer);
9812
+ return writer.getResultBuffer();
9813
+ };
9814
+
9815
+
9816
+ /**
9817
+ * Serializes the given message to binary data (in protobuf wire
9818
+ * format), writing to the given BinaryWriter.
9819
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} message
9820
+ * @param {!jspb.BinaryWriter} writer
9821
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9822
+ */
9823
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter = function(message, writer) {
9824
+ var f = undefined;
9825
+ f = message.getCategory();
9826
+ if (f !== 0.0) {
9827
+ writer.writeEnum(
9828
+ 1,
9829
+ f
9830
+ );
9831
+ }
9832
+ f = message.getSelectable();
9833
+ if (f) {
9834
+ writer.writeBool(
9835
+ 2,
9836
+ f
9837
+ );
9838
+ }
9839
+ f = message.getRejectionreason();
9840
+ if (f !== 0.0) {
9841
+ writer.writeEnum(
9842
+ 3,
9843
+ f
9844
+ );
9845
+ }
9846
+ };
9847
+
9848
+
9849
+ /**
9850
+ * optional PaymentMethodCategory category = 1;
9851
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategory}
9852
+ */
9853
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.getCategory = function() {
9854
+ return /** @type {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategory} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9855
+ };
9856
+
9857
+
9858
+ /**
9859
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategory} value
9860
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} returns this
9861
+ */
9862
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.setCategory = function(value) {
9863
+ return jspb.Message.setProto3EnumField(this, 1, value);
9864
+ };
9865
+
9866
+
9867
+ /**
9868
+ * optional bool selectable = 2;
9869
+ * @return {boolean}
9870
+ */
9871
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.getSelectable = function() {
9872
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
9873
+ };
9874
+
9875
+
9876
+ /**
9877
+ * @param {boolean} value
9878
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} returns this
9879
+ */
9880
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.setSelectable = function(value) {
9881
+ return jspb.Message.setProto3BooleanField(this, 2, value);
9882
+ };
9883
+
9884
+
9885
+ /**
9886
+ * optional BillConfigForPayment.RejectionReason rejectionReason = 3;
9887
+ * @return {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason}
9888
+ */
9889
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.getRejectionreason = function() {
9890
+ return /** @type {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9891
+ };
9892
+
9893
+
9894
+ /**
9895
+ * @param {!proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason} value
9896
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability} returns this
9897
+ */
9898
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.prototype.setRejectionreason = function(value) {
9899
+ return jspb.Message.setProto3EnumField(this, 3, value);
9900
+ };
9901
+
9902
+
9903
+
9904
+ /**
9905
+ * List of repeated fields within this message type.
9906
+ * @private {!Array<number>}
9907
+ * @const
9908
+ */
9909
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.repeatedFields_ = [2];
9910
+
9911
+
9912
+
9913
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9914
+ /**
9915
+ * Creates an object representation of this proto.
9916
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9917
+ * Optional fields that are not set will be set to undefined.
9918
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9919
+ * For the list of reserved names please see:
9920
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9921
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9922
+ * JSPB instance for transitional soy proto support:
9923
+ * http://goto/soy-param-migration
9924
+ * @return {!Object}
9925
+ */
9926
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.toObject = function(opt_includeInstance) {
9927
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.toObject(opt_includeInstance, this);
9928
+ };
9929
+
9930
+
9931
+ /**
9932
+ * Static version of the {@see toObject} method.
9933
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9934
+ * the JSPB instance for transitional soy proto support:
9935
+ * http://goto/soy-param-migration
9936
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} msg The msg instance to transform.
9937
+ * @return {!Object}
9938
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9939
+ */
9940
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.toObject = function(includeInstance, msg) {
9941
+ var f, obj = {
9942
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
9943
+ categoriesList: jspb.Message.toObjectList(msg.getCategoriesList(),
9944
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.toObject, includeInstance)
9945
+ };
9946
+
9947
+ if (includeInstance) {
9948
+ obj.$jspbMessageInstance = msg;
9949
+ }
9950
+ return obj;
9951
+ };
9952
+ }
9953
+
9954
+
9955
+ /**
9956
+ * Deserializes binary data (in protobuf wire format).
9957
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9958
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse}
9959
+ */
9960
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinary = function(bytes) {
9961
+ var reader = new jspb.BinaryReader(bytes);
9962
+ var msg = new proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse;
9963
+ return proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinaryFromReader(msg, reader);
9964
+ };
9965
+
9966
+
9967
+ /**
9968
+ * Deserializes binary data (in protobuf wire format) from the
9969
+ * given reader into the given message object.
9970
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} msg The message object to deserialize into.
9971
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9972
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse}
9973
+ */
9974
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.deserializeBinaryFromReader = function(msg, reader) {
9975
+ while (reader.nextField()) {
9976
+ if (reader.isEndGroup()) {
9977
+ break;
9978
+ }
9979
+ var field = reader.getFieldNumber();
9980
+ switch (field) {
9981
+ case 1:
9982
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
9983
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
9984
+ msg.setResponsecode(value);
9985
+ break;
9986
+ case 2:
9987
+ var value = new proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability;
9988
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.deserializeBinaryFromReader);
9989
+ msg.addCategories(value);
9990
+ break;
9991
+ default:
9992
+ reader.skipField();
9993
+ break;
9994
+ }
9995
+ }
9996
+ return msg;
9997
+ };
9998
+
9999
+
10000
+ /**
10001
+ * Serializes the message to binary data (in protobuf wire format).
10002
+ * @return {!Uint8Array}
10003
+ */
10004
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.serializeBinary = function() {
10005
+ var writer = new jspb.BinaryWriter();
10006
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.serializeBinaryToWriter(this, writer);
10007
+ return writer.getResultBuffer();
10008
+ };
10009
+
10010
+
10011
+ /**
10012
+ * Serializes the given message to binary data (in protobuf wire
10013
+ * format), writing to the given BinaryWriter.
10014
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} message
10015
+ * @param {!jspb.BinaryWriter} writer
10016
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10017
+ */
10018
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.serializeBinaryToWriter = function(message, writer) {
10019
+ var f = undefined;
10020
+ f = message.getResponsecode();
10021
+ if (f != null) {
10022
+ writer.writeMessage(
10023
+ 1,
10024
+ f,
10025
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
10026
+ );
10027
+ }
10028
+ f = message.getCategoriesList();
10029
+ if (f.length > 0) {
10030
+ writer.writeRepeatedMessage(
10031
+ 2,
10032
+ f,
10033
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability.serializeBinaryToWriter
10034
+ );
10035
+ }
10036
+ };
10037
+
10038
+
10039
+ /**
10040
+ * optional ResponseCode responseCode = 1;
10041
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
10042
+ */
10043
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.getResponsecode = function() {
10044
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
10045
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
10046
+ };
10047
+
10048
+
10049
+ /**
10050
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
10051
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} returns this
10052
+ */
10053
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.setResponsecode = function(value) {
10054
+ return jspb.Message.setWrapperField(this, 1, value);
10055
+ };
10056
+
10057
+
10058
+ /**
10059
+ * Clears the message field making it undefined.
10060
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} returns this
10061
+ */
10062
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.clearResponsecode = function() {
10063
+ return this.setResponsecode(undefined);
10064
+ };
10065
+
10066
+
10067
+ /**
10068
+ * Returns whether this field is set.
10069
+ * @return {boolean}
10070
+ */
10071
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.hasResponsecode = function() {
10072
+ return jspb.Message.getField(this, 1) != null;
10073
+ };
10074
+
10075
+
10076
+ /**
10077
+ * repeated PaymentMethodCategoryAvailability categories = 2;
10078
+ * @return {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability>}
10079
+ */
10080
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.getCategoriesList = function() {
10081
+ return /** @type{!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability>} */ (
10082
+ jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability, 2));
10083
+ };
10084
+
10085
+
10086
+ /**
10087
+ * @param {!Array<!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability>} value
10088
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} returns this
10089
+ */
10090
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.setCategoriesList = function(value) {
10091
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
10092
+ };
10093
+
10094
+
10095
+ /**
10096
+ * @param {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability=} opt_value
10097
+ * @param {number=} opt_index
10098
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability}
10099
+ */
10100
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.addCategories = function(opt_value, opt_index) {
10101
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailability, opt_index);
10102
+ };
10103
+
10104
+
10105
+ /**
10106
+ * Clears the list making it empty but non-null.
10107
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse} returns this
10108
+ */
10109
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategoryAvailabilityResponse.prototype.clearCategoriesList = function() {
10110
+ return this.setCategoriesList([]);
10111
+ };
10112
+
10113
+
10114
+
9286
10115
 
9287
10116
 
9288
10117
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -33252,6 +34081,22 @@ proto.sniippaymentmethodsserviceapi.PayToAgreementStatus = {
33252
34081
  PAYTO_AGREEMENT_STATUS_PAYTO_UNSUPPORTED: 9
33253
34082
  };
33254
34083
 
34084
+ /**
34085
+ * @enum {number}
34086
+ */
34087
+ proto.sniippaymentmethodsserviceapi.PaymentMethodCategory = {
34088
+ PAYMENT_METHOD_CATEGORY_UNKNOWN: 0,
34089
+ PAYMENT_METHOD_CATEGORY_CARD: 1,
34090
+ PAYMENT_METHOD_CATEGORY_BANK_ACCOUNT: 2,
34091
+ PAYMENT_METHOD_CATEGORY_PAYTO_BANK_ACCOUNT: 3,
34092
+ PAYMENT_METHOD_CATEGORY_GOOGLE_PAY: 4,
34093
+ PAYMENT_METHOD_CATEGORY_APPLE_PAY: 5,
34094
+ PAYMENT_METHOD_CATEGORY_WEX_CARD: 6,
34095
+ PAYMENT_METHOD_CATEGORY_ALIPAY: 7,
34096
+ PAYMENT_METHOD_CATEGORY_WE_CHAT_PAY: 8,
34097
+ PAYMENT_METHOD_CATEGORY_CLICK2PAY: 9
34098
+ };
34099
+
33255
34100
  /**
33256
34101
  * @enum {number}
33257
34102
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "26.8.8880",
3
+ "version": "26.8.8892",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",