@sniipwebmaster/payment-methods-client-grpcweb 0.2.1595 → 0.2.1626

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.
@@ -585,6 +585,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
585
585
  };
586
586
 
587
587
 
588
+ /**
589
+ * @const
590
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
591
+ * !proto.sniippaymentmethodsserviceapi.GetCardHashRequest,
592
+ * !proto.sniippaymentmethodsserviceapi.CardHashResponse>}
593
+ */
594
+ const methodInfo_SniipPaymentMethodsServiceAPIService_GetCardHash = new grpc.web.AbstractClientBase.MethodInfo(
595
+ proto.sniippaymentmethodsserviceapi.CardHashResponse,
596
+ /** @param {!proto.sniippaymentmethodsserviceapi.GetCardHashRequest} request */
597
+ function(request) {
598
+ return request.serializeBinary();
599
+ },
600
+ proto.sniippaymentmethodsserviceapi.CardHashResponse.deserializeBinary
601
+ );
602
+
603
+
604
+ /**
605
+ * @param {!proto.sniippaymentmethodsserviceapi.GetCardHashRequest} request The
606
+ * request proto
607
+ * @param {?Object<string, string>} metadata User defined
608
+ * call metadata
609
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.CardHashResponse)}
610
+ * callback The callback function(error, response)
611
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.CardHashResponse>|undefined}
612
+ * The XHR Node Readable Stream
613
+ */
614
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getCardHash =
615
+ function(request, metadata, callback) {
616
+ return this.client_.rpcCall(this.hostname_ +
617
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetCardHash',
618
+ request,
619
+ metadata || {},
620
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetCardHash,
621
+ callback);
622
+ };
623
+
624
+
625
+ /**
626
+ * @param {!proto.sniippaymentmethodsserviceapi.GetCardHashRequest} request The
627
+ * request proto
628
+ * @param {?Object<string, string>} metadata User defined
629
+ * call metadata
630
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.CardHashResponse>}
631
+ * A native promise that resolves to the response
632
+ */
633
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getCardHash =
634
+ function(request, metadata) {
635
+ return this.client_.unaryCall(this.hostname_ +
636
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetCardHash',
637
+ request,
638
+ metadata || {},
639
+ methodInfo_SniipPaymentMethodsServiceAPIService_GetCardHash);
640
+ };
641
+
642
+
588
643
  /**
589
644
  * @const
590
645
  * @type {!grpc.web.AbstractClientBase.MethodInfo<